/* ──────────────────────────────────────────────────────────────
   Bonomotion — scroll-scrubbed hero experiment
   Every value with a comment "JS" is overwritten per-frame by app.js.
   Type: Bricolage Grotesque — bold (800) for titles only, regular for copy.
   ────────────────────────────────────────────────────────────── */

:root {
  --bg: #0a0a0b;
  --bg-2: #121214;
  --ink: #f3efe7;
  --mute: #8d8a83;
  --line: rgba(243, 239, 231, 0.14);
  --pink: #ff319d;        /* brand — play button */
  --cyan: #5ac3e9;        /* brand — wordmark */
  --accent: var(--pink);

  --display: "Bricolage Grotesque", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;

  --nav-h: 72px;
  --gutter: clamp(20px, 3vw, 44px);
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--display);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, p { margin: 0; }
img { display: block; }

/* film grain — image generated at runtime by app.js */
.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none; z-index: 60;
  opacity: 0.075;
  mix-blend-mode: overlay;
  animation: grain 0.9s steps(6) infinite;
}
@keyframes grain {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-2%, 3%); }
  40%  { transform: translate(3%, -1%); }
  60%  { transform: translate(-1%, -3%); }
  80%  { transform: translate(2%, 2%); }
  100% { transform: translate(0, 0); }
}

/* ───────────── NAV ───────────── */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; pointer-events: none; }
.nav__bar {
  pointer-events: auto;
  position: relative; left: 50%; transform: translate(-50%, -120%);
  animation: navIn .45s cubic-bezier(.2,.9,.25,1) .25s forwards;
  height: var(--nav-h);
  width: 100%;                         /* JS */
  margin-top: 0;                       /* JS */
  padding: 0 var(--gutter);            /* JS */
  border-radius: 0;                    /* JS */
  display: flex; align-items: center; gap: 28px;
  background: rgba(18, 18, 20, 0);     /* JS */
  border: 1px solid rgba(243, 239, 231, 0); /* JS */
  backdrop-filter: blur(0px);          /* JS */
  -webkit-backdrop-filter: blur(0px);
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo__mark {
  width: 34px; height: 34px; border-radius: 50%;
  transform: rotate(-8deg);
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.logo:hover .logo__mark { transform: rotate(8deg) scale(1.06); }
.logo__word { white-space: nowrap; overflow: hidden; display: block; }
.logo__word img { height: 15px; width: auto; max-width: none; }
.nav__links {
  margin-left: auto; margin-right: calc(6px * var(--pill));
  display: flex; gap: calc(22px - 4px * var(--pill));
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--mute);
}
.nav__links a { position: relative; padding: 6px 0; transition: color .25s; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: var(--cyan); transition: right .3s cubic-bezier(.2,.8,.2,1);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { right: 0; }
.nav__bar { --pill: 0; }                       /* JS: 0 = full bar, 1 = floating pill */
.nav__cta {
  display: inline-flex; align-items: center; gap: calc(10px - 2px * var(--pill));
  padding: calc(10px - 4px * var(--pill)) calc(6px - 1px * var(--pill)) calc(10px - 4px * var(--pill)) calc(16px - 4px * var(--pill));
  border: 1px solid var(--line); border-radius: 999px;
  font-size: calc(13px - 1px * var(--pill)); font-weight: 600; letter-spacing: -0.01em;
  transition: border-color .25s;
}
.nav__cta i {
  width: calc(26px - 4px * var(--pill)); height: calc(26px - 4px * var(--pill)); border-radius: 50%; background: var(--pink);
  position: relative; transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.nav__cta i::after {
  content: "→"; position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 13px; font-weight: 700; color: #fff;
}
.nav__cta:hover { border-color: var(--ink); }
.nav__cta:hover i { transform: rotate(-45deg); }

@keyframes navIn { to { transform: translate(-50%, 0); } }

/* ───────────── HERO ───────────── */
.hero { position: relative; height: 1020vh; }  /* scroll track = scrub length (722 frames, 3 films) */
.stage {
  position: sticky; top: 0;
  height: 100vh; height: 100dvh;
  overflow: hidden; background: var(--bg);
  touch-action: pan-y;               /* horizontal touch steers the parallax, vertical still scrolls */
}
.shutter { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--bg); z-index: 20; pointer-events: none; }
.shutter--t { top: 0; transform-origin: 50% 0; }
.shutter--b { bottom: 0; transform-origin: 50% 100%; }
.ready .shutter { animation: shut .55s cubic-bezier(.75,0,.2,1) forwards; }
@keyframes shut { to { transform: scaleY(0); } }

.glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 88% 90%, rgba(255, 49, 157, 0.20), transparent 70%),
    radial-gradient(40% 40% at 10% 15%, rgba(90, 195, 233, 0.14), transparent 70%);
  opacity: 0;                        /* JS */
}

