/* ==========================================================================
   Biopic Studio — "Your life, as a film."
   ========================================================================== */
:root {
  --ink: #0a0908;
  --ink-2: #131110;
  --ink-3: #1c1916;
  --ivory: #f4efe6;
  --screen: #fef7db;
  --mute: #908979;
  --line: rgba(244, 239, 230, 0.13);
  --gold: #ffc23d;
  --red: #ff4532;
  --f-title: "Anton", "Impact", sans-serif;
  --f-body: "Inter Tight", system-ui, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --lb: 0px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html.lenis, html.lenis body { height: auto; }
body { background: var(--ink); color: var(--ivory); font-family: var(--f-body); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.is-loading { overflow: hidden; height: 100vh; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; background: none; border: 0; }
::selection { background: var(--gold); color: var(--ink); }
.mono { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.09em; text-transform: uppercase; }
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; text-transform: none; }
.gold { color: var(--gold); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.rec { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); animation: rec 1.1s steps(2) infinite; vertical-align: 1px; }
@keyframes rec { 50% { opacity: 0.25; } }
.kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--mute); }
.char, .word { display: inline-block; }

/* ---------- film texture ---------- */
.grain { position: fixed; inset: -50%; width: 200%; height: 200%; pointer-events: none; z-index: 90; opacity: 0.085;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 0.8s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-5%, 3%); } 50% { transform: translate(4%, -4%); } 75% { transform: translate(-3%, -6%); } 100% { transform: translate(0, 0); } }
.vignette { position: fixed; inset: 0; pointer-events: none; z-index: 89; background: radial-gradient(120% 90% at 50% 50%, transparent 60%, rgba(0, 0, 0, 0.55) 100%); }
.lb { position: fixed; left: 0; right: 0; height: var(--lb); background: #000; z-index: 70; pointer-events: none; }
.lb--top { top: 0; } .lb--bot { bottom: 0; }

/* ---------- cursor ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 100; pointer-events: none; mix-blend-mode: difference; }
.cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor__dot { width: 6px; height: 6px; background: #fff; }
.cursor__ring { width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, 0.6); display: grid; place-items: center; transition: width 0.45s var(--ease), height 0.45s var(--ease), background 0.3s; }
.cursor__label { font: 500 10px var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: #000; opacity: 0; transition: opacity 0.2s; }
.cursor.is-hover .cursor__ring { width: 86px; height: 86px; background: #fff; }
.cursor.is-hover .cursor__label { opacity: 1; }
.cursor.is-hover .cursor__dot { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- 00 leader ---------- */
.leader { position: fixed; inset: 0; z-index: 95; background: #24211c; display: grid; place-items: center; overflow: hidden; }
.leader__circle { position: relative; width: min(62vmin, 520px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #3a362f; }
.leader__sweep { position: absolute; inset: 0; background: conic-gradient(rgba(255, 255, 255, 0.16) 0deg, rgba(255, 255, 255, 0.16) var(--a, 0deg), transparent var(--a, 0deg)); }
.leader__ring { position: absolute; border-radius: 50%; border: 3px solid rgba(244, 239, 230, 0.75); }
.leader__ring--a { inset: 6%; } .leader__ring--b { inset: 14%; border-width: 2px; }
.leader__cross { position: absolute; background: rgba(244, 239, 230, 0.55); }
.leader__cross--h { left: 0; right: 0; top: 50%; height: 2px; }
.leader__cross--v { top: 0; bottom: 0; left: 50%; width: 2px; }
.leader__num { position: absolute; inset: 0; display: grid; place-items: center; font: 400 min(40vmin, 340px)/1 var(--f-title); color: #f4efe6; text-shadow: 0 0 30px rgba(0, 0, 0, 0.4); }
.leader__scratches i { position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(255, 255, 255, 0.35); animation: scratch 0.4s steps(3) infinite; }
.leader__scratches i:nth-child(1) { left: 22%; } .leader__scratches i:nth-child(2) { left: 61%; animation-delay: -0.15s; } .leader__scratches i:nth-child(3) { left: 83%; animation-delay: -0.3s; width: 2px; }
@keyframes scratch { 0% { transform: translateX(0); opacity: 0.6; } 33% { transform: translateX(-14px); opacity: 0; } 66% { transform: translateX(9px); opacity: 0.4; } 100% { transform: translateX(3px); opacity: 0.1; } }
.leader__meta { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 28px; display: flex; justify-content: space-between; color: rgba(244, 239, 230, 0.6); }
.leader__flash { position: absolute; inset: 0; background: #fff8e8; opacity: 0; pointer-events: none; }

/* ---------- nav + hud ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 80; display: flex; align-items: center; justify-content: space-between; padding: 18px var(--gutter); mix-blend-mode: difference; color: #fff; }
.nav__logo { display: flex; align-items: center; gap: 10px; }
.nav__logo b { font: 400 22px/1 var(--f-title); letter-spacing: 0.06em; }
.nav__links { display: flex; gap: 30px; }
.nav__links a { position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { font: 600 14px var(--f-body); padding: 10px 18px; border: 1px solid currentColor; border-radius: 999px; transition: background 0.3s, color 0.3s; }
.nav__cta:hover { background: #fff; color: #000; }
.hud { position: fixed; left: var(--gutter); right: var(--gutter); bottom: 22px; z-index: 80; display: flex; justify-content: space-between; color: #fff; mix-blend-mode: difference; pointer-events: none; }
.hud__reel { display: inline-flex; align-items: center; gap: 10px; }
.hud__tc { font-variant-numeric: tabular-nums; }

/* ---------- 01 hero: the cinema ---------- */
.hero { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: #000; }
.hero__frame { position: absolute; left: 50%; top: 50%; width: max(100vw, 150vh); aspect-ratio: 3 / 2; will-change: transform; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; }
.hero__beam {
  position: absolute; left: 30%; top: -6%; width: 40%; height: 34%; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(60% 100% at 50% 0%, rgba(255, 236, 200, 0.22), transparent 70%);
  animation: beam 0.14s steps(2) infinite;
}
@keyframes beam { 50% { opacity: 0.82; } }
.screen { position: absolute; left: 23.89%; top: 22.66%; width: 52.35%; height: 33.39%; container-type: size; display: grid; place-items: center; overflow: hidden; }
.screen__glow { position: absolute; inset: 0; background: radial-gradient(70% 80% at 50% 50%, rgba(255, 250, 235, 0.5), transparent 75%); mix-blend-mode: soft-light; animation: flick 3s infinite; }
@keyframes flick { 0%, 100% { opacity: 1; } 47% { opacity: 0.85; } 49% { opacity: 1; } 71% { opacity: 0.9; } }
.screen__card, .screen__title { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #2a1a0e; mix-blend-mode: multiply; }
.screen__card { gap: 2cqh; opacity: 0; }
.screen__card .mono { font-size: max(9px, 4.2cqh); letter-spacing: 0.3em; }
.screen__card .serif { font-size: 15cqh; line-height: 1; }
.screen__card b { font: 400 34cqh/0.9 var(--f-title); letter-spacing: 0.02em; }
.screen__title { font: 400 min(43cqh, 15cqw)/0.88 var(--f-title); letter-spacing: 0.01em; filter: blur(0.25px); }
.screen__line { display: block; overflow: hidden; padding: 0 0.04em; }
.screen__line .char { will-change: transform; }

.hero__ui { position: absolute; left: 0; right: 0; bottom: max(7vh, 70px); z-index: 4; display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 0 var(--gutter); text-align: center; }
.hero__sub { max-width: 46ch; font-size: clamp(16px, 1.5vw, 21px); line-height: 1.4; color: rgba(244, 239, 230, 0.9); text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8); }
.hero__sub em { color: var(--gold); font-size: 1.12em; }
.claim-pill {
  display: flex; align-items: center; gap: 12px; padding: 7px 7px 7px 20px; border-radius: 999px;
  background: rgba(14, 11, 9, 0.62); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid rgba(255, 194, 61, 0.35); box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.9), 0 0 0 6px rgba(255, 194, 61, 0.05);
}
.claim-pill__k { color: var(--gold); }
.claim-pill input { width: 150px; font-size: 18px; font-weight: 600; outline: none; caret-color: var(--gold); }
.claim-pill input::placeholder { color: rgba(244, 239, 230, 0.4); }
.claim-pill__url { color: var(--mute); white-space: nowrap; }
.claim-pill__url b { color: var(--ivory); font-weight: 500; }
.claim-pill__go { cursor: pointer; padding: 12px 20px; border-radius: 999px; background: var(--gold); color: var(--ink); font-weight: 700; white-space: nowrap; transition: scale 0.4s var(--ease), background 0.3s; }
.claim-pill__go:hover { scale: 1.05; background: #ffd36e; }
.hero__watch { display: inline-flex; align-items: center; gap: 10px; color: rgba(244, 239, 230, 0.75); }
.play { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid currentColor; font-size: 8px; padding-left: 2px; }

/* ---------- 02 pitch: on the screen ---------- */
.pitch { position: relative; background: var(--screen); color: #1b1209; }
.pitch__pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.pitch__flicker { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(80% 70% at 50% 45%, transparent 55%, rgba(80, 50, 20, 0.22)); animation: flick 2.4s infinite; }
.pk { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font: 400 clamp(56px, 10.5vw, 196px)/0.9 var(--f-title); letter-spacing: 0.005em; text-transform: uppercase; }
.pk__l { display: block; overflow: hidden; padding: 0.02em 0.06em; }
.pk em { font-size: 1.18em; text-transform: none; line-height: 0.9; padding: 0 0.04em; }
.pk--3 { font-size: clamp(54px, 9.4vw, 176px); }
.strike { position: relative; display: inline-block; }
.strike svg { position: absolute; left: -4%; top: 34%; width: 108%; height: 34%; overflow: visible; }
.strike path { fill: none; stroke: var(--red); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 340; stroke-dashoffset: 340; vector-effect: non-scaling-stroke; }
.flashes { position: absolute; inset: 0; pointer-events: none; }
.flash { position: absolute; width: 260px; height: 260px; margin: -130px 0 0 -130px; border-radius: 50%; background: radial-gradient(circle, #fff 0%, rgba(255, 250, 230, 0.85) 18%, rgba(255, 240, 200, 0) 62%); mix-blend-mode: screen; opacity: 0; }
.flash::before, .flash::after { content: ""; position: absolute; left: 50%; top: 50%; width: 240%; height: 3px; background: linear-gradient(90deg, transparent, #fff, transparent); transform: translate(-50%, -50%) rotate(20deg); }
.flash::after { transform: translate(-50%, -50%) rotate(-70deg); }

/* ---------- 03 the first premiere ---------- */
.premiere { position: relative; background: var(--ink); }
.premiere__pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; padding: 86px var(--gutter) 64px; }
.premiere__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 6px 24px; }
.premiere__head .kicker { grid-column: 1 / -1; }
.premiere__title { font: 400 clamp(40px, 6vw, 104px)/0.9 var(--f-title); text-transform: uppercase; }
.premiere__title em { text-transform: none; font-size: 1.15em; }
.url-chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(255, 194, 61, 0.5); color: var(--gold); transition: background 0.3s, color 0.3s; }
.url-chip:hover { background: var(--gold); color: var(--ink); }
.theatre { position: relative; display: grid; place-items: center; perspective: 1800px; min-height: 0; }
.theatre__beam { position: absolute; left: 50%; top: -30%; width: 70%; height: 130%; transform: translateX(-50%); pointer-events: none;
  background: conic-gradient(from 180deg at 50% 0%, transparent 154deg, rgba(255, 230, 190, 0.09) 170deg, rgba(255, 236, 205, 0.16) 180deg, rgba(255, 230, 190, 0.09) 190deg, transparent 206deg);
  filter: blur(6px); animation: beam 0.16s steps(2) infinite; }
.pscreen {
  position: relative; width: min(100%, calc((100vh - 290px) * 1.6), 1180px); aspect-ratio: 16 / 10;
  border-radius: 6px; overflow: hidden; background: #000;
  box-shadow: 0 0 0 10px #050404, 0 0 120px 20px rgba(255, 214, 160, 0.16), 0 60px 120px -40px rgba(0, 0, 0, 0.9);
  transform: rotateX(4deg); transform-origin: 50% 100%;
}
.pscreen__frames { position: absolute; inset: 0; }
.pscreen__frames img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; will-change: opacity, transform; }
.pscreen__frames img:first-child { opacity: 1; }
.pscreen__sub { position: absolute; left: 50%; bottom: 7%; transform: translateX(-50%); max-width: 80%; padding: 6px 14px; text-align: center; font: 600 clamp(14px, 1.4vw, 22px)/1.3 var(--f-body); color: #ffe066; text-shadow: 0 2px 0 #000, 0 0 12px rgba(0, 0, 0, 0.9); }
.pscreen__count { position: absolute; top: 14px; right: 16px; color: rgba(255, 255, 255, 0.8); text-shadow: 0 1px 6px #000; }
.theatre__seats { position: absolute; left: -10%; right: -10%; bottom: -64px; height: 22%; pointer-events: none;
  background: url("../assets/gen/hero-cinema.webp") center 100% / 120% auto no-repeat; -webkit-mask-image: linear-gradient(transparent, #000 45%); mask-image: linear-gradient(transparent, #000 45%); opacity: 0.85; }
.reelmeter { display: flex; align-items: center; gap: 14px; color: var(--mute); padding-top: 18px; position: relative; z-index: 2; }
.reelmeter__reel { width: 34px; height: 34px; flex: 0 0 auto; }
.reelmeter__reel circle { fill: none; stroke: var(--gold); stroke-width: 1.6; }

/* ---------- 04 the film strip ---------- */
.reel { position: relative; background: var(--ink-2); }
.reel__pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.strip { position: relative; width: 100%; height: min(74vh, 640px); background: #070606; will-change: transform; }
.strip::before, .strip::after {
  content: ""; position: absolute; left: 0; right: 0; height: 38px; z-index: 3; pointer-events: none;
  background: #070606 repeating-linear-gradient(90deg, transparent 0 18px, #d9d0bf 18px 40px, transparent 40px 58px) 0 50% / 58px 16px repeat-x;
  background-position: var(--sp, 0px) 50%;
}
.strip::before { top: 0; } .strip::after { bottom: 0; }
.strip__track { position: absolute; top: 38px; bottom: 38px; left: 0; display: flex; gap: 14px; padding: 0 7vw; will-change: transform; }
.frame { position: relative; flex: 0 0 auto; width: min(76vw, 1100px); height: 100%; background: #14110f; border-radius: 4px; overflow: hidden; display: grid; grid-template-columns: 1.15fr 0.85fr; }
.frame .edge { position: absolute; left: 14px; top: 10px; color: #d9a43a; opacity: 0.8; font-size: 10px; z-index: 3; }
.frame--title { grid-template-columns: 1fr; align-content: center; padding: 0 6%; background: radial-gradient(70% 90% at 30% 50%, #2a1f16, #14110f); }
.frame__big { font: 400 clamp(56px, 7vw, 130px)/0.86 var(--f-title); text-transform: uppercase; white-space: nowrap; }
.frame__big em { text-transform: none; font-size: 1.12em; }
.frame__p { margin-top: 26px; max-width: 34ch; font-size: clamp(17px, 1.5vw, 22px); color: rgba(244, 239, 230, 0.8); }
.frame__demo { position: relative; overflow: hidden; background: #0d0b0a; }
.frame__copy { display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 0 9% 0 7%; }
.frame__copy .mono { color: var(--gold); }
.frame__copy h3 { font: 400 clamp(34px, 3.8vw, 68px)/0.92 var(--f-title); text-transform: uppercase; }
.frame__copy h3 em { text-transform: none; color: var(--gold); font-size: 1.12em; }
.frame__copy p { color: rgba(244, 239, 230, 0.74); font-size: 17px; max-width: 32ch; }
.demo-particles canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.demo-hint { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); color: rgba(244, 239, 230, 0.55); }
.demo-tiny { display: grid; grid-template-columns: 1fr 1fr; align-items: center; background: radial-gradient(80% 80% at 70% 60%, #3a2516, #0d0b0a); }
.tiny__sheet { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0 0 0 10%; }
.tiny__sheet span { aspect-ratio: 3 / 4; border-radius: 6px; background: rgba(244, 239, 230, 0.06); display: grid; place-items: end center; overflow: hidden; transition: background 0.3s, box-shadow 0.3s; }
.tiny__sheet span.is-on { background: rgba(255, 194, 61, 0.2); box-shadow: inset 0 0 0 1px var(--gold); }
.tiny__sheet img { height: 92%; width: auto; object-fit: contain; }
.tiny__star { display: grid; place-items: end center; height: 86%; align-self: end; }
.tiny__star img { height: 100%; width: auto; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.6)); transform-origin: 50% 100%; }
.demo-level { background: #0d0c22; }
.level__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.level__walker { position: absolute; left: 0; top: 0; height: 30%; width: auto; transform-origin: 50% 100%; pointer-events: none; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.5)); }
.level__hud { position: absolute; right: 16px; top: 14px; color: var(--ivory); }
.level__hud b { color: var(--gold); font-weight: 500; }
.demo-live { perspective: 1400px; display: grid; place-items: center; background: radial-gradient(80% 80% at 50% 60%, #1c2a22, #0d0b0a); }
.mini-browser { width: 84%; border-radius: 10px; overflow: hidden; background: #1c1c22; transform: rotateY(-16deg) rotateX(7deg); box-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08); }
.mini-browser__bar { display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; }
.mini-browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.mini-browser__bar i:nth-child(2) { background: #febc2e; } .mini-browser__bar i:nth-child(3) { background: #28c840; }
.mini-browser__bar span { margin: 0 auto; font-size: 9px; color: rgba(255, 255, 255, 0.6); }
.mini-browser__screen, .mini-phone__screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #fff; }
.mini-browser__screen img, .mini-phone__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; opacity: 0; transition: opacity 0.7s; }
.mini-browser__screen img.is-on, .mini-phone__screen img.is-on { opacity: 1; }
.mini-phone { position: absolute; right: 8%; bottom: 8%; width: 22%; padding: 5px; border-radius: 18px; background: #0b0b0e; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8); transform: rotate(5deg) translateZ(80px); }
.mini-phone__screen { aspect-ratio: 390 / 844; border-radius: 14px; }

/* ---------- 05 how it's made ---------- */
.made { position: relative; background: var(--ink); padding: 140px var(--gutter) 120px; }
.made__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(30px, 6vw, 110px); }
.made__left { position: sticky; top: 90px; align-self: start; display: flex; flex-direction: column; gap: 22px; }
.made__title { font: 400 clamp(46px, 6vw, 110px)/0.9 var(--f-title); text-transform: uppercase; }
.made__title em { text-transform: none; font-size: 1.12em; }
.clap { position: relative; width: min(100%, 440px); margin-top: 26px; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.6)); }
.clap__arm, .clap__hinge { display: flex; height: 54px; background: #111; overflow: hidden; border-radius: 4px 4px 0 0; }
.clap__arm { position: relative; z-index: 2; transform-origin: 3% 100%; transform: rotate(-24deg); }
.clap__arm i, .clap__hinge i { flex: 1; background: linear-gradient(90deg, #f4efe6 50%, #111 50%); transform: skewX(-28deg); margin: 0 -1px; }
.clap__hinge { height: 40px; border-radius: 0; }
.clap__hinge i { transform: skewX(28deg); }
.clap__slate { background: #171513; border: 3px solid #f4efe6; border-top: 0; padding: 18px 20px; display: grid; gap: 14px; color: #f4efe6; }
.clap__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-bottom: 1px solid rgba(244, 239, 230, 0.25); padding-bottom: 10px; }
.clap__row span { color: rgba(244, 239, 230, 0.55); font-size: 10px; }
.clap__row b { font: 400 22px var(--f-title); letter-spacing: 0.04em; }
.clap__row--3 { display: grid; grid-template-columns: repeat(3, 1fr); }
.clap__row--3 div { display: grid; gap: 4px; }
.clap__row--3 b { font-size: 46px; line-height: 1; }
.made__steps { list-style: none; display: grid; gap: 22vh; padding: 10vh 0 20vh; }
.step { display: grid; gap: 14px; opacity: 0.3; transition: opacity 0.6s; }
.step.is-on { opacity: 1; }
.step__img { position: relative; aspect-ratio: 3 / 2; border-radius: 10px; overflow: hidden; background: #1a1714; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9); }
.step__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.step__n { color: var(--gold); margin-top: 10px; }
.step h3 { font: 400 clamp(30px, 3vw, 54px)/0.95 var(--f-title); text-transform: uppercase; }
.step p { color: rgba(244, 239, 230, 0.72); font-size: 18px; max-width: 42ch; }
.step__img--cast { background: radial-gradient(90% 90% at 50% 40%, #f6ead2, #d9c8a8); display: grid; place-items: center; }
.castsheet { display: grid; grid-template-columns: repeat(9, 1fr); align-items: end; gap: 0.6%; width: 94%; height: 70%; }
.castsheet img { width: 100%; height: auto; max-height: 100%; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(60, 40, 20, 0.35)); }
.castsheet__tag { position: absolute; left: 16px; top: 14px; color: #6b5536; }

/* ---------- 06 every story ---------- */
.story { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; background: #000; }
.story__frame { position: absolute; left: 50%; top: 50%; width: max(100vw, 150vh); aspect-ratio: 3 / 2; transform: translate(-50%, -50%); }
.story__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.board { position: absolute; left: 23.5%; top: 12.6%; width: 68%; height: 13.6%; transform: rotate(-2.6deg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.4vw; color: #1c1209; mix-blend-mode: multiply; }
.board__top { font-size: max(9px, 0.75vw); letter-spacing: 0.5em; }
.board__name { display: flex; gap: 0.25vw; font: 400 clamp(26px, 5.2vw, 110px)/1 var(--f-title); letter-spacing: 0.04em; perspective: 600px; }
.board__name .tile { display: inline-block; min-width: 0.62em; text-align: center; transform-origin: 50% 50%; backface-visibility: hidden; }
.story__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 45%), linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.5) 66%, rgba(0, 0, 0, 0.92) 100%); }
.story__copy { position: absolute; left: var(--gutter); top: 30vh; z-index: 3; display: grid; gap: 14px; }
.story__title { font: 400 clamp(40px, 5.2vw, 96px)/0.9 var(--f-title); text-transform: uppercase; text-shadow: 0 6px 40px rgba(0, 0, 0, 0.8); }
.story__title em { text-transform: none; font-size: 1.15em; }
.carpet { position: absolute; left: 0; right: 0; bottom: 19vh; height: 25vh; z-index: 4; pointer-events: none; }
.carpet img { position: absolute; bottom: 0; left: 0; height: 100%; width: auto; transform-origin: 50% 100%; filter: drop-shadow(0 16px 20px rgba(0, 0, 0, 0.7)); will-change: transform; }
.carpet__note { position: absolute; left: var(--gutter); bottom: calc(19vh + 25vh + 6px); z-index: 3; color: rgba(244, 239, 230, 0.55); }
.roles { position: absolute; left: 0; right: 0; bottom: 4vh; z-index: 3; display: grid; gap: 0; overflow: hidden; }
.roles__row { white-space: nowrap; }
.roles__in { display: inline-block; font: 400 clamp(30px, 4.2vw, 76px)/1 var(--f-title); letter-spacing: 0.02em; will-change: transform; }
.roles__in i { font-style: normal; color: var(--gold); font-size: 0.5em; vertical-align: 0.4em; margin: 0 0.3em; }
.roles__row[data-dir="-1"] .roles__in { color: transparent; -webkit-text-stroke: 1px rgba(244, 239, 230, 0.55); }

/* ---------- 07 claim ---------- */
.claim { position: relative; min-height: 100vh; background: radial-gradient(70% 60% at 50% 60%, #2a1d10, var(--ink) 70%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; padding: 120px var(--gutter); text-align: center; }
.claim__title { font: 400 clamp(56px, 9vw, 170px)/0.88 var(--f-title); text-transform: uppercase; }
.claim__title em { text-transform: none; font-size: 1.15em; }
.claim__form { display: flex; flex-direction: column; align-items: center; gap: 26px; width: 100%; }
.claim__url { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 0; font: 400 clamp(38px, 6.4vw, 120px)/1 var(--f-title); letter-spacing: 0.01em; cursor: text; }
.claim__input-wrap { position: relative; display: inline-flex; }
.claim__url input { width: 7ch; min-width: 2ch; text-align: right; color: var(--gold); outline: none; caret-color: transparent; text-transform: lowercase; font: inherit; }
.claim__url input::placeholder { color: rgba(255, 194, 61, 0.35); }
.claim__caret { position: absolute; right: -0.08em; top: 8%; width: 0.06em; height: 84%; background: var(--gold); animation: caret 1s steps(2) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.claim__tld { color: var(--ivory); }
.claim__go { cursor: pointer; display: inline-flex; align-items: center; gap: 14px; padding: 22px 34px; border-radius: 999px; background: var(--gold); color: var(--ink); font-weight: 700; font-size: clamp(16px, 1.4vw, 21px); box-shadow: 0 0 0 0 rgba(255, 194, 61, 0.5); animation: glowpulse 2.4s infinite; transition: scale 0.4s var(--ease); }
.claim__go:hover { scale: 1.06; }
@keyframes glowpulse { 0% { box-shadow: 0 0 0 0 rgba(255, 194, 61, 0.45); } 100% { box-shadow: 0 0 0 26px rgba(255, 194, 61, 0); } }
.claim__note { color: var(--mute); }

/* ---------- 08 credits ---------- */
.credits { position: relative; background: #000; }
.credits__pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.credits__roll { position: absolute; left: 50%; top: 100%; transform: translateX(-50%); width: min(92vw, 640px); display: flex; flex-direction: column; align-items: center; gap: 30px; text-align: center; padding-bottom: 40vh; }
.cr--big { font: 400 clamp(40px, 6vw, 92px)/1 var(--f-title); letter-spacing: 0.08em; }
.cr--small { font-size: clamp(22px, 2vw, 32px); color: rgba(244, 239, 230, 0.7); }
.cr--title { font: 400 clamp(28px, 3.6vw, 56px)/1 var(--f-title); letter-spacing: 0.1em; color: var(--gold); margin: 30px 0; }
.cr__pair { display: grid; gap: 6px; }
.cr__pair span { font: 500 11px var(--f-mono); letter-spacing: 0.24em; text-transform: uppercase; color: var(--mute); }
.cr__pair b { font: 400 clamp(24px, 2.6vw, 40px)/1.05 var(--f-title); letter-spacing: 0.06em; text-transform: uppercase; }
.cr--end { margin-top: 18vh; font: 400 clamp(70px, 12vw, 220px)/0.9 var(--f-title); letter-spacing: 0.04em; }
.footer { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 20px; padding: 22px var(--gutter) 70px; border-top: 1px solid var(--line); color: var(--mute); background: #000; }
.footer a:hover { color: var(--gold); }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 96; transform: translate(-50%, 220%); opacity: 0; background: var(--gold); color: var(--ink); padding: 12px 18px; border-radius: 999px; transition: transform 0.6s var(--ease), opacity 0.4s; font-weight: 600; }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }
.confetti { position: fixed; left: 0; top: 0; z-index: 97; width: 8px; height: 12px; border-radius: 2px; pointer-events: none; }

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  .nav__links { display: none; }
  .nav__cta { padding: 8px 14px; font-size: 13px; }
  .claim-pill { flex-wrap: wrap; justify-content: center; border-radius: 22px; padding: 12px; gap: 8px; }
  .claim-pill input { width: 120px; }
  .claim-pill__url { width: 100%; order: 3; }
  .claim-pill__go { width: 100%; order: 4; }
  .premiere__head { grid-template-columns: 1fr; }
  .pscreen { width: 100%; }
  .frame { width: 86vw; grid-template-columns: 1fr; grid-template-rows: 1.1fr 0.9fr; }
  .frame--title { grid-template-rows: 1fr; }
  .frame__copy { padding: 6% 7%; gap: 10px; }
  .frame__copy p { font-size: 14px; }
  .made__grid { grid-template-columns: 1fr; }
  .made__left { position: relative; top: 0; }
  .clap { width: 78%; }
  .made__steps { gap: 12vh; padding-top: 4vh; }
  .board__top { font-size: 7px; }
  .story__copy { top: 22vh; }
  .carpet { height: 17vh; bottom: 17vh; }
  .carpet__note { bottom: calc(17vh + 17vh + 6px); }
  .footer { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .grain, .rec, .hero__beam, .screen__glow, .pitch__flicker, .theatre__beam, .claim__go, .claim__caret { animation: none !important; }
}

/* ---------- camera + white-out ---------- */
.hero__cam { position: absolute; inset: 0; }
.hero__whiteout { position: absolute; inset: 0; z-index: 6; background: var(--screen); opacity: 0; pointer-events: none; }

/* ---------- the director's cameo ---------- */
.cameo { position: fixed; inset: 0; z-index: 75; pointer-events: none; opacity: 0; transition: opacity 0.6s; }
.cameo.is-on { opacity: 1; }
.cameo__body { position: absolute; left: 0; top: 0; will-change: transform; }
.cameo__shadow { position: absolute; left: 0; top: 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, 0.55), transparent); transform: translate(-50%, -50%); }
.cameo__rig, .cameo__flip { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.cameo__rig { will-change: transform; }
.cameo__flip img { position: absolute; max-width: none; height: auto; opacity: 0; visibility: hidden; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.4)); user-select: none; }
.cameo__flip img.is-on { opacity: 1; visibility: visible; }
.cameo__hit { position: absolute; pointer-events: auto; cursor: pointer; }
.cameo__puff { position: absolute; left: 0; top: 0; width: 30px; height: 14px; margin: -10px 0 0 -15px; border-radius: 50%; background: radial-gradient(closest-side, rgba(220, 205, 180, 0.55), transparent); }
.cameo__bubble { position: absolute; left: 0; top: 0; max-width: min(260px, 70vw); padding: 12px 16px 13px; border-radius: 18px; background: var(--ivory); color: var(--ink); font: 500 15px/1.35 var(--f-body); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.6); opacity: 0; transform-origin: 50% 100%; transition: opacity 0.35s, background 0.4s, color 0.4s; }
.cameo__bubble.is-on { opacity: 1; }
.cameo__bubble.is-ink { background: var(--ink); color: var(--ivory); }
.cameo__bubble p { min-height: 1.35em; }
.cameo__bubble i { position: absolute; bottom: -7px; width: 14px; height: 14px; background: inherit; transform: rotate(45deg); border-radius: 0 0 3px 0; }
@media (max-width: 820px) { .cameo__bubble { font-size: 13px; max-width: min(210px, 62vw); } }
.lv-coin { transition: opacity 0.3s, transform 0.4s; }

/* nav WhatsApp + claim tweaks */
.nav__right { display: flex; align-items: center; gap: 10px; }
.nav__wa { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid currentColor; transition: background 0.3s, color 0.3s; }
.nav__wa svg { width: 19px; height: 19px; fill: currentColor; }
.nav__wa:hover { background: #fff; color: #000; }
.claim__wa { width: 24px; height: 24px; fill: currentColor; }
.claim__go { background: #25d366; color: #062a17; animation-name: waglow; }
@keyframes waglow { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); } 100% { box-shadow: 0 0 0 26px rgba(37, 211, 102, 0); } }
.claim__note a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.claim .share-btn { margin-top: 6px; color: var(--ivory); }
:root { --ss-acc: #ffc23d; --ss-bg: #15120f; }
