/* ============================================================
   Virtue25 — "The Index"  ·  editorial / swiss-cinematic
   A separate design exploration. Vanilla CSS, no build.
   Single accent (--ember). Dark default + light theme.
   ============================================================ */

/* ── Tokens ───────────────────────────────────────────────── */
:root {
  /* Brand accent — single, never a second */
  --ember:      #d4a056;
  --ember-soft: #ecc585;
  --ember-deep: #a9712a;
  --ember-glow: rgba(212, 160, 86, 0.16);

  --serif: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono:  "JetBrains Mono", "SF Mono", ui-monospace, monospace;

  --ease:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.6, 0, 0.4, 1);

  --maxw:   1440px;
  --gutter: clamp(20px, 4.6vw, 76px);
  --sec-y:  clamp(72px, 13vh, 168px);
  --nav-h:  68px;

  /* Dark (default) — cool, crisp, high-contrast (≠ warm original) */
  --bg:   #0a0a0b;            /* canvas */
  --bg-1: #0f0f11;            /* raised */
  --bg-2: #15151a;            /* cards */
  --bg-3: #1d1d23;            /* hover surface */

  --fg:   #f3f1ec;            /* primary text */
  --fg-2: #aeaca6;            /* secondary */
  --fg-3: #8a887f;            /* muted / labels (WCAG AA) */
  --fg-4: #4b4a47;            /* faint */

  --line:   rgba(243, 241, 236, 0.11);   /* hairline rules */
  --line-2: rgba(243, 241, 236, 0.20);   /* stronger rules */

  --nav-bg:  rgba(10, 10, 11, 0.72);
  --scrim:   rgba(8, 8, 9, 0.55);
  --grain-blend: overlay;
  --grain-opacity: 0.045;

  --shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

/* ============================================================
   Color schemes — :root above is "Noir" (default dark).
   Switcher sets [data-theme="<name>"]; selecting Noir removes it.
   ============================================================ */

/* Paper — warm editorial light */
[data-theme="paper"] {
  --bg:#f4f1ea; --bg-1:#eceae1; --bg-2:#ffffff; --bg-3:#e4e1d6;
  --fg:#16150f; --fg-2:#4d4b43; --fg-3:#6a675e; --fg-4:#aaa69b;
  --line:rgba(22,21,15,.14); --line-2:rgba(22,21,15,.26);
  --ember:#895d1b; --ember-soft:#b78636; --ember-deep:#6f4b14; --ember-glow:rgba(137,93,27,.14);
  --nav-bg:rgba(244,241,234,.82); --scrim:rgba(244,241,234,.6);
  --grain-blend:multiply; --grain-opacity:.03;
  --shadow:0 24px 70px rgba(40,34,18,.16);
}

/* Slate — cool graphite dark, steel accent */
[data-theme="slate"] {
  --bg:#0c0f14; --bg-1:#11151c; --bg-2:#161b24; --bg-3:#1e2530;
  --fg:#e8edf3; --fg-2:#a6b0bd; --fg-3:#838d9a; --fg-4:#454d58;
  --line:rgba(232,237,243,.11); --line-2:rgba(232,237,243,.2);
  --ember:#84b4d4; --ember-soft:#a6cde6; --ember-deep:#3f6e8c; --ember-glow:rgba(132,180,212,.18);
  --nav-bg:rgba(12,15,20,.72); --scrim:rgba(8,11,16,.55);
  --grain-blend:overlay; --grain-opacity:.05;
  --shadow:0 24px 80px rgba(0,0,0,.55);
}

/* Forest — deep green dark, gold accent */
[data-theme="forest"] {
  --bg:#0a130d; --bg-1:#0e1812; --bg-2:#121f17; --bg-3:#18291e;
  --fg:#eef2ea; --fg-2:#a7b3a6; --fg-3:#838e82; --fg-4:#46503f;
  --line:rgba(238,242,234,.11); --line-2:rgba(238,242,234,.2);
  --ember:#c9a227; --ember-soft:#e0bd4a; --ember-deep:#8a6f16; --ember-glow:rgba(201,162,39,.18);
  --nav-bg:rgba(10,19,13,.72); --scrim:rgba(7,14,10,.55);
  --grain-blend:overlay; --grain-opacity:.05;
  --shadow:0 24px 80px rgba(0,0,0,.55);
}

/* Bone — cool editorial light, oxblood accent */
[data-theme="bone"] {
  --bg:#f1f0ec; --bg-1:#e9e8e2; --bg-2:#ffffff; --bg-3:#e0ded6;
  --fg:#181818; --fg-2:#4a4a47; --fg-3:#69675f; --fg-4:#a8a59d;
  --line:rgba(24,24,24,.13); --line-2:rgba(24,24,24,.24);
  --ember:#b1502f; --ember-soft:#c76a47; --ember-deep:#8c3d22; --ember-glow:rgba(177,80,47,.14);
  --nav-bg:rgba(241,240,236,.82); --scrim:rgba(241,240,236,.6);
  --grain-blend:multiply; --grain-opacity:.03;
  --shadow:0 24px 70px rgba(40,30,26,.16);
}

