/* ==========================================================================
   VESPERA — design system
   Tokens · base · type · layout · components · chapters · motion · responsive
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --obsidian: #08090b;
  --graphite: #17191d;
  --graphite-2: #202328;
  --ivory: #f2f0ea;
  --silver: #a8adb4;
  --champagne: #b7a17a;
  --error: #e6a29a;

  /* Theme-reactive (body[data-theme] swaps these) */
  --bg: var(--obsidian);
  --fg: var(--ivory);
  --muted: rgba(242, 240, 234, 0.66);
  --rule: rgba(242, 240, 234, 0.16);

  --font-display: "Oxanium", "Eurostile", "Bank Gothic", system-ui, sans-serif;
  --font-sans: "Chakra Petch", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Share Tech Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --cut: .53em;   /* the laser-scored line through display type */

  /* Spacing — 8pt base, fluid gutters */
  --pad: clamp(20px, 5.2vw, 96px);
  --gap: clamp(16px, 2vw, 32px);
  --s-1: 8px; --s-2: 16px; --s-3: 24px; --s-4: 40px; --s-5: 64px; --s-6: 104px;
  --section: clamp(96px, 16vh, 200px);
  --nav-h: 76px;

  /* Motion system */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);      /* entrances */
  --ease-cine: cubic-bezier(0.65, 0, 0.35, 1);    /* cinematic transitions */
  --ease-std: cubic-bezier(0.33, 1, 0.68, 1);     /* micro */
  --t-micro: 240ms;
  --t-enter: 760ms;
  --t-edit: 1000ms;
  --t-cine: 1300ms;
}

body[data-theme="light"] {
  --bg: var(--ivory);
  --fg: var(--obsidian);
  --muted: rgba(8, 9, 11, 0.64);
  --rule: rgba(8, 9, 11, 0.16);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  transition: background-color 900ms var(--ease-cine), color 900ms var(--ease-cine);
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ol, ul, figure, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
::selection { background: var(--champagne); color: var(--obsidian); }

:focus-visible { outline: 1px solid var(--champagne); outline-offset: 4px; }

.skip {
  position: fixed; left: var(--pad); top: 12px; z-index: 200;
  padding: 12px 18px; background: var(--ivory); color: var(--obsidian);
  font-size: .75rem; letter-spacing: .1em; text-transform: uppercase;
  transform: translateY(-160%); transition: transform var(--t-micro) var(--ease-out);
}
.skip:focus { transform: none; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Film grain — static, no animation cost */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 110; pointer-events: none;
  opacity: .055; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 3. Typography ---------- */
/* Display: wide, angular, uppercase — every headline carries one hairline
   "score" cut through its letterforms, the marque's typographic signature. */
.display {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: .96;
  letter-spacing: .01em;
  text-transform: uppercase;
  font-feature-settings: "ss01", "case";
  -webkit-mask-image: repeating-linear-gradient(to bottom, #000 0, #000 var(--cut), transparent var(--cut), transparent calc(var(--cut) + max(1.5px, .028em)), #000 calc(var(--cut) + max(1.5px, .028em)), #000 .96em);
          mask-image: repeating-linear-gradient(to bottom, #000 0, #000 var(--cut), transparent var(--cut), transparent calc(var(--cut) + max(1.5px, .028em)), #000 calc(var(--cut) + max(1.5px, .028em)), #000 .96em);
}
.display em { font-style: normal; font-weight: 500; color: transparent; -webkit-text-stroke: 1px var(--fg); }
.display em .c { -webkit-text-stroke: 1px var(--fg); }
.t-hero { font-size: clamp(2.7rem, 8vw, 9rem); letter-spacing: -.005em; }
.t-xl { font-size: clamp(2.3rem, 5.8vw, 6.6rem); }
.t-l { font-size: clamp(2rem, 4.3vw, 4.8rem); }
.t-m { font-size: clamp(1.6rem, 2.7vw, 2.8rem); line-height: 1; }
.t-s { font-size: clamp(1.3rem, 1.8vw, 1.8rem); line-height: 1.08; }
.mono, .step__n, .seq__count, [data-stage-current] { font-family: var(--font-mono); }

.label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.4;
}
.label--accent { color: var(--champagne); }

.lede { font-size: clamp(1.02rem, 1.25vw, 1.2rem); line-height: 1.6; max-width: 40ch; color: var(--muted); }
.body { max-width: 44ch; color: var(--muted); }
.body + .body { margin-top: 1.1em; }

.ln { display: block; }

/* ---------- 4. Layout ---------- */
.wrap { padding-inline: var(--pad); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.section { position: relative; padding-block: var(--section); }
.rule { display: block; height: 1px; background: var(--rule); transform-origin: left center; }

/* ---------- 5. Components ---------- */

/* Buttons — sliding fill + directional arrow */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 1.1rem;
  min-height: 52px; padding: 1rem 1.5rem 1rem 1.6rem;
  border: 1px solid currentColor;
  font: 500 .72rem/1 var(--font-sans); letter-spacing: .1em; text-transform: uppercase;
  color: var(--fg);
  transition: color 420ms var(--ease-out);
}
.btn::before {
  content: ""; position: absolute; inset: -1px; z-index: -1;
  background: var(--fg);
  transform: scaleX(0); transform-origin: right center;
  transition: transform 560ms var(--ease-out);
}
.btn:hover, .btn:focus-visible { color: var(--bg); }
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left center; }
.btn .arr { width: 22px; height: 10px; transition: transform 460ms var(--ease-out); }
.btn:hover .arr, .btn:focus-visible .arr { transform: translateX(6px); }
.btn--light { --fg: var(--ivory); --bg: var(--obsidian); color: var(--ivory); }
.btn--solid { color: var(--bg); }
.btn--solid::before { transform: scaleX(1); }
.btn--solid:hover { color: var(--fg); }
.btn--solid:hover::before { transform: scaleX(0); transform-origin: right center; }

/* Text link with drawn underline */
.link {
  display: inline-flex; align-items: center; gap: .7rem;
  font: 500 .72rem/1.4 var(--font-sans); letter-spacing: .1em; text-transform: uppercase;
  padding-block: 6px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0% 1px no-repeat;
  transition: background-size 560ms var(--ease-out);
}
.link:hover, .link:focus-visible { background-size: 100% 1px; }
.link .arr { width: 18px; height: 9px; transition: transform 460ms var(--ease-out); }
.link:hover .arr { transform: translateX(5px); }

/* Navigation */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 70;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding-inline: var(--pad);
  color: var(--ivory);
  transition: transform 700ms var(--ease-out), background-color 500ms var(--ease-std), color 500ms var(--ease-std);
}
.nav::after {
  content: ""; position: absolute; inset: auto 0 0; height: 1px; background: currentColor; opacity: 0;
  transition: opacity 500ms;
}
.nav.is-solid { background: rgba(8, 9, 11, .74); -webkit-backdrop-filter: blur(16px) saturate(1.1); backdrop-filter: blur(16px) saturate(1.1); }
.nav.is-solid::after { opacity: .1; }
body[data-theme="light"] .nav.is-solid { background: rgba(242, 240, 234, .82); color: var(--obsidian); }
.nav.is-hidden { transform: translateY(-101%); }
.nav.menu-open { background: transparent; color: var(--ivory); transform: none; }
.nav.menu-open::after { opacity: 0; }

.logo { display: inline-flex; align-items: center; gap: 14px; font: 500 .84rem/1 var(--font-sans); letter-spacing: .52em; }
.logo svg { width: 22px; height: 22px; }
.wordmark { height: 13px; width: auto; aspect-ratio: 137 / 23; overflow: visible; }
.wordmark path { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: miter; stroke-linecap: square; }
.logo .wordmark { width: 76px; height: 12.8px; }
.wordmark--xl { width: 100%; height: auto; }
.wordmark--xl path { stroke-width: .55; }
.wordmark--draw { width: 130px; height: 21.8px; }
.wordmark--draw path { stroke-dasharray: 600; stroke-dashoffset: 600; animation: wm-draw 1500ms var(--ease-cine) 150ms forwards; }
@keyframes wm-draw { to { stroke-dashoffset: 0; } }

.nav__links { display: flex; align-items: center; gap: clamp(1.4rem, 2.6vw, 2.8rem); }
.nav__links a:not(.btn) {
  position: relative; font: 500 .7rem/1 var(--font-sans); letter-spacing: .1em; text-transform: uppercase;
  padding-block: 10px; opacity: .78; transition: opacity var(--t-micro);
}
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform 520ms var(--ease-out);
}
.nav__links a:not(.btn):hover, .nav__links a[aria-current="page"] { opacity: 1; }
.nav__links a:not(.btn):hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__links .btn { min-height: 42px; padding: .8rem 1.1rem; font-size: .66rem; }