.screen {
  position: absolute; inset: 0;
  clip-path: inset(0 0 0 0 round 0px);  /* JS */
  background: #000; will-change: clip-path;
}
#film, .poster {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
  transform-origin: 50% 50%;         /* JS scales the film into the card at the end */
}
.poster { opacity: 1; transition: opacity .4s; }
.poster.hide { opacity: 0; }

/* intro stack — the photo composite that sits on top of the film until you scroll */
.intro-stack { position: absolute; inset: 0; opacity: 0; }
.ready .intro-stack { opacity: 1; }
.layer {
  position: absolute; left: 0; top: 0;      /* JS: sized to the film's content box */
  transform-origin: 0 0; will-change: transform, opacity;
  max-width: none;
}
.plate {
  /* soft edge so its shrinking rectangle doesn't read as a hard frame during the match cut */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent),
                      linear-gradient(to bottom, transparent, #000 3%, #000 97%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent),
              linear-gradient(to bottom, transparent, #000 3%, #000 97%, transparent);
  mask-composite: intersect;
}
.cast { position: absolute; inset: 0; opacity: 0; transform: scale(1.12) translateY(3%); }

/* set props — lights behind them, cameras in front. Wrappers take the JS parallax, inners the entrance. */
.prop { position: absolute; pointer-events: none; will-change: transform, opacity; }
.prop__in { position: relative; }
.prop img { display: block; max-width: none; height: auto; }
.cam { transform-origin: 50% 100%; }
.cam img { height: 118vh; }
.cam--a { left: -9vw; bottom: -58vh; }
.cam--b { right: -11vw; bottom: -62vh; }
.light img { height: 56vh; }
.light--a { left: 26vw; bottom: 22vh; }
.light--b { right: 27vw; bottom: 25vh; }
.spill {
  position: absolute; left: 50%; width: 72vh; height: 72vh; border-radius: 50%;
  transform: translate(-50%, -50%); mix-blend-mode: screen;
}
.light--a .spill { top: 9%; }
.light--b .spill { top: 17%; }
.spill--warm { background: radial-gradient(closest-side, rgba(255,196,130,.42), rgba(255,196,130,.12) 42%, rgba(255,196,130,0) 72%); }
.spill--cool { background: radial-gradient(closest-side, rgba(222,240,255,.36), rgba(222,240,255,.1) 42%, rgba(222,240,255,0) 72%); }
.cam--a .prop__in { opacity: 0; transform: translate(-55%, 14%) rotate(-9deg); }
.cam--b .prop__in { opacity: 0; transform: translate(55%, 14%) rotate(9deg); }
.light .prop__in  { opacity: 0; }
.ready .cam--a .prop__in { animation: camIn .55s cubic-bezier(.2,.9,.25,1.1) .3s forwards; }
.ready .cam--b .prop__in { animation: camIn .55s cubic-bezier(.2,.9,.25,1.1) .38s forwards; }
.ready .light--a .prop__in { animation: lightOn .5s steps(1, end) .34s forwards; }
.ready .light--b .prop__in { animation: lightOn .5s steps(1, end) .46s forwards; }
@keyframes camIn { 0% { opacity: 0; } 15% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes lightOn { 0% { opacity: 0; } 12% { opacity: 1; } 24% { opacity: .15; } 38% { opacity: 1; } 52% { opacity: .45; } 64%, 100% { opacity: 1; } }
.ready .cast { animation: castIn .5s cubic-bezier(.2,.9,.25,1.12) .2s forwards; }
@keyframes castIn { 0% { opacity: 0; } 18% { opacity: 1; } 100% { opacity: 1; transform: none; } }

/* the words behind them — a slow sideways strip in a ghosted tone (the headline in front is solid) */
.behind { position: absolute; inset: 0; pointer-events: none; overflow: hidden; transform: translateX(40vw); opacity: 0; }
.ready .behind { animation: stripIn .5s cubic-bezier(.2,.9,.25,1.08) .14s forwards; }
@keyframes stripIn { 0% { opacity: 0; } 10% { opacity: 1; } 100% { opacity: 1; transform: none; } }
.behind__in { position: absolute; left: 0; right: 0; top: 55vh; transform: translateY(-50%); will-change: transform; }
.behind__track {
  display: flex; width: max-content;
  animation: slide 90s linear infinite;
  will-change: transform;
}
.behind__track span {
  padding: 0 .22em;
  font-size: clamp(72px, 16vw, 360px); font-weight: 800; line-height: 1; letter-spacing: -0.05em;
  text-transform: uppercase; white-space: nowrap;
  font-variation-settings: "opsz" 96;
  color: rgba(90, 195, 233, .92);
}
.behind__track span::after { content: "·"; margin-left: .44em; color: var(--pink); }
@keyframes slide { to { transform: translateX(-50%); } }

.flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }  /* JS */
.bar {
  position: absolute; left: 0; right: 0; height: 0; background: #000; z-index: 3;  /* JS */
  pointer-events: none;
}
.bar--t { top: 0; } .bar--b { bottom: 0; }

.shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(10,10,11,.85) 0%, rgba(10,10,11,0) 45%),
    linear-gradient(to bottom, rgba(10,10,11,.55) 0%, rgba(10,10,11,0) 30%);
  opacity: 0;                        /* JS */
}

