/* =========================================================================
   Ibrahim Ifaaz — Maldives Photographer & Filmmaker
   Aesthetic: Editorial Luxury (light, warm paper, single clay accent)
   Image-first, cinematic, gig-getting. No dark theme.
   ========================================================================= */

/* ---------- TOKENS ---------- */
:root {
  /* Warm ivory paper system */
  --paper:    #f6f2ea;
  --paper-2:  #efe8da;
  --paper-3:  #e7decd;
  --card:     #fffdf8;

  /* Espresso ink ramp */
  --ink:       #1b1813;
  --ink-soft:  #4c4538;
  --ink-faint: #8a826f;
  --ink-ghost: #b3ab98;

  /* Hairlines */
  --line:      rgba(27, 24, 19, 0.12);
  --line-soft: rgba(27, 24, 19, 0.07);

  /* Single accent — warm clay / Maldivian sunset */
  --accent:      #b14d28;
  --accent-deep: #8f3d1f;
  --accent-tint: rgba(177, 77, 40, 0.10);

  /* Type */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:    "Hanken Grotesk", system-ui, -apple-system, sans-serif;

  /* Motion */
  --ease:  cubic-bezier(0.22, 0.61, 0.18, 1);
  --ease2: cubic-bezier(0.32, 0.72, 0, 1);

  /* Rhythm */
  --gut: 48px;
  --maxw: 1320px;
}

/* ---------- RESET ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--paper); }

/* ---------- GRAIN OVERLAY (fixed, perf-safe) ---------- */
.grain {
  position: fixed; inset: 0; z-index: 4; pointer-events: none;
  opacity: 0.035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- LAYOUT ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.bleed { max-width: none; padding: 0 24px; }

/* ---------- SKIP LINK ---------- */
.skip { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 0 0 10px 0; }
.skip:focus { left: 0; }

/* ---------- NAV (floating glass pill) ---------- */
.nav-shell { position: fixed; top: 0; left: 0; right: 0; z-index: 90; display: flex; justify-content: center; padding: 22px 24px; transition: padding .5s var(--ease); }
.nav {
  width: 100%; max-width: var(--maxw);
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px 12px 22px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--paper) 70%, transparent);
  border: 1px solid transparent;
  transition: background .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.nav-shell.scrolled { padding-top: 12px; }
.nav-shell.scrolled .nav {
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-color: var(--line);
  box-shadow: 0 18px 40px -30px rgba(27,24,19,.5);
}
.brand { display: flex; align-items: baseline; gap: 10px; font-family: var(--display); font-size: 20px; font-weight: 500; letter-spacing: -.015em; }
.brand .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); transform: translateY(-3px); flex: none; box-shadow: 0 0 0 3px var(--accent-tint); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 13.5px; font-weight: 500; color: var(--ink-soft); position: relative; padding: 6px 0; transition: color .3s var(--ease); }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0; background: var(--accent); transition: width .35s var(--ease2); }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }

/* Button-in-button CTA */
.btn { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; letter-spacing: .005em; padding: 11px 11px 11px 22px; border-radius: 999px; white-space: nowrap; transition: transform .4s var(--ease2), background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease); }
.btn .ic { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: none; transition: transform .45s var(--ease2), background .4s var(--ease); }
.btn .ic svg { width: 14px; height: 14px; }
.btn:active { transform: scale(.975); }

.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid .ic { background: rgba(246,242,234,.16); }
.btn-solid:hover { background: var(--accent); }
.btn-solid:hover .ic { transform: translate(3px,-3px); background: rgba(246,242,234,.22); }

