/* ============================================================
   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; } }

/* ============================================================
   2026-09-28 — media-only refresh
   Paper is the scheme. Every page opens on a photo title (.ptitle).
   ============================================================ */
:root {
  --display: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
  --ember-light: #dfbc7c;                      /* the ember family, lifted for use over photos */
  --title-tint: rgba(16, 11, 7, 0.58);
  --nav-h: 84px;
}

/* ── Masthead: bigger logo, bigger nav, dropdown ──────────── */
.brand__badge { height: 50px; transition: height .4s var(--ease), filter .3s; }          /* wordmark is ~3.1:1, so 50px tall ≈ 156px wide */
.mast.is-scrolled .brand__badge { height: 40px; }
.brand__badge--lg { height: 64px; }
.mast__nav { gap: 40px; align-items: center; }
.mast__nav a, .nav-drop__btn { font-size: 13px; letter-spacing: 0.16em; }
.mast__cta.btn { padding: 15px 26px; font-size: 12.5px; }
.nav-drop { position: relative; display: inline-flex; }
.nav-drop__btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 0;
  font-family: var(--mono); font-weight: 500; text-transform: uppercase; color: var(--fg-2); transition: color .3s;
}
.nav-drop__btn:hover, .nav-drop.is-current .nav-drop__btn { color: var(--fg); }
.nav-drop__btn svg { width: 10px; height: 10px; transition: transform .3s var(--ease); }
.nav-drop.is-open .nav-drop__btn svg, .nav-drop:hover .nav-drop__btn svg { transform: rotate(180deg); }
.nav-drop__menu {
  position: absolute; top: calc(100% + 20px); left: 50%; z-index: 130;
  min-width: 268px; padding: 8px; border-radius: 10px;
  background: var(--bg-2); border: 1px solid var(--line-2); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translate(-50%, -6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
}
.nav-drop__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 22px; }  /* hover bridge */
.nav-drop:hover .nav-drop__menu, .nav-drop.is-open .nav-drop__menu, .nav-drop:focus-within .nav-drop__menu {
  opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.mast__nav .nav-drop__menu a {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 13px 14px; border-radius: 6px;
  font-family: var(--sans); font-size: 15px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--fg);
}
.mast__nav .nav-drop__menu a::after { display: none; }
.mast__nav .nav-drop__menu a span { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: var(--fg-3); }
.mast__nav .nav-drop__menu a:hover, .mast__nav .nav-drop__menu a[aria-current="page"] { background: var(--bg-1); color: var(--ember); }
.has-hero .mast:not(.is-scrolled) .nav-drop__btn { color: rgba(255,255,255,.84); }
.has-hero .mast:not(.is-scrolled) .nav-drop__btn:hover { color: #fff; }
.has-hero .mast:not(.is-scrolled) .mast__nav .nav-drop__menu a { color: var(--fg); }
.has-hero .mast:not(.is-scrolled) .mast__cta.btn--primary { background: #fff; color: #141210; }
.overlay nav a.is-sub { font-size: clamp(22px, 6.4vw, 32px); padding-left: 1.4em; color: var(--fg-2); }
@media (max-width: 940px) { .brand__badge { height: 38px; } }

/* ── Page title (every page) ──────────────────────────────── */
.ptitle {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(480px, 70vh, 760px);
  display: grid; place-items: center; text-align: center; color: #fff;
  padding: calc(var(--nav-h) + 26px + 36px) var(--gutter) clamp(56px, 9vh, 104px);
  background: #0d0a07;
}
.ptitle--hero { min-height: 100vh; min-height: 100svh; }
.ptitle__bg { position: absolute; inset: 0; z-index: -2; }
.ptitle__bg img, .ptitle__bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ptitle__bg img { animation: slowZoom 22s var(--ease) both; }
.ptitle::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, var(--title-tint), transparent 100%),
    linear-gradient(180deg, rgba(10,7,4,.62) 0%, rgba(10,7,4,.38) 38%, rgba(10,7,4,.46) 70%, rgba(10,7,4,.78) 100%);
}
.ptitle__inner { max-width: 1080px; }
.ptitle__eyebrow {
  display: inline-flex; align-items: center; gap: 18px; margin: 0 0 26px;
  font: 600 12px/1.2 var(--sans); letter-spacing: .34em; text-transform: uppercase; color: var(--ember-light);
}
.ptitle__eyebrow::before, .ptitle__eyebrow::after { content: ""; width: clamp(28px, 4vw, 48px); height: 1px; background: currentColor; opacity: .75; }
.ptitle__h {
  margin: 0; font-family: var(--display); font-weight: 400; color: #fff;
  font-size: clamp(48px, 7.4vw, 112px); line-height: 1.02; letter-spacing: -0.012em;
  text-wrap: balance; text-shadow: 0 2px 40px rgba(0,0,0,.28);
}
.ptitle__h em { font-style: italic; color: var(--ember-light); }
.ptitle__lede {
  margin: 26px auto 0; max-width: 54ch;
  font: 300 clamp(16px, 1.35vw, 19px)/1.6 var(--sans); color: rgba(255,255,255,.84);
}
.ptitle__actions { margin-top: 36px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.ptitle .btn--primary { background: #fff; color: #141210; }
.ptitle .btn--primary:hover { background: var(--ember-light); color: #141210; }
.ptitle .btn--ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.ptitle .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.ptitle__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  font: 500 10px/1 var(--mono); letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.7);
}
@media (max-width: 540px) { .ptitle__eyebrow { letter-spacing: .24em; gap: 12px; font-size: 11px; } .ptitle__actions .btn { flex: 1; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .ptitle__bg img { animation: none; } .ptitle__bg video { display: none; } }

/* ── Section heads (short) ────────────────────────────────── */
.shead { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 5vh, 52px); }
.eyeline {
  display: inline-flex; align-items: center; gap: 14px; margin: 0 0 16px;
  font: 600 11.5px/1.2 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--ember);
}
.eyeline::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.h-display { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(40px, 5.4vw, 78px); line-height: 1; letter-spacing: -0.01em; color: var(--fg); text-wrap: balance; }
.h-display em { font-style: italic; color: var(--ember); }
.section--tight { padding-block: clamp(56px, 9vh, 112px); }