/* viewfinder corners */
.corner {
  position: absolute; width: 18px; height: 18px;
  border: 1.5px solid var(--ink); opacity: 0;   /* JS */
  filter: drop-shadow(0 0 2px rgba(0,0,0,.7));
  pointer-events: none; z-index: 5;
  left: 0; top: 0;                   /* JS */
}
.corner--tl { border-right: 0; border-bottom: 0; }
.corner--tr { border-left: 0;  border-bottom: 0; }
.corner--bl { border-right: 0; border-top: 0; }
.corner--br { border-left: 0;  border-top: 0; }

/* HUD */
.hud {
  position: absolute; z-index: 6;
  display: flex; align-items: center; gap: 16px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); opacity: 0;
  text-shadow: 0 1px 6px rgba(0,0,0,.7);
  pointer-events: none;
}
.hud--tl { top: calc(var(--nav-h) + 12px); left: var(--gutter); }
.hud--tr { top: calc(var(--nav-h) + 12px); right: var(--gutter); }
.hud--bl { bottom: 26px; left: var(--gutter); }
.hud--br { bottom: 26px; right: var(--gutter); }
.ready .hud { animation: hudIn .36s steps(1, end) forwards; }
.ready .hud--tl { animation-delay: .5s; } .ready .hud--tr { animation-delay: .56s; }
.ready .hud--bl { animation-delay: .62s; } .ready .hud--br { animation-delay: .68s; }
@keyframes hudIn { 0%, 30% { opacity: 0; } 31%, 55% { opacity: .9; } 56%, 70% { opacity: 0; } 71%, 100% { opacity: .9; } }
.rec { display: inline-flex; align-items: center; gap: 7px; color: var(--mute); transition: color .3s; }
.rec em { font-style: normal; }
.rec i { width: 8px; height: 8px; border-radius: 50%; background: var(--mute); transition: background .3s; }
.rec.on { color: var(--pink); }
.rec.on i { background: var(--pink); animation: blink 1.2s steps(1) infinite; }
@keyframes blink { 50% { opacity: .15; } }
.buffer { width: 60px; height: 2px; background: var(--line); display: inline-block; position: relative; }
.buffer i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--cyan); }
.track { width: 120px; height: 1px; background: var(--line); display: inline-block; position: relative; }
.track i {
  position: absolute; top: 50%; left: 0; width: 6px; height: 6px; margin: -3px 0 0 -3px;
  background: var(--pink); border-radius: 50%;
}
.scene { display: inline-block; }
.scene.flash { animation: sceneflash .45s cubic-bezier(.2,.8,.2,1); }
@keyframes sceneflash {
  0% { opacity: 0; transform: translateY(6px); color: var(--cyan); }
  40% { opacity: 1; transform: translateY(0); color: var(--cyan); }
  100% { color: var(--ink); }
}