/* Oxblood — dark wine, rose accent */
[data-theme="oxblood"] {
  --bg:#140a0c; --bg-1:#1b0e11; --bg-2:#241317; --bg-3:#311a1f;
  --fg:#f4ece9; --fg-2:#c2a8a4; --fg-3:#9c837d; --fg-4:#5a4441;
  --line:rgba(244,236,233,.12); --line-2:rgba(244,236,233,.22);
  --ember:#d98a6a; --ember-soft:#e8a98e; --ember-deep:#a85a3f; --ember-glow:rgba(217,138,106,.2);
  --nav-bg:rgba(20,10,12,.74); --scrim:rgba(15,7,9,.58);
  --grain-blend:overlay; --grain-opacity:.05;
  --shadow:0 24px 80px rgba(0,0,0,.55);
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, svg, video, iframe { display: block; max-width: 100%; }
button { background: none; border: none; padding: 0; cursor: pointer; color: inherit; font: inherit; }
ul, ol { list-style: none; padding: 0; margin: 0; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }
input, textarea, select, button { font: inherit; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 2px; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.003em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  transition: background .5s var(--ease), color .5s var(--ease);
}
::selection { background: var(--ember); color: #0a0a0b; }

/* ── Layout helpers ───────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--sec-y); position: relative; }
.section--line { border-top: 1px solid var(--line); }
.section--alt  { background: var(--bg-1); }
section { scroll-margin-top: calc(var(--nav-h) + 16px); }

/* Editorial section marker:  §02 — CAPABILITIES */
.marker {
  display: flex; align-items: baseline; gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin: 0 0 clamp(28px, 5vh, 56px);
}
.marker::before {
  content: "";
  width: 38px; height: 1px;
  background: var(--ember);
  align-self: center;
}
.marker b { color: var(--ember); font-weight: 500; }

/* ── Type primitives ──────────────────────────────────────── */
.kicker {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--fg-3);
  display: inline-flex; align-items: center; gap: 11px;
  margin: 0;
}
.kicker__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 12px var(--ember-glow);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.45;transform:scale(.8)} }

/* Swiss display — bold grotesque, tight, oversized */
.display {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(38px, 6.6vw, 104px);
  line-height: 0.94;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  margin: 0;
  color: var(--fg);
}
.display em,
.serif-accent {
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
  text-transform: none;
  letter-spacing: -0.01em;
  color: var(--ember);
}

.lead {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(21px, 2.5vw, 33px);
  line-height: 1.36;
  letter-spacing: -0.005em;
  color: var(--fg);
}
.lead em { color: var(--ember); }

.prose-p {
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.66;
  color: var(--fg-2);
  max-width: 62ch;
}

/* Inline editorial link */
.tlink {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg);
  position: relative;
  padding-bottom: 5px;
}
.tlink::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--line-2);
  transform-origin: right; transform: scaleX(1);
  transition: transform .5s var(--ease), background .3s;
}
.tlink:hover { color: var(--ember); }
.tlink:hover::after { background: var(--ember); transform-origin: left; }
.tlink svg { width: 13px; height: 13px; transition: transform .35s var(--ease); }
.tlink:hover svg { transform: translateX(4px); }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 14px 22px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: 2px;
  transition: transform .4s var(--ease), background .3s, color .3s, border-color .3s;
  will-change: transform;
}
.btn svg { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--fg); color: var(--bg); }
.btn--primary:hover { background: var(--ember); color: #0a0a0b; }
.btn--ghost { border: 1px solid var(--line-2); color: var(--fg); }
.btn--ghost:hover { border-color: var(--fg); }
.btn--lg { padding: 17px 28px; font-size: 12.5px; }
.btn--xl { padding: 22px 34px; font-size: 14px; letter-spacing: 0.14em; }
.btn--xl svg { width: 16px; height: 16px; }

/* ── Custom cursor (desktop / fine pointer only) ──────────── */
.cursor { position: fixed; inset: 0 auto auto 0; z-index: 9999; pointer-events: none; display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; }
  body { cursor: none; }
  a, button, [data-magnetic], .idx__row, .cap { cursor: none; }
}
.cursor__dot {
  position: fixed; width: 7px; height: 7px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.5); transform: translate(-50%, -50%);
  transition: opacity .2s; will-change: transform;
}
.cursor__ring {
  position: fixed; width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.4), 0 2px 8px rgba(0,0,0,.45);
  transform: translate(-50%, -50%); opacity: .9;
  transition: width .35s var(--ease), height .35s var(--ease), background .3s, border-color .3s, opacity .3s, box-shadow .3s;
  will-change: transform;
}
.cursor.is-hover .cursor__ring { width: 58px; height: 58px; background: var(--ember); border-color: var(--ember); box-shadow: 0 2px 12px rgba(0,0,0,.5); opacity: 1; }
.cursor.is-hover .cursor__dot { opacity: 0; }
.cursor.is-view .cursor__ring { width: 88px; height: 88px; background: var(--ember); border-color: transparent; opacity: 1; }
.cursor__label {
  position: fixed; transform: translate(-50%, -50%);
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase;
  color: #0a0a0b; opacity: 0; transition: opacity .3s; white-space: nowrap; font-weight: 600;
}
.cursor.is-view .cursor__label { opacity: 1; }

/* ── Film-grain overlay ───────────────────────────────────── */
.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none;
  opacity: var(--grain-opacity); mix-blend-mode: var(--grain-blend);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.7'/%3E%3C/svg%3E");
  background-size: 230px 230px;
}

/* ── Reveal on scroll ─────────────────────────────────────── */
.reveal { transition: opacity .9s var(--ease), transform .9s var(--ease); will-change: opacity, transform; }
.js-anim .reveal { opacity: 0; transform: translateY(26px); }
.reveal.is-in, .js-anim .reveal.is-in { opacity: 1; transform: none; }
.js-anim .reveal[data-d="1"] { transition-delay: .08s; }
.js-anim .reveal[data-d="2"] { transition-delay: .16s; }
.js-anim .reveal[data-d="3"] { transition-delay: .24s; }

/* ── Masthead / navigation ────────────────────────────────── */
.mast { position: fixed; top: 0; left: 0; right: 0; z-index: 100; }
.mast__bar {
  display: flex; justify-content: space-between; align-items: center;
  height: 26px; padding-inline: var(--gutter);
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--fg-3); border-bottom: 1px solid var(--line);
  background: var(--bg);
  transition: height .4s var(--ease), opacity .3s, border-color .4s;
  overflow: hidden;
}
.mast__bar span b { color: var(--ember); font-weight: 500; }
.mast.is-scrolled .mast__bar { height: 0; opacity: 0; border-color: transparent; }

