/* =========================================================
   FORM By LB — Lou Burns · Videographer
   Premium editorial dark theme — Space Grotesk display · Inter body
   ========================================================= */

:root {
  --ink:        #050505;   /* page background                  */
  --surface:    #0B0C0E;   /* tile background                  */
  --surface-2:  #121418;   /* raised / hover                   */
  --line:       rgba(255, 255, 255, .14);   /* ONE divider colour, everywhere */
  --text:       #FFFFFF;
  --text-soft:  rgba(255, 255, 255, .85);   /* body copy colour */
  --muted:      #8F959D;   /* secondary grey                   */
  --faint:      #5E646B;   /* tertiary grey                    */

  --font-display: 'Satoshi', system-ui, sans-serif;       /* headings (articledark ref) */
  --font-body:    'General Sans', system-ui, sans-serif;  /* nav · eyebrows · copy (ousya ref) */
  --font-mono:    'General Sans', system-ui, sans-serif;

  /* rhythm */
  --pad: clamp(1.5rem, 4.6vw, 5rem);             /* page gutter (→80px)*/
  --section-y: clamp(5rem, 9.5vw, 9rem);         /* section rhythm     */
  --head-gap: clamp(2.75rem, 5.5vw, 5.25rem);    /* heading → content  */
  --grid-gap: 0.75rem;                            /* 12px video gutters */
  --radius: 0;                                    /* sharp corners      */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* type scale */
  --type-nav: .75rem;                             /* 12px tracked caps  */
  --type-title: clamp(1.85rem, 2.35vw, 2.25rem);  /* ALL section titles — slightly larger */
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--ink); color: var(--text);
  font-family: var(--font-body); font-weight: 400;
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
::selection { background: var(--text); color: var(--ink); }