/* ACT 0 — the tagline (the words on the wall in the shot), overlapping the window's lower edge */
.head {
  position: absolute; z-index: 4;
  left: 6vw; bottom: 4vh;
  display: flex; flex-direction: column;
  font-size: clamp(52px, 9.6vw, 200px);
  font-weight: 800; line-height: .84; letter-spacing: -0.05em;
  font-variation-settings: "opsz" 96;
  white-space: nowrap; pointer-events: none;
}
.head__line { display: block; will-change: transform, clip-path; transform-origin: 0 50%; }
.head__line > span { display: inline-block; clip-path: inset(-6% 102% -6% -3%); transform: translateX(-4%) skewX(-6deg); }
.ready .head__line > span { animation: wipeIn .42s cubic-bezier(.2,.9,.25,1) .4s forwards; }
.ready #wordB > span { animation-delay: .5s; }
@keyframes wipeIn { to { clip-path: inset(-6% -3% -6% -3%); transform: none; } }

.meta {
  position: absolute; z-index: 4;
  top: calc(var(--nav-h) + 12px); left: 50%; transform: translateX(-50%);
  display: flex; gap: 24px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--mute); pointer-events: none;
}

.intro {
  position: absolute; z-index: 4;
  right: 8vw; bottom: 6vh; max-width: 26vw;
  display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right;
  pointer-events: none;
}
.intro__kicker { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.intro__line { font-size: clamp(16px, 1.35vw, 22px); font-weight: 500; letter-spacing: -0.015em; }
.intro > * { clip-path: inset(100% 0 0 0); transform: translateY(.6em); }
.ready .intro > * { animation: copyIn .32s cubic-bezier(.2,.9,.25,1) .62s forwards; }
.ready .intro > *:nth-child(2) { animation-delay: .7s; }
@keyframes copyIn { to { clip-path: inset(-10% 0 0 0); transform: none; } }

.cue {
  position: absolute; z-index: 4;
  right: calc(var(--gutter) + 2px); top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--mute);
  pointer-events: none;
}
.cue span { writing-mode: vertical-rl; color: var(--ink); opacity: .7; text-shadow: 0 1px 6px rgba(0,0,0,.7); }
.cue i { width: 1px; height: 54px; background: var(--line); position: relative; overflow: hidden; }
.cue i::after {
  content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%;
  background: var(--ink); animation: drop 1.6s cubic-bezier(.6,0,.4,1) infinite;
}
@keyframes drop { to { top: 100%; } }
.cue > * { opacity: 0; }
.ready .cue > * { animation: blinkIn .4s steps(1, end) .8s forwards; }
@keyframes blinkIn { 0%, 30% { opacity: 0; } 31%, 55% { opacity: 1; } 56%, 70% { opacity: 0; } 71%, 100% { opacity: 1; } }
@keyframes fade { to { opacity: 1; } }