/* ── Services grid (home) ─────────────────────────────────── */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.3vw, 18px); }
.svc { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 4px; color: #fff; isolation: isolate; background: #1a1612; }
.svc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.svc::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,7,4,.08) 30%, rgba(10,7,4,.82) 100%); }
.svc:hover img { transform: scale(1.05); }
.svc__n { position: absolute; top: 18px; left: 20px; font: 500 11px/1 var(--mono); letter-spacing: .2em; color: rgba(255,255,255,.8); }
.svc__body { position: absolute; left: 20px; right: 20px; bottom: 22px; }
.svc__name { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(30px, 2.8vw, 44px); line-height: 1; }
.svc__line { margin: 10px 0 0; font-size: 14px; line-height: 1.45; color: rgba(255,255,255,.8); }
.svc__go { display: inline-flex; margin-top: 16px; font: 500 11px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--ember-light); }
@media (max-width: 1000px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .svc-grid { grid-template-columns: 1fr; } .svc { aspect-ratio: 4 / 3; } }

/* ── Logo wall additions ──────────────────────────────────── */
.logos__label { text-align: center; margin: 0 0 18px; font: 600 11px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--fg-3); }
.logo-chip--city img { height: 50px; max-width: none; }
.logo-chip--dos { gap: 10px; }
.logo-chip--dos img { height: 36px; }
.logo-chip--dos .logo-chip__word { font-size: 17px; letter-spacing: .02em; }
@media (max-width: 700px) { .logo-chip--city img { height: 42px; } .logo-chip--dos img { height: 30px; } }

/* ── Mini about (home) ────────────────────────────────────── */
.about-mini { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.about-mini p { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.6; color: var(--fg-2); max-width: 44ch; margin: 22px 0 26px; }
.about-mini figure { margin: 0; position: relative; }
.about-mini img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 4px; }
.about-mini figcaption { margin-top: 12px; font: 500 10.5px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--fg-3); }
@media (max-width: 900px) { .about-mini { grid-template-columns: 1fr; } }