.btn-ghost { border: 1px solid var(--line); color: var(--ink); padding-left: 22px; }
.btn-ghost .ic { background: var(--accent-tint); color: var(--accent); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost:hover .ic { transform: translate(3px,-3px); }

.btn-text { padding: 11px 20px; }
.btn-text .ic { display: none; }

/* Mobile menu button */
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 999px; align-items: center; justify-content: center; border: 1px solid var(--line); }
.menu-btn span { display: block; width: 18px; height: 1.6px; background: var(--ink); position: relative; transition: transform .4s var(--ease2), opacity .3s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.6px; background: var(--ink); transition: transform .4s var(--ease2); }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
body.menu-open .menu-btn span { background: transparent; }
body.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
body.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }

/* Mobile overlay menu */
.mobile-menu { position: fixed; inset: 0; z-index: 80; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 0 32px; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s; }
body.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu a { font-family: var(--display); font-size: clamp(34px, 9vw, 58px); font-weight: 300; letter-spacing: -.02em; line-height: 1.18; color: var(--ink); opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease2); }
.mobile-menu a em { font-style: italic; color: var(--accent); }
body.menu-open .mobile-menu a { opacity: 1; transform: none; }
body.menu-open .mobile-menu a:nth-child(1) { transition-delay: .08s; }
body.menu-open .mobile-menu a:nth-child(2) { transition-delay: .14s; }
body.menu-open .mobile-menu a:nth-child(3) { transition-delay: .20s; }
body.menu-open .mobile-menu a:nth-child(4) { transition-delay: .26s; }
body.menu-open .mobile-menu a:nth-child(5) { transition-delay: .32s; }

/* ---------- IMAGE FRAME (placeholder + real image) ---------- */
.frame { position: relative; overflow: hidden; background: var(--paper-3); border-radius: 12px; }
.frame::after { /* subtle inner highlight, like a glass plate in a tray */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 0 0 1px var(--line-soft);
}
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .6s var(--ease); }
/* Placeholder state — shown when image is missing/not yet added */
.frame .ph {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background:
    radial-gradient(120% 80% at 50% 0%, var(--paper-2), var(--paper-3));
  color: var(--ink-faint); text-align: center; padding: 18px;
}
.frame .ph svg { width: 26px; height: 26px; opacity: .55; }
.frame .ph .pl { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.frame .ph::before { content: ""; position: absolute; inset: 12px; border: 1px dashed var(--line); border-radius: 8px; }
.frame.is-loaded .ph { display: none; }

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(26px); filter: blur(6px); }
.in .reveal, .reveal.in { opacity: 1; transform: none; filter: blur(0); transition: opacity .9s var(--ease), transform .9s var(--ease2), filter .9s var(--ease); }
.in .reveal.d1, .reveal.d1.in { transition-delay: .08s; }
.in .reveal.d2, .reveal.d2.in { transition-delay: .16s; }
.in .reveal.d3, .reveal.d3.in { transition-delay: .24s; }
.in .reveal.d4, .reveal.d4.in { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; filter: none !important; } html { scroll-behavior: auto; } }

/* ---------- SECTION HEADERS ---------- */
section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 11.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.eyebrow::before { content: ""; width: 30px; height: 1px; background: var(--accent); }
.eyebrow.pill { padding: 7px 14px 7px 12px; border-radius: 999px; background: var(--accent-tint); }
.eyebrow.pill::before { display: none; }

.sec-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 26px; }
.sec-num { font-family: var(--display); font-style: italic; font-size: 17px; color: var(--accent); }
.sec-kicker { font-size: 11.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-faint); }
.sec-rule { flex: 1; height: 1px; background: var(--line); align-self: center; }
.sec-lead { font-family: var(--display); font-weight: 300; font-size: clamp(30px, 4.6vw, 58px); line-height: 1.04; letter-spacing: -.025em; max-width: 18ch; margin-bottom: 52px; }
.sec-lead em { font-style: italic; color: var(--accent); }