/* ACT 1 / 2 — wiped lines. every .wipe is a mask; its single child slides inside it */
.line { position: absolute; z-index: 4; left: 0; right: 0; text-align: center; pointer-events: none; }
.wipe { display: inline-block; clip-path: inset(100% 0 0 0); will-change: clip-path, transform; }
.wipe > * { display: inline-block; will-change: transform; }

.line--room { bottom: 14vh; }
.line--room b {
  font-size: clamp(56px, 11vw, 240px); font-weight: 800; line-height: .85; letter-spacing: -0.05em;
  font-variation-settings: "opsz" 96;
}
.line--arena { bottom: 3vh; display: flex; flex-direction: column; align-items: center; }
.line--arena .wipe--small b {
  font-family: var(--mono); font-weight: 500; font-size: clamp(12px, 1.1vw, 18px); letter-spacing: .3em;
  color: var(--ink); text-shadow: 0 1px 8px rgba(0,0,0,.6);
}
.line--arena .wipe--big b {
  font-size: clamp(96px, 26vw, 560px); font-weight: 800; line-height: .78; letter-spacing: -0.06em;
  font-variation-settings: "opsz" 96;
  margin-top: .05em;
}

.line--action {
  top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  opacity: 0;                        /* JS */
  will-change: transform, opacity;
}
.line--action b {
  font-size: clamp(96px, 24vw, 520px); font-weight: 800; line-height: .8; letter-spacing: -0.06em;
  font-variation-settings: "opsz" 96;
}
.line--action span {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink); text-shadow: 0 1px 8px rgba(0,0,0,.7);
}

.lift {
  position: absolute; z-index: 4; left: 50%; top: 16vh; transform: translateX(-50%);
  display: flex; flex-direction: column-reverse; gap: 1vh;
  opacity: 0; pointer-events: none; will-change: transform, opacity;
}
.lift i {
  display: block; width: 17vw; height: 8vw; background: var(--cyan);
  clip-path: polygon(50% 0, 100% 56%, 72% 56%, 50% 28%, 28% 56%, 0 56%);
  opacity: .4; animation: liftPulse .9s linear infinite;
  filter: drop-shadow(0 6px 24px rgba(0,0,0,.35));
}
.lift i:nth-child(1) { animation-delay: 0s; }
.lift i:nth-child(2) { animation-delay: .16s; }
.lift i:nth-child(3) { animation-delay: .32s; }
.lift i:nth-child(4) { animation-delay: .48s; }
.lift i:nth-child(5) { animation-delay: .64s; }
@keyframes liftPulse { 0% { opacity: .4; } 18% { opacity: 1; } 55%, 100% { opacity: .4; } }

.line--angle { bottom: 7vh; }
.line--angle b {
  font-size: clamp(64px, 12.5vw, 280px); font-weight: 800; line-height: .82; letter-spacing: -0.055em;
  font-variation-settings: "opsz" 96;
}

.stats {
  position: absolute; z-index: 4;
  left: 0; top: 50%; transform: translateY(-58%);
  padding: 28px 120px 28px var(--gutter);
  background: linear-gradient(90deg, rgba(10,10,11,.7) 0%, rgba(10,10,11,.35) 55%, rgba(10,10,11,0) 100%);
  display: flex; flex-direction: column; pointer-events: none;
}
.stats li {
  display: flex; flex-direction: column; gap: 5px;
  padding: 16px 0 18px;
  border-top: 1px solid rgba(243,239,231,.35);
  min-width: 230px;
  opacity: 0; transform: translateX(-30px);   /* JS */
}
.stats b {
  font-size: clamp(28px, 3.4vw, 60px); font-weight: 800; letter-spacing: -0.04em; line-height: 1;
  text-shadow: 0 2px 18px rgba(0,0,0,.6);
}
.stats span {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(243,239,231,.8); text-shadow: 0 1px 6px rgba(0,0,0,.7);
}