/* ── Service pages ────────────────────────────────────────── */
.gets { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-2); }
.gets li { padding: 26px 22px 26px 0; border-bottom: 1px solid var(--line); display: flex; gap: 14px; align-items: baseline; }
.gets li span { font: 500 11px/1 var(--mono); letter-spacing: .14em; color: var(--ember); }
.gets li b { font-family: var(--display); font-weight: 400; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.1; color: var(--fg); }
@media (max-width: 900px) { .gets { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .gets { grid-template-columns: 1fr; } }
.svc-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(28px, 5vh, 56px) 0; border-top: 1px solid var(--line); }
.svc-row:first-of-type { border-top: 0; padding-top: 0; }
.svc-row img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 4px; }
.svc-row p { color: var(--fg-2); font-size: 16px; margin: 14px 0 20px; max-width: 42ch; }
.svc-row--rev > a:first-child { order: 2; }
@media (max-width: 900px) { .svc-row { grid-template-columns: 1fr; } .svc-row--rev > a:first-child { order: 0; } }
.pgrid { columns: 3 280px; column-gap: 14px; }
.pgrid img { width: 100%; margin: 0 0 14px; border-radius: 3px; break-inside: avoid; display: block; }
.browser { border-radius: 10px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow); background: var(--bg-2); }
.browser__bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.browser__bar span { margin-left: 12px; font: 500 11px/1 var(--mono); color: var(--fg-3); letter-spacing: .06em; }
.browser video, .browser img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.phone { width: min(340px, 100%); margin-inline: auto; border-radius: 36px; padding: 12px; background: #141210; box-shadow: var(--shadow); }
.phone__screen { border-radius: 26px; overflow: hidden; background: #fff; }
.phone__head { display: flex; align-items: center; gap: 10px; padding: 16px 14px 12px; color: #141210; font: 600 13px/1 var(--sans); }
.phone__head img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.phone__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.phone__grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split-feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
@media (max-width: 900px) { .split-feature { grid-template-columns: 1fr; } }
.band { text-align: center; }
.band .h-display { margin-bottom: 30px; }

/* ── Widgets W01–W10 (pick what stays) ────────────────────── */
.w { position: relative; border-top: 1px solid var(--line); }
.w-tag {
  display: inline-flex; gap: 8px; align-items: center; margin: 0 0 20px; padding: 7px 12px; border-radius: 999px;
  border: 1px dashed var(--ember); color: var(--ember); font: 600 10.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase;
}
.w-intro { text-align: center; padding: clamp(48px, 8vh, 88px) var(--gutter) 0; }
.w-intro p { margin: 10px auto 0; max-width: 46ch; color: var(--fg-3); font-size: 15px; }

/* W02 formats */
.fmt { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(24px, 4vw, 60px); align-items: center; }
.fmt__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip {
  min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2);
  font: 500 11.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--fg-2);
  transition: background .3s, color .3s, border-color .3s;
}
.chip:hover { border-color: var(--fg-3); color: var(--fg); }
.chip[aria-pressed="true"] { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.fmt__frame { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-1); }
.fmt__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fmt__bar { position: absolute; background: var(--bg); transition: transform .7s var(--ease); }
.fmt__bar--t, .fmt__bar--b { left: -1px; right: -1px; height: 50%; }
.fmt__bar--l, .fmt__bar--r { top: -1px; bottom: -1px; width: 50%; }
.fmt__bar--t { top: 0; } .fmt__bar--b { bottom: 0; } .fmt__bar--l { left: 0; } .fmt__bar--r { right: 0; }
@media (max-width: 900px) { .fmt { grid-template-columns: 1fr; } }

/* W03 grade slider */
.grade { position: relative; aspect-ratio: 16 / 8; overflow: hidden; border-radius: 4px; --x: 50%; user-select: none; }
.grade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.grade__raw { filter: saturate(.28) contrast(.74) brightness(1.1); clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.grade__line { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.grade__line::after { content: "⟷"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; background: #fff; color: #141210; display: grid; place-items: center; font-size: 16px; }
.grade__lbl { position: absolute; top: 14px; font: 600 10.5px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: #fff; background: rgba(10,7,4,.55); padding: 6px 9px; border-radius: 3px; }
.grade__lbl--l { left: 14px; } .grade__lbl--r { right: 14px; }
.grade input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.grade input:focus-visible ~ .grade__line::after { box-shadow: 0 0 0 3px var(--ember); }
@media (max-width: 700px) { .grade { aspect-ratio: 4 / 3; } }

/* W04 camera roll */
.roll { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
.roll img { flex: none; height: clamp(220px, 32vw, 380px); width: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; scroll-snap-align: start; }
.roll img.is-wide { aspect-ratio: 16 / 10; }
.roll-nav { display: flex; gap: 8px; }
.roll-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--fg); }
.roll-nav button:hover { border-color: var(--fg); }

/* W05 instagram */
.ig { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.ig a { position: relative; display: block; aspect-ratio: 1; overflow: hidden; }
.ig img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ig a::after { content: "↗"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 26px; background: rgba(10,7,4,.4); opacity: 0; transition: opacity .3s; }
.ig a:hover::after { opacity: 1; }
.ig a:hover img { transform: scale(1.05); }
@media (max-width: 700px) { .ig { grid-template-columns: repeat(3, 1fr); } }

/* W06 timeline */
.tline { display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.tline::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 1px; background: var(--line-2); }
.tline li { position: relative; padding: 36px 24px 0 0; }
.tline li::before { content: ""; position: absolute; top: 5px; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--bg); border: 2px solid var(--ember); }
.tline b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(40px, 4vw, 60px); line-height: 1; color: var(--fg); }
.tline p { margin: 12px 0 0; font-size: 15px; color: var(--fg-2); max-width: 30ch; }
@media (max-width: 700px) { .tline { grid-template-columns: 1fr; gap: 8px; } .tline::before { left: 6px; right: auto; width: 1px; top: 0; bottom: 0; height: auto; } .tline li { padding: 0 0 22px 32px; } }

/* W07 faq */
.faq { border-top: 1px solid var(--line-2); max-width: 880px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-family: var(--display); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; color: var(--fg); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); color: var(--ember); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 24px; color: var(--fg-2); max-width: 60ch; }

/* W08 picker */
.pick { text-align: center; }
.pick__chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 28px 0 30px; }
.pick .chip { min-height: 48px; padding: 0 20px; font-size: 12.5px; }

/* W09 wordmark marquee */
.wm { overflow: hidden; padding: clamp(24px, 4vh, 48px) 0; }
.wm__track { display: inline-flex; white-space: nowrap; animation: marq 40s linear infinite; }
.wm__track span { font-family: var(--display); font-size: clamp(72px, 13vw, 210px); line-height: .95; color: var(--fg); padding-right: .35em; }
.wm__track span em { color: var(--ember); }

/* W10 clock strip */
.clock { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-block: 30px; }
.clock__t { font-family: var(--display); font-size: clamp(26px, 2.6vw, 38px); color: var(--fg); margin: 0; }
.clock__t b { font-weight: 400; color: var(--ember); font-variant-numeric: tabular-nums; }
.clock__links { display: flex; gap: 22px; flex-wrap: wrap; }
.overlay nav a { font-family: var(--display); font-weight: 400; text-transform: none; letter-spacing: -0.01em; }
.overlay nav a.is-sub { font-family: var(--sans); font-weight: 500; font-size: clamp(18px, 5vw, 24px); }

/* ============================================================
   2026-09-28 · round 2
   ============================================================ */

/* Normal mouse everywhere (custom cursor retired). The hero has its own label, below. */
.cursor { display: none !important; }
@media (hover: hover) and (pointer: fine) {
  body { cursor: auto; }
  a, button, [data-magnetic], .idx__row, .cap, .vcard, summary, label, select { cursor: pointer; }
  input, textarea { cursor: text; }
}

/* Services: the word is a link, the caret opens the menu */
.nav-drop { align-items: center; gap: 6px; }
.mast__nav .nav-drop__link { padding: 6px 0; }
.nav-drop__btn { padding: 8px 2px; }
.nav-drop.is-current .nav-drop__link { color: var(--fg); }
.has-hero .mast:not(.is-scrolled) .nav-drop__btn { color: rgba(255,255,255,.84); }

/* Hero: smaller type so the video reads; lighter veil */
.ptitle--hero .ptitle__h { font-size: clamp(36px, 4.6vw, 70px); }
.ptitle--hero .ptitle__eyebrow { margin-bottom: 18px; font-size: 11px; }
.ptitle--hero .ptitle__lede { margin-top: 16px; font-size: clamp(15px, 1.1vw, 17px); }
.ptitle--hero .ptitle__actions { margin-top: 26px; }
.ptitle--hero::before {
  background:
    radial-gradient(ellipse 46% 34% at 50% 52%, rgba(10,7,4,.42), transparent 100%),
    linear-gradient(180deg, rgba(10,7,4,.5) 0%, rgba(10,7,4,.08) 30%, rgba(10,7,4,.06) 70%, rgba(10,7,4,.45) 100%);
}

/* Sound toggle */
.sound {
  position: absolute; right: var(--gutter); bottom: 28px; z-index: 2;
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 12px; border-radius: 999px;
  color: #fff; background: rgba(10,7,4,.38); border: 1px solid rgba(255,255,255,.35);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font: 500 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase;
  transition: background .3s, border-color .3s;
}
.sound:hover { background: rgba(10,7,4,.6); border-color: #fff; }
.sound svg { width: 18px; height: 18px; }
.sound__on { display: none; }
.sound[aria-pressed="true"] .sound__on { display: block; }
.sound[aria-pressed="true"] .sound__off { display: none; }
.sound[aria-pressed="true"] { border-color: var(--ember-light); color: var(--ember-light); }
@media (prefers-reduced-motion: reduce) { .sound { display: none; } }

/* Hero-only pointer: a small label that sits on the arrow (no trailing ring) */
.hero-cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .ptitle--hero.has-label { cursor: none; }
  .ptitle--hero.has-label a, .ptitle--hero.has-label button { cursor: pointer; }
  .hero-cursor {
    display: inline-flex; align-items: center; gap: 8px; position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none;
    padding: 8px 12px 8px 9px; border-radius: 999px; background: #fff; color: #141210;
    font: 600 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
    opacity: 0; transition: opacity .2s;
  }
  .hero-cursor i { width: 8px; height: 8px; border-radius: 50%; background: var(--ember); }
  .hero-cursor.is-on { opacity: 1; }
}

/* Logos: no chips, just the marks (Blog + Crumbl keep their brand chips) */
.logos--bare { border: 0; padding-block: clamp(26px, 4vh, 40px); }
.logos--bare .logo-chip { background: transparent; border: 0; box-shadow: none; padding: 0 clamp(18px, 2.4vw, 36px); }
.logos--bare .logo-chip img { mix-blend-mode: multiply; }
.logos--bare .logo-chip--mint, .logos--bare .logo-chip--pink { border-radius: 7px; padding: 0 22px; margin-inline: 10px; }
.logos--bare .logo-chip--mint { background: #a7e6d0; }
.logos--bare .logo-chip--pink { background: #feb9ce; }
.logos--bare .logo-chip--mint img, .logos--bare .logo-chip--pink img { mix-blend-mode: normal; }
#clients { padding-top: clamp(24px, 4vh, 44px); }

/* Contact: side cards travel with you */
.contact-side { position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; }
.cform__head { font-family: var(--display); font-weight: 400; text-transform: none; letter-spacing: -0.01em; font-size: clamp(44px, 5vw, 72px); }
@media (max-width: 900px) { .contact-side { position: static; } }

/* ── Footer (light) ───────────────────────────────────────── */
.foot { background: var(--bg-1); border-top: 1px solid var(--line); overflow: hidden; position: relative; z-index: 1; }
.foot__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: clamp(28px, 4vw, 64px); padding: clamp(56px, 9vh, 96px) 0 clamp(36px, 6vh, 60px); }
.foot__logo { height: 52px; width: auto; filter: brightness(0); }
.foot__tag { display: flex; align-items: center; gap: 12px; margin: 14px 0 20px; font: 600 10.5px/1 var(--sans); letter-spacing: .34em; text-transform: uppercase; color: var(--ember); }
.foot__tag::before, .foot__tag::after { content: ""; width: 22px; height: 1px; background: currentColor; }
.foot__blurb { margin: 0 0 22px; max-width: 38ch; font-size: 15px; line-height: 1.65; color: var(--fg-2); }
.foot__contact { display: grid; gap: 12px; margin-bottom: 22px; }
.foot__contact li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--fg-2); }
.foot__contact svg { width: 18px; height: 18px; color: var(--ember); flex: none; }
.foot__contact a:hover { color: var(--ember); }
.foot__social { display: flex; gap: 10px; }
.foot__social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--fg); transition: border-color .3s, color .3s; }
.foot__social a:hover { border-color: var(--ember); color: var(--ember); }
.foot__social svg { width: 18px; height: 18px; }
.foot__label { margin: 4px 0 22px; font: 600 11px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--ember); }
.foot__col li + li { margin-top: 14px; }
.foot__col a { font-size: 15px; color: var(--fg-2); transition: color .3s; }
.foot__col a:hover { color: var(--fg); }
.foot__values { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 0; padding: 24px 0; border-top: 1px solid var(--line); }
.foot__values li { font: 500 11px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--fg-3); }
.foot__values li + li::before { content: "•"; color: var(--ember); margin: 0 clamp(14px, 2.4vw, 34px); }
.foot__giant {
  margin: 0; text-align: center; white-space: nowrap; line-height: .74; padding-top: 10px;
  font-family: var(--display); font-size: clamp(90px, 19vw, 300px); letter-spacing: -0.02em;
  color: var(--bg-3); user-select: none; transform: translateY(12%);
}
.foot__bottom { border-top: 1px solid var(--line); background: var(--bg-1); position: relative; }
.foot__bottom .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 20px; font-size: 13px; color: var(--fg-3); }
.foot__bottom a:hover { color: var(--ember); }
@media (max-width: 900px) { .foot__grid { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } }
@media (max-width: 540px) { .foot__grid { grid-template-columns: 1fr; } .foot__values li + li::before { margin: 0 10px; } }