.mast__main {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: var(--nav-h); padding-inline: var(--gutter);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), backdrop-filter .4s, border-color .4s;
}
.mast.is-scrolled .mast__main {
  background: var(--nav-bg);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: var(--line);
}

/* Home only: keep the masthead readable over the hero video before scroll
   (top scrim + forced light text/icons, regardless of active theme) */
.has-hero .mast:not(.is-scrolled)::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 168px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(6,7,8,.72), rgba(6,7,8,0));
}
.has-hero .mast:not(.is-scrolled) .mast__bar { background: transparent; border-bottom-color: rgba(255,255,255,.16); color: rgba(255,255,255,.78); }
.has-hero .mast:not(.is-scrolled) .mast__bar b { color: var(--ember-soft); }
.has-hero .mast:not(.is-scrolled) .mast__nav a { color: rgba(255,255,255,.84); }
.has-hero .mast:not(.is-scrolled) .mast__nav a:hover,
.has-hero .mast:not(.is-scrolled) .mast__nav a[aria-current="page"] { color: #fff; }
.has-hero .mast:not(.is-scrolled) .icon-btn { border-color: rgba(255,255,255,.34); color: #fff; }

.brand { display: inline-flex; align-items: center; justify-self: start; }
.brand__badge { height: 42px; width: auto; display: block; }   /* transparent wordmark logo */
.brand__badge--lg { height: 64px; }
/* logo is white-on-transparent: invert to dark on light themes */
[data-theme="paper"] .brand__badge, [data-theme="bone"] .brand__badge { filter: brightness(0); }
/* but keep it white over the dark hero video on the home page */
.has-hero .mast:not(.is-scrolled) .brand__badge { filter: none; }

.mast__nav { display: flex; gap: 30px; justify-self: center; }
.mast__nav a {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-2);
  position: relative; padding: 6px 0; transition: color .3s;
}
.mast__nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--ember); transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.mast__nav a:hover { color: var(--fg); }
.mast__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.mast__nav a[aria-current="page"] { color: var(--fg); }
.mast__nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.mast__right { display: inline-flex; align-items: center; gap: 10px; justify-self: end; }
.mast__cta { display: inline-flex; }

.icon-btn {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line-2);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--fg-2);
  transition: border-color .3s, color .3s, background .3s;
}
.icon-btn:hover { border-color: var(--fg); color: var(--fg); }
.icon-btn svg { width: 16px; height: 16px; }
/* ── Palette switcher ─────────────────────────────────────── */
.palette { position: relative; display: inline-flex; }
.palette__pop {
  position: absolute; top: calc(100% + 12px); right: 0; z-index: 120;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 12px; width: 212px;
  background: var(--nav-bg); backdrop-filter: blur(20px) saturate(150%); -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid var(--line-2); border-radius: 12px; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top right; pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.palette.is-open .palette__pop { opacity: 1; transform: none; pointer-events: auto; }
.swatch { display: flex; flex-direction: column; align-items: center; gap: 7px; cursor: pointer; padding: 8px 4px; border-radius: 8px; transition: background .2s; }
.swatch:hover { background: rgba(127,127,127,.14); }
.swatch__chip { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(127,127,127,.4); background: var(--sw-bg, #111); position: relative; }
.swatch__chip::after { content: ""; position: absolute; right: -3px; bottom: -3px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--nav-bg); background: var(--sw-accent, var(--ember)); }
.swatch__name { font-family: var(--mono); font-size: 8.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); }
.swatch[aria-pressed="true"] .swatch__chip { box-shadow: 0 0 0 2px var(--ember); }
.swatch[aria-pressed="true"] .swatch__name { color: var(--fg); }
.overlay__palette { display: none; }
@media (max-width: 940px) {
  .palette { display: none; }                 /* mobile uses the overlay swatches */
  .overlay__palette { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
  .overlay__palette .swatch { flex-direction: row; gap: 9px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; }
  .overlay__palette .swatch__name { font-size: 10px; }
}

.burger { display: none; position: relative; }
.burger span {
  position: absolute; left: 50%; top: 50%; width: 17px; height: 1.4px; background: var(--fg);
  transform: translate(-50%, -50%); transition: transform .35s var(--ease), opacity .2s;
}
.burger span:first-child { transform: translate(-50%, calc(-50% - 4px)); }
.burger span:last-child  { transform: translate(-50%, calc(-50% + 4px)); }
.burger.is-open span:first-child { transform: translate(-50%, -50%) rotate(45deg); }
.burger.is-open span:last-child  { transform: translate(-50%, -50%) rotate(-45deg); }

@media (max-width: 940px) {
  .mast__nav, .mast__cta { display: none; }
  .burger { display: inline-flex; align-items: center; justify-content: center; }
  .mast__main { grid-template-columns: 1fr auto; }
  .mast__bar { display: none; }
}

/* Mobile overlay */
.overlay {
  position: fixed; inset: 0; z-index: 95; background: var(--bg);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--nav-h) + 36px) var(--gutter) 44px;
  opacity: 0; pointer-events: none; transition: opacity .4s var(--ease);
  overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.overlay[hidden] { display: none; }
.overlay.is-open { opacity: 1; pointer-events: auto; }
.overlay nav { display: flex; flex-direction: column; gap: 6px; padding-top: 28px; }
.overlay nav a {
  font-family: var(--sans); font-weight: 800; font-size: clamp(34px, 11vw, 60px);
  letter-spacing: -0.04em; text-transform: uppercase; color: var(--fg);
  line-height: 1.12; display: flex; align-items: baseline; gap: 14px;
}
.overlay nav a span { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.2em; color: var(--ember); }
.overlay nav a.is-cta { color: var(--ember); }
.overlay__foot {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-3);
  border-top: 1px solid var(--line); padding-top: 20px;
}