/* ACT 3 — landing */
.outro { position: absolute; z-index: 4; left: 6vw; top: 50%; transform: translateY(-50%); width: 40vw; pointer-events: none; }
.outro .wipe { display: block; }
.outro h2 {
  font-size: clamp(56px, 8.6vw, 190px); font-weight: 800; line-height: .86; letter-spacing: -0.05em;
  font-variation-settings: "opsz" 96;
  display: flex; flex-direction: column;
}
.outro h2 .wipe > b { display: block; }
.outro p { margin-top: 28px; max-width: 36ch; font-size: clamp(15px, 1.15vw, 19px); line-height: 1.45; color: var(--mute); }
.ctas { display: flex; gap: 12px; margin-top: 28px; }
.outro .ctas { pointer-events: auto; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 600; letter-spacing: -0.01em;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--solid { background: var(--pink); color: #fff; }
.btn--ghost { border: 1px solid var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn i { font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--mute); }

/* ───────────── SECTION 02 — services ───────────── */
.eyebrow { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.work { position: relative; z-index: 2; background: var(--bg); border-top: 1px solid var(--line); padding: clamp(80px, 12vh, 160px) 0 0; }
.work__head { padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr 2fr; gap: 24px; align-items: end; }
.work__head h2, .foot h2 {
  font-size: clamp(44px, 7.4vw, 160px); font-weight: 800; line-height: .88; letter-spacing: -0.05em;
  font-variation-settings: "opsz" 96;
}
.index { margin-top: clamp(48px, 8vh, 96px); border-top: 1px solid var(--line); }
.index li {
  display: grid; grid-template-columns: 80px 1fr 1fr 80px; align-items: baseline; gap: 24px;
  padding: 22px var(--gutter);
  border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden; cursor: pointer;
}
.index li::before {
  content: ""; position: absolute; inset: 0; background: var(--ink);
  transform: translateY(101%); transition: transform .45s cubic-bezier(.2,.8,.2,1);
}
.index li > * { position: relative; transition: color .3s, transform .45s cubic-bezier(.2,.8,.2,1); }
.index li:hover::before { transform: translateY(0); }
.index li:hover > * { color: var(--bg); }
.index li:hover .index__t { transform: translateX(16px); }
.index li:hover .index__y { color: var(--pink); }
.index__n { font-family: var(--mono); font-size: 12px; color: var(--mute); }
.index__t { font-size: clamp(26px, 3.2vw, 56px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.index__c { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.index__y { font-size: 22px; text-align: right; color: var(--mute); }

.marquee { overflow: hidden; padding: 26px 0; border-bottom: 1px solid var(--line); }
.marquee__track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee__track span {
  padding: 0 34px;
  font-size: clamp(28px, 3.4vw, 60px); font-weight: 800; letter-spacing: -0.04em; text-transform: uppercase;
  color: var(--mute); white-space: nowrap;
}
.marquee__track span::after { content: "·"; margin-left: 68px; color: var(--pink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ───────────── SECTION 03 — studio ───────────── */
.studio { padding: clamp(80px, 12vh, 160px) var(--gutter); background: var(--bg-2); position: relative; z-index: 2; }
.studio__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; }
.studio__lede {
  margin-top: 22px;
  font-size: clamp(28px, 3vw, 54px); font-weight: 800; line-height: .98; letter-spacing: -0.04em;
  max-width: 18ch;
}
.studio__sub { margin-top: 22px; max-width: 46ch; font-size: clamp(15px, 1.15vw, 19px); line-height: 1.5; color: var(--mute); }
.studio__list li {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: baseline; padding: 18px 0;
  border-top: 1px solid var(--line);
}
.studio__list li:last-child { border-bottom: 1px solid var(--line); }
.studio__list b { font-size: clamp(36px, 4vw, 72px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.studio__list span { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }

/* ───────────── FOOTER — the wrap ───────────── */
.foot { position: relative; z-index: 2; background: var(--bg); }
.wrap {
  position: relative; height: 100vh; height: 100svh;   /* the page ends on exactly this screen */
  display: flex; align-items: center; justify-content: center; text-align: center;
  overflow: hidden; padding-bottom: 15vh;                /* keeps the copy centred above the contact row */
}
.wrap__bar { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--ink); z-index: 2; transform: scaleY(0); }
.wrap__bar--t { top: 0; transform-origin: 50% 0; }
.wrap__bar--b { bottom: 0; transform-origin: 50% 100%; }
.wrap__in { position: relative; padding: 0 var(--gutter); opacity: 0; }
.wrap h2 {
  display: flex; flex-direction: column; margin-top: 18px;
  font-size: clamp(48px, min(14vw, 19vh), 300px); font-weight: 800; line-height: .82; letter-spacing: -0.06em;
  font-variation-settings: "opsz" 96;
}
.wrap h2 span { display: block; clip-path: inset(-6% -3% -6% -3%); }
.wrap p { margin: 3vh auto 0; max-width: 40ch; font-size: clamp(15px, 1.2vw, 20px); line-height: 1.45; color: var(--mute); }
.wrap .ctas { justify-content: center; margin-top: 3vh; }
/* the clap: bars slam shut, hold a beat, then open on the line — text snaps in while they're closed */
.wrap.in .wrap__bar { animation: clap 1.05s cubic-bezier(.8,0,.2,1) forwards; }
.wrap.in .wrap__bar--b { animation-delay: .04s; }
@keyframes clap { 0% { transform: scaleY(0); } 26%, 42% { transform: scaleY(1); } 100% { transform: scaleY(0); } }
.wrap.in .wrap__in { animation: wrapIn .01s .34s forwards; }
@keyframes wrapIn { to { opacity: 1; } }
.wrap.in h2 span { animation: wrapLine .5s cubic-bezier(.2,.9,.25,1) .5s both; }
.wrap.in h2 span:nth-child(2) { animation-delay: .58s; }
@keyframes wrapLine { from { clip-path: inset(-6% 102% -6% -3%); transform: translateX(-3%) skewX(-6deg); } to { clip-path: inset(-6% -3% -6% -3%); transform: none; } }
.wrap.in .wrap__in > :not(h2) { animation: fadeUp .5s cubic-bezier(.2,.9,.25,1) .7s both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.foot__row {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 28px;
  padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap;
  text-align: left;
}
.foot__right { display: flex; align-items: center; gap: 22px; }
.foot__contact { display: flex; flex-direction: column; gap: 8px; }
.foot__mail { font-size: clamp(18px, 2vw, 34px); font-weight: 800; letter-spacing: -0.03em; }
.foot__mail:hover { color: var(--pink); }
.foot__meta { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.rewind {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px; border: 1px solid var(--line); border-radius: 999px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  transition: border-color .25s, color .25s;
}
.rewind i { font-style: normal; color: var(--cyan); font-size: 10px; }
.rewind:hover { border-color: var(--ink); color: var(--cyan); }
.foot__logo { height: 18px; width: auto; opacity: .9; }

/* ───────────── scroll shimmer ─────────────
   --sv    signed scroll velocity −1..1 (down = +)   → cyan / pink chromatic split, flips with direction
   --shim  0..1, |velocity| smoothed                  → how visible the split and the sheen are
   --sx    sheen band position (%)                    → sweeps across the title with scroll, reversible
   app.js clones each title's glyphs into four .sh copies at boot. Everything below is transform /
   opacity / clip-path on promoted layers — the copies are rasterized once and never repainted. */
:root { --sv: 0; --shim: 0; --sx: -40%; }
.shine { position: relative; --split: calc(var(--sv) * 18px); text-shadow: 0 8px 28px rgba(0, 0, 0, .45); }
.head__line > span.shine, .wrap h2 span.shine, .work__head h2.shine { text-shadow: none; }
.sh {
  position: absolute; inset: 0; pointer-events: none; user-select: none;
  text-shadow: none; will-change: transform, opacity;
  opacity: var(--shim);
}
.sh--c { z-index: -1; color: var(--cyan); transform: translate3d(var(--split), 0, 0); }
.sh--p { z-index: -1; color: var(--pink); transform: translate3d(calc(-1 * var(--split)), 0, 0); }
/* sheen: two slanted slits of a bright copy — a wide soft-ish tint and a narrow hot core */
.sh--s1 {
  color: rgba(90, 195, 233, .55);
  clip-path: polygon(calc(var(--sx) - 16%) 0, calc(var(--sx) + 6%) 0, calc(var(--sx) - 8%) 100%, calc(var(--sx) - 30%) 100%);
}
.sh--s2 {
  color: #fff;
  clip-path: polygon(calc(var(--sx) - 7%) 0, calc(var(--sx) + 1%) 0, calc(var(--sx) - 13%) 100%, calc(var(--sx) - 21%) 100%);
}

/* scroll reveals below the hero */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.index li.reveal { transition-delay: calc(var(--i, 0) * 60ms); }

/* ───────────── small screens ───────────── */
@media (max-width: 860px) {
  :root { --nav-h: 60px; }
  .hero { height: 800vh; }
  .nav__links { display: none; }
  .logo__word { display: none; }
  .nav__cta { white-space: nowrap; font-size: 12px; padding: 8px 5px 8px 13px; }
  .nav__cta i { width: 24px; height: 24px; }
  .head { font-size: 13.5vw; left: 5vw; bottom: 17vh; }
  .intro { left: 5vw; right: auto; bottom: 8.5vh; max-width: 84vw; align-items: flex-start; text-align: left; }
  .intro__line { font-size: 14px; }
  .hud--bl, .hud--br { bottom: 18px; }
  .outro { width: 88vw; left: 6vw; top: 10vh; transform: none; }
  .outro h2 { font-size: 14vw; }
  .outro p { margin-top: 16px; font-size: 14px; }
  .outro .ctas { margin-top: 16px; }
  .stats { top: auto; bottom: 26vh; transform: none; padding: 16px 40px 16px var(--gutter); }
  .stats li { padding: 8px 0 10px; min-width: 140px; }
  .stats b { font-size: 9vw; }
  .cue { display: none; }
  .behind__track span { font-size: 22vw; }
  .behind__in { top: 50vh; }
  .cam--a { display: none; }
  .cam img { height: 76vh; }
  .cam--b { right: -30vw; bottom: -34vh; }
  .light { display: none; }
  .line--room b { font-size: 15vw; }
  .line--arena .wipe--big b { font-size: 30vw; }
  .lift i { width: 42vw; height: 20vw; }
  .line--action b { font-size: 34vw; }
  .line--angle b { font-size: 16vw; }
  .line--angle { bottom: 12vh; }
  .work__head, .studio__grid { grid-template-columns: 1fr; }
  .index li { grid-template-columns: 48px 1fr; }
  .index__c, .index__y { grid-column: 2; }
  .wrap { padding-bottom: 22vh; }
  .wrap h2 { font-size: min(20vw, 14vh); }
  .foot__row { bottom: 18px; gap: 14px; }
  .foot__logo { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .grain, .cue i::after, .marquee__track, .behind__track { animation: none; }
  .sh { display: none !important; }
  .ready .shutter, .ready .cast, .ready .behind, .ready .prop__in, .ready .head__line > span, .ready .intro > *, .ready .cue > *, .ready .hud, .nav__bar { animation-duration: .01s; animation-delay: 0s; }
}