.nav__toggle {
  display: none; align-items: center; gap: 12px; min-height: 44px; padding-inline: 4px;
  font: 500 .7rem/1 var(--font-sans); letter-spacing: .1em; text-transform: uppercase;
}
.nav__toggle .bars { position: relative; width: 26px; height: 8px; }
.nav__toggle .bars::before, .nav__toggle .bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor;
  transition: transform 500ms var(--ease-out);
}
.nav__toggle .bars::before { top: 0; }
.nav__toggle .bars::after { bottom: 0; }
.nav__toggle[aria-expanded="true"] .bars::before { transform: translateY(3.5px) rotate(18deg); }
.nav__toggle[aria-expanded="true"] .bars::after { transform: translateY(-3.5px) rotate(-18deg); }

/* Mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 60;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--nav-h) + 6vh) var(--pad) 40px;
  background: var(--obsidian); color: var(--ivory);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 900ms var(--ease-cine), visibility 0s linear 900ms;
}
.menu.is-open { clip-path: inset(0); visibility: visible; transition: clip-path 900ms var(--ease-cine), visibility 0s; }
.menu__links li { overflow: hidden; border-bottom: 1px solid rgba(242, 240, 234, .12); }
.menu__links a {
  display: flex; align-items: baseline; justify-content: space-between; padding: 14px 0;
  font-family: var(--font-display); font-weight: 300; font-size: clamp(2.6rem, 11vw, 4.6rem); line-height: 1;
  transform: translateY(100%); transition: transform 900ms var(--ease-out);
  transition-delay: calc(240ms + var(--i, 0) * 80ms);
}
.menu__links a span { font: 500 .66rem/1 var(--font-sans); letter-spacing: .1em; color: var(--silver); }
.menu.is-open .menu__links a { transform: none; }
.menu__foot { display: flex; justify-content: space-between; align-items: end; gap: 1rem; opacity: 0; transition: opacity 600ms 600ms; }
.menu.is-open .menu__foot { opacity: 1; }

/* Scroll progress */
.progress {
  position: fixed; inset: 0 0 auto; z-index: 80; height: 1px; pointer-events: none;
  background: var(--champagne);
  transform-origin: left center; transform: scaleX(var(--sp, 0));
}

/* Loader (first visit per session) */
.loader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: var(--obsidian); color: var(--ivory);
  clip-path: inset(0);
  transition: clip-path 1100ms var(--ease-cine);
}
.loader__mark { display: grid; justify-items: center; gap: 22px; }
.loader__word { display: flex; font: 500 .9rem/1 var(--font-sans); letter-spacing: .6em; padding-left: .6em; }
.loader__word span { opacity: 0; } .loader__word .x { opacity: 0; animation: loader-letter 900ms var(--ease-out) forwards; animation-delay: calc(var(--i) * 70ms + 120ms); }
.loader__line { width: 120px; height: 1px; background: rgba(242, 240, 234, .2); overflow: hidden; }
.loader__line::after { content: ""; display: block; height: 100%; background: var(--champagne); transform: scaleX(0); transform-origin: left; animation: loader-line 1100ms var(--ease-cine) 200ms forwards; }
@keyframes loader-letter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes loader-line { to { transform: scaleX(1); } }
html.is-loaded .loader { clip-path: inset(0 0 100% 0); }
html.seen .loader { display: none; }

/* Page curtain (between-page transitions) */
.curtain {
  position: fixed; inset: 0; z-index: 95; pointer-events: none;
  background: var(--obsidian); opacity: 0;
  transition: opacity 520ms var(--ease-std);
}
html.seen:not(.is-entered) .curtain { opacity: 1; }
html.is-leaving .curtain { opacity: 1; }

/* Quick actions: back to top + private viewing (appears once past the opening) */
.quick {
  position: fixed; right: max(16px, calc(var(--pad) * .5)); bottom: 22px; z-index: 95;
  display: flex; align-items: center; gap: 8px;
  opacity: 0; translate: 0 16px; pointer-events: none;
  transition: opacity 400ms var(--ease-std), translate 600ms var(--ease-out);
}
.quick.is-on { opacity: 1; translate: 0 0; pointer-events: auto; }
.quick__top, .quick__cta {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  background: rgba(8, 9, 11, .78); color: var(--ivory); border: 1px solid rgba(242, 240, 234, .18);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: background-color 300ms, color 300ms, border-color 300ms;
}
.quick__top { width: 44px; }
.quick__top svg { width: 10px; height: 18px; }
.quick__cta { padding: 0 18px; font: 500 .66rem/1 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; }
.quick__top:hover, .quick__cta:hover { background: var(--ivory); color: var(--obsidian); border-color: var(--ivory); }

/* Skip the pinned film */
.stage__skip { display: none; }
.has-film .stage__skip {
  display: inline-flex; align-items: center; gap: 10px; position: absolute; z-index: 4;
  right: var(--pad); top: calc(var(--bar, 0px) + var(--nav-h) + 12px); min-height: 40px;
  font: 500 .64rem/1 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: rgba(242, 240, 234, .8);
  opacity: var(--hud, 0); transition: color 300ms;
}
.has-film .stage__skip:hover { color: var(--ivory); }
.stage__skip i { width: 18px; height: 1px; background: currentColor; }

/* Film toggle (pause/play for any autoplaying film) */
.film-toggle {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font: 500 .64rem/1 var(--font-sans); letter-spacing: .1em; text-transform: uppercase;
  color: var(--ivory); opacity: .72; transition: opacity var(--t-micro);
}
.film-toggle:hover { opacity: 1; }
.film-toggle .ico { width: 10px; height: 10px; display: grid; grid-auto-flow: column; gap: 3px; }
.film-toggle .ico::before, .film-toggle .ico::after { content: ""; width: 3px; background: currentColor; }
.film-toggle[aria-pressed="true"] .ico { gap: 0; }
.film-toggle[aria-pressed="true"] .ico::before { width: 0; height: 0; background: none; border-left: 9px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.film-toggle[aria-pressed="true"] .ico::after { display: none; }
html:not(.js) .film-toggle, .no-video .film-toggle { display: none; }

/* Media helpers */
.media { position: relative; overflow: hidden; background: var(--graphite); }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; }
.film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1400ms var(--ease-std); }
.film.is-playing { opacity: 1; }
.px { overflow: hidden; }
.px > img, .px > picture > img { height: 118%; margin-top: -9%; will-change: transform; }

/* ---------- 6. Chapters ---------- */

/* 01 Hero */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 620px;
  overflow: hidden; background: var(--obsidian); color: var(--ivory);
}
.hero__media { position: absolute; inset: -2% 0 0; will-change: transform; transform-origin: 62% 60%; }
.hero__media img, .hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 66% 50%; }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(8, 9, 11, .72) 0%, rgba(8, 9, 11, .34) 38%, rgba(8, 9, 11, 0) 62%),
    linear-gradient(180deg, rgba(8, 9, 11, .5) 0%, rgba(8, 9, 11, 0) 22%, rgba(8, 9, 11, 0) 64%, var(--obsidian) 100%);
}
.hero__content {
  position: absolute; left: 0; right: 0; top: calc(var(--nav-h) + clamp(32px, 9vh, 120px));
  will-change: transform, opacity;
}
.hero__content .label { margin-bottom: clamp(20px, 3vh, 36px); }
.hero__title { max-width: 9.5ch; }
.hero__lede { margin-top: clamp(22px, 3.4vh, 40px); max-width: 30ch; color: rgba(242, 240, 234, .78); font-size: clamp(1rem, 1.2vw, 1.15rem); }
.hero__cta { margin-top: clamp(26px, 4vh, 48px); }
.hero__foot {
  position: absolute; left: 0; right: 0; bottom: 26px;
  display: flex; justify-content: space-between; align-items: center;
}
.scroll-cue { display: inline-flex; align-items: center; gap: 14px; font: 500 .64rem/1 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; opacity: .72; }
.scroll-cue i { position: relative; display: block; width: 1px; height: 42px; background: rgba(242, 240, 234, .22); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 40%; background: var(--ivory); animation: cue 2.4s var(--ease-cine) infinite; }
@keyframes hero-push { from { transform: scale(1); } to { transform: scale(1.08); } }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(260%); } }

/* Page hero (secondary pages) */
.phero { position: relative; height: 88vh; height: 88svh; min-height: 560px; overflow: hidden; color: var(--ivory); background: var(--obsidian); }
.phero__media { position: absolute; inset: 0; will-change: transform; }
.phero__media img, .phero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phero .hero__shade { background: linear-gradient(180deg, rgba(8, 9, 11, .55) 0%, rgba(8, 9, 11, .05) 35%, rgba(8, 9, 11, .2) 60%, var(--obsidian) 100%); }
.phero__content { position: absolute; left: 0; right: 0; bottom: clamp(48px, 10vh, 120px); }
.phero__content .label { margin-bottom: 22px; }
.phero__content .lede { margin-top: 26px; color: rgba(242, 240, 234, .78); }

/* 02 Statement */
.statement { overflow: hidden; }
.statement__head { grid-column: 1 / -1; display: flex; align-items: center; gap: 24px; margin-bottom: clamp(40px, 7vh, 88px); }
.statement__head .rule { flex: 1; }
.statement__title { grid-column: 1 / 11; }
.statement__title .ln:nth-child(2) { padding-left: 1.4em; }
.statement__title .ln:nth-child(3) { padding-left: .4em; }
.statement__body { grid-column: 2 / 6; margin-top: clamp(48px, 9vh, 120px); align-self: start; }
.statement__body .link { margin-top: 34px; }
.statement__img { grid-column: 7 / 12; margin-top: clamp(-40px, -4vh, -10px); aspect-ratio: 3 / 4; position: relative; z-index: 1; }
.statement__img figcaption { position: absolute; left: 0; bottom: -34px; }
.drift {
  position: absolute; left: 0; bottom: 8vh; z-index: 0; white-space: nowrap; pointer-events: none;
  font-family: var(--font-display); font-weight: 300; font-size: clamp(8rem, 26vw, 30rem); line-height: .8;
  color: transparent; -webkit-text-stroke: 1px rgba(242, 240, 234, .09);
  will-change: transform;
}
body[data-theme="light"] .drift { -webkit-text-stroke-color: rgba(8, 9, 11, .1); }

/* 03 Signature sequence — default is a stacked, scroll-friendly film strip */
.seq { position: relative; color: var(--ivory); background: var(--obsidian); }
.seq__intro { padding-block: 0 clamp(40px, 6vh, 72px); }
.seq__scene { position: relative; margin-bottom: clamp(56px, 10vh, 120px); }
.seq__frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--graphite); }
.seq__frame img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.seq__text { padding: 28px var(--pad) 0; max-width: calc(36rem + 2 * var(--pad)); }
.seq__text .label { margin-bottom: 14px; }
.seq__text .body { margin-top: 16px; }
.seq__progress { display: none; }

/* Pinned mode (desktop, motion allowed) */
.seq--pinned { height: calc(var(--n, 5) * 92vh); }
.seq--pinned .seq__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.seq--pinned .seq__scene { position: absolute; inset: 0; margin: 0; opacity: var(--o, 0); }
.seq--pinned .seq__scene:first-child { --o: 1; }
.seq--pinned .seq__frame { position: absolute; inset: 0; aspect-ratio: auto; }
.seq--pinned .seq__frame img { transform: scale(var(--s, 1.1)); will-change: transform; }
.seq--pinned .seq__frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(75deg, rgba(8, 9, 11, .78) 0%, rgba(8, 9, 11, .3) 36%, rgba(8, 9, 11, 0) 60%),
              linear-gradient(0deg, rgba(8, 9, 11, .55) 0%, rgba(8, 9, 11, 0) 40%);
}
.seq--pinned .seq__text {
  position: absolute; left: var(--pad); bottom: clamp(72px, 14vh, 150px); padding: 0; max-width: 34rem;
  opacity: 0; transform: translateY(28px);
  transition: opacity 600ms var(--ease-std), transform 900ms var(--ease-out);
}
.seq--pinned .seq__scene.is-active .seq__text { opacity: 1; transform: none; transition-delay: 120ms; }
.seq--pinned .seq__text .body { color: rgba(242, 240, 234, .76); }
.seq--pinned .seq__progress {
  position: absolute; right: var(--pad); bottom: clamp(72px, 14vh, 150px); z-index: 3;
  display: flex; align-items: center; gap: 18px;
  font: 500 .66rem/1 var(--font-sans); letter-spacing: .1em; color: rgba(242, 240, 234, .8);
}
.seq__bar { position: relative; width: clamp(80px, 9vw, 160px); height: 1px; background: rgba(242, 240, 234, .24); }
.seq__bar span { position: absolute; inset: 0; background: var(--ivory); transform-origin: left; transform: scaleX(var(--p, 0)); }
.seq__ticks { display: flex; gap: 10px; }
.seq__ticks li { width: 6px; height: 6px; border: 1px solid rgba(242, 240, 234, .5); border-radius: 50%; transition: background-color 400ms, border-color 400ms; }
.seq__ticks li.is-on { background: var(--ivory); border-color: var(--ivory); }

/* 04 Collection */
.collection { position: relative; }
.collection__track { display: grid; gap: clamp(48px, 8vh, 96px); padding: var(--section) var(--pad); }
.collection__intro .t-l { margin-top: 22px; }
.collection__intro .body { margin-top: 26px; }
.card { display: block; position: relative; }
.card__media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--graphite); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02) translateX(var(--mx, 0px)); transition: transform 1100ms var(--ease-out); }
.card:hover .card__media img, .card:focus-visible .card__media img { transform: scale(1.07) translateX(var(--mx, 0px)); }
.card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 9, 11, .5), rgba(8, 9, 11, 0) 45%); opacity: .8; transition: opacity 700ms; }
.card:hover .card__media::after { opacity: 1; }
.card__index { position: absolute; left: 20px; top: 20px; z-index: 1; color: var(--ivory); }
.card__meta { display: grid; gap: 10px; padding-top: 22px; }
.card__meta .t-s { margin-top: 2px; }
.card__desc { color: var(--muted); max-width: 32ch; }
.card__cta { margin-top: 6px; }
.card__cta .link { padding-block: 4px; }
.card:hover .card__cta .link { background-size: 100% 1px; }