/* ── Hero (full-bleed background video) ───────────────────── */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden; isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; background: #08090a; }
.hero__bg img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 35%;
  filter: contrast(1.05) saturate(1.02);
  animation: slowZoom 24s var(--ease) forwards;
}
.hero__bg iframe {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 100vw; height: 56.25vw; min-width: 177.78vh; min-height: 100vh;
  border: 0; pointer-events: none; opacity: 0;
  animation: fadeIn 1.4s var(--ease) 1.6s forwards;
}
@keyframes slowZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes fadeIn { to { opacity: 1; } }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(6,7,8,.66) 0%, rgba(6,7,8,.30) 28%, rgba(6,7,8,.28) 50%, rgba(6,7,8,.86) 100%);
}
.hero__inner { position: relative; padding-top: calc(var(--nav-h) + 44px); padding-bottom: clamp(40px, 8vh, 92px); }
.hero__kicker { color: rgba(255,255,255,.82); margin-bottom: clamp(20px, 4vh, 40px); }
.hero__title {
  font-family: var(--sans); font-weight: 800; text-transform: uppercase; color: #fff;
  font-size: clamp(38px, 7.2vw, 116px); line-height: 0.92; letter-spacing: -0.045em;
  margin: 0; max-width: 17ch; text-shadow: 0 2px 44px rgba(0,0,0,.35);
}
.hero__title em { font-family: var(--serif); font-weight: 500; font-style: italic; text-transform: none; letter-spacing: -0.01em; color: var(--ember-soft); }
.hero__line { display: block; overflow: hidden; padding-block: 0.06em; margin-block: -0.06em; }
.js-anim .hero__line > span { display: inline-block; transform: translateY(112%); animation: lineRise 1.05s var(--ease) forwards; }
.js-anim .hero__line:nth-child(1) > span { animation-delay: .15s; }
.js-anim .hero__line:nth-child(2) > span { animation-delay: .27s; }
.js-anim .hero__line:nth-child(3) > span { animation-delay: .39s; }
@keyframes lineRise { to { transform: translateY(0); } }
.hero__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; margin-top: clamp(28px, 5vh, 52px); }
.hero__sub { font-size: clamp(15px, 1.4vw, 18px); color: rgba(255,255,255,.86); max-width: 46ch; margin: 0; line-height: 1.55; }
.hero__sub b { color: #fff; font-weight: 600; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__actions .btn--ghost { color: #fff; border-color: rgba(255,255,255,.42); }
.hero__actions .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.hero__cap {
  position: absolute; right: var(--gutter); top: calc(var(--nav-h) + 22px); z-index: 1;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,.72);
}
.hero__cap .now { color: var(--ember-soft); display: inline-flex; align-items: center; gap: 8px; }
.hero__cap .now::before { content:""; width:7px; height:7px; border-radius:50%; background: var(--ember); box-shadow: 0 0 10px var(--ember); animation: pulse 2s ease-in-out infinite; }
@media (max-width: 760px) {
  .hero__cap { display: none; }
  .hero__foot { flex-direction: column; align-items: flex-start; gap: 22px; }
  .hero__actions .btn { flex: 1; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__bg img { animation: none; transform: none; }
  .hero__bg iframe { display: none; }   /* show the still poster, no autoplay */
  .js-anim .hero__line > span { animation: none; transform: none; }
}

/* ── Statement ────────────────────────────────────────────── */
.statement__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: end; }
.statement__body .lead { margin: 0; }
.statement__body .lead:first-of-type::first-letter {
  font-family: var(--serif); font-size: 3.4em; line-height: 0.74; float: left; padding: 8px 14px 0 0; color: var(--ember); font-weight: 500;
}
.statement__aside { display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.stat-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.stat-row__num { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 4.4vw, 56px); line-height: 1; letter-spacing: -0.02em; color: var(--fg); }
.stat-row__num em { color: var(--ember); font-size: 0.5em; font-style: normal; }
.stat-row__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-3); text-align: right; max-width: 16ch; }
@media (max-width: 900px) { .statement__grid { grid-template-columns: 1fr; gap: 44px; } }

/* ── The Index (signature film list) ──────────────────────── */
.idx { border-top: 1px solid var(--line-2); position: relative; }
.idx__row {
  position: relative; display: grid;
  grid-template-columns: 48px minmax(0,1fr) 0.66fr 104px 54px 58px 22px;
  align-items: center; gap: clamp(12px, 1.6vw, 30px);
  padding: clamp(20px, 2.6vw, 34px) 4px; border-bottom: 1px solid var(--line);
  color: var(--fg); transition: padding-left .5s var(--ease), background .4s;
  isolation: isolate;
}
.idx__row::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0;
  background: var(--ember); transition: width .45s var(--ease); z-index: -1; opacity: .08;
}
.idx__row:hover { padding-left: 20px; }
.idx__row:hover::before { width: 100%; }
.idx__num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; color: var(--ember); }
.idx__title { font-family: var(--sans); font-weight: 700; font-size: clamp(22px, 3.2vw, 46px); letter-spacing: -0.03em; line-height: 1; text-transform: uppercase; margin: 0; transition: color .3s; }
.idx__title em { font-family: var(--serif); font-weight: 500; font-style: italic; text-transform: none; letter-spacing: -0.01em; color: var(--ember); }
.idx__client { font-size: 13.5px; color: var(--fg-2); }
.idx__tag, .idx__year, .idx__dur { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-3); }
.idx__year { text-align: right; }
.idx__dur { text-align: right; color: var(--fg-2); }
.idx__arrow { justify-self: end; color: var(--fg-3); transition: transform .4s var(--ease), color .3s; }
.idx__arrow svg { width: 18px; height: 18px; }
.idx__row:hover .idx__arrow { color: var(--ember); transform: translateX(4px); }
.idx__row:hover .idx__title { color: var(--ember); }