/* ── Services page: sticky photo that changes as you scroll ── */
.sx { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 88px); align-items: start; }
.sx__media { position: sticky; top: calc(var(--nav-h) + 32px); aspect-ratio: 4 / 5; max-height: calc(100vh - var(--nav-h) - 64px); overflow: hidden; border-radius: 4px; background: var(--bg-2); }
.sx__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .7s var(--ease), transform 1.4s var(--ease); }
.sx__media img.is-on { opacity: 1; transform: none; }
.sx__count { position: absolute; left: 18px; bottom: 16px; z-index: 1; font: 500 11px/1 var(--mono); letter-spacing: .2em; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.sx__item { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; border-top: 1px solid var(--line); opacity: .38; transition: opacity .5s var(--ease); }
.sx__item:first-child { border-top: 0; }
.sx__item.is-on { opacity: 1; }
.sx__n { font: 500 12px/1 var(--mono); letter-spacing: .2em; color: var(--ember); margin: 0 0 18px; }
.sx__name { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(48px, 6vw, 96px); line-height: .98; letter-spacing: -0.015em; }
.sx__name a:hover { color: var(--ember); }
.sx__line { margin: 18px 0 22px; font-size: clamp(16px, 1.3vw, 19px); color: var(--fg-2); max-width: 36ch; }
.sx__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.sx__chips li { padding: 8px 13px; border: 1px solid var(--line-2); border-radius: 999px; font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2); }
.sx__proof { font: 500 10.5px/1.5 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); margin: 0 0 22px; }
.sx__inline { display: none; }
@media (max-width: 900px) {
  .sx { grid-template-columns: 1fr; }
  .sx__media { display: none; }
  .sx__item { min-height: 0; opacity: 1; padding: 36px 0; }
  .sx__inline { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; margin-bottom: 22px; }
}