/* ---------- HERO ---------- */
.hero { padding-top: clamp(130px, 17vw, 188px); padding-bottom: clamp(40px, 6vw, 70px); }
.hero h1 { font-family: var(--display); font-weight: 300; font-size: clamp(50px, 10.5vw, 150px); line-height: .9; letter-spacing: -.04em; max-width: 14ch; }
.hero h1 em { font-style: italic; color: var(--accent); font-weight: 400; }
.hero-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 34px; margin-top: clamp(28px, 4vw, 46px); }
.hero-lede { font-size: 18.5px; line-height: 1.62; color: var(--ink-soft); max-width: 46ch; }
.hero-lede b { color: var(--ink); font-weight: 600; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* hero visual band */
.hero-band { margin-top: clamp(40px, 6vw, 64px); display: grid; grid-template-columns: 1.7fr 1fr 1.3fr; gap: 16px; height: clamp(320px, 46vw, 520px); }
.hero-band .frame { border-radius: 14px; }
.hero-band .frame:hover img { transform: scale(1.04); }
.hero-meta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; color: var(--ink-faint); font-size: 13px; }
.hero-meta .mi { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .mi svg { width: 15px; height: 15px; color: var(--accent); }
.hero-meta .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-ghost); }

@media (max-width: 860px) {
  .hero-band { grid-template-columns: 1fr 1fr; height: auto; grid-auto-rows: 200px; }
  .hero-band .frame:nth-child(3) { grid-column: 1 / -1; }
}

/* ---------- MARQUEE ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; overflow: hidden; background: var(--paper-2); }
.marquee { display: flex; width: max-content; animation: slide 42s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee .row { display: flex; align-items: center; gap: 46px; padding-right: 46px; }
.marquee span { font-family: var(--display); font-style: italic; font-weight: 400; font-size: clamp(17px, 2.2vw, 22px); color: var(--ink-soft); display: inline-flex; align-items: center; gap: 46px; }
.marquee span::after { content: "✳"; color: var(--accent); font-style: normal; font-size: 11px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- SERVICES (asymmetric bento) ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.svc {
  position: relative; overflow: hidden;
  background: var(--card); border: 1px solid var(--line-soft); border-radius: 18px;
  padding: 30px 30px 34px; display: flex; flex-direction: column; min-height: 248px;
  transition: transform .5s var(--ease2), box-shadow .5s var(--ease), border-color .4s;
}
.svc:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -38px rgba(27,24,19,.45); border-color: var(--line); }
.svc::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 100% at 100% 0%, var(--accent-tint), transparent 55%); opacity: 0; transition: opacity .5s var(--ease); }
.svc:hover::before { opacity: 1; }
.svc .rom { font-family: var(--display); font-style: italic; font-size: 18px; color: var(--accent); }
.svc h3 { font-family: var(--display); font-weight: 400; font-size: clamp(23px, 2.3vw, 29px); letter-spacing: -.015em; margin: 14px 0 11px; position: relative; }
.svc p { font-size: 14.5px; line-height: 1.62; color: var(--ink-soft); position: relative; }
.svc .tags { margin-top: auto; padding-top: 20px; font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-faint); position: relative; }
/* bento spans */
.svc.w3 { grid-column: span 3; } .svc.w2 { grid-column: span 2; } .svc.w4 { grid-column: span 4; }
@media (max-width: 920px) { .svc-grid { grid-template-columns: 1fr 1fr; } .svc.w3, .svc.w2, .svc.w4 { grid-column: span 1; } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }

/* ---------- FILMS ---------- */
.reel { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.film { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 16/10; background: var(--paper-3); cursor: pointer; border: 1px solid var(--line-soft); }
.film.feat { grid-column: span 4; aspect-ratio: 16/9; } .film.std { grid-column: span 2; }
.film img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .5s; }
.film:hover img { transform: scale(1.05); }
.film iframe { width: 100%; height: 100%; border: 0; }
.film .ov { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,16,11,0) 38%, rgba(20,16,11,.78)); display: flex; flex-direction: column; justify-content: flex-end; padding: 20px 22px; transition: opacity .4s; }
.film .play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 62px; height: 62px; border-radius: 50%; background: rgba(246,242,234,.94); display: flex; align-items: center; justify-content: center; transition: transform .45s var(--ease2), background .4s; }
.film:hover .play { transform: translate(-50%,-50%) scale(1.1); background: var(--accent); }
.film .play svg { width: 20px; height: 20px; margin-left: 3px; fill: var(--ink); transition: fill .4s; }
.film:hover .play svg { fill: #fff; }
.film .cat { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.72); margin-bottom: 5px; }
.film .ti { font-family: var(--display); font-size: clamp(18px, 1.8vw, 22px); color: #fff; line-height: 1.12; }
@media (max-width: 920px) { .reel { grid-template-columns: 1fr 1fr; } .film.feat { grid-column: 1 / -1; } .film.std { grid-column: span 1; } }
@media (max-width: 560px) { .reel { grid-template-columns: 1fr; } .film.std { grid-column: 1 / -1; } }

/* ---------- GALLERY (masonry) ---------- */
.gal { columns: 3; column-gap: 16px; }
.gal .frame { width: 100%; margin-bottom: 16px; break-inside: avoid; cursor: zoom-in; }
.gal .frame:hover img { transform: scale(1.05); }
@media (max-width: 920px) { .gal { columns: 2; } }
@media (max-width: 540px) { .gal { columns: 1; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 150; background: rgba(20,16,11,.86); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; padding: 5vw; opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 8px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.7); transform: scale(.96); transition: transform .5s var(--ease2); }
.lightbox.open img { transform: scale(1); }
.lightbox .close { position: absolute; top: 26px; right: 30px; width: 48px; height: 48px; border-radius: 50%; background: rgba(246,242,234,.12); border: 1px solid rgba(246,242,234,.25); color: var(--paper); display: flex; align-items: center; justify-content: center; }
.lightbox .close svg { width: 18px; height: 18px; }

/* ---------- SELECTED WORK ---------- */
.work-list { border-top: 1px solid var(--line); }
.work-item { display: grid; grid-template-columns: 56px 1.3fr 1fr auto; align-items: center; gap: 24px; padding: 30px 6px; border-bottom: 1px solid var(--line); position: relative; transition: padding .45s var(--ease); }
.work-item:hover { padding-left: 22px; padding-right: 22px; }
.work-item::before { content: ""; position: absolute; inset: 0; background: var(--card); border-radius: 14px; opacity: 0; transform: scale(.98); transition: opacity .4s var(--ease), transform .45s var(--ease2); z-index: -1; }
.work-item:hover::before { opacity: 1; transform: none; box-shadow: 0 28px 56px -40px rgba(27,24,19,.4); }
.work-no { font-family: var(--display); font-style: italic; font-size: 16px; color: var(--accent); }
.work-name { font-family: var(--display); font-weight: 400; font-size: clamp(22px, 2.6vw, 32px); letter-spacing: -.02em; }
.work-desc { font-size: 14px; color: var(--ink-soft); line-height: 1.5; }
.work-tag { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); white-space: nowrap; }
.work-arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--ink-faint); transition: transform .45s var(--ease2), background .4s, color .4s, border-color .4s; }
.work-item:hover .work-arrow { background: var(--accent); color: #fff; border-color: var(--accent); transform: translate(3px,-3px); }
.work-arrow svg { width: 15px; height: 15px; }
@media (max-width: 820px) {
  .work-item { grid-template-columns: 36px 1fr auto; gap: 16px; }
  .work-desc { display: none; }
}

/* ---------- ABOUT ---------- */
.about-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(36px, 6vw, 72px); align-items: center; }
.about-portrait { aspect-ratio: 4/5; border-radius: 16px; }
.about-portrait img { transition: transform 1.2s var(--ease); }
.about-copy h2 { font-family: var(--display); font-weight: 300; font-size: clamp(27px, 3.4vw, 44px); line-height: 1.12; letter-spacing: -.025em; margin-bottom: 24px; }
.about-copy h2 em { font-style: italic; color: var(--accent); }
.about-copy p { font-size: 16.5px; line-height: 1.74; color: var(--ink-soft); margin-bottom: 17px; max-width: 56ch; }
.about-copy p b { color: var(--ink); font-weight: 600; }
.about-stats { display: flex; gap: clamp(28px, 5vw, 52px); margin-top: 34px; flex-wrap: wrap; }
.about-stats .n { font-family: var(--display); font-size: clamp(34px, 4vw, 46px); font-weight: 300; line-height: 1; letter-spacing: -.02em; }
.about-stats .n em { font-style: italic; color: var(--accent); }
.about-stats .l { font-size: 12.5px; color: var(--ink-faint); margin-top: 8px; letter-spacing: .03em; }
.about-cta { margin-top: 38px; display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } .about-portrait { max-width: 420px; } }

/* ---------- CLIENTS ---------- */
.clients-lead { font-family: var(--display); font-weight: 300; font-size: clamp(28px, 4vw, 50px); line-height: 1.08; letter-spacing: -.02em; max-width: 20ch; margin-bottom: 48px; }
.clients-lead em { font-style: italic; color: var(--accent); }
.client-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: 14px; }
@media (max-width: 560px) { .client-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* ---------- TESTIMONIALS ---------- */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.quote { background: var(--card); border: 1px solid var(--line-soft); border-radius: 18px; padding: 38px 36px; position: relative; }
.quote .mark { font-family: var(--display); font-size: 64px; line-height: .6; color: var(--accent); opacity: .28; }
.quote p { font-family: var(--display); font-weight: 300; font-size: clamp(19px, 2vw, 24px); line-height: 1.46; letter-spacing: -.01em; margin-top: 6px; }
.quote .by { margin-top: 26px; display: flex; align-items: center; gap: 13px; }
.quote .av { width: 42px; height: 42px; border-radius: 50%; background: var(--accent-tint); color: var(--accent); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 17px; flex: none; }
.quote .by b { font-weight: 600; font-size: 14.5px; } .quote .by span { color: var(--ink-faint); font-size: 13px; display: block; }
@media (max-width: 760px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- CONTACT ---------- */
.contact { background: var(--paper-2); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact h2 { font-family: var(--display); font-weight: 300; font-size: clamp(46px, 8vw, 110px); line-height: .92; letter-spacing: -.035em; }
.contact h2 em { font-style: italic; color: var(--accent); }
.contact-mail { display: inline-flex; align-items: center; gap: 14px; margin-top: 34px; font-family: var(--display); font-size: clamp(20px, 2.6vw, 30px); border-bottom: 1px solid var(--line); padding-bottom: 9px; transition: color .35s, border-color .35s; }
.contact-mail .a { font-size: .72em; transition: transform .35s var(--ease2); }
.contact-mail:hover { color: var(--accent); border-color: var(--accent); }
.contact-mail:hover .a { transform: translate(4px,-4px); }
.contact-rows { display: flex; flex-wrap: wrap; gap: 30px 56px; margin-top: 46px; }
.contact-rows .label { font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 8px; }
.contact-rows .val { font-size: 15.5px; }
.contact-rows .val a { border-bottom: 1px solid var(--line); transition: border-color .3s; }
.contact-rows .val a:hover { border-color: var(--accent); }

/* enquiry form */
.enquiry { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: clamp(26px, 3vw, 38px); }
.enquiry h3 { font-family: var(--display); font-weight: 400; font-size: 24px; letter-spacing: -.01em; margin-bottom: 6px; }
.enquiry .sub { font-size: 13.5px; color: var(--ink-faint); margin-bottom: 24px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--paper); border: 1px solid var(--line); border-radius: 11px;
  padding: 13px 15px; font-size: 15px; transition: border-color .3s, box-shadow .3s; outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-tint); }
.field textarea { resize: vertical; min-height: 96px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.enquiry .btn-solid { width: 100%; justify-content: center; margin-top: 6px; padding-left: 22px; }
.enquiry .note { font-size: 12px; color: var(--ink-faint); margin-top: 14px; text-align: center; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 440px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- FOOTER ---------- */
footer { border-top: 1px solid var(--line); padding: 40px 0; }
.foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; }
.foot .fb { font-family: var(--display); font-style: italic; font-size: 18px; }
.foot .fl { display: flex; gap: 22px; font-size: 13.5px; color: var(--ink-faint); }
.foot .fl a:hover { color: var(--ink); }
.foot .fm { font-size: 12.5px; color: var(--ink-ghost); width: 100%; padding-top: 14px; border-top: 1px solid var(--line-soft); }

/* ---------- RESPONSIVE NAV ---------- */
@media (max-width: 880px) {
  :root { --gut: 24px; }
  .nav-links { display: none; }
  .menu-btn { display: flex; }
}

/* progress bar */
.scroll-bar { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-deep)); z-index: 100; transition: width .1s linear; }

/* =========================================================================
   MULTI-PAGE ADDITIONS
   ========================================================================= */

/* Active nav link */
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after { width: 100%; }

/* ---------- PAGE HERO (inner pages) ---------- */
.page-hero { padding-top: clamp(140px, 16vw, 196px); padding-bottom: clamp(36px, 5vw, 60px); }
.page-hero h1 { font-family: var(--display); font-weight: 300; font-size: clamp(44px, 8vw, 104px); line-height: .94; letter-spacing: -.035em; max-width: 16ch; }
.page-hero h1 em { font-style: italic; color: var(--accent); font-weight: 400; }
.page-hero .lede { font-size: 18px; line-height: 1.62; color: var(--ink-soft); max-width: 54ch; margin-top: 26px; }
.page-hero .lede b { color: var(--ink); font-weight: 600; }
.page-hero .eyebrow { margin-bottom: 26px; }
.page-hero .ph-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; }

/* Breadcrumb */
.crumb { display: flex; gap: 9px; align-items: center; font-size: 12.5px; color: var(--ink-faint); margin-bottom: 22px; }
.crumb a:hover { color: var(--ink); }
.crumb .sep { color: var(--ink-ghost); }

/* ---------- SERVICE DETAIL ---------- */
.svc-detail { display: grid; grid-template-columns: 64px 1fr; gap: 28px; padding: 44px 0; border-bottom: 1px solid var(--line); align-items: start; }
.svc-detail:first-child { border-top: 1px solid var(--line); }
.svc-detail .num { font-family: var(--display); font-style: italic; font-size: 20px; color: var(--accent); padding-top: 6px; }
.svc-detail h3 { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 3.2vw, 38px); letter-spacing: -.02em; margin-bottom: 14px; }
.svc-detail .lead { font-size: 16.5px; line-height: 1.7; color: var(--ink-soft); max-width: 62ch; margin-bottom: 20px; }
.svc-detail .incl { display: flex; flex-wrap: wrap; gap: 8px; }
.svc-detail .incl span { font-size: 12.5px; padding: 7px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--ink-soft); }
@media (max-width: 680px) { .svc-detail { grid-template-columns: 1fr; gap: 12px; } .svc-detail .num { padding-top: 0; } }

/* ---------- PROCESS ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { background: var(--card); border: 1px solid var(--line-soft); border-radius: 16px; padding: 30px 26px 32px; position: relative; overflow: hidden; }
.step .sn { font-family: var(--display); font-style: italic; font-size: 17px; color: var(--accent); }
.step h4 { font-family: var(--display); font-weight: 400; font-size: 22px; letter-spacing: -.01em; margin: 12px 0 9px; }
.step p { font-size: 14px; line-height: 1.6; color: var(--ink-soft); }
@media (max-width: 880px) { .process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .process { grid-template-columns: 1fr; } }

/* ---------- EXPERIENCE TIMELINE ---------- */
.timeline { border-top: 1px solid var(--line); }
.tl-item { display: grid; grid-template-columns: 160px 1fr; gap: 32px; padding: 34px 0; border-bottom: 1px solid var(--line); align-items: start; }
.tl-year { font-size: 13px; letter-spacing: .04em; color: var(--ink-faint); padding-top: 6px; }
.tl-body h4 { font-family: var(--display); font-weight: 400; font-size: clamp(21px, 2.4vw, 28px); letter-spacing: -.015em; }
.tl-body .role { color: var(--accent); font-size: 14px; font-weight: 600; margin-top: 4px; }
.tl-body p { font-size: 15px; line-height: 1.66; color: var(--ink-soft); margin-top: 12px; max-width: 64ch; }
@media (max-width: 680px) { .tl-item { grid-template-columns: 1fr; gap: 8px; } .tl-year { padding-top: 0; } }

/* ---------- GALLERY FILTER ---------- */
.gal-filter { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 36px; }
.gal-filter button { font-size: 13px; font-weight: 500; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-soft); transition: background .35s var(--ease), color .35s, border-color .35s; }
.gal-filter button:hover { border-color: var(--ink); }
.gal-filter button.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.gal .frame.hide { display: none; }

/* ---------- CTA BAND ---------- */
.cta-band { background: var(--ink); color: var(--paper); border-radius: 0; }
.cta-band .wrap { text-align: center; }
.cta-band h2 { font-family: var(--display); font-weight: 300; font-size: clamp(38px, 7vw, 88px); line-height: .96; letter-spacing: -.03em; }
.cta-band h2 em { font-style: italic; color: #e0a07a; }
.cta-band p { color: #c8c0ae; font-size: 17px; margin: 22px auto 36px; max-width: 48ch; }
.cta-band .btn-solid { background: var(--paper); color: var(--ink); }
.cta-band .btn-solid .ic { background: rgba(27,24,19,.12); }
.cta-band .btn-solid:hover { background: #e0a07a; color: var(--ink); }
.cta-band .cta-wrap { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.cta-band .btn-ghost { border-color: rgba(246,242,234,.28); color: var(--paper); }
.cta-band .btn-ghost .ic { background: rgba(246,242,234,.12); color: var(--paper); }
.cta-band .btn-ghost:hover { border-color: var(--paper); }

/* ---------- FORM STATES (Formspree) ---------- */
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 11px; font-size: 14px; display: none; }
.form-status.show { display: block; }
.form-status.ok  { background: var(--accent-tint); color: var(--accent-deep); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); }
.form-status.err { background: #fbe9e3; color: #8f3d1f; border: 1px solid #e8c3b4; }
.enquiry.sending .btn-solid { opacity: .6; pointer-events: none; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 2px; }
.faq summary { font-family: var(--display); font-weight: 400; font-size: clamp(19px, 2.2vw, 24px); letter-spacing: -.01em; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 26px; height: 26px; flex: none; position: relative; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; background: var(--accent); transition: transform .35s var(--ease2); }
.faq summary .pm::before { top: 12px; left: 4px; width: 18px; height: 1.5px; }
.faq summary .pm::after { left: 12px; top: 4px; width: 1.5px; height: 18px; }
.faq details[open] summary .pm::after { transform: scaleY(0); }
.faq details p { font-size: 15.5px; line-height: 1.7; color: var(--ink-soft); margin-top: 14px; max-width: 70ch; }

/* ---------- BRAND CARD WALL ---------- */
.logo-cell {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  background: var(--card); border: 1px solid var(--line-soft); border-radius: 16px;
  padding: 30px 20px; min-height: 158px; text-align: center; position: relative; overflow: hidden;
  transition: transform .5s var(--ease2), box-shadow .5s var(--ease), border-color .4s var(--ease);
}
.logo-cell::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 100% at 50% 0%, var(--accent-tint), transparent 60%); opacity: 0; transition: opacity .5s var(--ease); }
.logo-cell:hover { transform: translateY(-5px); box-shadow: 0 28px 52px -36px rgba(27,24,19,.42); border-color: var(--line); }
.logo-cell:hover::before { opacity: 1; }

/* logo mark */
.logo-cell .logo-mark { height: 46px; display: flex; align-items: center; justify-content: center; position: relative; }
.logo-cell img { max-height: 46px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1) brightness(.4); opacity: 0; transition: opacity .5s var(--ease), filter .45s var(--ease); }
.logo-cell.is-loaded img { opacity: .8; }
.logo-cell.is-loaded:hover img { opacity: 1; filter: grayscale(0) brightness(1); }
.logo-cell:not(.is-loaded) .logo-mark { display: none; }