/* floating hover-peek thumbnail (desktop) */
.idx__peek {
  position: fixed; top: 0; left: 0; z-index: 80; width: 280px; aspect-ratio: 16/10;
  border-radius: 4px; overflow: hidden; pointer-events: none; opacity: 0;
  transform: translate(-50%, -50%) scale(.92); box-shadow: var(--shadow);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  border: 1px solid var(--line-2); display: none;
}
.idx__peek img { width: 100%; height: 100%; object-fit: cover; }
.idx__peek.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* inline play state */
.idx__player { display: none; }
.idx__row.is-playing { display: block; padding: 0; }
.idx__row.is-playing > * { display: none; }
.idx__row.is-playing .idx__player { display: block; }
.idx__player iframe { width: 100%; aspect-ratio: 16/9; border: 0; background: #000; }

@media (max-width: 1040px) {
  .idx__row { grid-template-columns: 44px minmax(0,1fr) 58px 22px; }
  .idx__client, .idx__tag, .idx__year { display: none; }
}
@media (max-width: 620px) {
  .idx__row { grid-template-columns: 34px 1fr 20px; gap: 14px; padding-block: 18px; }
  .idx__dur { display: none; }
  .idx__title { font-size: 23px; }
}

/* ── Capabilities (Swiss numbered grid) ───────────────────── */
.caps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-2); border-left: 1px solid var(--line); }
.cap {
  position: relative; padding: clamp(28px, 3vw, 48px); min-height: 248px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; transition: background .45s var(--ease);
}
.cap:hover { background: var(--bg-2); }
.cap__num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; color: var(--ember); margin-bottom: 34px; }
.cap__title { font-family: var(--sans); font-weight: 700; font-size: clamp(20px, 2.1vw, 28px); letter-spacing: -0.025em; text-transform: uppercase; line-height: 1.04; margin: 0 0 14px; color: var(--fg); }
.cap__copy { font-size: 14.5px; line-height: 1.55; color: var(--fg-2); margin: 0; max-width: 34ch; }
.cap__arrow { position: absolute; right: clamp(20px,2.4vw,32px); bottom: clamp(20px,2.4vw,32px); color: var(--ember); opacity: 0; transform: translate(-6px, 6px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.cap__arrow svg { width: 18px; height: 18px; }
.cap:hover .cap__arrow { opacity: 1; transform: none; }
@media (max-width: 900px) { .caps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .caps { grid-template-columns: 1fr; } .cap { min-height: 0; } }

/* ── Frames gallery (editorial stills) ────────────────────── */
.frames { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(10px, 1.1vw, 16px); }
.frame { position: relative; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); }
.frame img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.95) contrast(1.03); transition: transform 1.3s var(--ease), filter .6s; }
.frame:hover img { transform: scale(1.045); filter: saturate(1.08); }
.frame__cap {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg);
  background: var(--scrim); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: 6px 10px; border: 1px solid var(--line); border-radius: 2px;
  opacity: 0; transform: translateY(6px); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.frame:hover .frame__cap { opacity: 1; transform: none; }
.frame--hero { grid-column: span 8; aspect-ratio: 2.39/1; }
.frame--tall { grid-column: span 4; aspect-ratio: 3/4; }
.frame--w    { grid-column: span 7; aspect-ratio: 16/10; }
.frame--sq   { grid-column: span 5; aspect-ratio: 1/1; }
.frame--third{ grid-column: span 4; aspect-ratio: 4/5; }
.frame--half { grid-column: span 6; aspect-ratio: 3/2; }
@media (max-width: 900px) {
  .frames { grid-template-columns: repeat(2, 1fr); }
  .frame--hero, .frame--w, .frame--sq, .frame--tall, .frame--third, .frame--half { grid-column: span 2; aspect-ratio: 16/10; }
  .frame--tall, .frame--third { grid-column: span 1; aspect-ratio: 3/4; }
}
@media (max-width: 540px) { .frames { grid-template-columns: 1fr; } .frame, .frame--tall, .frame--third { grid-column: span 1; aspect-ratio: 4/3; } }

/* ── Method (process) ─────────────────────────────────────── */
.method { border-top: 1px solid var(--line); }
.method__row {
  display: grid; grid-template-columns: 0.5fr 1.5fr; gap: clamp(20px, 4vw, 64px);
  padding: clamp(28px, 4vh, 52px) 0; border-bottom: 1px solid var(--line); align-items: start; position: relative;
}
.method__num { font-family: var(--serif); font-weight: 500; font-size: clamp(48px, 7vw, 104px); line-height: 0.85; color: var(--ember); letter-spacing: -0.03em; }
.method__title { font-family: var(--sans); font-weight: 700; font-size: clamp(24px, 3vw, 40px); text-transform: uppercase; letter-spacing: -0.03em; margin: 0 0 12px; color: var(--fg); }
.method__copy { font-size: 15.5px; line-height: 1.62; color: var(--fg-2); margin: 0; max-width: 56ch; }
.method__line { position: absolute; left: 0; top: -1px; height: 2px; background: var(--ember); width: 100%; transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease); }
.method__row.is-in .method__line { transform: scaleX(1); }
@media (max-width: 760px) { .method__row { grid-template-columns: 1fr; gap: 10px; } }