/* ---------- NAV (FORM By LB left · links right · MENU on mobile only) ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  display: flex; justify-content: space-between; align-items: baseline;   /* nav sits on FORM's baseline */
  padding: clamp(1.4rem, 2.2vw, 2rem) var(--pad) clamp(1.2rem, 2vw, 1.75rem); color: #fff;
}
.nav__brand {  /* bold tight FORM + small BY LB, per the lockup reference */
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: -.01em; font-size: clamp(1.98rem, 2.4vw, 2.3rem);
  color: #fff; text-decoration: none; line-height: 1;
  display: inline-flex; align-items: baseline;
  margin-left: 0; position: relative; top: 8px;   /* grid-aligned to the content column · nudged lower to sit on the nav baseline */
}
.nav__brand-by {  /* sits where the full stop would — small, tracked, quiet */
  font-family: var(--font-body); font-size: .38em; font-weight: 500; letter-spacing: .18em;
  color: var(--text-soft); margin-left: .45em;
}
.nav__links { display: inline-flex; align-items: center; gap: clamp(2rem, 3vw, 3.25rem); }
.nav__link {
  font-family: var(--font-body); font-weight: 500; text-transform: uppercase;
  letter-spacing: .1em; font-size: var(--type-nav);
  color: var(--text-soft); text-decoration: none;
  transition: color .35s var(--ease);
}
.nav__link:hover { color: #fff; }
/* hover: the opening-FORM shimmer wave sweeps across the item */
@keyframes navShimmer {
  0%   { background-position: 130% 50%; }
  100% { background-position: -30% 50%; }
}
.nav__brand:hover,
.nav__link:hover,
.nav__menu:hover > span:first-child {
  background: linear-gradient(100deg, #fff 0%, #fff 36%, rgba(255,255,255,.18) 50%, #fff 64%, #fff 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: navShimmer 1.8s ease;
}
.nav__menu {  /* label tier — matches the desktop nav links */
  background: none; border: 0; cursor: pointer; color: #fff;
  font-family: var(--font-body); font-weight: 500; font-size: var(--type-nav);
  letter-spacing: .1em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: .65rem;
}
.nav__menu-lines { display: inline-flex; flex-direction: column; gap: 5px; }
.nav__menu-lines span { display: block; width: 20px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease); }
.nav__menu:hover .nav__menu-lines span:first-child { transform: translateX(3px); }
/* desktop: links only, no MENU · mobile: MENU only (overlay holds the links) */
@media (min-width: 721px) { .nav__menu { display: none; } }
@media (max-width: 720px) {
  .nav__links { gap: 1.1rem; }
  .nav__link { display: none; }
}

/* ---------- MENU OVERLAY (mobile) ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(5, 5, 6, .72);
  backdrop-filter: blur(30px) saturate(120%);
  -webkit-backdrop-filter: blur(30px) saturate(120%);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-end;
  padding: 4rem clamp(2rem, 9vw, 8rem) 4rem 2rem;
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
}
.overlay.is-open { opacity: 1; visibility: visible; }
.overlay__close {  /* label tier — matches MENU */
  position: absolute; top: clamp(1.2rem, 2vw, 1.75rem); right: var(--pad);
  font-family: var(--font-body); font-weight: 500; font-size: var(--type-nav);
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); background: none; border: 0; cursor: pointer;
  transition: color .3s var(--ease);
}
.overlay__close:hover { color: var(--text); }
.overlay__nav { display: flex; flex-direction: column; align-items: flex-end; gap: clamp(.6rem, 1.4vw, 1.1rem); }
.overlay__nav a {
  display: flex; flex-direction: column; align-items: flex-end; gap: .3rem; text-align: right;
  opacity: 0; transform: translateY(18px); filter: blur(4px);
  transition: opacity .65s var(--ease), transform .65s var(--ease), filter .65s var(--ease);
}
.overlay.is-open .overlay__nav a { opacity: 1; transform: none; filter: blur(0); }
.overlay.is-open .overlay__nav a:nth-child(1) { transition-delay: .10s; }
.overlay.is-open .overlay__nav a:nth-child(2) { transition-delay: .18s; }
.overlay.is-open .overlay__nav a:nth-child(3) { transition-delay: .26s; }
.overlay__item {  /* title tier — matches the section headings */
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.6rem, 5.5vw, 2rem); line-height: 1.15; letter-spacing: .02em;
  color: var(--text-soft); transition: color .3s var(--ease);
}
.overlay__nav a:hover .overlay__item { color: #fff; }
.overlay__label {
  font-family: var(--font-mono); font-weight: 400; font-size: .74rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}

/* ---------- HERO (pure fullscreen showreel) ---------- */
.hero { position: relative; height: 100svh; overflow: hidden; background: #000; }
.hero::before {  /* fallback texture until the showreel loads */
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(120% 90% at 50% 35%, #16181c 0%, #0a0b0d 60%, #000 100%);
}
.hero__video { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; opacity: 1; will-change: filter; }
.hero__grad-top {
  position: absolute; z-index: 2; inset: 0 0 auto 0; height: 34%;
  background: linear-gradient(180deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,0) 100%);
}
.hero__grad-bottom {  /* bottom edge melts into #050505 — no hard line into About */
  position: absolute; z-index: 2; inset: auto 0 0 0; height: 48%;
  background: linear-gradient(0deg, #050505 0%, rgba(5,5,5,.72) 20%, rgba(5,5,5,0) 100%);
}
.hero::after {  /* subtle vignette */
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(125% 125% at 50% 50%, transparent 64%, rgba(0,0,0,.6) 100%);   /* stronger, edges only */
}
/* black veil that fades in on scroll — showreel dissolves into About */
.hero__fade {
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: #050505; opacity: 0; will-change: opacity;
}

/* ---------- INTRO (shared element: the centred lockup IS the nav logo — it waves,
                     the screen lifts to reveal the showreel, and the same lockup
                     travels diagonally into its top-left nav position) ---------- */
.intro {
  position: fixed; inset: 0; z-index: 1000; pointer-events: none;
  display: grid; place-items: center;
}
.intro::before {  /* the black screen lifts away on its own layer; the lockup stays behind to travel */
  content: ''; position: absolute; inset: 0; background: #000;
  animation: introLift .85s cubic-bezier(.76, 0, .24, 1) 1.7s forwards;
}
.intro__word {  /* matches the nav lockup — smaller, understated */
  position: relative;   /* rides above the lifting screen */
  display: inline-flex; align-items: baseline; line-height: 1;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.98rem, 2.4vw, 2.3rem); letter-spacing: -.01em;   /* exact match to nav lockup */
  will-change: transform;
}
/* shared-element handoff: the real nav lockup & links wait for the travelling logo */
html.intro-flip .nav__brand { opacity: 0; }
html.intro-flip.brand-settled .nav__brand { opacity: 1; }
html.intro-flip .nav__links { opacity: 0; }
html.intro-flip.intro-revealed .nav__links { opacity: 1; transition: opacity .8s ease .45s; }   /* fades in as the logo settles */
.intro__form {
  position: relative;
  background: linear-gradient(100deg,
    rgba(255, 255, 255, .42) 22%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, .42) 78%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: introWave 1.7s ease both;
}
.intro__form::after {  /* solid-white twin — crossfades in during travel so the lockup lands matching the nav */
  content: 'Form'; position: absolute; inset: 0;
  -webkit-text-fill-color: #fff; color: #fff;
  opacity: 0; transition: opacity .55s ease .2s;
}
html.intro-revealed .intro__form::after { opacity: 1; }
.intro__by {
  font-family: var(--font-body); font-size: .38em; font-weight: 500; letter-spacing: .18em;
  color: var(--text-soft); margin-left: .45em;
  opacity: 0; animation: introByIn 1s ease .55s both;
}
@keyframes introLift { to { transform: translateY(-105%); } }
@keyframes introWave {
  0%   { background-position: 180% 50%; opacity: 0; }
  25%  { opacity: 1; }
  100% { background-position: -30% 50%; opacity: 1; }
}
@keyframes introByIn { to { opacity: 1; } }
/* the showreel is held back, then dropped in when the intro lifts */
.js-intro .hero__video { opacity: 0; transform: translateY(-70px); }
.intro-revealed .hero__video {
  opacity: 1; transform: none;
  transition: opacity 1.1s ease, transform 1.1s cubic-bezier(.76, 0, .24, 1);
}
@media (prefers-reduced-motion: reduce) {
  .intro { display: none; animation: none; }
  .js-intro .hero__video { opacity: 1; transform: none; }
}

/* ---------- SECTIONS ---------- */
.section { padding: var(--section-y) var(--pad); }
#about { text-align: left; }
#commercial { padding-top: calc(var(--section-y) + clamp(2.5rem, 4.5vw, 3.75rem)); }   /* more air: About → Projects */

/* Projects dissolves to black near its bottom (scroll-driven) */
.fade-section { position: relative; }
.section__fade {
  position: absolute; inset: 0; z-index: 5; pointer-events: none;
  background: #050505; opacity: 0; will-change: opacity;
}

/* Eyebrow — quiet index label above each section */
.eyebrow {
  font-family: var(--font-body); font-weight: 500; font-size: .75rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
  margin-bottom: clamp(1.2rem, 2.6vw, 2rem);
}

/* Section titles — one consistent treatment everywhere */
.section__title {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: var(--type-title); line-height: 1; letter-spacing: .02em;
  color: var(--text);
}

/* ---------- PROJECTS (tabs: Commercial Films / Short-Form Socials) ---------- */
.ptabs {  /* structure through type contrast, not rules */
  display: flex; align-items: baseline; gap: clamp(2.5rem, 4.2vw, 3.75rem);
  margin-bottom: clamp(1.75rem, 2.4vw, 2.4rem);   /* ~38px — tighter still, so the grid reads connected to its tabs */
}
.ptab {
  background: none; border: 0; cursor: pointer; padding: 0;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: var(--type-title); line-height: 1; letter-spacing: .02em;
  color: rgba(255, 255, 255, .4); transition: color .4s var(--ease);   /* secondary — softer contrast */
}
.ptab:hover { color: var(--text-soft); }
.ptab.is-active { color: var(--text); }
/* soft fade-up when a panel is revealed */
.panel-in { animation: panelIn .65s var(--ease) both; }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- ABOUT (stacked: one-line heading · ruled copy below, per reference) ---------- */
#about .section__title { white-space: nowrap; }
@media (max-width: 640px) { #about .section__title { white-space: normal; } }
.about__grid { display: block; }
.about__copy {  /* stepped editorial body — indented exactly 2 grid modules (≈ column 3) so its
                   left edge falls UNDER "BEHIND THE LENS" and reads as one composition with it,
                   not a detached right-hand column and not flush beneath the heading */
  margin-top: clamp(2.75rem, 3.8vw, 3.75rem);   /* ~60px — connected to the heading, still generous */
  max-width: 540px;                              /* slightly narrower, more refined measure */
  margin-left: clamp(0rem, 16.667%, 16.5rem);    /* 2/12 of the content column — grid-locked, no JS, capped for ultrawide */
}
@media (max-width: 600px) { .about__copy { margin-left: 0; } }   /* mobile: stack left under the heading */
.about__copy p {  /* whole description — one uniform font, size, weight & colour */
  font-family: var(--font-body); font-weight: 400;
  font-size: clamp(1rem, .95rem + .35vw, 1.18rem); line-height: 1.8;
  letter-spacing: .005em; text-transform: none; color: var(--text-soft);
}
.about__copy p + p { margin-top: 1.6em; }

/* ---------- CONTACT (editorial ruled rows · large CTA) ---------- */
.contact__grid {  /* two quiet columns — structure through space, not lines */
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4rem); margin-top: var(--head-gap); max-width: 44rem;
}
.contact__col { display: block; }
.contact__label {
  font-family: var(--font-body); font-weight: 500; font-size: .75rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: .8rem;
}
.contact__col p {
  font-family: var(--font-body); font-weight: 300;
  font-size: clamp(1.1rem, 1rem + .5vw, 1.45rem); color: var(--text);
}
.contact__col a { transition: color .3s var(--ease); }
.contact__col a:hover { color: var(--muted); }
@media (max-width: 700px) {
  .contact__grid { grid-template-columns: 1fr; }
}
.contact__cta { margin-top: clamp(3.5rem, 7vw, 5.5rem); }
.contact__cta-title {  /* quiet label above the big CTA */
  font-family: var(--font-body); font-weight: 500; font-size: .75rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 1rem;
}
.contact__btn {
  display: inline-flex; align-items: baseline; gap: .35em;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: var(--type-title); letter-spacing: .02em; line-height: 1;
  color: var(--text); border-bottom: 0; padding-bottom: 0;
  transition: color .35s var(--ease), letter-spacing .35s var(--ease);
}
.contact__btn:hover { color: var(--muted); }   /* colour only — no layout-shifting hovers */

/* ---------- ENQUIRY (guided, one-question-at-a-time · same FORM language) ---------- */
.enq { margin-top: var(--head-gap); max-width: 62rem; }

/* shared button — sharp, hairline, tracked caps (matches nav label tier) */
.enq__btn {
  display: inline-flex; align-items: center; gap: .7em;
  font-family: var(--font-body); font-weight: 500; font-size: var(--type-nav);
  letter-spacing: .18em; text-transform: uppercase; color: var(--text);
  background: none; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.05em 1.6em; cursor: pointer;
  transition: border-color .4s var(--ease), background .4s var(--ease), color .4s var(--ease), opacity .4s var(--ease);
}
.enq__btn:hover { border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.04); }
.enq__btn[disabled] { opacity: .4; pointer-events: none; }
.enq__btn--lg { padding: 1.2em 2em; }
/* refined submit loading state — spinner in, arrow out, locked against double-submit */
.enq__spin { display: none; width: 13px; height: 13px; border: 1.5px solid rgba(255,255,255,.28); border-top-color: #fff; border-radius: 50%; }
.enq__btn.is-loading { pointer-events: none; opacity: .9; border-color: rgba(255,255,255,.55); }
.enq__btn.is-loading .enq__arw { display: none; }
.enq__btn.is-loading .enq__spin { display: inline-block; animation: enqSpin .7s linear infinite; }
@keyframes enqSpin { to { transform: rotate(360deg); } }
/* honeypot — visually removed but reachable by bots */
.enq__hp { position: absolute !important; left: -9999px; top: auto; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.enq__arw { transition: transform .4s var(--ease); }
.enq__btn:hover .enq__arw { transform: translateX(4px); }
.enq__back:hover .enq__arw--back { transform: translateX(-4px); }

/* intro */
.enq__intro { max-width: 40rem; }
.enq__lede {
  font-family: var(--font-body); font-weight: 400;
  font-size: clamp(1rem, .95rem + .35vw, 1.18rem); line-height: 1.8;
  letter-spacing: .005em; color: var(--text-soft);
  max-width: 34rem;   /* echoes the About copy measure (~540px) for shared rhythm */
  margin-bottom: clamp(2.25rem, 3.8vw, 3rem);
}
.enq__direct {
  margin-top: 1.75rem; font-family: var(--font-body); font-size: .85rem;
  letter-spacing: .01em; color: var(--faint);
}
.enq__direct a { color: var(--muted); transition: color .3s var(--ease); }
.enq__direct a:hover { color: var(--text); }

/* progress bar */
.enq__bar { display: flex; align-items: center; gap: 1.25rem; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.enq__count {
  font-family: var(--font-body); font-weight: 500; font-size: var(--type-nav);
  letter-spacing: .2em; color: var(--muted); display: inline-flex; gap: .5em;
}
.enq__count [data-enq-cur] { color: var(--text); }
.enq__count-sep { color: var(--faint); }
.enq__track { position: relative; flex: 1; max-width: 200px; height: 1px; background: var(--line); overflow: hidden; }
.enq__fill { position: absolute; inset: 0 auto 0 0; width: 12.5%; background: var(--text); transition: width .6s var(--ease); }

/* steps */
.enq__stage { position: relative; }
.enq__step { border: 0; padding: 0; margin: 0; min-inline-size: 0; }
.enq__step:not(.is-active) { display: none; }
.enq__step.is-active { display: block; animation: enqIn .6s var(--ease) both; }
@keyframes enqIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.enq__q {
  font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em;
  font-size: clamp(1.4rem, 1.1rem + 1.35vw, 2rem); line-height: 1.12; color: var(--text);
  max-width: 20ch;
}
.enq__hint {
  font-family: var(--font-body); font-weight: 400; font-size: .85rem; letter-spacing: .01em;
  color: var(--muted); margin-top: .9rem; margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem); max-width: 44ch;
}

/* option groups */
.enq__opts { display: grid; gap: var(--grid-gap); }
.enq__opts--tiles { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.enq__opts--cards { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.enq__opts--rows, .enq__opts--stack { grid-template-columns: 1fr; max-width: 42rem; }
.enq__opts--chips { display: flex; flex-wrap: wrap; }

/* base interactive option */
.enq__tile, .enq__row, .enq__chip, .enq__card, .enq__rich {
  position: relative; cursor: pointer; text-align: left; color: var(--text-soft);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--font-body); transition: border-color .4s var(--ease), background .4s var(--ease), color .4s var(--ease), opacity .4s var(--ease);
}
.enq__tile:hover, .enq__row:hover, .enq__chip:hover, .enq__card:hover, .enq__rich:hover {
  border-color: rgba(255,255,255,.4); background: var(--surface-2); color: var(--text);
}
/* selected — hairline goes white + tick */
.enq__tile.is-sel, .enq__row.is-sel, .enq__chip.is-sel, .enq__card.is-sel, .enq__rich.is-sel {
  border-color: var(--text); background: var(--surface-2); color: var(--text);
}
.enq__tile.is-sel::after, .enq__card.is-sel::after, .enq__rich.is-sel::after, .enq__row.is-sel::after {
  content: ''; position: absolute; top: .9rem; right: .9rem; width: 16px; height: 16px;
  border-radius: 50%; background: var(--text);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M4 8.5l2.5 2.5L12 5'/%3E%3C/svg%3E") center/14px no-repeat, linear-gradient(#000,#000);
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M4 8.5l2.5 2.5L12 5'/%3E%3C/svg%3E") center/14px no-repeat;
  -webkit-mask-composite: destination-out; mask-composite: exclude;
}
/* at-cap: dim the unselectable */
.enq__opts.is-full .enq__chip:not(.is-sel), .enq__opts.is-full .enq__card:not(.is-sel) { opacity: .32; }
.enq__opts.is-full .enq__chip:not(.is-sel):hover, .enq__opts.is-full .enq__card:not(.is-sel):hover {
  border-color: var(--line); background: var(--surface); opacity: .32;
}

/* tiles (icon + label) */
.enq__tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .85rem; padding: 1.75rem 1rem; min-height: 118px; text-align: center; }
.enq__ic { display: inline-flex; color: var(--muted); transition: color .4s var(--ease); }
.enq__ic svg { width: 26px; height: 26px; display: block; }
.enq__tile:hover .enq__ic, .enq__tile.is-sel .enq__ic { color: var(--text); }
.enq__tile-l { font-size: .9rem; letter-spacing: .01em; }

/* rows */
.enq__row { padding: 1.15rem 1.35rem; font-size: 1rem; }
.enq__row.is-sel::after { top: 50%; transform: translateY(-50%); }

/* chips */
.enq__chip { padding: .7em 1.15em; font-size: .9rem; letter-spacing: .02em; border-radius: var(--radius); }

/* image-style cards */
.enq__card { display: flex; align-items: flex-end; min-height: 128px; padding: 1rem 1.1rem; overflow: hidden; isolation: isolate; }
.enq__card::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .9; transition: opacity .5s var(--ease), transform .6s var(--ease); }
.enq__card:hover::before { opacity: 1; transform: scale(1.04); }
.enq__card-l { font-family: var(--font-body); font-weight: 500; font-size: .92rem; letter-spacing: .02em; color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.55); }
.sty-cinematic::before { background: radial-gradient(120% 120% at 80% 10%, #24343a 0%, #0a0f11 70%); }
.sty-doc::before      { background: radial-gradient(120% 120% at 75% 15%, #3a352c 0%, #100e0b 72%); }
.sty-premium::before  { background: radial-gradient(120% 120% at 80% 12%, #4a3a22 0%, #0d0a06 72%); }
.sty-organic::before  { background: radial-gradient(120% 120% at 78% 15%, #2b3a2c 0%, #0a0f0b 72%); }
.sty-clean::before    { background: linear-gradient(150deg, #2a2c30 0%, #101215 78%); }
.sty-bold::before     { background: radial-gradient(120% 120% at 82% 8%, #5a2a33 0%, #3a1f14 42%, #0d0707 78%); }

/* rich (title + desc) */
.enq__rich { display: block; padding: 1.35rem 1.5rem; padding-right: 3rem; }
.enq__rich-t { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: -.005em; color: var(--text); }
.enq__rich-d { display: block; margin-top: .5rem; font-size: .92rem; line-height: 1.55; color: var(--muted); }
.enq__rich.is-sel .enq__rich-d { color: var(--text-soft); }

/* text fields */
.enq__field {
  width: 100%; font-family: var(--font-body); font-weight: 400; font-size: 1.02rem; color: var(--text);
  background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1rem;
  transition: border-color .4s var(--ease), background .4s var(--ease);
}
.enq__field::placeholder { color: var(--faint); }
.enq__field:focus { outline: none; border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.02); }
.enq__area { resize: vertical; min-height: 8.5rem; line-height: 1.6; max-width: 44rem; }
.enq__area--tall { min-height: 12rem; }
.enq__fields { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(1.25rem, 3vw, 2rem); max-width: 44rem; }
.enq__lab {
  display: block;   /* caption (label + optional) on one line, field beneath — keeps inputs aligned across the row */
  font-family: var(--font-body); font-weight: 500; font-size: .75rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted);
}
.enq__lab .enq__field { margin-top: .7rem; }
.enq__lab .enq__opt { color: var(--faint); letter-spacing: .1em; text-transform: none; }
.enq__error { margin-top: 1.25rem; font-family: var(--font-body); font-size: .85rem; color: #d98b7a; letter-spacing: .01em; }

/* nav */
.enq__nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.enq__back {
  display: inline-flex; align-items: center; gap: .6em; background: none; border: 0; cursor: pointer;
  font-family: var(--font-body); font-weight: 500; font-size: var(--type-nav); letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted); transition: color .35s var(--ease);
}
.enq__back:hover { color: var(--text); }
.enq__back[hidden] { visibility: hidden; display: inline-flex; }

/* done */
.enq__done { max-width: 44rem; animation: enqIn .7s var(--ease) both; }
.enq__done-eyebrow {
  font-family: var(--font-body); font-weight: 500; font-size: .75rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 1.5rem;
}
.enq__done-title {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .02em;
  font-size: var(--type-title); line-height: 1; color: var(--text); margin-bottom: 1.5rem;
}
.enq__done-copy {
  font-family: var(--font-body); font-size: clamp(1rem, .95rem + .35vw, 1.18rem); line-height: 1.8;
  color: var(--text-soft); margin-bottom: clamp(2.75rem, 5vw, 3.75rem);
}
.enq__next-label {
  font-family: var(--font-body); font-weight: 500; font-size: .75rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 1.5rem;
}
.enq__next-list { list-style: none; }
.enq__next-list li { display: flex; gap: 1.5rem; align-items: baseline; padding: 1.15rem 0; border-top: 1px solid var(--line); }
.enq__next-list li:last-child { border-bottom: 1px solid var(--line); }
.enq__next-n { font-family: var(--font-body); font-weight: 500; font-size: .8rem; letter-spacing: .1em; color: var(--faint); min-width: 2rem; }
.enq__next-t { font-family: var(--font-body); font-size: 1rem; line-height: 1.5; color: var(--text-soft); }

/* fade between intro / flow / done */
.enq__intro, .enq__flow, .enq__done { transition: opacity .5s var(--ease); }
.enq.is-swapping .enq__intro, .enq.is-swapping .enq__flow { opacity: 0; }

@media (max-width: 700px) {
  .enq__fields { grid-template-columns: 1fr; }
  .enq__opts--tiles { grid-template-columns: repeat(2, 1fr); }
  .enq__opts--cards { grid-template-columns: repeat(2, 1fr); }
  .enq__nav { margin-top: 2.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .enq__step.is-active, .enq__done { animation: none; }
  .enq__fill { transition: none; }
  .enq__btn.is-loading .enq__spin { animation: none; }
}

/* ---------- VIDEO GRIDS ---------- */
.films-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--grid-gap); }
.socials-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--grid-gap); }

.tile { position: relative; cursor: pointer; }
.tile__media {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 16 / 9; background: var(--surface);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04);   /* hairline edge */
}
.tile__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .7s var(--ease), transform .6s var(--ease), filter .5s var(--ease);
}
.tile.is-playing .tile__video, .reel-tile.is-playing .tile__video { opacity: 1; }
.tile:hover .tile__video, .reel-tile:hover .tile__video { transform: scale(1.02); filter: brightness(1.08); }

.tile__poster {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--surface-2), var(--surface) 62%);
  display: flex; align-items: flex-end; padding: 1rem 1.1rem; transition: opacity .55s var(--ease);
}
.tile__poster::before {
  content: attr(data-label);
  font-family: var(--font-body); font-weight: 500;
  font-size: .66rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--faint); line-height: 1.5; max-width: 30ch;
}
.tile.is-playing .tile__poster, .reel-tile.is-playing .tile__poster { opacity: 0; }

.reel-tile { position: relative; cursor: pointer; overflow: hidden; border-radius: var(--radius); }
.reel-tile .tile__video, .reel-tile .tile__poster {
  position: relative; aspect-ratio: 9 / 16; width: 100%; border-radius: var(--radius);
}
.reel-tile .tile__poster { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04); }
.reel-tile .tile__video { position: absolute; inset: 0; height: 100%; }

/* ---------- FOOTER ---------- */
.footer {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  padding: clamp(1.75rem, 3vw, 2.5rem) var(--pad); border-top: 1px solid var(--line);
  font-family: var(--font-body); font-weight: 500; font-size: .78rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.footer > span {  /* mirrors the top-left FORM lockup, bottom-left */
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem;
  letter-spacing: -.01em; color: #fff;
}
.footer a { transition: color .3s var(--ease); }
.footer a:hover { color: var(--text); }

/* ---------- PROJECTS PAGE (projects.html) ---------- */
.proj-page { padding-top: clamp(6rem, 12vh, 9rem); }
.proj-page__head { padding: 0 var(--pad); margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.proj-page__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.6rem, 9vw, 7rem); line-height: .95; letter-spacing: -.02em; margin-bottom: 1.6rem;
}
.filters { display: flex; gap: .5rem; flex-wrap: wrap; }
.filter {
  font-family: var(--font-display); font-weight: 400; font-size: .85rem;
  letter-spacing: .01em; padding: .5rem 1.1rem; border-radius: 100px;
  border: 1px solid var(--line); color: var(--muted); background: transparent; cursor: pointer;
  transition: color .25s, background .25s, border-color .25s;
}
.filter:hover { color: var(--text); border-color: var(--muted); }
.filter.is-active { background: var(--text); color: var(--ink); border-color: var(--text); }
.proj-group { padding: 0 var(--pad); margin-bottom: var(--section-y); }
.proj-group[hidden] { display: none; }

/* ---------- Reveal (fade + rise + blur→sharp, staggered in JS) ---------- */
/* content is visible by default — the hidden/animated state only applies once JS
   adds .reveal-ready, so the page can never get stuck black if scripts fail. */
html.reveal-ready [data-reveal] {  /* restrained fade-up — plays once, subtle stagger in JS */
  opacity: 0; transform: translateY(20px);
  transition: opacity .9s var(--ease), transform 1s var(--ease);
}
html.reveal-ready [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.reveal-ready [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .films-grid { grid-template-columns: repeat(2, 1fr); }
  .socials-row {
    grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 46%;
    overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  }
  .socials-row .reel-tile { scroll-snap-align: start; }
}
@media (max-width: 720px) {
  .ptabs { flex-wrap: wrap; gap: 1.1rem 1.75rem; }
}
@media (max-width: 560px) {
  .films-grid { grid-template-columns: 1fr; }
  .socials-row { grid-auto-columns: 72%; }
}