/* ── Logos round 3: 25 brands, sized by shape ─────────────── */
.logos--bare .logos__track { animation-duration: 150s; }
.logos--bare .logo-chip img { height: 34px; max-width: 170px; }
.logos--bare .logo-chip--sq img   { height: 54px; max-width: 70px; }
.logos--bare .logo-chip--tall img { height: 46px; max-width: 140px; }
.logos--bare .logo-chip--wide img { height: 22px; max-width: 220px; }
.logos--bare .logo-chip--city img { height: 54px; max-width: none; }
.logos--bare .logo-chip--dark img { height: 44px; max-width: none; border-radius: 6px; mix-blend-mode: normal; }
@media (max-width: 700px) {
  .logos--bare .logo-chip img { height: 26px; }
  .logos--bare .logo-chip--sq img, .logos--bare .logo-chip--city img { height: 42px; }
  .logos--bare .logo-chip--wide img { height: 17px; }
  .logos--bare .logo-chip--dark img { height: 34px; }
}

/* Hero: words sit lower so the picture leads */
.ptitle--hero { place-items: end center; padding-bottom: clamp(96px, 15vh, 170px); }
/* optical balance, per mark */
.logos--bare img[src$="popeyes.svg"]      { height: 26px; }
.logos--bare img[src$="chickfila.svg"]    { height: 42px; }
.logos--bare img[src$="shake-shack.svg"]  { height: 26px; }
.logos--bare img[src$="goodwill.svg"]     { height: 60px; }
.logos--bare img[src$="white-oaks-mall.svg"] { height: 64px; }
.logos--bare img[src$="milestones.svg"]   { height: 20px; }
.logos--bare img[src$="goodlife.svg"]     { height: 38px; }
/* logos round 4: tighter band, quicker scroll, small marks ~10% larger */
#clients { padding-top: clamp(20px, 3vh, 32px); }
#clients .logos__label { margin-bottom: 6px; }
.logos--bare { padding-block: 12px; }
.logos--bare .logos__track { animation-duration: 95s; }
#services { padding-top: clamp(30px, 4.5vh, 52px); }
.logos--bare img[src$="western-fair.png"]    { height: 60px; max-width: 90px; }
.logos--bare img[src$="boler-mountain.png"]  { height: 60px; max-width: 80px; }
.logos--bare img[src$="white-oaks-mall.svg"] { height: 70px; }
.logos--bare img[src$="city-of-london.svg"]  { height: 60px; }
.logos--bare img[src$="mado.png"]            { height: 38px; max-width: 190px; }
.logos--bare img[src$="westdell.png"]        { height: 38px; max-width: 190px; }
.logos--bare img[src$="goodwill.svg"]        { height: 66px; }
.logos--bare img[src$="city-of-hamilton.svg"] { height: 38px; max-width: 190px; }
.logos--bare img[src$="covent-garden.svg"]   { height: 38px; max-width: 190px; }
@media (max-width: 700px) { .logos--bare .logos__track { zoom: .74; } }
.logos--bare img[src*="toronto-raptors.svg"] { height: 62px; max-width: 70px; }
/* spacing: equal box gaps looked uneven, so compact marks (badges, squares) get less side padding than wordmarks */
.logos--bare .logos__track { gap: 12px; }
.logos--bare .logo-chip { padding: 0 clamp(16px, 2vw, 30px); }
.logos--bare .logo-chip--sq, .logos--bare .logo-chip--city, .logos--bare .logo-chip--tall { padding: 0 clamp(10px, 1.3vw, 20px); }
.logos--bare .logo-chip--mint, .logos--bare .logo-chip--pink { margin-inline: clamp(8px, 1vw, 14px); }
/* logos on phones: all loaded up front (lazy loading left blanks and made the loop jump), quicker, tighter */
.logos__track { width: max-content; }
@media (max-width: 700px) {
  .logos--bare .logos__track { animation-duration: 48s; }
  #clients { padding-top: 18px; }
  .logos--bare { padding-block: 6px; }
  #services { padding-top: 26px; }
}
.foot__grid { grid-template-columns: 1.6fr 1fr 1fr; }
@media (max-width: 900px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .foot__grid { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } }
