/* Reel Studio cover, final (2026-11-29). Dark, technical, minimal: one film strip in 3D that the page flies along as
   you scroll. Type: Geist (interface and display), Geist Mono (measurements, labels), Instrument Serif italic (a few
   accent words). One accent colour, a signal orange, for whatever is live; white lines for structure. */
:root {
  --bg: #050506;
  --ink: #F3F2EE;
  --ink-2: #B9BCC3;
  --ink-3: #8A8F99;
  --line: rgba(255, 255, 255, 0.12);
  --line-2: rgba(255, 255, 255, 0.22);
  --accent: #FF5A1F;
  --accent-ink: #FF8A5C;
  --ok: #4ADE80;
  --card: rgba(13, 14, 17, 0.9);
  --sans: "Geist", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --serif: "Instrument Serif", Georgia, serif;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --pad: clamp(20px, 3.2vw, 56px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
::selection { background: var(--accent); color: #fff; }

/* the page is only as tall as the film it drives; the stage stays put */
#scroll { height: 1000vh; }
#stage { position: fixed; inset: 0; z-index: 0; }
#gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#css3d { position: absolute; inset: 0; pointer-events: none; }
#css3d > div { pointer-events: none; }

/* film grain and the edge falloff, over everything 3D */
.grain { position: fixed; inset: -50%; z-index: 2; pointer-events: none; opacity: 0.055; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); animation: grain 0.9s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); } 60% { transform: translate(-4%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }
.vignette { position: fixed; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(0, 0, 0, 0.72) 100%); }

/* ---------- top bar ---------- */
.top { position: fixed; z-index: 20; top: 0; left: 0; right: 0; height: 72px; display: flex; align-items: center; gap: 36px; padding: 0 var(--pad); }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; letter-spacing: -0.02em; font-size: 17px; }
.logo b { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255, 90, 31, 0.18), 0 0 18px rgba(255, 90, 31, 0.6); animation: rec 2.4s ease-in-out infinite; }
@keyframes rec { 50% { opacity: 0.45; } }
.nav { display: flex; gap: 28px; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 14px; letter-spacing: 0.01em; transition: color 0.2s; }
.nav a:hover { color: var(--ink); }
.top__r { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 44px; padding: 0 20px; border-radius: 999px; font: 500 14px/1 var(--sans); letter-spacing: 0.01em; text-decoration: none; color: var(--ink); border: 1px solid var(--line-2); background: rgba(10, 10, 12, 0.66); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease); white-space: nowrap; overflow: hidden; }
.btn:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.4); }
.btn--accent { background: var(--accent); border-color: var(--accent); color: #0b0b0c; font-weight: 600; }
.btn--accent:hover { background: #FF6D38; border-color: #FF6D38; }
.btn--lg { height: 54px; padding: 0 26px; font-size: 16px; }
.btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:focus-visible, .nav a:focus-visible, .rail a:focus-visible, .logo:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; }

/* ---------- the road at the bottom: a film timeline whose playhead is your scroll ---------- */
.tl::before { content: ""; position: absolute; z-index: -1; left: calc(var(--pad) * -1); right: calc(var(--pad) * -1); bottom: -22px; height: 130px; background: linear-gradient(0deg, rgba(5, 5, 6, 0.94) 30%, rgba(5, 5, 6, 0)); pointer-events: none; }
.tl { position: fixed; z-index: 20; left: var(--pad); right: var(--pad); bottom: 22px; height: 54px; display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: end; font: 400 13px/1 var(--mono); letter-spacing: 0.06em; }
.tl__tc { display: flex; align-items: center; gap: 10px; color: var(--ink-3); padding-bottom: 8px; white-space: nowrap; }
.tl__tc b { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.tl__rec { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: rec 1.2s steps(2) infinite; }
.tl__road { position: relative; height: 100%; }
.tl__segs { position: absolute; left: 0; right: 0; bottom: 0; height: 40px; display: flex; }
.tl__seg { position: relative; flex: var(--w) 1 0; min-width: 0; padding: 0 0 14px 10px; color: var(--ink-2); text-decoration: none; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-left: 1px solid rgba(255, 255, 255, 0.22); display: flex; align-items: flex-end; transition: color 0.3s; }
.tl__seg span { color: rgba(255, 255, 255, 0.72); margin-right: 8px; transition: color 0.3s; }
.tl__seg:hover { color: var(--ink); }
.tl__seg.is-on { color: var(--ink); }
.tl__seg.is-on span { color: var(--accent-ink); }
.tl__seg--fork { border-left-color: rgba(255, 138, 92, 0.7); }
.tl__line { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(255, 255, 255, 0.22); }
.tl__line i { position: absolute; left: 0; top: 0; height: 1px; width: 0; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.tl__head { position: absolute; bottom: -5px; width: 11px; height: 11px; margin-left: -5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255, 90, 31, 0.22), 0 0 16px var(--accent); }
.tl__seg:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; }

/* ---------- the words for each chapter: a column on the left, the film on the right ---------- */
.copy { position: fixed; inset: 0; z-index: 10; pointer-events: none; }
.ch { position: absolute; left: var(--pad); top: 50%; width: min(470px, 33vw); opacity: 0; transform: translateY(-50%); will-change: opacity, transform; }
.ch.is-live { pointer-events: auto; }
.ch__k { display: inline-flex; align-items: center; gap: 10px; font: 500 13px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink); }
.ch__k::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.ch h2 { margin: 18px 0 0; font-weight: 500; font-size: clamp(36px, 3.6vw, 68px); line-height: 1; letter-spacing: -0.035em; text-wrap: balance; }
.ch h2 em, .hero h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--ink); }
.ch p { margin: 20px 0 0; font-size: 17px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.ch__go { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.ch__steps { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; font: 400 13px/1.3 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: #A3A8B1; }
.ch__steps li { display: grid; grid-template-columns: 34px 1fr; gap: 6px; }
.ch__steps li b { color: rgba(255, 255, 255, 0.55); font-weight: 400; }
.ch__steps li.is-on { color: var(--ink); }
.ch__steps li.is-on b { color: var(--accent-ink); }

/* the first screen: the promise, big, over the runway */
.hero { top: auto; bottom: clamp(128px, 24vh, 300px); width: min(1240px, 76vw); transform: none; }
.hero__k { font: 500 13px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); display: flex; gap: 14px; align-items: center; }
.hero__k b { color: #FFA684; font-weight: 500; }
.hero__k span { color: var(--ink-2); }
.hero h1 { margin: 22px 0 0; font-weight: 500; font-size: clamp(50px, 6.6vw, 124px); line-height: 0.92; letter-spacing: -0.05em; }
.hero h1 .ln { display: block; overflow: hidden; padding: 0.08em 0 0.1em; margin: -0.08em 0 -0.1em; }
.is-settled .hero h1 .ln { overflow: visible; }
.hero h1 .ln > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.is-ready .hero h1 .ln > span { transform: none; }
.is-ready .hero h1 .ln:nth-child(2) > span { transition-delay: 0.08s; }
.hero__row { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 22px 40px; }
.hero__row p { margin: 0; max-width: 30em; font-size: 18px; line-height: 1.5; color: var(--ink-2); }
.hero__go { display: flex; gap: 10px; flex-wrap: wrap; }
.scrollcue { position: absolute; right: 0; bottom: 0; display: none; }

/* the last screen, centred */
.end { left: 50%; top: 50%; width: min(760px, 86vw); text-align: center; transform: translate(-50%, -50%); }
.end h2 { font-size: clamp(44px, 5.4vw, 100px); }
.end .ch__go { justify-content: center; }
.end p { margin-left: auto; margin-right: auto; max-width: 30em; }

/* narrow windows: the words sit at the bottom over a dark fade, the film fills the rest */
@media (max-width: 1100px) {
  .tl__seg { font-size: 0; padding: 0; }
  .tl__seg span { font-size: 12px; margin: 0 0 12px 8px; }
  .ch { left: var(--pad); right: var(--pad); width: auto; top: auto; bottom: 96px; transform: none; }
  .ch::before { content: ""; position: absolute; z-index: -1; left: calc(var(--pad) * -1); right: calc(var(--pad) * -1); bottom: -96px; height: calc(100% + 220px); background: linear-gradient(0deg, rgba(5, 5, 6, 0.95) 45%, rgba(5, 5, 6, 0)); pointer-events: none; }
  .ch h2 { font-size: clamp(32px, 6vw, 52px); }
  .hero { width: auto; bottom: 96px; }
  .end { top: auto; bottom: 96px; transform: translate(-50%, 0); }
  .ch__steps { display: none; }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .top .btn:not(.btn--accent) { display: none; }
  .tl { grid-template-columns: 1fr; bottom: 14px; height: 40px; }
  .tl__tc { display: none; }
  .tl__seg { font-size: 0; padding: 0; }
  .tl__seg span { font-size: 12px; margin: 0 0 12px 6px; }
  .hero h1 { font-size: clamp(44px, 12.5vw, 64px); }
  .hero__row p { font-size: 16px; }
  .btn--lg { height: 50px; padding: 0 20px; font-size: 15px; }
  .ch p { font-size: 15px; }
  .ch { bottom: 70px; }
  .hero { bottom: 70px; }
  .end { bottom: 70px; }
}

/* ---------- loader ---------- */
#loader { position: fixed; inset: 0; z-index: 50; background: var(--bg); display: grid; place-items: center; transition: clip-path 1.1s var(--ease); clip-path: inset(0 0 0 0); }
#loader.is-out { clip-path: inset(0 0 100% 0); }
.ld { display: grid; gap: 18px; justify-items: center; font-family: var(--mono); }
.ld__k { font-size: 13px; letter-spacing: 0.3em; color: var(--ink-3); text-transform: uppercase; }
.ld__n { font-size: clamp(64px, 9vw, 140px); font-weight: 400; letter-spacing: -0.04em; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.ld__bar { width: 220px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.ld__bar i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: var(--accent); }

/* ======================================================================
   Things inside the 3D space (CSS3D). Sizes are in px at 1 px = 0.01 m.
   ====================================================================== */
.o { font-family: var(--sans); color: var(--ink); }
.o-card { background: var(--card); border: 1px solid var(--line-2); border-radius: 22px; overflow: hidden; }
.o-k { font: 500 22px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.o-k b { color: var(--accent-ink); font-weight: 500; }
/* big words lying on the strip, like markings painted on a runway */
.o-mark { font: 500 120px/0.9 var(--sans); letter-spacing: -0.04em; color: rgba(255, 255, 255, 0.9); white-space: nowrap; }
.o-mark small { display: block; font: 500 26px/1 var(--mono); letter-spacing: 0.2em; color: var(--accent-ink); margin-bottom: 18px; }
.o-mark--dim { color: rgba(255, 255, 255, 0.16); }
.o-tc { font: 400 22px/1 var(--mono); color: rgba(255, 255, 255, 0.42); letter-spacing: 0.08em; white-space: nowrap; }
/* notes floating in space: words with a dot, no box (he, 11/30: boxes around words in the scene did not fit) */
.o-tag { display: inline-flex; align-items: center; gap: 12px; color: #fff; font: 600 26px/1 var(--sans); white-space: nowrap; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.9), 0 0 3px rgba(0, 0, 0, 0.8); }
.o-tag::before { content: ""; flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px rgba(255, 90, 31, 0.85); }
.o-tag--w::before { background: #fff; box-shadow: 0 0 10px rgba(255, 255, 255, 0.5); }
/* the two ways in, named over each road on the first screen */
.o-door { display: grid; justify-items: center; text-align: center; color: #fff; }
.o-door__n { font: 500 22px/1 var(--mono); color: var(--accent-ink); text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9); }
.o-door b { margin-top: 10px; font: 600 48px/1 var(--sans); letter-spacing: -0.035em; white-space: nowrap; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.9), 0 0 3px rgba(0, 0, 0, 0.7); }
.o-door__stem { display: block; width: 2px; height: 70px; margin-top: 16px; background: linear-gradient(180deg, var(--accent), rgba(255, 90, 31, 0)); }

/* the one-line prompt */
.o-prompt { width: 1000px; padding: 30px 34px; display: grid; gap: 22px; }
.o-prompt__row { display: flex; gap: 22px; align-items: center; }
.o-prompt__t { flex: 1; font: 400 36px/1.3 var(--sans); letter-spacing: -0.01em; min-height: 94px; }
.o-prompt__t i { display: inline-block; width: 3px; height: 40px; vertical-align: -6px; margin-left: 4px; background: var(--accent); animation: rec 1s steps(2) infinite; }
.o-pen { width: 56px; height: 56px; border-radius: 16px; background: rgba(255, 90, 31, 0.16); display: grid; place-items: center; flex: none; }
.o-pen svg { width: 28px; height: 28px; stroke: var(--accent-ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.o-prompt__foot { display: flex; align-items: center; gap: 14px; }
.o-chip { display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 18px 0 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); font: 500 22px/1 var(--mono); color: var(--ink-2); white-space: nowrap; }
.o-chip img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.o-enter { margin-left: auto; height: 56px; padding: 0 24px; border-radius: 999px; background: var(--accent); color: #0b0b0c; display: inline-flex; align-items: center; gap: 10px; font: 500 22px/1 var(--sans); }

/* the guide the Director reads */
.o-guide { width: 560px; padding: 30px 32px 34px; display: grid; gap: 18px; }
.o-guide h4 { margin: 0; font: 500 32px/1.15 var(--sans); letter-spacing: -0.02em; }
.o-guide ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 16px; counter-reset: r; }
.o-guide li { counter-increment: r; display: grid; grid-template-columns: 46px 1fr; gap: 12px; font: 400 24px/1.35 var(--sans); color: var(--ink-2); }
.o-guide li::before { content: counter(r, decimal-leading-zero); font: 500 20px/1.6 var(--mono); color: var(--ink-3); }
.o-guide mark { background: none; color: #fff; box-shadow: inset 0 -10px 0 rgba(255, 90, 31, 0.45); }

/* a storyboard frame / a shot */
.o-shot { width: 400px; }
.o-shot__img { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); background: #0b0c0f; }
.o-shot__img img, .o-shot__img video { width: 100%; height: 100%; object-fit: cover; display: block; }
.o-shot__n { position: absolute; left: 12px; top: 12px; height: 36px; min-width: 36px; padding: 0 10px; border-radius: 999px; display: grid; place-items: center; background: rgba(5, 5, 6, 0.78); font: 500 20px/1 var(--mono); }
.o-shot__meta { margin-top: 12px; display: flex; justify-content: space-between; font: 400 20px/1 var(--mono); color: var(--ink-2); letter-spacing: 0.04em; text-transform: uppercase; }
.o-shot.is-now .o-shot__img { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent), 0 0 60px rgba(255, 90, 31, 0.45); }

/* the film screen */
.o-screen { width: 1280px; }
.o-screen__v { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #000; border: 1px solid var(--line-2); box-shadow: 0 80px 160px -60px rgba(255, 90, 31, 0.5); }
.o-screen__v video { width: 100%; height: 100%; object-fit: cover; display: block; }
.o-screen__bar { margin-top: 18px; display: flex; align-items: center; gap: 18px; font: 400 22px/1 var(--mono); color: var(--ink-2); letter-spacing: 0.06em; text-transform: uppercase; }
.o-screen__bar b { color: #fff; font-weight: 500; }
.o-screen__track { flex: 1; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.14); position: relative; overflow: hidden; }
.o-screen__track i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--accent); }
.o-sub { position: absolute; left: 50%; bottom: 7%; transform: translateX(-50%); padding: 10px 20px; border-radius: 10px; background: rgba(0, 0, 0, 0.72); font: 500 34px/1.2 var(--sans); color: #fff; white-space: nowrap; }

/* a phone */
.o-phone { width: 420px; aspect-ratio: 9 / 16; border-radius: 52px; padding: 12px; background: #0b0c0e; border: 1px solid rgba(255, 255, 255, 0.28); box-shadow: 0 60px 140px -50px rgba(0, 0, 0, 0.9); }
.o-phone__s { position: relative; width: 100%; height: 100%; border-radius: 42px; overflow: hidden; background: #000; }
.o-phone__s video { width: 100%; height: 100%; object-fit: cover; display: block; }
.o-pill { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px; border-radius: 999px; background: rgba(5, 5, 6, 0.78); font: 500 22px/1 var(--mono); color: #fff; letter-spacing: 0.06em; text-transform: uppercase; }
.o-pill svg { width: 22px; height: 22px; }
.o-pill--hot svg { fill: var(--accent); stroke: none; }
.o-ig { position: absolute; z-index: 2; right: 20px; bottom: 120px; display: grid; gap: 30px; }
.o-ig svg { width: 44px; height: 44px; stroke: #fff; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6)); }
.o-ig .is-on { fill: var(--accent); stroke: var(--accent); }
.o-cap { position: absolute; z-index: 2; left: 26px; right: 100px; bottom: 40px; display: grid; gap: 12px; }
.o-cap b { display: flex; align-items: center; gap: 12px; font: 600 24px/1 var(--sans); }
.o-cap b i { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), #FFB38F); }
.o-cap span { display: block; height: 10px; border-radius: 5px; background: rgba(255, 255, 255, 0.7); }
.o-cap span + span { width: 60%; background: rgba(255, 255, 255, 0.45); }

/* a slice of the viral Reel */
.o-slice { width: 150px; aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.3); background: #000; }
.o-slice img { width: 100%; height: 100%; object-fit: cover; display: block; }
.o-slice.is-now { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent), 0 0 40px rgba(255, 90, 31, 0.5); }
/* B. the timeline: every cut as wide as it lasts, the beats bracketed above, seconds below */
.o-slice--tl { border-radius: 8px; }
.o-tlp { position: relative; height: 510px; }
.o-tlp__beats { position: absolute; left: 0; right: 0; top: 0; height: 120px; }
.o-tlp__beat { position: absolute; bottom: 12px; height: 18px; border: 3px solid var(--c); border-bottom: 0; border-radius: 5px 5px 0 0; opacity: 0; transform: translateY(12px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.o-tlp__beat.is-on { opacity: 1; transform: none; }
.o-tlp__beat div { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; white-space: nowrap; }
.o-tlp__beat b { font: 600 36px/1 var(--sans); letter-spacing: -0.02em; color: var(--c); text-shadow: 0 2px 16px rgba(0, 0, 0, 0.9); }
.o-tlp__beat span { font: 500 24px/1 var(--mono); color: var(--ink-2); }
.o-tlp__track { position: absolute; left: 0; right: 0; top: 120px; height: 300px; }
.o-tlp__head { position: absolute; top: -16px; bottom: -16px; left: 0; width: 4px; margin-left: -2px; border-radius: 2px; background: #fff; box-shadow: 0 0 24px rgba(255, 255, 255, 0.6); opacity: 0; transition: opacity 0.3s; }
.o-tlp__ruler { position: absolute; left: 0; right: 0; top: 434px; height: 76px; border-top: 2px solid rgba(255, 255, 255, 0.3); }
.o-tlp__ruler i { position: absolute; top: 0; width: 2px; height: 14px; margin-left: -1px; background: rgba(255, 255, 255, 0.45); }
.o-tlp__ruler i.is-big { height: 26px; background: rgba(255, 255, 255, 0.8); }
.o-tlp__ruler span { position: absolute; top: 38px; transform: translateX(-50%); font: 500 26px/1 var(--mono); color: var(--ink-2); white-space: nowrap; }
.o-tlp__ruler span.is-end { color: #fff; }
/* prompt cards */
.o-pcard { width: 820px; padding: 26px 30px; display: grid; grid-template-columns: 96px 1fr 44px; gap: 24px; align-items: start; }
.o-pcard img { width: 96px; height: 170px; border-radius: 12px; object-fit: cover; }
.o-pcard__k { font: 500 22px/1 var(--mono); letter-spacing: 0.08em; color: var(--accent-ink); text-transform: uppercase; display: flex; gap: 16px; }
.o-pcard__k span { color: var(--ink-3); }
.o-pcard p { margin: 14px 0 0; font: 400 24px/1.4 var(--sans); color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.o-pcard p b { color: #fff; font-weight: 500; }
.o-pcard svg { width: 36px; height: 36px; stroke: var(--ink-2); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* the shot list after either way in */
.o-list { width: 1180px; padding: 28px 30px; display: grid; gap: 12px; }
.o-list__h { display: flex; justify-content: space-between; align-items: center; padding: 4px 6px 12px; border-bottom: 1px solid var(--line); }
.o-list__h b { font: 500 30px/1 var(--sans); letter-spacing: -0.02em; }
.o-row { display: grid; grid-template-columns: 54px 170px 1fr 110px; gap: 22px; align-items: center; padding: 10px 6px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.o-row__n { font: 500 22px/1 var(--mono); color: var(--ink-3); }
.o-row img { width: 170px; height: 96px; border-radius: 10px; object-fit: cover; display: block; }
.o-row p { margin: 0; font: 400 22px/1.35 var(--sans); color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.o-row p b { color: #fff; font-weight: 500; }
.o-row__d { justify-self: end; font: 500 22px/1 var(--mono); color: var(--ink); }
.o-row.is-in { background: linear-gradient(90deg, rgba(255, 90, 31, 0.12), transparent 70%); }

/* a clip being made */
.o-clip { width: 560px; }
.o-clip__v { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-2); background: #0b0c0f; }
.o-clip__v img, .o-clip__v video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.o-clip__v video { opacity: 0; transition: opacity 0.4s; }
.o-clip.is-done .o-clip__v video { opacity: 1; }
.o-clip__veil { position: absolute; inset: 0; background: rgba(5, 5, 6, 0.62); display: grid; place-items: center; transition: opacity 0.4s; }
.o-clip.is-done .o-clip__veil { opacity: 0; }
.o-ring { width: 96px; height: 96px; transform: rotate(-90deg); }
.o-ring circle { fill: none; stroke-width: 6; }
.o-ring .a { stroke: rgba(255, 255, 255, 0.16); }
.o-ring .b { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 264; stroke-dashoffset: 264; }
.o-clip__meta { margin-top: 14px; display: flex; justify-content: space-between; font: 400 20px/1 var(--mono); color: var(--ink-2); letter-spacing: 0.04em; text-transform: uppercase; }
.o-clip__meta b { color: var(--ink-3); font-weight: 400; }
.o-clip.is-done .o-clip__meta b { color: var(--ok); }

/* the edit: picture, subtitles, sound */
.o-tl { width: 1500px; padding: 26px 28px 30px; display: grid; gap: 14px; }
.o-tl__h { display: flex; justify-content: space-between; font: 400 22px/1 var(--mono); color: var(--ink-3); letter-spacing: 0.06em; text-transform: uppercase; padding-bottom: 6px; }
.o-tl__h b { color: #fff; font-weight: 500; }
.o-trk { position: relative; display: grid; grid-template-columns: 70px 1fr; gap: 16px; align-items: center; }
.o-trk > span { font: 500 20px/1 var(--mono); color: var(--ink-3); }
.o-trk__lane { position: relative; height: 92px; display: flex; gap: 4px; }
.o-trk__lane > i { flex: var(--w) 1 0; border-radius: 8px; background-size: cover; background-position: center; border: 1px solid rgba(255, 255, 255, 0.16); }
.o-trk--cc .o-trk__lane { height: 56px; }
.o-trk--cc .o-trk__lane > i { display: flex; align-items: center; padding: 0 14px; background: rgba(255, 255, 255, 0.1); font: 500 20px/1 var(--mono); color: #fff; white-space: nowrap; overflow: hidden; font-style: normal; }
.o-trk--cc .o-trk__lane > i.gap { background: none; border-color: transparent; }
.o-trk--au .o-trk__lane { height: 64px; }
.o-trk--au svg { width: 100%; height: 100%; }
.o-head { position: absolute; top: 56px; bottom: 10px; left: calc(28px + 70px + 16px); width: 3px; background: var(--accent); box-shadow: 0 0 18px var(--accent); }
.o-head::before { content: ""; position: absolute; top: -12px; left: -9px; width: 21px; height: 14px; border-radius: 4px; background: var(--accent); }

/* behind the words on wide screens: the film darkens toward the left edge, so the words read over anything */
@media (min-width: 1101px) {
  .copy::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: min(820px, 54vw); background: linear-gradient(90deg, rgba(5, 5, 6, 0.92) 0%, rgba(5, 5, 6, 0.74) 42%, rgba(5, 5, 6, 0) 100%); opacity: var(--scrim, 1); pointer-events: none; }
}

/* his 3072 px screen: the words, buttons, top bar and timeline go up together (the 3D already fills any window) */
@media (min-width: 2200px) {
  .top, .tl, .copy, #loader .ld { zoom: 1.4; }
}
@media (min-width: 1101px) { .hero h1 .ln > span { white-space: nowrap; } }

/* the dark band under the timeline must stay under the buttons on narrow screens */
@media (max-width: 1100px) { .tl::before { height: 92px; background: linear-gradient(0deg, rgba(5, 5, 6, 0.96) 58%, rgba(5, 5, 6, 0)); } }
@media (max-width: 760px) { .tl::before { height: 64px; background: linear-gradient(0deg, rgba(5, 5, 6, 0.97) 72%, rgba(5, 5, 6, 0)); } }
/* a tall screen (his vertical 1440 x 2560): the promise sits in the middle, not at the very bottom */
@media (min-width: 1101px) and (max-aspect-ratio: 1/1) { .hero { bottom: auto; top: 42%; } }
@media (min-width: 1101px) and (min-aspect-ratio: 1/1) { .hero { bottom: clamp(128px, 30vh, 380px); } }
@media (min-width: 1101px) and (min-aspect-ratio: 3/2) { .hero { bottom: clamp(128px, 26vh, 320px); } }
/* phones and tablets: the promise in the upper half, the two ways in above it */
@media (max-width: 1100px) { .hero { top: 40%; bottom: auto; } .hero::before { height: calc(100% + 360px); bottom: -140px; } }

/* phones and tablets: each chapter's words at the top, the film under them (the first screen keeps the two ways in above its words) */
@media (max-width: 1100px) {
  .ch:not(.hero) { top: 76px; bottom: auto; }
  .ch:not(.hero)::before { top: -76px; bottom: auto; height: calc(100% + 190px); background: linear-gradient(180deg, rgba(5, 5, 6, 0.96) 58%, rgba(5, 5, 6, 0)); }
}
@media (max-width: 760px) { .ch:not(.hero) { top: 68px; } .ch:not(.hero) .ch__go { margin-top: 18px; } }

/* his rule (taste 3.11, 3.2): monospaced, upper-case, letter-spaced little labels look cheap; mono only for numbers and
   timecodes. Labels are set in the interface face, sentence case. */
.ch__k, .hero__k, .ch__steps, .tl__seg { font-family: var(--sans); text-transform: none; letter-spacing: 0; }
.ch__k { font-size: 14px; font-weight: 500; }
.hero__k { font-size: 14px; font-weight: 400; color: var(--ink-2); }
.ch__steps { font-size: 14px; }
.ch__steps li b { font-family: var(--mono); }
@media (min-width: 1101px) { .tl__seg { font-size: 13px; } }
.tl__seg span { font-family: var(--mono); }
.o-k, .o-tag, .o-shot__meta, .o-pcard__k, .o-clip__meta, .o-tl__h, .o-screen__bar, .o-pill, .o-chip, .o-mark small { font-family: var(--sans); text-transform: none; letter-spacing: 0; }
.o-k { font-size: 24px; }
.o-tag { font-size: 26px; font-weight: 600; }
.o-mark small { font-size: 30px; font-weight: 500; }
@media (min-width: 1101px) { .ch:not(.hero) { top: 47%; } }
@media (min-width: 1101px) and (max-aspect-ratio: 1/1) { .ch:not(.hero) { top: 40%; } }

/* the line on the animation that says what it is doing at each step (he, 11/30: "people stare at the animation and
   never read the words on the left"). Over the animation on wide screens; under the chapter's words on narrow ones. */
.cap { position: fixed; z-index: 11; left: 68%; top: clamp(92px, 12vh, 170px); transform: translateX(-50%); width: max-content; max-width: min(54vw, 1120px); display: grid; justify-items: center; gap: 12px; text-align: center; opacity: 0; visibility: hidden; }
.cap::before { content: ""; position: absolute; z-index: -1; inset: -38px -130px; background: radial-gradient(closest-side, rgba(5, 5, 6, 0.94), rgba(5, 5, 6, 0.86) 62%, rgba(5, 5, 6, 0)); }
.cap__row { display: flex; align-items: baseline; justify-content: center; gap: 14px; }
.cap__n { flex: none; font: 500 clamp(14px, 0.4vw + 9px, 20px)/1 var(--mono); color: #FFA684; font-variant-numeric: tabular-nums; }
.cap__t { font: 500 clamp(20px, 0.85vw + 11.5px, 38px)/1.3 var(--sans); letter-spacing: -0.012em; color: #fff; text-wrap: balance; }
.cap__bar { width: clamp(90px, 7vw, 200px); height: 2px; border-radius: 1px; background: rgba(255, 255, 255, 0.2); overflow: hidden; }
.cap__bar i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.cap.is-swap .cap__row { animation: capIn 0.5s var(--ease); }
@keyframes capIn { from { opacity: 0; transform: translateY(10px); } }
@media (max-width: 1100px) {
  .cap { left: var(--pad); right: var(--pad); width: auto; max-width: none; transform: none; justify-items: start; text-align: left; }
  .cap__row { justify-content: flex-start; }
  .cap::before { inset: -12px -24px; background: linear-gradient(180deg, rgba(5, 5, 6, 0.9), rgba(5, 5, 6, 0.75) 60%, rgba(5, 5, 6, 0)); }
}

/* reduced motion: the line on the animation changes without sliding */
@media (prefers-reduced-motion: reduce) { .cap.is-swap .cap__row { animation: none; } }