/* ── Marquee (clients / wordmark) ─────────────────────────── */
.marquee { width: 100%; overflow: hidden; border-block: 1px solid var(--line); padding: clamp(18px, 2.4vw, 26px) 0; }
.marquee__track { display: inline-flex; align-items: center; gap: 46px; white-space: nowrap; animation: marq 40s linear infinite; will-change: transform; }
.marquee--serif .marquee__track { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.6vw, 34px); color: var(--fg); }
.marquee--clients .marquee__track { font-family: var(--sans); font-weight: 700; text-transform: uppercase; letter-spacing: -0.02em; font-size: clamp(20px, 2.8vw, 38px); color: var(--fg-2); animation-duration: 46s; }
.marquee__sep { color: var(--ember); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ── Logo wall (client logos) ─────────────────────────────── */
.logos { width: 100%; overflow: hidden; padding: clamp(16px, 2.2vw, 24px) 0; border-block: 1px solid var(--line); }
.logos__track { display: inline-flex; align-items: center; gap: clamp(10px, 1.3vw, 18px); white-space: nowrap; animation: marq 56s linear infinite; will-change: transform; }
.logos:hover .logos__track { animation-play-state: paused; }
.logo-chip { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; height: 64px; padding: 0 26px; border-radius: 7px; background: #f6f4ef; border: 1px solid rgba(0,0,0,.08); box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.logo-chip img { height: 30px; width: auto; max-width: 158px; object-fit: contain; display: block; }
.logo-chip--mint { background: #a7e6d0; }
.logo-chip--mint img { height: 48px; }
.logo-chip--pink { background: #feb9ce; }
.logo-chip--pink img { height: 30px; }
.logo-chip__word { font-family: var(--sans); font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; font-size: 18px; line-height: 1; color: #161412; white-space: nowrap; }
@media (max-width: 700px) { .logo-chip { height: 54px; padding: 0 18px; } .logo-chip img { height: 24px; } .logo-chip__word { font-size: 15px; } }

/* ── Invite / CTA ─────────────────────────────────────────── */
.invite { position: relative; text-align: center; overflow: hidden; border-top: 1px solid var(--line); }
.invite__glow { position: absolute; left: 50%; top: 60%; width: 90vw; max-width: 1100px; aspect-ratio: 1; transform: translate(-50%, -50%); background: radial-gradient(circle, var(--ember-glow) 0%, transparent 64%); filter: blur(30px); pointer-events: none; z-index: 0; }
.invite__inner { position: relative; z-index: 1; }
.invite__head { font-family: var(--sans); font-weight: 800; text-transform: uppercase; font-size: clamp(40px, 8.4vw, 132px); line-height: 0.92; letter-spacing: -0.05em; margin: 18px 0 0; color: var(--fg); }
.invite__head em { font-family: var(--serif); font-weight: 500; font-style: italic; text-transform: none; letter-spacing: -0.01em; color: var(--ember); }
.invite__sub { font-size: 16px; color: var(--fg-2); max-width: 52ch; margin: 28px auto 40px; line-height: 1.55; }
.invite .kicker { justify-content: center; }

/* ── Footer / colophon ────────────────────────────────────── */
.colophon { border-top: 1px solid var(--line); padding: clamp(56px, 8vh, 88px) 0 32px; background: var(--bg); position: relative; z-index: 1; }
.colophon__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 52px; border-bottom: 1px solid var(--line); }
.colophon__brand .brand { font-size: 26px; margin-bottom: 16px; }
.colophon__brand p { font-size: 14px; color: var(--fg-2); max-width: 32ch; line-height: 1.55; margin: 0; }
.colophon__label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-3); margin: 0 0 16px; }
.colophon__col ul li { margin-bottom: 11px; }
.colophon__col a { font-size: 14.5px; color: var(--fg); transition: color .3s; display: inline-flex; gap: 6px; align-items: center; }
.colophon__col a:hover { color: var(--ember); }
.colophon__col a em { color: var(--ember); font-style: normal; }
.colophon__col p { font-size: 14.5px; color: var(--fg); margin: 0 0 10px; line-height: 1.5; }
.colophon__email a { color: var(--ember); }
.colophon__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 28px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-3);
}
.colophon__bottom em { color: var(--ember); font-style: normal; }
@media (max-width: 900px) { .colophon__grid { grid-template-columns: 1fr 1fr; gap: 34px; } }
@media (max-width: 540px) { .colophon__grid { grid-template-columns: 1fr; } }

/* ── Page head (inner pages) ──────────────────────────────── */
.page-head { padding-top: calc(var(--nav-h) + 26px + clamp(48px, 10vh, 128px)); padding-bottom: clamp(44px, 7vh, 88px); border-bottom: 1px solid var(--line); position: relative; }
.page-head__crumb { display: flex; gap: 12px; align-items: center; font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 30px; }
.page-head__crumb a { color: var(--fg-3); transition: color .3s; }
.page-head__crumb a:hover { color: var(--ember); }
.page-head__crumb .sep { color: var(--fg-4); }
.page-head__crumb .now { color: var(--ember); }
.page-head h1 { font-family: var(--sans); font-weight: 800; text-transform: uppercase; font-size: clamp(44px, 9vw, 142px); line-height: 0.9; letter-spacing: -0.05em; margin: 0; color: var(--fg); max-width: 15ch; }
.page-head h1 em { font-family: var(--serif); font-weight: 500; font-style: italic; text-transform: none; letter-spacing: -0.01em; color: var(--ember); }
.page-head__lede { margin-top: 30px; font-family: var(--serif); font-size: clamp(20px, 2.3vw, 30px); line-height: 1.4; color: var(--fg); max-width: 52ch; }
.page-head__meta { display: flex; gap: clamp(24px, 4vw, 64px); flex-wrap: wrap; margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--line); }
.page-head__meta div { display: flex; flex-direction: column; }
.page-head__meta dt { font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-4); margin-bottom: 6px; }
.page-head__meta dd { margin: 0; font-size: 14.5px; color: var(--fg); }
@media (max-width: 600px) { .page-head__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; } }