/* brand name — always visible */
.logo-cell .logo-fallback { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); line-height: 1.4; position: relative; transition: color .4s var(--ease); }
.logo-cell:hover .logo-fallback { color: var(--ink-soft); }
/* when no logo yet, the name becomes the hero of the card */
.logo-cell:not(.is-loaded) .logo-fallback { font-family: var(--display); font-weight: 400; font-size: 19px; letter-spacing: -.015em; text-transform: none; color: var(--ink-soft); }
.logo-cell:not(.is-loaded):hover .logo-fallback { color: var(--ink); }

/* ---------- SERVICE / FEATURE ICONS ---------- */
.svc-ic { width: 46px; height: 46px; border-radius: 13px; background: var(--accent-tint); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; flex: none; transition: background .45s var(--ease), color .45s var(--ease), transform .45s var(--ease2); }
.svc-ic svg { width: 23px; height: 23px; }
.svc-top { display: flex; align-items: center; justify-content: space-between; }
.svc:hover .svc-ic { background: var(--accent); color: #fff; transform: rotate(-4deg) scale(1.05); }
.svc .rom { font-size: 16px; opacity: .8; }

/* service-detail icon tile */
.svc-detail .num { display: flex; align-items: flex-start; justify-content: center; }
.svc-detail .svc-ic { width: 54px; height: 54px; border-radius: 15px; }
.svc-detail .svc-ic svg { width: 26px; height: 26px; }
@media (max-width: 680px) { .svc-detail .num { justify-content: flex-start; } }

/* process step icon */
.step .step-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-tint); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; transition: transform .45s var(--ease2); }
.step .step-ic svg { width: 22px; height: 22px; }
.step:hover .step-ic { transform: translateY(-3px); }
.step .sn { position: absolute; top: 22px; right: 24px; }

/* contact row icon */
.contact-rows .ci { display: inline-flex; align-items: center; gap: 8px; }
.contact-rows .ci svg { width: 14px; height: 14px; color: var(--accent); flex: none; }

/* hero-meta already uses inline icons; film hover preview */
.film.previewing .ov, .film.previewing .play { opacity: 0; }
.film .ov, .film .play { transition: opacity .35s var(--ease); }
.film .badge { position: absolute; top: 12px; left: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(20,16,11,.5); backdrop-filter: blur(6px); padding: 5px 9px; border-radius: 999px; opacity: 0; transition: opacity .35s; }
.film.previewing .badge { opacity: 1; }
.film .badge .live { width: 6px; height: 6px; border-radius: 50%; background: #e0a07a; }

/* ---------- SECTION CTA LINK ---------- */
.more-link { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; color: var(--ink); margin-top: 38px; transition: gap .35s var(--ease2); }
.more-link .ic { width: 30px; height: 30px; border-radius: 50%; background: var(--accent-tint); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; transition: transform .4s var(--ease2); }
.more-link .ic svg { width: 14px; height: 14px; }
.more-link:hover { gap: 14px; } .more-link:hover .ic { transform: translate(2px,-2px); }