/* Horizontal mode (desktop, motion allowed) */
.collection--h .collection__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; }
.collection--h .collection__track {
  display: flex; align-items: center; gap: clamp(32px, 4vw, 72px);
  padding: 0 var(--pad); will-change: transform;
}
.collection--h .collection__intro { flex: 0 0 min(34vw, 520px); padding-right: 2vw; }
.collection--h .card { flex: 0 0 min(28vw, 50vh); }
.collection--h .card__meta { padding-top: 20px; }
@media (hover: hover) and (pointer: fine) {
  .collection--h .card__desc { opacity: 0; transform: translateY(8px); transition: opacity 500ms var(--ease-std), transform 700ms var(--ease-out); }
  .collection--h .card:hover .card__desc, .collection--h .card:focus-visible .card__desc { opacity: 1; transform: none; }
}
.collection__count { position: absolute; left: var(--pad); bottom: 34px; display: none; }
.collection--h .collection__count { display: flex; align-items: center; gap: 16px; }

/* 05 Material / detail */
.detail__head { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: end; margin-bottom: clamp(56px, 10vh, 120px); }
.detail__head .t-l { grid-column: 1 / 8; margin-top: 22px; }
.detail__head .body { grid-column: 9 / 13; }
.detail__a { grid-column: 1 / 7; aspect-ratio: 3 / 4; }
.detail__b { grid-column: 8 / 13; aspect-ratio: 4 / 5; margin-top: 22vh; }
.detail__c { grid-column: 4 / 10; aspect-ratio: 16 / 10; margin-top: -16vh; position: relative; z-index: 2; box-shadow: 0 40px 80px rgba(0, 0, 0, .45); }
.detail__notes { grid-column: 9 / 13; margin-top: clamp(48px, 8vh, 96px); align-self: start; }
.detail figure figcaption { margin-top: 14px; }
.annot { display: grid; grid-template-columns: 28px 1fr; gap: 6px 18px; padding: 20px 0; position: relative; }
.annot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--rule); transform-origin: left; }
.annot .label { grid-row: span 2; padding-top: 4px; color: var(--champagne); }
.annot strong { font-weight: 500; font-size: .98rem; letter-spacing: .01em; }
.annot span:last-child { color: var(--muted); font-size: .92rem; }

/* 06 Story — clip reveal over a pinned stage */
.story { position: relative; height: 210vh; background: var(--obsidian); color: var(--ivory); }
.story__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.story__media {
  position: absolute; inset: 0;
  clip-path: inset(var(--cy, 0%) var(--cx, 0%));
  will-change: clip-path;
}
.story__media img, .story__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(var(--ss, 1)); }
.story__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 9, 11, .74), rgba(8, 9, 11, .2) 55%, rgba(8, 9, 11, .05)); opacity: var(--so, 1); }
.story__content { position: absolute; left: 0; right: 0; bottom: clamp(64px, 14vh, 160px); opacity: var(--co, 1); transform: translateY(var(--cty, 0px)); }
.story__content .label { margin-bottom: 22px; }
.story__content .body { margin-top: 28px; color: rgba(242, 240, 234, .78); }
.story__content .link { margin-top: 30px; }
.story__label-top { position: absolute; left: var(--pad); top: calc(var(--nav-h) + 24px); }

/* 07 Process (light chapter) */
.process__head { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; margin-bottom: clamp(56px, 10vh, 120px); }
.process__head .label { grid-column: 1 / 4; }
.process__head .t-l { grid-column: 4 / 12; }
.process__list { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); counter-reset: step; }
.step { position: relative; padding-top: 28px; }
.step::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--fg); opacity: .5; transform-origin: left; }
.step__n { font-family: var(--font-mono); font-weight: 400; font-size: clamp(3rem, 5vw, 5.2rem); line-height: 1; }
.step h3 { margin-top: 26px; font: 500 .74rem/1.4 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; }
.step p { margin-top: 14px; color: var(--muted); max-width: 30ch; }
.process__cta { grid-column: 4 / -1; margin-top: clamp(56px, 10vh, 112px); display: flex; flex-wrap: wrap; align-items: center; gap: 28px 40px; }

/* 08 Finale */
.finale { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; display: grid; place-items: center; text-align: center; background: var(--obsidian); color: var(--ivory); }
.finale__media { position: absolute; inset: 0; transform: scale(var(--fs, 1.12)); will-change: transform; }
.finale__media img, .finale__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.finale__media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 70%, rgba(8, 9, 11, 0) 0%, rgba(8, 9, 11, .55) 60%), linear-gradient(180deg, var(--obsidian) 0%, rgba(8, 9, 11, .2) 22%, rgba(8, 9, 11, .2) 78%, var(--obsidian) 100%); }
.finale__content { position: relative; z-index: 1; padding: 22vh var(--pad) 30vh; display: grid; justify-items: center; }
.finale__content .t-xl { margin-top: 24px; }
.finale__content .lede { margin: 28px auto 0; text-align: center; color: rgba(242, 240, 234, .78); }
.finale__content .btn { margin-top: 40px; }
.finale .film-toggle { position: absolute; right: var(--pad); bottom: 26px; z-index: 2; }

/* 09 Footer */
.footer { position: relative; padding: clamp(72px, 12vh, 140px) var(--pad) 32px; background: var(--obsidian); color: var(--ivory); overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px var(--gap); }
.footer__brand { grid-column: 1 / 5; }
.footer__brand p { margin-top: 22px; color: rgba(242, 240, 234, .6); max-width: 30ch; }
.footer__col { grid-column: span 2; }
.footer__col--wide { grid-column: span 4; }
.footer__col h2 { font: 500 .66rem/1 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--silver); margin-bottom: 22px; }
.footer__col li + li { margin-top: 10px; }
.footer__col a { opacity: .82; transition: opacity var(--t-micro); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 500ms var(--ease-out), opacity var(--t-micro); }
.footer__col a:hover { opacity: 1; background-size: 100% 1px; }
.footer__col p { color: rgba(242, 240, 234, .64); max-width: 32ch; }
.footer__col .link { margin-top: 16px; }
.footer__word {
  margin-top: clamp(64px, 12vh, 140px);
  padding-inline: var(--pad); line-height: 0;
  color: rgba(242, 240, 234, .94);
  overflow: hidden;
}
.footer__word span { display: block; }
.footer__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px;
  margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(242, 240, 234, .14);
  font-size: .78rem; color: rgba(242, 240, 234, .56);
}
.footer__base nav { display: flex; gap: 24px; }
.to-top { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font: 500 .64rem/1 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ivory); }
.to-top svg { width: 10px; height: 18px; transition: transform 500ms var(--ease-out); }
.to-top:hover svg { transform: translateY(-5px); }

/* 01b Photoreal film stage (html.has-film): the hero and five scenes in one pinned, scroll-scrubbed shot */
.stage { position: relative; }
.stage__canvas, .stage__load, .stage__caps, .stage__hud, .stage__bars, .stage__fade { display: none; }
.has-film .stage { height: 720vh; background: var(--obsidian); }
.has-film .stage .hero { position: sticky; top: 0; }
.has-film .seq { display: none; }
.has-film .stage .hero__media { transform: none !important; }
.has-film .stage .hero__shade { z-index: 1; background: linear-gradient(100deg, rgba(8, 9, 11, .62) 0%, rgba(8, 9, 11, .18) 40%, rgba(8, 9, 11, 0) 62%); }
.has-film .stage .hero__content, .has-film .stage .hero__foot { z-index: 3; }
.has-film .stage .hero__foot .film-toggle { display: none; }
.has-film .stage__canvas {
  display: block; position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0;
  opacity: 0;
}
/* lens vignette over the film */
.has-film .stage .hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(120% 90% at 55% 50%, transparent 55%, rgba(0, 0, 0, .42) 100%); }
.has-film .stage__load {
  display: block; position: absolute; left: var(--pad); right: var(--pad); bottom: 0; z-index: 4; height: 1px;
  background: var(--champagne); transform-origin: left; transform: scaleX(0); transition: transform 300ms, opacity 600ms;
}
.has-film .stage.is-ready .stage__load { opacity: 0; }
.has-film .stage__caps { display: block; position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.stage__cap {
  position: absolute; left: var(--pad); bottom: calc(var(--bar, 0px) + clamp(56px, 11vh, 130px)); max-width: 34rem;
  opacity: 0; transform: translate3d(0, 28px, 0); visibility: hidden;
  transition: opacity 700ms var(--ease-std), transform 1000ms var(--ease-out), visibility 0s linear 700ms;
}
.stage__cap.is-active { opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition-delay: 120ms, 120ms, 0s; }
.stage__cap .label { margin-bottom: 14px; }
.stage__cap .body { margin-top: 16px; color: rgba(242, 240, 234, .78); }
.has-film .stage__hud {
  display: flex; position: absolute; right: var(--pad); bottom: calc(var(--bar, 0px) + clamp(56px, 11vh, 130px)); z-index: 3;
  align-items: center; gap: 18px; opacity: var(--hud, 0);
  font: 500 .66rem/1 var(--font-sans); letter-spacing: .1em; color: rgba(242, 240, 234, .8);
}
.has-film .stage__bars { display: block; position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.stage__bars::before, .stage__bars::after { content: ""; position: absolute; left: 0; right: 0; height: var(--bar, 0px); background: #000; }
.stage__bars::before { top: 0; }
.stage__bars::after { bottom: 0; }
.has-film .stage__fade { display: block; position: absolute; inset: 0; z-index: 5; background: var(--obsidian); opacity: var(--fade, 0); pointer-events: none; }
@media (max-width: 720px) {
  .has-film .stage { height: 560vh; }
  .has-film .stage .hero__shade { background: linear-gradient(180deg, rgba(8, 9, 11, .7) 0%, rgba(8, 9, 11, .2) 40%, rgba(8, 9, 11, 0) 60%); }
  .has-film .stage .hero__media picture img { animation: none; }
  .stage__cap { right: var(--pad); }
  .has-film .stage__hud { left: var(--pad); right: auto; bottom: calc(var(--bar, 0px) + 22px); }
}

/* ---------- 7. Secondary-page modules ---------- */
.split { align-items: center; }
.split__media { grid-column: 1 / 7; aspect-ratio: 3 / 4; }
.split__text { grid-column: 8 / 12; }
.split--rev .split__media { grid-column: 7 / 13; grid-row: 1; }
.split--rev .split__text { grid-column: 2 / 6; grid-row: 1; }
.split__text .t-l { margin-top: 22px; }
.split__text .body { margin-top: 26px; }
.spec { margin-top: 40px; border-top: 1px solid var(--rule); }
.spec div { display: grid; grid-template-columns: 1fr 1.4fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.spec dt { font: 500 .66rem/1.6 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.spec dd { font-size: .98rem; }
.split__text .btn, .split__text .link { margin-top: 36px; }

.bleed { position: relative; height: 92vh; height: 92svh; overflow: hidden; }
.bleed > .px, .bleed > img { position: absolute; inset: 0; height: 100%; }
.bleed .px > img { width: 100%; height: 118%; object-fit: cover; }
.bleed__cap { position: absolute; left: var(--pad); bottom: 36px; z-index: 1; color: var(--ivory); max-width: 40ch; }
.bleed::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 9, 11, .6), rgba(8, 9, 11, 0) 40%); pointer-events: none; }

.principles { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.principle { padding-top: 26px; position: relative; }
.principle::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--rule); transform-origin: left; }
.principle h3 { margin-top: 20px; }
.principle p { margin-top: 16px; color: var(--muted); max-width: 34ch; }

.band { text-align: center; }
.band .t-l { margin-top: 22px; }
.band .lede { margin: 26px auto 0; text-align: center; }
.band .btn { margin-top: 40px; }

/* Contact */
.contact { padding-top: calc(var(--nav-h) + clamp(48px, 10vh, 120px)); padding-bottom: var(--section); }
.contact__intro { grid-column: 1 / 6; align-self: start; position: sticky; top: calc(var(--nav-h) + 40px); }
.contact__intro .t-xl { margin-top: 22px; }
.contact__intro .lede { margin-top: 28px; }
.contact__img { margin-top: 48px; aspect-ratio: 16 / 10; }
.contact__form { grid-column: 7 / 13; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 28px; }
.field { display: grid; gap: 10px; position: relative; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font: 500 .66rem/1.4 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field .req { color: var(--champagne); margin-left: 4px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 0 12px;
  font: 400 1.05rem/1.4 var(--font-sans); color: var(--fg);
  background: transparent; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0;
  -webkit-appearance: none; appearance: none;
  transition: border-color 400ms var(--ease-std);
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { padding-right: 28px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23a8adb4' stroke-width='1.2'/%3E%3C/svg%3E") right 4px center / 12px 8px no-repeat; }
.field select option { background: var(--graphite); color: var(--ivory); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--champagne); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { box-shadow: 0 1px 0 0 var(--champagne); }
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ivory); transform: scaleX(0); transform-origin: left; transition: transform 700ms var(--ease-out); pointer-events: none; }
.field:focus-within::after { transform: scaleX(1); }
.field--check::after, .field--full.field--check::after { display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-bottom-color: var(--error); }
.field__error { min-height: 1.2em; font-size: .82rem; color: var(--error); }
.field__error:empty { min-height: 0; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; cursor: pointer; color: var(--muted); font-size: .92rem; line-height: 1.55; text-transform: none; letter-spacing: 0; }
.check input { width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; padding: 0; border: 1px solid var(--silver); display: grid; place-items: center; cursor: pointer; }
.check input:checked { background: var(--ivory); border-color: var(--ivory); }
.check input:checked::after { content: ""; width: 10px; height: 5px; border-left: 1.5px solid var(--obsidian); border-bottom: 1.5px solid var(--obsidian); transform: rotate(-45deg) translate(1px, -1px); }
.check input:focus-visible { outline: 1px solid var(--champagne); outline-offset: 3px; }
.check a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.form__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 22px 32px; margin-top: 8px; }
.form__note { font-size: .82rem; color: var(--muted); max-width: 38ch; }
.form__status { grid-column: 1 / -1; min-height: 1.4em; font-size: .92rem; }
.form__status.is-error { color: var(--error); }
.btn[aria-busy="true"] { pointer-events: none; opacity: .7; }
.btn[aria-busy="true"] .arr { animation: busy 1s var(--ease-cine) infinite; }
@keyframes busy { 50% { transform: translateX(8px); } }
.thanks { padding: 40px 0; border-top: 1px solid var(--rule); }
.thanks .t-l { margin-top: 20px; }
.thanks .body { margin-top: 24px; }
.thanks .link { margin-top: 32px; }

/* Legal */
.legal { padding-top: calc(var(--nav-h) + clamp(56px, 12vh, 140px)); padding-bottom: var(--section); }
.legal__body { grid-column: 3 / 11; }
.legal__body .t-l { margin: 22px 0 40px; }
.legal__body h2 { margin: 48px 0 14px; font: 500 .74rem/1.4 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; }
.legal__body p, .legal__body li { color: var(--muted); max-width: 68ch; }
.legal__body ul { list-style: disc; padding-left: 1.2em; margin-top: 10px; }
.legal__body li + li { margin-top: 6px; }
.notice { margin-bottom: 32px; padding: 16px 20px; border: 1px solid var(--champagne); color: var(--champagne); font-size: .88rem; }

/* ---------- 7b. Anatomy page ---------- */
.anat { position: relative; }
.anat__stage { display: none; }
.anat__intro { min-height: 100vh; min-height: 100svh; display: grid; align-content: end; padding-top: calc(var(--nav-h) + 8vh); padding-bottom: 14vh; position: relative; z-index: 2; }
.anat__intro .t-hero { margin-top: 20px; max-width: 12ch; }
.anat__intro .lede { margin-top: 28px; color: rgba(242, 240, 234, .78); }
.anat__scrollcue { margin-top: 40px; display: inline-flex; gap: 14px; align-items: center; }
.anat__scrollcue i { width: 40px; height: 1px; background: currentColor; transform-origin: left; animation: cuex 2.4s var(--ease-cine) infinite; }
@keyframes cuex { 0% { transform: scaleX(0); } 50% { transform: scaleX(1); transform-origin: left; } 51% { transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }
.anat__ch { position: relative; z-index: 2; padding-block: 12vh; }
.anat__card { max-width: 30rem; }
.anat__card .t-l { margin-top: 16px; }
.anat__card .body { margin-top: 22px; max-width: 40ch; }
.anat__fallback { margin-top: 32px; aspect-ratio: 16 / 10; }
.anat__ctrl { margin-top: 26px; }
.anat__outro { height: 40vh; }

/* Film mode: the studio pins behind, chapters scroll over it */
.has-film .anat__stage {
  display: block; position: sticky; top: 0; height: 100vh; height: 100svh; margin-bottom: -100vh; margin-bottom: -100svh;
  z-index: 0; overflow: hidden; background: var(--obsidian);
}
.has-film .anat__fallback { display: none; }
/* the intro gets room for the body to turn to glass before the first part */
.has-film .anat__intro { min-height: 200vh; align-content: start; padding-top: calc(var(--nav-h) + 46vh); }
.has-film .anat__ch { min-height: 150vh; display: flex; align-items: center; }
.has-film .anat__card {
  padding: 30px 32px 32px; background: rgba(8, 9, 11, .55); border: 1px solid rgba(242, 240, 234, .1);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.has-film .anat__card--right { margin-left: auto; }
.anat__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1600ms var(--ease-std); }
.anat.is-ready .anat__canvas { opacity: 1; }
.anat__load { position: absolute; left: var(--pad); right: var(--pad); bottom: 0; height: 1px; background: var(--champagne); transform-origin: left; transform: scaleX(0); transition: opacity 600ms; }
.anat.is-ready .anat__load { opacity: 0; }
.anat__sweep { position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: screen; opacity: 0;
  background: linear-gradient(104deg, transparent 38%, rgba(255, 255, 255, .05) 45%, rgba(255, 255, 255, .26) 50%, rgba(255, 255, 255, .05) 55%, transparent 62%);
  transform: translateX(-70%); }
.anat__sweep.is-on { animation: paint-sweep 1300ms var(--ease-cine) forwards; }
@keyframes paint-sweep { 0% { opacity: 0; transform: translateX(-70%); } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translateX(70%); } }
.anat__lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.anat__lines path { fill: none; stroke: rgba(242, 240, 234, .7); stroke-width: 1; }
.callout {
  position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none;
  display: flex; gap: 12px; align-items: baseline; padding: 8px 0 8px 12px; margin-top: -18px;
  font: 500 .74rem/1.35 var(--font-sans); letter-spacing: .04em; color: var(--ivory);
  opacity: 0; transition: opacity 500ms var(--ease-std);
  border-left: 1px solid rgba(242, 240, 234, .7); white-space: nowrap;
}
.callout.is-left { flex-direction: row-reverse; padding: 8px 12px 8px 0; border-left: 0; border-right: 1px solid rgba(242, 240, 234, .7); translate: -100% 0; }
.callout span { padding: 5px 9px; background: rgba(8, 9, 11, .62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.anat__nav button { text-shadow: 0 1px 10px rgba(0, 0, 0, .9); }
.anat__next {
  display: none; margin-top: 26px; align-items: center; gap: 12px; min-height: 44px;
  font: 500 .64rem/1 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--champagne);
  transition: color 300ms, gap 400ms var(--ease-out);
}
.anat__next svg { width: 10px; height: 16px; }
.anat__next svg[viewBox="0 0 24 10"] { width: 24px; height: 10px; }
.anat__next:hover { color: var(--ivory); gap: 18px; }
.has-film .anat__next { display: inline-flex; }
.anat__count { display: none; }
.callout b { font: 500 .62rem/1 var(--font-sans); letter-spacing: .1em; color: var(--champagne); }
.callout.is-on { opacity: 1; }
.anat__nav {
  position: absolute; left: var(--pad); top: 50%; z-index: 3; translate: 0 -50%;
  display: grid; gap: 4px; pointer-events: auto;
  opacity: 0; transition: opacity 600ms var(--ease-std);
}
.anat:not([data-active=""]) .anat__nav { opacity: 1; }
.anat__nav button {
  display: flex; align-items: center; gap: 12px; min-height: 30px;
  font: 500 .64rem/1 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: rgba(242, 240, 234, .45);
  transition: color 400ms;
}
.anat__nav button i { width: 14px; height: 1px; background: currentColor; transition: width 500ms var(--ease-out); }
.anat__nav button:hover, .anat__nav button.is-active { color: var(--ivory); }
.anat__nav button.is-active i { width: 34px; background: var(--champagne); }
.anat__hint { position: absolute; right: var(--pad); bottom: 28px; z-index: 3; }
kbd { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-right: 8px; border: 1px solid rgba(242, 240, 234, .4); font: 600 .62rem/1 var(--font-sans); color: var(--ivory); }
@media (hover: none) { .anat__hint { display: none; } }
/* put the nav out of the cards' way */
.has-film .anat__ch .anat__card:not(.anat__card--right) { margin-left: clamp(0px, 9vw, 150px); }

.chip {
  display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 16px;
  border: 1px solid rgba(242, 240, 234, .35); border-radius: 999px;
  font: 500 .66rem/1 var(--font-sans); letter-spacing: .1em; text-transform: uppercase;
  transition: background-color 300ms, color 300ms, border-color 300ms;
}
.chip:hover { background: var(--ivory); color: var(--obsidian); border-color: var(--ivory); }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--champagne); box-shadow: 0 0 10px var(--champagne); }