/* ── Generic split + columns (inner pages) ────────────────── */
.split { display: grid; grid-template-columns: 0.8fr 1.6fr; gap: clamp(32px, 6vw, 96px); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 28px; } }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 60px); }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 3vw, 44px); }
@media (max-width: 900px) { .cols-2, .cols-3 { grid-template-columns: 1fr; } }

/* prose */
.prose p { font-size: 17px; line-height: 1.72; color: var(--fg); margin: 0 0 20px; max-width: 60ch; }
.prose p:first-of-type::first-letter { font-family: var(--serif); font-size: 3.8em; line-height: 0.76; float: left; padding: 8px 14px 0 0; color: var(--ember); font-weight: 500; }

/* principle / engagement rows (reused) */
.row-item { padding: clamp(24px, 3vw, 40px) 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 64px 1fr; gap: clamp(16px, 3vw, 40px); }
.row-item:first-of-type { border-top: none; }
.row-item__num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; color: var(--ember); }
.row-item__title { font-family: var(--sans); font-weight: 700; font-size: clamp(24px, 3vw, 40px); text-transform: uppercase; letter-spacing: -0.03em; line-height: 1.02; margin: 0 0 12px; color: var(--fg); }
.row-item__title em { font-family: var(--serif); font-weight: 500; font-style: italic; text-transform: none; color: var(--ember); }
.row-item__copy { font-size: 15.5px; line-height: 1.62; color: var(--fg-2); margin: 0; max-width: 60ch; }
.row-item__list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.row-item__list li { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-2); padding: 6px 12px; border: 1px solid var(--line); border-radius: 2px; }
@media (max-width: 620px) { .row-item { grid-template-columns: 1fr; gap: 10px; } }

/* offer / engagement cards */
.card { padding: clamp(28px, 3vw, 44px); border: 1px solid var(--line); background: var(--bg-1); display: flex; flex-direction: column; transition: border-color .4s, background .4s, transform .4s var(--ease); }
.card:hover { border-color: var(--line-2); background: var(--bg-2); transform: translateY(-3px); }
.card--feature { border-color: var(--ember); }
.card__tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ember); margin: 0 0 20px; }
.card__name { font-family: var(--sans); font-weight: 700; font-size: clamp(22px, 2.6vw, 32px); text-transform: uppercase; letter-spacing: -0.03em; line-height: 1.04; margin: 0 0 14px; color: var(--fg); }
.card__copy { font-size: 14.5px; line-height: 1.6; color: var(--fg-2); margin: 0 0 24px; }
.card__list { border-top: 1px solid var(--line); padding-top: 20px; display: flex; flex-direction: column; gap: 12px; margin-top: auto; }
.card__list li { font-size: 13.5px; color: var(--fg); display: flex; gap: 10px; align-items: flex-start; }
.card__list li::before { content: "—"; color: var(--ember); flex-shrink: 0; }

/* big stats (about) */
.bigstats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); }
.bigstats li { padding: 34px 24px 34px 0; border-right: 1px solid var(--line); }
.bigstats li:last-child { border-right: none; }
.bigstats__num { font-family: var(--serif); font-weight: 500; font-size: clamp(52px, 7.6vw, 112px); line-height: 0.92; color: var(--fg); letter-spacing: -0.03em; display: block; margin-bottom: 14px; }
.bigstats__num em { font-size: 0.4em; color: var(--ember); font-style: normal; }
.bigstats__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-3); }
@media (max-width: 900px) { .bigstats { grid-template-columns: 1fr 1fr; } .bigstats li:nth-child(2n){border-right:none} .bigstats li:nth-child(-n+2){border-bottom:1px solid var(--line)} }
@media (max-width: 540px) { .bigstats { grid-template-columns: 1fr; } .bigstats li { border-right: none; border-bottom: 1px solid var(--line); padding-right: 0; } .bigstats li:last-child{border-bottom:none} }

/* video card (work + reel reuse) */
.vgrid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(10px,1.1vw,16px); }
.vcard { position: relative; background: var(--bg-2); overflow: hidden; cursor: pointer; border: 1px solid var(--line); isolation: isolate; transition: border-color .4s, transform .4s var(--ease); }
.vcard:hover { border-color: var(--line-2); transform: translateY(-2px); }
.vcard__media { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.vcard--vert .vcard__media { aspect-ratio: 9/16; }
.vcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease), filter .6s; filter: saturate(.92) contrast(1.04); }
.vcard:hover .vcard__media img { transform: scale(1.04); }
.vcard__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vcard::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(180deg, transparent 40%, rgba(8,8,9,.8) 100%); transition: opacity .4s; }
.vcard__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 64px; height: 64px; border-radius: 50%; background: rgba(243,241,236,.95); color: #0a0a0b; display: flex; align-items: center; justify-content: center; z-index: 3; transition: transform .35s var(--ease), background .3s; box-shadow: 0 12px 40px rgba(0,0,0,.5); }
.vcard__play svg { width: 20px; height: 20px; transform: translateX(2px); }
.vcard:hover .vcard__play { transform: translate(-50%,-50%) scale(1.07); background: var(--ember); }
.vcard.is-playing .vcard__play, .vcard.is-playing::after { display: none; }
.vcard.is-playing .vcard__media img { display: none; }
.vcard__dur { position: absolute; top: 14px; right: 14px; z-index: 4; font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; color: var(--fg); background: var(--scrim); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: 5px 9px; border: 1px solid var(--line); border-radius: 2px; }
.vcard__meta { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 4; pointer-events: none; }
.vcard__tag { display: inline-block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ember); margin-bottom: 8px; }
.vcard__title { font-family: var(--sans); font-weight: 700; font-size: clamp(16px,1.5vw,22px); text-transform: uppercase; letter-spacing: -0.02em; line-height: 1.1; margin: 0; color: var(--fg); }
.vcard--lg { grid-column: span 4; } .vcard--md { grid-column: span 3; } .vcard--vert { grid-column: span 2; }
@media (max-width:1100px){ .vgrid{grid-template-columns:repeat(4,1fr)} .vcard--lg,.vcard--md{grid-column:span 4} .vcard--vert{grid-column:span 2} }
@media (max-width:700px){ .vgrid{grid-template-columns:1fr} .vcard,.vcard--lg,.vcard--md,.vcard--vert{grid-column:span 1} .vcard--vert .vcard__media{aspect-ratio:4/5} }