.gauge { margin-top: 26px; display: flex; align-items: center; gap: 16px; }
.gauge__track { position: relative; width: 160px; height: 2px; background: rgba(242, 240, 234, .18); }
.gauge__track i { position: absolute; top: -4px; left: calc(var(--g, .5) * 100%); width: 2px; height: 10px; background: var(--champagne); translate: -1px 0; box-shadow: 0 0 12px var(--champagne); }
.gauge__track::after { content: ""; position: absolute; left: 50%; top: -6px; width: 1px; height: 14px; background: rgba(242, 240, 234, .4); }

.swatches { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }
.swatch {
  position: relative; width: 44px; height: 44px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .55), transparent 42%), var(--c);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
  transition: transform 400ms var(--ease-out);
}
.swatch::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid transparent; transition: border-color 300ms; }
.swatch[aria-pressed="true"]::after { border-color: var(--champagne); }
.swatch:hover { transform: translateY(-3px) scale(1.06); }
.swatch span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.paint-name { margin-top: 22px; font-size: clamp(1.6rem, 2.6vw, 2.5rem); }
.paint-name.is-swap { animation: swap 700ms var(--ease-out); }
@keyframes swap { from { opacity: 0; transform: translateY(14px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.anat__card .link { margin-top: 18px; }

@media (max-width: 720px) {
  .has-film .anat__card { padding: 22px; }
  .has-film .anat__ch .anat__card:not(.anat__card--right) { margin-left: 0; }
  .anat__nav { top: auto; bottom: 18px; translate: none; grid-auto-flow: column; gap: 10px; }
  .anat__nav button { font-size: 0; gap: 0; }
  .anat__nav button i { width: 18px; }
  .anat__nav button.is-active i { width: 30px; }
  .has-film .anat__count {
    display: block; position: absolute; left: var(--pad); bottom: 44px; z-index: 3; color: var(--ivory);
    opacity: 1; transition: opacity 400ms; text-shadow: 0 1px 10px rgba(0, 0, 0, .9);
  }
  .has-film .anat__count b { font-family: var(--font-mono); font-weight: 400; color: var(--champagne); }
  .has-film .anat[data-active=""] .anat__count { opacity: 0; }
  .callout { font-size: .66rem; }
  .callout span { white-space: normal; max-width: 9rem; }
  /* phones: the card docks above the chapter counter and the footage plays in the strip above it */
  .has-film .anat__ch { min-height: 130vh; align-items: flex-end; padding-block: 0 84px; }
  .has-film .anat__ch .anat__card { position: sticky; bottom: 84px; width: 100%; padding: 16px 16px 4px; background: rgba(8, 9, 11, .8); }
  .has-film .anat__card .label { font-size: .56rem; }
  .has-film .anat__card .t-l { margin-top: 8px; font-size: clamp(1.35rem, 6.2vw, 1.8rem); }
  .has-film .anat__card .body { margin-top: 8px; font-size: .8rem; line-height: 1.45; }
  .has-film .anat__card .gauge, .has-film .anat__card .swatches, .has-film .anat__card .anat__ctrl, .has-film .anat__card .paint-name { margin-top: 12px; }
  .has-film .anat__card .paint-name { font-size: 1.3rem; }
  .has-film .anat__card .swatch { width: 36px; height: 36px; }
  .has-film .anat__card .anat__next { margin-top: 4px; }
}

/* Anatomy teaser on the homepage */
.teaser .grid { align-items: center; }
.teaser__text { grid-column: 1 / 6; }
.teaser__text .t-xl { margin-top: 18px; }
.teaser__text .body { margin-top: 24px; }
.teaser__text .btn { margin-top: 34px; }
.teaser__media { grid-column: 7 / 13; aspect-ratio: 4 / 3; display: block; }
.teaser__media img { transition: transform 1400ms var(--ease-out); }
.teaser__media:hover img { transform: scale(1.05); }
.teaser__tags { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; }
.teaser__tags i { font: 500 .6rem/1 var(--font-sans); font-style: normal; letter-spacing: .1em; text-transform: uppercase; padding: 8px 10px; border: 1px solid rgba(242, 240, 234, .35); background: rgba(8, 9, 11, .45); color: var(--ivory); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
@media (max-width: 960px) { .teaser__text, .teaser__media { grid-column: 1 / -1; } .teaser__media { margin-top: 48px; } }

/* ---------- 7c. Kinetic type & playful details ---------- */
.js [data-reveal="chars"] .cw { display: inline-block; white-space: nowrap; }
.js [data-reveal="chars"] .c {
  display: inline-block; transform-origin: 50% 100%;
  opacity: 0; transform: translate3d(0, .5em, 0) rotateX(-80deg); filter: blur(4px);
  transition: opacity 700ms var(--ease-std), transform 1100ms var(--ease-out), filter 900ms var(--ease-std);
  transition-delay: calc(var(--d, 0ms) + var(--i, 0) * 24ms);
}
.js [data-reveal="chars"].is-in .c { opacity: 1; transform: none; filter: none; }
.js [data-reveal="chars"] { perspective: 600px; }
.hero__title .c, .t-hero .c { will-change: transform; }

[data-scrub] .sw { opacity: var(--o, .2); transition: opacity 200ms linear; }

.marquee { position: relative; overflow: hidden; padding-block: clamp(28px, 6vh, 64px); border-block: 1px solid var(--rule); }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__track span {
  font-family: var(--font-display); font-weight: 300; font-size: clamp(3rem, 8vw, 8rem); line-height: 1; padding-right: .5em; white-space: nowrap;
  transform: skewX(var(--skew, 0deg));
}
.marquee__track span { text-transform: uppercase; letter-spacing: .02em; }
.marquee__track span:nth-child(even) { font-weight: 600; color: transparent; -webkit-text-stroke: 1px var(--fg); }

.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 90; translate: -50% 140%;
  padding: 12px 18px; background: rgba(8, 9, 11, .82); border: 1px solid rgba(242, 240, 234, .16);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--ivory);
  font: 500 .7rem/1 var(--font-sans); letter-spacing: .16em; text-transform: uppercase;
  transition: translate 700ms var(--ease-out);
}
.toast.is-on { translate: -50% 0; }

/* ---------- 8. Motion states (only when JS has booted) ---------- */
.js [data-reveal="fade"] {
  opacity: 0; transform: translate3d(0, 26px, 0);
  transition: opacity var(--t-enter) var(--ease-std), transform var(--t-edit) var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal="fade"].is-in { opacity: 1; transform: none; }

.js [data-reveal="lines"] .ln { overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.js [data-reveal="lines"] .ln > span {
  display: inline-block; transform: translate3d(0, 112%, 0);
  transition: transform var(--t-edit) var(--ease-out);
  transition-delay: calc(var(--d, 0ms) + var(--i, 0) * 110ms);
}
.js [data-reveal="lines"].is-in .ln > span { transform: none; }

.js [data-reveal="words"] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js [data-reveal="words"] .w > span {
  display: inline-block; transform: translate3d(0, 100%, 0); opacity: 0;
  transition: transform 900ms var(--ease-out), opacity 700ms var(--ease-std);
  transition-delay: calc(var(--d, 0ms) + var(--i, 0) * 38ms);
}
.js [data-reveal="words"].is-in .w > span { transform: none; opacity: 1; }

/* A cover layer retracts upward so the image emerges from the bottom edge.
   (Clipping the element itself would hide it from IntersectionObserver.) */
.js [data-reveal="mask"] { position: relative; }
.js [data-reveal="mask"]::before {
  content: ""; position: absolute; inset: -1px; z-index: 3; pointer-events: none;
  background: var(--bg); transform-origin: 50% 0;
  transition: transform var(--t-cine) var(--ease-cine), background-color 900ms var(--ease-cine);
  transition-delay: var(--d, 0ms), 0ms;
}
.js [data-reveal="mask"].is-in::before { transform: scaleY(0); }
.js [data-reveal="mask"] img { transform: scale(1.22); transition: transform 1800ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js [data-reveal="mask"].is-in img { transform: none; }
/* Parallax images inside a mask keep their parallax transform */
.js [data-reveal="mask"].px > img { transform: none; transition: none; }

.js [data-reveal="rule"] { transform: scaleX(0); transition: transform 1400ms var(--ease-cine); transition-delay: var(--d, 0ms); }
.js [data-reveal="rule"].is-in { transform: scaleX(1); }

.js [data-reveal="stagger"] > * {
  opacity: 0; transform: translate3d(0, 34px, 0);
  transition: opacity 800ms var(--ease-std), transform 1100ms var(--ease-out);
  transition-delay: calc(var(--d, 0ms) + var(--i, 0) * 130ms);
}
.js [data-reveal="stagger"].is-in > * { opacity: 1; transform: none; }
.js [data-reveal="stagger"] > .annot::before,
.js [data-reveal="stagger"] > .step::before,
.js [data-reveal="stagger"] > .principle::before { transform: scaleX(0); transition: transform 1300ms var(--ease-cine); transition-delay: calc(var(--i, 0) * 130ms + 100ms); }
.js [data-reveal="stagger"].is-in > .annot::before,
.js [data-reveal="stagger"].is-in > .step::before,
.js [data-reveal="stagger"].is-in > .principle::before { transform: scaleX(1); }

.js [data-reveal="label"] { opacity: 0; letter-spacing: .5em; transition: opacity 900ms var(--ease-std), letter-spacing 1300ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js [data-reveal="label"].is-in { opacity: 1; letter-spacing: .1em; }

.js .footer__word span { transform: translate3d(0, 102%, 0); transition: transform 1500ms var(--ease-out); }
.js .footer__word.is-in span { transform: none; }

/* Hero entrance is gated on the loader so it plays once the curtain lifts */
.js .hero [data-reveal], .js .phero [data-reveal] { transition-delay: calc(var(--d, 0ms) + 200ms); }

/* JS failed to boot within budget: show everything */
.no-motion-fallback [data-reveal], .no-motion-fallback [data-reveal] * { opacity: 1 !important; transform: none !important; clip-path: none !important; filter: none !important; letter-spacing: inherit; }
.no-motion-fallback .loader, .no-motion-fallback .curtain, .no-motion-fallback [data-reveal="mask"]::before { display: none !important; }

/* ---------- 9. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; }
  .js [data-reveal], .js [data-reveal] *, .js .footer__word span { transform: none !important; clip-path: none !important; transition-property: opacity !important; transition-duration: 500ms !important; transition-delay: 0ms !important; }
  .js [data-reveal="label"] { letter-spacing: .1em; }
  .js [data-reveal="chars"] .c { filter: none !important; }
  .js [data-reveal="mask"]::before { transform: none !important; transition: opacity 500ms !important; }
  .js [data-reveal="mask"].is-in::before { opacity: 0; }
  .loader { transition-duration: 300ms; }
  .scroll-cue i::after { display: none; }
  .card__media img, .btn::before { transition-duration: 1ms; }
  .px > img { height: 100%; margin-top: 0; }
  .drift { display: none; }
}

/* ---------- 10. Responsive ---------- */
@media (max-width: 1100px) {
  .statement__title { grid-column: 1 / -1; }
  .statement__body { grid-column: 1 / 7; }
  .statement__img { grid-column: 8 / 13; margin-top: 64px; }
  .detail__head .t-l { grid-column: 1 / -1; }
  .detail__head .body { grid-column: 1 / 9; margin-top: 28px; }
  .process__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; }
  .process__head .label { grid-column: 1 / -1; margin-bottom: 22px; }
  .process__head .t-l { grid-column: 1 / -1; }
  .process__cta { grid-column: 1 / -1; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__col { grid-column: span 4; }
  .footer__col--wide { grid-column: span 8; }
}

@media (max-width: 960px) {
  :root { --nav-h: 64px; }
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
  .hero__content { top: calc(var(--nav-h) + 7vh); }
  .hero__media img, .hero__media video { object-position: 60% 50%; }
  .hero__shade { background: linear-gradient(180deg, rgba(8, 9, 11, .66) 0%, rgba(8, 9, 11, .28) 36%, rgba(8, 9, 11, 0) 56%, rgba(8, 9, 11, .25) 78%, var(--obsidian) 100%); }
  .split__media, .split--rev .split__media { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 5; }
  .split__text, .split--rev .split__text { grid-column: 1 / -1; grid-row: auto; margin-top: 44px; }
  .contact__intro, .contact__form { grid-column: 1 / -1; position: static; }
  .contact__form { margin-top: 64px; }
  .legal__body { grid-column: 1 / -1; }
  .principles { grid-template-columns: 1fr; row-gap: 40px; }
}

@media (max-width: 720px) {
  /* Mobile hero: the portrait still, slowly pushing in, instead of a cropped landscape film */
  .hero__media picture img { animation: hero-push 22s var(--ease-std) infinite alternate; transform-origin: 40% 70%; }
  .statement__title .ln:nth-child(2) { padding-left: .6em; }
  .statement__body, .statement__img { grid-column: 1 / -1; }
  .statement__img { margin-top: 56px; }
  .seq__frame { aspect-ratio: 4 / 5; }
  .detail__a, .detail__b, .detail__c, .detail__notes { grid-column: 1 / -1; margin-top: 0; }
  .detail__b { margin-top: 28px; width: 78%; justify-self: end; }
  .detail__c { margin-top: -18%; width: 82%; }
  .detail__notes { margin-top: 56px; }
  .process__list { grid-template-columns: 1fr; }
  .story { height: 170vh; }
  .story__media img, .story__media video { object-position: 40% 50%; }
  .story__media::after { background: linear-gradient(0deg, rgba(8, 9, 11, .85), rgba(8, 9, 11, .2) 70%); }
  .form { grid-template-columns: 1fr; }
  .footer__col, .footer__col--wide { grid-column: 1 / -1; }
  .footer__base { flex-direction: column; align-items: flex-start; }
  .hero__foot .film-toggle { display: none; }
  .bleed { height: 70vh; height: 70svh; }
}

/* Mobile landscape — keep the hero usable */
@media (max-height: 520px) and (orientation: landscape) {
  .hero, .phero { min-height: 100vh; }
  .hero__content { top: calc(var(--nav-h) + 16px); }
  .t-hero { font-size: clamp(2.6rem, 8vw, 4.4rem); }
  .hero__lede { display: none; }
  .hero__foot { display: none; }
}

@media print {
  .nav, .loader, .curtain, .progress, video, .film-toggle { display: none !important; }
  body::after { display: none; }
}


/* ==========================================================================
   Classic edition: serif headlines, plain sans, sentence case, calm motion.
   (Overrides the earlier angular system above.)
   ========================================================================== */
:root {
  --font-display: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --font-sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Sans", system-ui, sans-serif;
}
body { font-weight: 400; line-height: 1.6; }
body::after { display: none; }
.display {
  font-family: var(--font-display); font-weight: 400; font-variation-settings: "opsz" 60;
  line-height: 1.06; letter-spacing: -.012em; text-transform: none; font-feature-settings: normal;
  -webkit-mask-image: none; mask-image: none;
}
.display em, .display em .c { font-style: italic; font-weight: 400; color: inherit; -webkit-text-stroke: 0; }
.t-hero { font-size: clamp(2.5rem, 5.6vw, 5.8rem); letter-spacing: -.018em; }
.t-xl { font-size: clamp(2.1rem, 4.2vw, 4.4rem); }
.t-l { font-size: clamp(1.8rem, 3.1vw, 3.3rem); }
.t-m { font-size: clamp(1.45rem, 2.2vw, 2.2rem); line-height: 1.1; }
.t-s { font-size: clamp(1.2rem, 1.5vw, 1.5rem); line-height: 1.15; }
.ln, .ln > span { display: inline; }
.ln + .ln::before { content: " "; }
.statement__title .ln:nth-child(n) { padding-left: 0; }
.label { font-size: .74rem; font-weight: 500; letter-spacing: .1em; }
.lede, .hero__lede { font-weight: 300; }
.step__n { font-family: var(--font-display); font-weight: 300; }
.loader { display: none !important; }
.wordmark { font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; line-height: 1; height: auto; width: auto; aspect-ratio: auto; }
.logo .wordmark { width: auto; height: auto; }
.wordmark--xl { display: block; font-size: clamp(3rem, 14vw, 15rem); font-weight: 300; letter-spacing: .16em; line-height: .9; text-align: center; }
.drift, .marquee { display: none; }

.statement__title { grid-column: 1 / 7; position: relative; z-index: 2; }
.hero__title { max-width: 13ch; }
@media (max-width: 720px) { .statement__title { grid-column: 1 / -1; } }