/* ── Contact form ─────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(40px, 6vw, 96px); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.cform { display: flex; flex-direction: column; gap: 22px; }
.cform__head { font-family: var(--sans); font-weight: 800; text-transform: uppercase; font-size: clamp(34px, 5vw, 64px); letter-spacing: -0.045em; line-height: 0.95; margin: 0 0 8px; color: var(--fg); }
.cform__head em { font-family: var(--serif); font-weight: 500; font-style: italic; text-transform: none; color: var(--ember); }
.cform__note { font-size: 13px; color: var(--fg-3); margin: 6px 0 0; }
.cform__note a { color: var(--ember); text-decoration: underline; text-underline-offset: 3px; }
.cform .btn { align-self: flex-start; margin-top: 8px; }
.field__label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 10px; }
.field__input { width: 100%; background: transparent; border: 1px solid var(--line-2); border-radius: 2px; padding: 14px 16px; font-size: 15px; color: var(--fg); transition: border-color .3s, background .3s; }
.field__input:focus { border-color: var(--ember); outline: none; background: var(--bg-1); }
.field__input::placeholder { color: var(--fg-4); }
.field__input--select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' stroke='%2376746e' stroke-width='1.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 16px; padding-right: 44px; }
.field__input--ta { resize: vertical; min-height: 130px; line-height: 1.55; }
.contact-side { display: flex; flex-direction: column; gap: 18px; }
.side-card { padding: 24px 26px; border: 1px solid var(--line); background: var(--bg-1); }
.side-card__label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-3); margin: 0 0 10px; }
.side-card__big { font-family: var(--serif); font-size: clamp(20px, 2.3vw, 28px); font-weight: 500; color: var(--fg); display: block; transition: color .3s; }
.side-card__big:hover { color: var(--ember); }
.side-card p { margin: 0; font-size: 14.5px; color: var(--fg); line-height: 1.5; }

/* ── Misc / utility ───────────────────────────────────────── */
body.is-locked { overflow: hidden; }
.center { text-align: center; }
.mt-l { margin-top: clamp(32px, 5vh, 64px); }

/* Inner-page section head row */
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(36px, 6vh, 72px); }
.head-row h2 { margin: 0; }
@media (max-width: 560px) { .head-row { flex-direction: column; align-items: flex-start; } }

/* ── Case study (work) ────────────────────────────────────── */
.case { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(36px, 6vh, 72px) 0; border-top: 1px solid var(--line); }
.case:first-of-type { border-top: none; padding-top: 0; }
.case--rev .case__media { order: 2; }
.case__media { position: relative; overflow: hidden; aspect-ratio: 4/5; background: var(--bg-2); border: 1px solid var(--line); }
.case__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.95) contrast(1.03); transition: transform 1.4s var(--ease); }
.case__media:hover img { transform: scale(1.04); }
.case__title { font-family: var(--sans); font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 4vw, 56px); letter-spacing: -0.045em; line-height: 0.98; margin: 14px 0 18px; color: var(--fg); }
.case__title em { font-family: var(--serif); font-weight: 500; font-style: italic; text-transform: none; color: var(--ember); }
.case__copy { font-size: 15.5px; line-height: 1.65; color: var(--fg-2); margin: 0 0 22px; max-width: 52ch; }
.case__strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; }
.case__strip img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border: 1px solid var(--line); filter: saturate(.95) contrast(1.02); transition: transform 1s var(--ease); }
.case__strip a:hover img { transform: scale(1.04); }
@media (max-width: 900px) { .case { grid-template-columns: 1fr; gap: 24px; } .case--rev .case__media { order: 0; } }

/* ── Phase (process deep-dive) ────────────────────────────── */
.phase { display: grid; grid-template-columns: 0.5fr 1.5fr; gap: clamp(24px, 4vw, 64px); padding: clamp(32px, 5vh, 64px) 0; border-top: 1px solid var(--line); align-items: start; }
.phase:first-of-type { border-top: none; padding-top: 0; }
.phase__head { position: sticky; top: calc(var(--nav-h) + 20px); }
.phase__num { font-family: var(--serif); font-weight: 500; font-size: clamp(56px, 8vw, 120px); line-height: 0.84; color: var(--ember); display: block; margin-bottom: 14px; letter-spacing: -0.03em; }
.phase__title { font-family: var(--sans); font-weight: 800; text-transform: uppercase; font-size: clamp(26px, 3.2vw, 44px); letter-spacing: -0.04em; line-height: 1; margin: 0; color: var(--fg); }
.phase__lede { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.4; color: var(--fg); margin: 0 0 20px; }
.phase__copy { font-size: 15.5px; line-height: 1.7; color: var(--fg-2); margin: 0 0 22px; max-width: 60ch; }
.phase__list { border-top: 1px solid var(--line); padding-top: 18px; display: grid; gap: 10px; max-width: 60ch; }
.phase__list li { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.04em; color: var(--fg); display: flex; gap: 12px; }
.phase__list li::before { content: "·"; color: var(--ember); font-weight: 700; }
@media (max-width: 900px) { .phase { grid-template-columns: 1fr; gap: 14px; } .phase__head { position: relative; top: auto; } }
