/* CFLOWS Explore. One shoot followed through every app.
   Motion rules: transform + opacity only, no backdrop-filter, everything readable without JS. */
:root {
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --ok: #18794A; --ok-soft: rgba(24,121,74,.10);
  --bad: #C8322B; --bad-soft: rgba(200,50,43,.08);
  --sunset-ink: #A8500A;
  --paper: #FFFDF8; --sticky: #FFE680; --sticky-ink: #3A2E00;
  --canvas: #F1EEE9; --rail-bg: rgba(255,255,255,.96);
}
[data-theme="dark"] {
  --ok: #4CC38A; --ok-soft: rgba(76,195,138,.12);
  --bad: #FF8A80; --bad-soft: rgba(255,120,110,.10);
  --sunset-ink: #FFB066;
  --paper: #211E22; --sticky: #F2D25C;
  --canvas: #151316; --rail-bg: rgba(31,28,32,.97);
}

.x { position: relative; }
.mono { font-family: var(--mono); font-weight: 500; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.small { font-size: 14px; }
.ic { width: 18px; height: 18px; flex: none; }
.ic.flip { transform: scaleX(-1); }
.app-tile svg { width: 17px; height: 17px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--primary-bg); color: var(--primary-fg); padding: 12px 18px; border-radius: 12px; font-weight: 600; }
.skip:focus { top: 12px; }
.lbl { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--accent-ink, var(--text-2)); }
.lbl::before { content: ""; width: 6px; height: 6px; border-radius: 3px; background: var(--accent, currentColor); }
.mini-h { font: 600 15px/1.3 var(--font); letter-spacing: 0; color: var(--text); margin: 0; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn-xl { min-height: 64px; padding: 0 34px; font-size: 19px; gap: 10px; }
.btn .ic { transition: transform var(--cf-dur-4) var(--cf-ease); }
.btn:hover .ic { transform: translateX(2px); }
.btn-secondary:hover .ic { transform: translateY(2px); }
.btn-link .ic { width: 16px; height: 16px; }
.txt-btn { background: none; border: 0; padding: 0 2px; min-height: 44px; font: 600 14px var(--font); color: var(--link); cursor: pointer; border-radius: 8px; }
.txt-btn:hover { text-decoration: underline; text-underline-offset: 3px; }
.chip i { width: 7px; height: 7px; border-radius: 4px; background: var(--text-3); }
.st-open i { background: #2BA471; } .st-pilot i { background: var(--film); } .st-build i { background: var(--script); }

/* Reveal: our own, so the page never depends on a library */
.xjs [data-rv] { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.xjs [data-rv].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .xjs [data-rv] { opacity: 1; transform: none; transition: none; } }

/* ================= CHAPTERS ================= */
.ch { position: relative; padding-top: clamp(96px, 12vw, 176px); scroll-margin-top: 0; }
#boards { padding-top: clamp(56px, 6vw, 96px); }
.ch-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 72px); align-items: end; }
.ch-head.center { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0; }
.ch-head.center .lede { margin-top: 22px; }
.ch-k { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 16px; color: var(--text); margin-bottom: 22px; }
.ch-k b { font-weight: 600; }
.ch-n { font-size: 13px; color: var(--text-3); margin-right: 2px; }
.ch-side .lede { font-size: clamp(18px, 1.5vw, 21px); }
.ch-side .btn { margin-top: 24px; }
.ch-foot { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; }

.split { margin-top: clamp(56px, 7vw, 104px); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.split.flip { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); }
.shot { margin: 0; }
.shot .frame img { width: 100%; height: auto; }
.shot figcaption { margin-top: 14px; }
.shot-dark .frame { background: #121113; }
.pts { list-style: none; margin: 0; padding: 0; }
.pts li { padding: 20px 0; border-top: 1px solid var(--border); display: grid; gap: 4px; }
.pts li:last-child { border-bottom: 1px solid var(--border); }
.pts b { font: 700 19px/1.25 var(--display); letter-spacing: -0.02em; }
.pts span { color: var(--text-2); font-size: 16px; }

/* ================= BOARDS ================= */
.board { margin-top: clamp(40px, 5vw, 64px); border-radius: var(--r-xl); border: 1px solid var(--border-strong); background: var(--surface); box-shadow: var(--shadow-2); overflow: hidden; }
.board-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 12px 14px 12px 22px; border-bottom: 1px solid var(--border); }
.board-name { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font-size: 14px; }
.board-ctl { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.board-ctl .btn-sm { min-height: 44px; padding: 0 18px; }
.slide-nav { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); }
.slide-nav[hidden] { display: none; }
.rnd { width: 44px; height: 44px; border-radius: 22px; border: 0; background: var(--secondary-bg); color: var(--text); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color .2s var(--ease), transform .2s var(--ease); }
.rnd:hover { background: var(--secondary-hover); } .rnd:active { transform: scale(.94); }
.bcanvas { position: relative; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 20px; padding: 22px; background-color: var(--canvas); background-image: radial-gradient(var(--border-strong) 1px, transparent 1.2px); background-size: 22px 22px; transition: opacity .2s var(--ease); }
.bcanvas.fade { opacity: 0; }
.bframe { position: relative; min-height: 470px; border-radius: 18px; border: 1.5px dashed var(--border-strong); background: color-mix(in srgb, var(--surface) 50%, transparent); }
.bf-title { position: absolute; left: 18px; top: 14px; font: 600 14px/1.2 var(--font); letter-spacing: 0; color: var(--text-2); display: flex; gap: 8px; align-items: center; }
.bf-title .mono { font-size: 12px; padding: 3px 7px; border-radius: 6px; background: var(--secondary-bg); color: var(--text); }
.bcard { position: absolute; left: var(--l); top: var(--t); width: var(--w); rotate: var(--r, 0deg); background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px 14px; box-shadow: var(--shadow-1); font-size: 14px; line-height: 1.4; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; transition: scale .2s var(--ease), box-shadow .2s var(--ease); }
.bcard:hover { box-shadow: var(--shadow-2); }
.bcard.lift { cursor: grabbing; scale: 1.04; box-shadow: var(--shadow-2); z-index: 6; }
.bcard.settle { transition: transform .45s var(--ease), scale .2s var(--ease); }
.bcard:focus-visible { outline-offset: 2px; border-radius: 12px; }
.bk { display: block; font-size: 11.5px; font-weight: 600; color: var(--text-3); margin-bottom: 5px; }
.bcard.sticky { background: var(--sticky); color: var(--sticky-ink); border-color: rgba(58,46,0,.10); border-radius: 4px 4px 14px 4px; }
.bcard.sticky .bk { color: rgba(58,46,0,.72); }
.bcard.photo { padding: 6px 6px 9px; }
.bcard.photo img { width: 100%; height: auto; border-radius: 7px; pointer-events: none; }
.bcard .cap { display: block; margin: 8px 6px 0; font-size: 12px; color: var(--text-2); }
.sw { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.sw i { aspect-ratio: 1; border-radius: 7px; border: 1px solid var(--border); }
.c-shot { --l: 4%; --t: 15%; --w: 31%; --r: -1.2deg; }
.c-photo { --l: 38.5%; --t: 12%; --w: 33%; --r: 1deg; }
.c-sticky { --l: 75%; --t: 20%; --w: 22%; --r: 2.4deg; }
.c-pal { --l: 5%; --t: 60%; --w: 36%; --r: .6deg; }
.c-lens { --l: 50%; --t: 70%; --w: 31%; --r: -1.6deg; }
.c-six { --l: 9%; --t: 17%; --w: 62%; --r: 1deg; }
.c-six2 { --l: 38%; --t: 52%; --w: 50%; --r: -2deg; }
/* slides */
.bcanvas.slides { grid-template-columns: minmax(0, 1fr); }
.bcanvas.slides .bframe { display: none; border-style: solid; border-color: var(--border); background: var(--surface); box-shadow: var(--shadow-1); }
.bcanvas.slides .bframe.on { display: block; }
.bcanvas.slides .bf-title { font: 700 clamp(20px, 2.4vw, 30px)/1.1 var(--display); letter-spacing: -0.03em; color: var(--text); left: 28px; top: 24px; }
.bcanvas.slides .bf-title .mono { font-size: 13px; }
.bcanvas.slides .bcard { cursor: default; rotate: 0deg; }
.bcanvas.slides .bf-1 .c-shot { --l: 5%; --t: 24%; --w: 24%; }
.bcanvas.slides .bf-1 .c-photo { --l: 33%; --t: 20%; --w: 34%; }
.bcanvas.slides .bf-1 .c-sticky { --l: 72%; --t: 24%; --w: 20%; }
.bcanvas.slides .bf-1 .c-pal { --l: 5%; --t: 62%; --w: 24%; }
.bcanvas.slides .bf-1 .c-lens { --l: 72%; --t: 62%; --w: 22%; }
.bcanvas.slides .bf-2 .c-six { --l: 10%; --t: 30%; --w: 34%; font-size: 18px; }
.bcanvas.slides .bf-2 .c-six2 { --l: 54%; --t: 36%; --w: 28%; font-size: 17px; }

/* ================= FILM: DAY 1 ================= */
.day { margin-top: clamp(40px, 5vw, 64px); padding: clamp(18px, 3vw, 40px); border-radius: var(--r-xl); box-shadow: var(--shadow-2); border-color: var(--border-strong); }
.day-top { display: grid; grid-template-columns: minmax(0, 1fr) 348px; gap: clamp(28px, 4vw, 64px); padding-bottom: clamp(24px, 3vw, 36px); border-bottom: 1px solid var(--border); }
.day-k { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; font-size: 14px; }
.day-nums { margin: 26px 0 0; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px clamp(24px, 3vw, 48px); }
.day-nums dt { font-size: 14px; color: var(--text-2); }
.day-nums dd { margin: 2px 0 0; font: 700 clamp(24px, 2.6vw, 32px)/1.1 var(--display); letter-spacing: -0.03em; }
.day-nums .big dd { font-size: clamp(52px, 7vw, 92px); font-weight: 800; letter-spacing: -0.055em; line-height: .95; }
.day-nums .sun { color: var(--sunset-ink); }
.route { margin-top: 22px; font-size: 15px; }
.crewbox { align-self: center; }
.ring-row { display: flex; align-items: center; gap: 16px; }
.ring { position: relative; width: 72px; height: 72px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 7; }
.ring-bg { stroke: var(--secondary-bg); }
.ring-fg { stroke: var(--ok); stroke-linecap: round; stroke-dasharray: 213.6; stroke-dashoffset: 213.6; transition: stroke-dashoffset .5s var(--ease); }
.ring > span { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.ring b { font: 800 22px/1 var(--display); }
.ring small { font-size: 10.5px; color: var(--text-2); margin-top: 2px; }
.ring.full { animation: pop .5s var(--ease); }
@keyframes pop { 40% { transform: scale(1.1); } }
.crew { list-style: none; margin: 16px -4px 2px; padding: 0; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); }
.crew button { width: 100%; aspect-ratio: 1; min-height: 44px; border: 0; background: none; padding: 0; cursor: pointer; display: grid; place-items: center; border-radius: 50%; }
.crew i { width: 100%; max-width: 38px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: var(--secondary-bg); color: var(--text); font: 600 10.5px/1 var(--font); letter-spacing: -0.01em; font-style: normal; transition: background-color .2s var(--ease), color .2s var(--ease), transform .25s var(--ease); }
.crew i.g::before { content: ""; width: 6px; height: 6px; border-radius: 3px; background: var(--text-3); }
.crew button:hover i { background: var(--secondary-hover); transform: scale(1.06); }
.crew button[aria-pressed="true"] i { background: var(--ok); color: #fff; animation: pop .35s var(--ease); }
[data-theme="dark"] .crew button[aria-pressed="true"] i { color: #0D1F16; }
.crew button[aria-pressed="true"] i.g::before { width: 14px; height: 14px; border-radius: 0; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 10.5l3.7 3.7 7.3-8'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 10.5l3.7 3.7 7.3-8'/%3E%3C/svg%3E") center/contain no-repeat; }

.tl { padding-top: clamp(22px, 3vw, 32px); }
.tl-headline { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; }
.tl-wrap { position: relative; margin-top: 12px; padding-top: 38px; }
.tl-sunlab { position: absolute; left: 84.4%; top: 0; }
.tl-sunlab span { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: #FFB454; color: #2B1600; font-size: 13px; font-weight: 700; white-space: nowrap; transform: translateX(-50%); }
.tl-track { position: relative; height: 84px; }
.tl-sky { position: absolute; inset: 0; border-radius: 18px; background: linear-gradient(90deg, #17172F 0%, #2C2A58 5%, #7A4E8C 8%, #EC7A42 9.88%, #F7BC78 12.6%, #BFDCF5 20%, #D5E6F2 50%, #F2E0BE 70%, #F7BC78 78.5%, #EC7A42 84.4%, #7A4E8C 87.4%, #2C2A58 91.5%, #17172F 100%); }
[data-theme="dark"] .tl-sky { opacity: .9; }
.tl-sunline { position: absolute; left: 84.4%; top: -10px; bottom: -8px; width: 2px; margin-left: -1px; background: #FFB454; border-radius: 1px; z-index: 1; }
.tl-b { position: absolute; top: 12px; bottom: 12px; padding: 0 10px; border-radius: 11px; display: flex; flex-direction: column; justify-content: center; background: rgba(255,255,255,.86); background-clip: padding-box; border: 2px solid transparent; color: #121113; font-size: 13.5px; line-height: 1.2; overflow: hidden; white-space: nowrap; }
.tl-b b { font-weight: 700; }
.tl-b small { font-size: 11.5px; color: #4a4540; }
.tl-b.night { background-color: rgba(255,255,255,.16); color: #fff; } .tl-b.night small { color: rgba(255,255,255,.78); }
.tl-b.sm { padding: 0; align-items: center; font-size: 12px; } .tl-b.call { background: transparent; border: 1px dashed rgba(18,17,19,.28); margin: 0 2px; color: #1d2a3a; font-size: 12px; }
.tl-b.call.night { border-color: rgba(255,255,255,.34); color: #fff; padding: 0 4px; align-items: center; }
.tl-move { position: absolute; left: 0; top: 5px; bottom: 5px; width: 23.21%; z-index: 2; border-radius: 13px; padding: 0 10px 0 20px; display: flex; flex-direction: column; justify-content: center; background: #121113; color: #fff; font-size: 14px; line-height: 1.2; white-space: nowrap; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; box-shadow: 0 0 0 2.5px var(--state, #FF6B5E), 0 10px 24px rgba(0,0,0,.34); will-change: transform; }
.tl-move[data-bad="0"] { --state: #3DD68C; }
.tl-move.drag { cursor: grabbing; }
.tl-move b { font-weight: 700; } .tl-move small { font-size: 12px; color: rgba(255,255,255,.76); }
.tl-move .grip { position: absolute; left: 8px; top: 50%; width: 4px; height: 22px; margin-top: -11px; border-radius: 2px; background: repeating-linear-gradient(180deg, rgba(255,255,255,.55) 0 2px, transparent 2px 5px); }
.tl-move:focus-visible { outline: 3px solid var(--film); outline-offset: 4px; border-radius: 13px; }
.tl-move.settle { transition: transform .6s var(--ease); }
.tl-hours { position: relative; height: 30px; font-size: 12.5px; color: var(--text-2); }
.tl-hours span { position: absolute; top: 9px; transform: translateX(-50%); white-space: nowrap; }
.tl-hours span:first-child { transform: none; } .tl-hours span:last-child { transform: translateX(-100%); }
.tl-status { margin-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 12px 12px 14px; border-radius: 16px; background: var(--bad-soft); transition: background-color .3s var(--ease); }
.tl-status[data-state="ok"] { background: var(--ok-soft); }
.tl-status .badge { width: 30px; height: 30px; border-radius: 15px; display: grid; place-items: center; background: var(--bad); color: var(--surface); flex: none; transition: background-color .3s var(--ease); }
.tl-status[data-state="ok"] .badge { background: var(--ok); }
.tl-status .ok, .tl-status[data-state="ok"] .bad { display: none; } .tl-status[data-state="ok"] .ok { display: block; }
.tl-status p { flex: 1 1 260px; font-size: 15px; line-height: 1.4; }
.tl-status p b { font-weight: 600; }
.tl-status .btn { min-height: 44px; }
.tl-status[data-state="ok"] .btn { display: none; }
.tl .fine { margin-top: 12px; }

/* ================= CINE LAB: the screening room ================= */
.room { position: relative; margin: 0 clamp(8px, 1.6vw, 28px); padding: clamp(64px, 9vw, 128px) 0 clamp(56px, 8vw, 112px); border-radius: clamp(26px, 3.4vw, 48px); background: #0F0E10; overflow: hidden; color-scheme: dark;
  --text: #F5F2EE; --text-2: #B4AEA8; --text-3: #A19B95; --border: rgba(255,255,255,.10); --border-strong: rgba(255,255,255,.18); --surface: #1B191C; --secondary-bg: rgba(255,255,255,.10); --secondary-hover: rgba(255,255,255,.16); --link: #5AB0FF; color: var(--text); }
[data-theme="dark"] .room { background: #19171A; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.room-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(900px 520px at 50% -6%, rgba(255,159,10,.20), transparent 68%), radial-gradient(700px 500px at 100% 100%, rgba(255,120,40,.08), transparent 70%); }
.room .container { position: relative; }
.room .ch-k { justify-content: center; }
.room .h2 { max-width: 14ch; }
.vid { position: relative; margin: clamp(36px, 5vw, 64px) auto 0; max-width: 1080px; aspect-ratio: 16 / 9; border-radius: clamp(16px, 2vw, 26px); overflow: hidden; background: #000; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 40px 100px rgba(0,0,0,.55); }
.xjs .vid[data-rv] { transform: translate3d(0, 40px, 0) scale(.96); }
.xjs .vid[data-rv].in { transform: none; }
.vid video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; cursor: pointer; }
.vid-shade { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 60% at 50% 50%, rgba(8,7,9,.28), rgba(8,7,9,.62)); transition: opacity .4s var(--ease); }
.vid.playing .vid-shade { opacity: 0; }
.vid-tag { position: absolute; left: 16px; top: 16px; display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 8px; background: rgba(12,11,13,.78); color: #F5F2EE; font-size: 12px; }
.vid-tag i { width: 7px; height: 7px; border-radius: 4px; background: var(--cine); }
.vid-play { position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%; border: 0; background: #F5F2EE; color: #121113; display: grid; place-items: center; cursor: pointer; box-shadow: 0 12px 40px rgba(0,0,0,.45); transition: transform .3s var(--ease), opacity .3s var(--ease); }
.vid-play svg { width: 36px; height: 36px; grid-area: 1 / 1; }
.vid-play .pa-i { display: none; }
.vid-play::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(245,242,238,.7); animation: ping 2.6s var(--ease) infinite; pointer-events: none; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 70%, 100% { transform: scale(1.5); opacity: 0; } }
.vid-play:hover { transform: scale(1.07); } .vid-play:active { transform: scale(.96); }
.vid-play:focus-visible { outline: 3px solid var(--cine); outline-offset: 5px; border-radius: 50%; }
.vid.playing .vid-play { left: 16px; top: auto; bottom: 16px; margin: 0; width: 48px; height: 48px; background: rgba(12,11,13,.8); color: #F5F2EE; box-shadow: none; }
.vid.playing .vid-play svg { width: 22px; height: 22px; }
.vid.playing .vid-play::after { display: none; }
.vid.playing .pl-i { display: none; } .vid.playing .pa-i { display: block; }
.vid-play[hidden], .vid-soon[hidden] { display: none; }
.vid-soon { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 999px; background: rgba(245,242,238,.96); color: #121113; font-size: 16px; font-weight: 600; white-space: nowrap; box-shadow: 0 12px 40px rgba(0,0,0,.45); }
.vid-soon::before { content: ""; width: 0; height: 0; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.vid-cta { margin-top: clamp(28px, 3.4vw, 44px); display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.btn-cine { background: var(--cine); color: #201300; box-shadow: 0 10px 34px rgba(255,159,10,.28); }
.btn-cine:hover { background: #FFB340; transform: translateY(-1px); }
.btn-cine:focus-visible { outline-color: #fff; }

.sd { margin: 0; min-width: 0; --tg: #ffa53d; --dl: #9cc7ff; --st: #2997ff; }
.sd-stage { background: #161617; border-radius: 20px; overflow: hidden; color: #f5f5f7; border: 1px solid rgba(255,255,255,.14); }
.sd svg { display: block; width: 100%; height: auto; }
.sd-prop { fill: #2c2c2e; stroke: #3a3a3c; } .sd-prop-in { fill: #3a3a3c; }
.sd-fixture { fill: #48484a; stroke: #636366; } .sd-softbox { fill: rgba(255,245,230,.92); }
.sd-labels text { fill: #aeaeb2; font: 500 15px var(--font); letter-spacing: -.01em; }
.sd-light, .sd-lamp, .sd-labels text, #sdHead { transition: opacity .35s ease-out; }
.sd-light[data-off] { opacity: 0; }
.sd-fx[data-off] .sd-lamp { opacity: .35; }
.sd-labels text[data-off] { opacity: .4; }
.xjs .sd-fx { cursor: pointer; }
.sd.sd-pre .sd-beam, .sd.sd-pre .sd-frustum { opacity: 0; }
.sd.sd-go .sd-beam, .sd.sd-go .sd-frustum { animation: sdUp 1.1s ease-out forwards; }
.sd.sd-go .sd-b1 { animation-delay: .35s; } .sd.sd-go .sd-b2 { animation-delay: .9s; } .sd.sd-go .sd-b3 { animation-delay: 1.4s; }
.sd.sd-go .sd-frustum { animation-duration: .8s; animation-delay: 1.9s; }
@keyframes sdUp { to { opacity: 1; } }
.sd-ctl { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 0 clamp(14px, 2.4vw, 22px) clamp(14px, 2vw, 20px); }
.sd-ctl[hidden] { display: none; }
.sd-tog { display: flex; flex-wrap: wrap; gap: 8px; }
.sd-tog button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 0 16px; border: 0; border-radius: 999px; cursor: pointer; touch-action: manipulation; background: rgba(255,255,255,.06); color: #a1a1a6; font: 500 15px var(--font); transition: background-color var(--cf-dur-3) var(--cf-ease), color var(--cf-dur-3) var(--cf-ease); }
.sd-tog button:hover, .sd-tog button[aria-pressed="true"] { color: #f5f5f7; }
.sd-tog button[aria-pressed="true"] { background: rgba(255,255,255,.14); }
.sd-tog i { width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #8e8e93; }
.sd-tog button[aria-pressed="true"] i { box-shadow: none; background: var(--tg); }
.sd-tog button[data-l="window"][aria-pressed="true"] i { background: var(--dl); }
.sd-tog button[data-l="bounce"][aria-pressed="true"] i { background: #f5f5f7; }
.sd-lens { display: flex; align-items: center; gap: 12px; flex: 1 1 240px; max-width: 420px; min-height: 44px; font-size: 15px; font-weight: 500; color: #a1a1a6; }
.sd-lens input { flex: 1; min-width: 0; height: 44px; margin: 0; accent-color: var(--st); cursor: pointer; }
.sd-lens output { min-width: 84px; text-align: right; font-weight: 600; color: #f5f5f7; font-variant-numeric: tabular-nums; }
.sd-lens output small { margin-left: 4px; font-size: inherit; font-weight: 500; color: #8e8e93; }
.sd button:focus-visible, .sd input:focus-visible, .sd-fx:focus-visible { outline: 2px solid var(--st); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .sd-light, .sd-lamp, .sd-labels text, #sdHead, .sd-tog button { transition: none; } }
@media (max-width: 480px) { .sd-labels text { font-size: 22px; } .sd-tog { width: 100%; } .sd-tog button { flex: 1; justify-content: center; padding: 0 10px; } .sd-lens { flex-basis: 100%; max-width: none; } }
.sd figcaption { margin: 12px 0 0; }
.sd-wrap { margin-top: clamp(56px, 8vw, 104px); max-width: 960px; margin-inline: auto; }

.cam-grid { margin-top: clamp(64px, 9vw, 128px); display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.cam-view { position: relative; aspect-ratio: 3 / 2; border-radius: 18px; overflow: hidden; background: #000; border: 1px solid rgba(255,255,255,.14); }
.cam-img { width: 100%; height: 100%; object-fit: cover; transform-origin: 57% 30%; transition: transform .8s var(--ease); will-change: transform; }
.tint { position: absolute; inset: 0; opacity: 0; pointer-events: none; mix-blend-mode: soft-light; }
.t-warm { background: #FF8A1F; } .t-cool { background: #2F7BFF; }
.vf { position: absolute; inset: 14px; pointer-events: none; color: #fff; }
.vf > i:not(.cross) { position: absolute; width: 22px; height: 22px; border: 2px solid rgba(255,255,255,.9); }
.vf .c1 { left: 0; top: 0; border-right: 0 !important; border-bottom: 0 !important; } .vf .c2 { right: 0; top: 0; border-left: 0 !important; border-bottom: 0 !important; }
.vf .c3 { left: 0; bottom: 0; border-right: 0 !important; border-top: 0 !important; } .vf .c4 { right: 0; bottom: 0; border-left: 0 !important; border-top: 0 !important; }
.vf .cross { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px; background: linear-gradient(#fff, #fff) 50% 50% / 100% 1.5px no-repeat, linear-gradient(#fff, #fff) 50% 50% / 1.5px 100% no-repeat; opacity: .7; }
.vf span { position: absolute; font-size: 11.5px; text-shadow: 0 1px 3px rgba(0,0,0,.8); display: inline-flex; align-items: center; gap: 6px; }
.vf-l { left: 12px; top: 8px; } .vf-l .dot { width: 7px; height: 7px; border-radius: 4px; background: var(--cine); }
.vf-r { right: 12px; top: 8px; } .vf-b { left: 12px; bottom: 8px; }
.vf-l, .vf-b { left: 32px !important; } .vf-r { right: 32px !important; } .vf-l, .vf-r { top: 3px !important; } .vf-b { bottom: 3px !important; }
.cam-ctl { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.seg { position: relative; display: inline-grid; grid-template-columns: repeat(3, 84px); padding: 4px; border-radius: 14px; background: var(--secondary-bg); }
.seg button { position: relative; z-index: 1; height: 44px; border: 0; background: none; color: var(--text-2); font: 600 16px var(--font); cursor: pointer; border-radius: 10px; transition: color var(--cf-dur-4) var(--cf-ease); }
.seg button small { font-size: 12px; font-weight: 500; margin-left: 1px; }
.seg button[aria-pressed="true"] { color: #121113; }
.seg-ind { position: absolute; left: 4px; top: 4px; width: 84px; height: 44px; border-radius: 10px; background: #F5F2EE; transform: translateX(calc(var(--i, 0) * 100%)); transition: transform var(--cf-dur-3) var(--cf-ease-standard); }
.temp { display: flex; align-items: center; gap: 10px; color: var(--text-2); min-height: 44px; }
.temp small { font-size: 13px; }
.temp input { -webkit-appearance: none; appearance: none; width: 150px; height: 44px; background: transparent; cursor: pointer; margin: 0; }
.temp input::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, #FFA94D, #EDE8E2 50%, #6FA8FF); }
.temp input::-moz-range-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, #FFA94D, #EDE8E2 50%, #6FA8FF); }
.temp input::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 12px; background: #fff; border: 0; box-shadow: 0 2px 8px rgba(0,0,0,.5); }
.temp input::-moz-range-thumb { width: 24px; height: 24px; border-radius: 12px; background: #fff; border: 0; box-shadow: 0 2px 8px rgba(0,0,0,.5); }
.temp input:focus-visible { outline: 2px solid var(--cine); outline-offset: 2px; }
.cam .fine { margin-top: 12px; }
.cam-side .h3 { font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -0.04em; margin-bottom: 20px; }
.legal { margin-top: 20px; max-width: 44ch; }

/* ================= ON SET ================= */
.onset { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(36px, 6vw, 96px); align-items: center; }
.onset-copy .lede { margin-top: 22px; }
.stages { margin-top: 36px; max-width: 520px; }
.stages ol { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.stages li { font-size: 13px; color: var(--text-2); display: grid; gap: 9px; }
.stages li b { font-weight: 500; }
.stages li i { position: relative; height: 5px; border-radius: 3px; background: var(--secondary-bg); overflow: hidden; }
.stages li i::after { content: ""; position: absolute; inset: 0; border-radius: 3px; transform-origin: 0 50%; transform: scaleX(0); transition: transform .8s var(--ease); }
.stages li.done i::after { background: #2BA471; } .stages li.now i::after { background: var(--film); transition-delay: .5s; }
.stages.in li.done i::after { transform: scaleX(1); } .stages.in li.now i::after { transform: scaleX(.55); }
html:not(.xjs) .stages li.done i::after { transform: scaleX(1); } html:not(.xjs) .stages li.now i::after { transform: scaleX(.55); }
.stages li.now { color: var(--text); } .stages li.now b { font-weight: 600; }
.row-cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }

.scripty { border-radius: 30px; overflow: hidden; box-shadow: var(--shadow-2); border-color: var(--border-strong); }
.sc-slate { height: 16px; background: repeating-linear-gradient(-58deg, #121113 0 20px, #F5F2EE 20px 40px); border-bottom: 1px solid var(--border-strong); }
.sc-head { padding: 22px 24px 0; }
.sc-scene { margin-top: 12px; display: flex; gap: 10px; align-items: baseline; font: 700 17px/1.3 var(--display); letter-spacing: -0.01em; }
.sc-scene .mono { font-size: 12px; padding: 4px 7px; border-radius: 6px; background: var(--secondary-bg); white-space: nowrap; }
.sc-head .small { margin-top: 6px; }
.sc-act { padding: 18px 24px 6px; display: grid; gap: 10px; }
.btn-rec { width: 100%; min-height: 64px; font-size: 18px; background: var(--primary-bg); color: var(--primary-fg); box-shadow: var(--shadow-1); }
.btn-rec:hover { background: var(--primary-hover); }
.btn-rec i { width: 12px; height: 12px; border-radius: 6px; background: #FF5148; }
.btn-rec.hit i { animation: hit .5s var(--ease); }
@keyframes hit { 30% { transform: scale(2.1); opacity: .5; } }
.btn-rec:disabled { opacity: .55; cursor: default; }
.sc-act p { text-align: center; }
.takes { list-style: none; margin: 4px 0 0; padding: 0 12px; max-height: 232px; overflow-y: auto; overscroll-behavior: contain; }
.takes li { display: grid; grid-template-columns: 1fr auto 44px; align-items: center; gap: 12px; padding: 4px 4px 4px 12px; border-top: 1px solid var(--border); animation: takeIn .45s var(--ease) both; }
.takes li:first-child { border-top: 0; }
@keyframes takeIn { from { opacity: 0; transform: translate3d(0, -12px, 0); } }
.takes b { font-weight: 600; font-size: 16px; }
.takes .stt { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--ok); }
.takes .stt::before { content: ""; width: 7px; height: 7px; border-radius: 4px; background: currentColor; }
.takes li.on .stt { color: var(--film-ink); }
.circ { width: 44px; height: 44px; border: 0; background: none; padding: 0; cursor: pointer; display: grid; place-items: center; border-radius: 50%; color: var(--text-3); }
.circ svg { width: 28px; height: 28px; overflow: visible; }
.circ circle { fill: none; stroke: currentColor; stroke-width: 2; transition: fill .2s var(--ease), stroke .2s var(--ease); }
.circ path { stroke: #fff; stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity .2s var(--ease); }
.circ:hover { color: var(--text); }
.circ[aria-pressed="true"] circle { fill: var(--film); stroke: var(--film); }
.circ[aria-pressed="true"] path { opacity: 1; }
.circ[aria-pressed="true"] svg { animation: pop .35s var(--ease); }
.takes-empty { padding: 14px 24px 26px; text-align: center; }
.takes:not(:empty) + .takes-empty { padding-top: 10px; }
@media (prefers-reduced-motion: reduce) { .takes li, .vid-play::after { animation: none; } }

/* ================= NEXT ================= */
.next-grid { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.nx { position: relative; padding: clamp(22px, 3vw, 36px); border-radius: 30px; display: flex; flex-direction: column; overflow: hidden; }
.nx::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 220px; pointer-events: none; background: radial-gradient(420px 200px at 0% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%); }
.nx > * { position: relative; }
.nx header { display: flex; align-items: center; gap: 12px; }
.nx header .chip { margin-left: auto; }
.nx-line { margin-top: 26px; font: 800 clamp(26px, 2.8vw, 36px)/1.08 var(--display); letter-spacing: -0.04em; text-wrap: balance; }
.nx .muted { margin-top: 10px; }
.next-grid.one { grid-template-columns: minmax(0, 1fr); }
.nx-creators { flex-direction: row; gap: clamp(24px, 4vw, 64px); align-items: center; }
.nx-creators .nx-l, .nx-creators .nx-r { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; }
.nx-creators .nx-l .fine { margin-top: 22px; }
.nx-creators .pipe { margin-top: 0; flex: none; }
.nx .txt-btn { align-self: flex-start; margin-top: 8px; }
.pipe { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; flex: 1; align-content: start; }
.pipe li { padding: 14px 16px 16px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--border); }
.pr { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 15px; }
.pr b { font-weight: 600; } .pr em { font-style: normal; font-size: 13px; color: var(--text-2); }
.pbar { margin-top: 11px; height: 6px; border-radius: 3px; background: var(--secondary-bg); overflow: hidden; }
.pbar i { display: block; height: 100%; border-radius: 3px; background: var(--creators); transform-origin: 0 50%; transform: scaleX(var(--p)); transition: transform 1.1s var(--ease); }
.xjs .nx-creators:not(.in) .pbar i { transform: scaleX(0); }
.pipe li:nth-child(2) .pbar i { transition-delay: .15s; } .pipe li:nth-child(3) .pbar i { transition-delay: .3s; }
.pipe-ends { display: flex; justify-content: space-between; margin: 10px 2px 14px; }

/* ================= QUESTIONS ================= */
.q-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.acc-i { border-top: 1px solid var(--border-strong); }
.acc-i:last-child { border-bottom: 1px solid var(--border-strong); }
.acc-i h3 { font: inherit; letter-spacing: 0; }
.acc-b { width: 100%; min-height: 68px; padding: 14px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: none; border: 0; cursor: pointer; text-align: left; color: var(--text); font: 700 clamp(18px, 1.7vw, 21px)/1.3 var(--display); letter-spacing: -0.02em; }
.acc-b i { position: relative; flex: none; width: 32px; height: 32px; border-radius: 16px; background: var(--secondary-bg); transition: transform var(--cf-dur-3) var(--cf-ease-standard), background-color var(--cf-dur-3) var(--cf-ease); }
.acc-b:hover i { background: var(--secondary-hover); }
.acc-b i::before, .acc-b i::after { content: ""; position: absolute; left: 10px; right: 10px; top: 15px; height: 2px; border-radius: 1px; background: currentColor; }
.acc-b i::after { transform: rotate(90deg); transition: transform var(--cf-dur-3) var(--cf-ease-standard); }
.acc-b[aria-expanded="true"] i::after { transform: rotate(0deg); }
.acc-p { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--cf-dur-3) var(--cf-ease-standard); }
.acc-p > div { overflow: hidden; visibility: hidden; transition: visibility var(--cf-dur-3); }
.acc-b[aria-expanded="true"] { }
.acc-i.open .acc-p { grid-template-rows: 1fr; } .acc-i.open .acc-p > div { visibility: visible; }
html:not(.xjs) .acc-p { grid-template-rows: 1fr; } html:not(.xjs) .acc-p > div { visibility: visible; }
.acc-p p { padding: 0 48px 22px 0; color: var(--text-2); max-width: 60ch; }
@media (prefers-reduced-motion: reduce) { .acc-p, .acc-b i, .acc-b i::after { transition: none; } }

/* ================= CLOSING ================= */
.closing { padding-top: clamp(96px, 12vw, 176px); }
.close-card { position: relative; overflow: hidden; text-align: center; padding: clamp(64px, 9vw, 128px) 24px clamp(48px, 7vw, 96px); border-radius: clamp(26px, 3.4vw, 48px); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-2); display: flex; flex-direction: column; align-items: center; }
.close-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(760px 420px at 50% 0%, var(--glow), transparent 70%); }
.close-card > *:not(.close-glow) { position: relative; }
.close-h { font-size: clamp(40px, 6.6vw, 92px); max-width: 12ch; }
.close-card .lede { margin-top: 22px; }
.close-cta { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.close-apps { list-style: none; margin: 40px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 28px; }
.close-apps a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--text); font-weight: 600; font-size: 15px; }
.close-apps .app-tile { width: 26px; height: 26px; border-radius: 7px; } .close-apps .app-tile svg { width: 14px; height: 14px; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1100px) {
  .day-top { grid-template-columns: minmax(0, 1fr) 320px; }
  .c-sticky { --l: 74%; --w: 24%; }
}
@media (max-width: 900px) {
  .ch-head { grid-template-columns: 1fr; align-items: start; gap: 22px; }
  .split, .split.flip { grid-template-columns: 1fr; }
  .split.flip .shot { order: -1; }
  .day-top { grid-template-columns: 1fr; }
  .crewbox { max-width: 420px; }
  .cam-grid { grid-template-columns: 1fr; }
  .onset { grid-template-columns: 1fr; }
  .scripty { max-width: 460px; width: 100%; justify-self: center; }
  .next-grid { grid-template-columns: 1fr; }
  .nx-creators { flex-direction: column; align-items: stretch; }
  .q-wrap { grid-template-columns: 1fr; }
  .bcanvas { grid-template-columns: 1fr; }
  .bframe { min-height: 440px; }
  .bf-2 { min-height: 260px; }
  .c-six { --l: 5%; --t: 26%; --w: 44%; } .c-six2 { --l: 54%; --t: 32%; --w: 38%; }
}
@media (max-width: 720px) {
  .container { width: calc(100% - 36px); }
  .hero h1 { font-size: clamp(42px, 12.6vw, 72px); }
  .hero-cta { width: 100%; } .hero-cta .btn { flex: 1 1 100%; }
  .stack { aspect-ratio: 1 / .86; width: 100%; }
  .pl { border-radius: 10px; }
  .pl-film { left: 5%; width: 90%; top: 36%; }
  .pl-boards { left: 2%; width: 60%; top: 2%; }
  .pl-cine { right: 2%; width: 60%; top: 10%; }
  .pl figcaption { height: 24px; font-size: 11.5px; left: 8px; bottom: 8px; } .pl-cine figcaption { right: 8px; top: 8px; bottom: auto; } .pl-boards figcaption { top: 8px; bottom: auto; }
  .fl { height: 32px; font-size: 12.5px; padding: 0 12px; }
  .fl-sun { left: 3%; top: 90%; } .fl-take { right: 3%; top: 31%; } .fl-lens { display: none; }
  .ch { scroll-margin-top: 36px; }
  .rail .container { width: calc(100% - 12px); }
  .rail a { padding: 0 13px; gap: 6px; } .rail a .mono, .rail a em { display: none; }
  .rail a::before { content: ""; width: 6px; height: 6px; border-radius: 3px; background: var(--c); }
  .board { border-radius: 22px; margin-left: -6px; margin-right: -6px; }
  .board-bar { padding: 12px 12px 12px 16px; } #boardHint { font-size: 13px; }
  .bcanvas { padding: 12px; gap: 12px; }
  .bframe { min-height: 600px; }
  .bcard { font-size: 13px; padding: 10px 11px 12px; }
  .c-shot { --l: 4%; --t: 9%; --w: 46%; } .c-photo { --l: 53%; --t: 8%; --w: 43%; }
  .c-sticky { --l: 55%; --t: 36%; --w: 40%; } .c-pal { --l: 4%; --t: 44%; --w: 47%; } .c-lens { --l: 22%; --t: 68%; --w: 54%; }
  .bf-2 { min-height: 300px; } .c-six { --l: 5%; --t: 20%; --w: 54%; } .c-six2 { --l: 44%; --t: 52%; --w: 50%; }
  .bcanvas.slides .bframe { min-height: 520px; }
  .bcanvas.slides .bf-title { left: 16px; top: 16px; }
  .bcanvas.slides .bf-1 .c-shot { --l: 5%; --t: 13%; --w: 44%; } .bcanvas.slides .bf-1 .c-photo { --l: 52%; --t: 13%; --w: 43%; }
  .bcanvas.slides .bf-1 .c-sticky { --l: 52%; --t: 44%; --w: 43%; } .bcanvas.slides .bf-1 .c-pal { --l: 5%; --t: 52%; --w: 44%; } .bcanvas.slides .bf-1 .c-lens { --l: 5%; --t: 72%; --w: 60%; }
  .bcanvas.slides .bf-2 .c-six { --l: 6%; --t: 18%; --w: 70%; font-size: 16px; } .bcanvas.slides .bf-2 .c-six2 { --l: 30%; --t: 52%; --w: 60%; font-size: 15px; }
  .day { border-radius: 24px; margin-left: -6px; margin-right: -6px; }
  .crew { margin-left: 0; margin-right: 0; }
  .tl-track { height: 72px; }
  .tl-b { padding: 0 6px; font-size: 13px; top: 10px; bottom: 10px; } .tl-b small, .tl-b .p, .tl-move .p { display: none; }
  .tl-b.call b { font-size: 11px; } .tl-b.call.night { display: none; }
  .tl-move { padding: 0 4px 0 15px; } .tl-move .grip { left: 6px; } .tl-move small { font-size: 11px; }
  .tl-status .btn { flex: 1 1 100%; }
  .room { margin: 0 6px; }
  .vid { aspect-ratio: 4 / 3; }
  .vid-play { width: 76px; height: 76px; margin: -38px 0 0 -38px; }
  .vid-soon { height: 46px; font-size: 15px; padding: 0 18px; }
  .btn-xl { width: 100%; min-height: 60px; font-size: 18px; padding: 0 20px; }
  .seg { grid-template-columns: repeat(3, 1fr); width: 100%; } .seg-ind { width: calc((100% - 8px) / 3); }
  .temp { width: 100%; } .temp input { flex: 1; width: auto; }
  .row-cta .btn, .close-cta .btn, .ch-side .btn { flex: 1 1 100%; width: 100%; }
  .acc-p p { padding-right: 8px; }
  .nx header { flex-wrap: wrap; }
}

/* ================= SCRIPT: the Enter / Tab page ================= */
.script-live { display: none; }
[data-script-live="true"] .script-live { display: revert; }
[data-script-live="true"] .script-soon { display: none; }
[data-script-live="true"] .btn.script-live { display: inline-flex; }
[data-script-live="false"] .script-live { display: none; }
.sdemo .board-ctl { flex-wrap: wrap; justify-content: flex-end; }
.sdemo .btn-sm { gap: 9px; }
kbd { font: 500 12px/1 var(--mono); padding: 4px 7px; border-radius: 6px; background: var(--bg-2); border: 1px solid var(--border-strong); color: var(--text); }
.btn[aria-disabled="true"] { opacity: .5; cursor: default; }
.sd-body { padding: clamp(16px, 3vw, 30px); background-color: var(--canvas); }
.spage { width: min(100%, 700px); margin: 0 auto; padding: 28px 28px 14px; min-height: 352px; border-radius: 6px; background: var(--paper); border: 1px solid var(--border); box-shadow: var(--shadow-1); font: 400 13.5px/1.55 'Courier Prime', 'Courier New', Courier, monospace; color: var(--text); }
.sl { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: start; margin-bottom: 12px; }
.el-l { font-size: 10.5px; line-height: 2; text-align: right; white-space: nowrap; color: var(--text-2); }
.sp { margin: 0; padding: 0 4px; border-radius: 4px; }
.sp.slug, .sp.chr, .sp.trn { text-transform: uppercase; }
.sp.chr { margin-left: 30%; } .sp.dlg { margin-left: 10%; margin-right: 10%; } .sp.par { margin-left: 20%; margin-right: 20%; } .sp.trn { text-align: right; }
.live .sl.cur .el-l { color: var(--accent-ink); font-weight: 700; }
.live .sl.cur .sp { background: color-mix(in srgb, var(--accent) 16%, transparent); box-shadow: -3px 0 0 var(--accent); }
.live .sl.cur .g::after { content: ""; display: inline-block; width: 2px; height: 1.1em; margin-left: 1px; vertical-align: -0.18em; background: var(--accent-ink); animation: rec 1s steps(1) infinite; }
.sd-status { max-width: 700px; margin: 16px auto 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; font-size: 14px; color: var(--text-2); }
.sd-status b { color: var(--text); font-weight: 700; }
.sd-status kbd { margin-right: 4px; }
.sd-note { max-width: 700px; margin: 8px auto 0; }
.feat { list-style: none; margin: 36px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.feat li { padding: 9px 15px; border-radius: 999px; background: var(--secondary-bg); font-size: 14px; color: var(--text-2); }
@media (max-width: 640px) {
  .sl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .el-l { display: none; text-align: left; }
  .live .sl.cur .el-l { display: block; }
  .spage { padding: 20px 16px 8px; }
  .sp.chr { margin-left: 22%; } .sp.dlg { margin-left: 8%; margin-right: 4%; } .sp.par { margin-left: 14%; margin-right: 10%; }
  .sdemo .board-ctl { margin-left: 0; justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .live .sl.cur .g::after { animation: none; } }

/* Without JS: keep the static page truthful */
html:not(.xjs) .tl-move { left: 77.38%; }
html:not(.xjs) .vid-play, html:not(.xjs) #replayType, html:not(.xjs) .board-ctl, html:not(.xjs) .sd-status, html:not(.xjs) .sd-note { display: none; }


/* =====================================================================
   EXPLORE v2: the page is one shoot day. Crew call at the top, wrap at the bottom.
   Still transform + opacity only. Sticky does the pinning; JS only scrubs.
   ===================================================================== */
:root { --serif: 'Instrument Serif', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif; --night-bg: #0E0D11; --slate: #121113; --slate-line: #121113; --strip: #121113; --strip-frame: #1E1C20; }
[data-theme="dark"] { --night-bg: #0A090C; --slate: #242127; --slate-line: #3A363E; --strip: #060507; --strip-frame: #1B191C; }
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; }
.rec { display: inline-block; width: 8px; height: 8px; border-radius: 4px; background: #E5484D; animation: rec 2.4s ease-in-out infinite; flex: none; }
@keyframes rec { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes rise { from { transform: translate3d(0, 108%, 0); } to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translate3d(0, 22px, 0); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .rec { animation: none; } }

/* Night: any block can switch itself to the dark tokens, whatever the theme. */
.night { color-scheme: dark; color: var(--text);
  --bg: var(--night-bg); --bg-2: #151317; --bg-3: #1C1A1F; --surface: #1A181C; --border: rgba(255,255,255,.10); --border-strong: rgba(255,255,255,.17);
  --text: #F5F2EE; --text-2: #B1ABA5; --text-3: #9C9690; --glow: rgba(255,214,168,.16);
  --shadow-1: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.3); --shadow-2: 0 2px 6px rgba(0,0,0,.35), 0 30px 80px rgba(0,0,0,.5);
  --primary-bg: #F5F2EE; --primary-fg: #121113; --primary-hover: #FFFFFF; --secondary-bg: rgba(255,255,255,.10); --secondary-hover: rgba(255,255,255,.16);
  --link: #5AB0FF; --film-ink: #5AB0FF; --boards-ink: #64D2FF; --cine-ink: #FFB340; --script-ink: #D69CF7; --creators-ink: #FF7A96;
  --ok: #4CC38A; --ok-soft: rgba(76,195,138,.12); --bad: #FF8A80; --bad-soft: rgba(255,120,110,.10); --paper: #201D22; --canvas: #151316; }
.zone { background: var(--night-bg); position: relative; }
html.on-night .site-header { color-scheme: dark; --bg: var(--night-bg); --text: #F5F2EE; --text-2: #B1ABA5; --text-3: #9C9690; --border: rgba(255,255,255,.10); --primary-bg: #F5F2EE; --primary-fg: #121113; --primary-hover: #fff; --secondary-bg: rgba(255,255,255,.10); }
.site-header .wordmark, .site-header .nav a, .site-header .signin, .site-header .icon-btn { transition: color var(--cf-dur-5) var(--cf-ease); }

/* ---------- Words that rise (headlines) ---------- */
.mega { font: 800 clamp(42px, 6.9vw, 104px)/.95 var(--display); letter-spacing: -0.055em; text-wrap: balance; }
.sw-w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .07em .14em 0; margin: 0 -.07em -.14em 0; }
.sw-w > span { display: inline-block; }
.xjs [data-split] .sw-w > span { transform: translate3d(0, 108%, 0); transition: transform .95s var(--ease); transition-delay: calc(var(--i) * 50ms); }
.xjs [data-split].in .sw-w > span { transform: none; }
@media (prefers-reduced-motion: reduce) { .xjs [data-split] .sw-w > span { transform: none; transition: none; } }

/* ================= FILM LEADER ================= */
.leader { display: none; }
html.lead .leader { display: block; position: fixed; inset: 0; z-index: 1000; pointer-events: none; color: var(--text); animation: ldGone .01s linear 1.5s forwards; }
html.lead { --ld: .98s; }
.ld-h { position: absolute; left: 0; right: 0; height: 50.2%; background: var(--bg-2); }
.ld-top { top: 0; animation: ldUp .5s cubic-bezier(.76,0,.24,1) .92s forwards; }
.ld-bot { bottom: 0; animation: ldDown .5s cubic-bezier(.76,0,.24,1) .92s forwards; }
.ld-c { position: absolute; left: 50%; top: 50%; width: min(44vmin, 300px); aspect-ratio: 1; margin: calc(min(44vmin, 300px) / -2); animation: ldOut .12s linear .86s forwards; }
.ld-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid currentColor; opacity: .85; }
.ld-ring::after { content: ""; position: absolute; inset: 9%; border-radius: 50%; border: 1px solid currentColor; opacity: .5; }
.ld-x { position: absolute; inset: -18%; background: linear-gradient(currentColor, currentColor) 50% 50% / 100% 1px no-repeat, linear-gradient(currentColor, currentColor) 50% 50% / 1px 100% no-repeat; opacity: .3; }
.ld-sweep { position: absolute; inset: 1%; border-radius: 50%; background: conic-gradient(from 0deg, currentColor 0 12%, transparent 12%); opacity: .14; animation: ldSpin .29s linear 3; }
.ld-c b { position: absolute; inset: 0; display: grid; place-items: center; font: 800 min(24vmin, 168px)/1 var(--display); letter-spacing: -0.05em; opacity: 0; font-variant-numeric: tabular-nums; }
.ld-c .n3 { animation: ldNum .29s steps(1) 0s forwards; } .ld-c .n2 { animation: ldNum .29s steps(1) .29s forwards; } .ld-c .n1 { animation: ldNum .29s steps(1) .58s forwards; }
.ld-l, .ld-r { position: absolute; bottom: 26px; font-size: 12px; color: var(--text-2); animation: ldOut .12s linear .86s forwards; }
.ld-l { left: 26px; } .ld-r { right: 26px; }
@keyframes ldSpin { to { transform: rotate(360deg); } }
@keyframes ldNum { 0% { opacity: 1; } 100% { opacity: 0; } }
@keyframes ldOut { to { opacity: 0; } }
@keyframes ldUp { to { transform: translate3d(0, -101%, 0); } }
@keyframes ldDown { to { transform: translate3d(0, 101%, 0); } }
@keyframes ldGone { to { visibility: hidden; } }

/* ================= THE DAY'S CLOCK ================= */
.prog { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 70; pointer-events: none; }
.prog i { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, #8FC1FF 0%, #BFDCF5 30%, #FFC76B 58%, #F0703A 70%, #7A4E8C 80%, #2C2A58 100%); will-change: transform; }
.hud { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 15px 0 13px; border-radius: 999px; background: rgba(18,17,19,.93); border: 1px solid rgba(255,255,255,.14); color: #F5F2EE; font-size: 12px; white-space: nowrap; opacity: 0; transform: translate3d(0, 10px, 0); transition: opacity .35s var(--ease), transform .35s var(--ease); pointer-events: none; }
.hud span { color: rgba(245,242,238,.72); }
.hud b { font-weight: 500; width: 8ch; text-align: right; contain: content; }
.hud { contain: layout style; }
html.hud-on .hud { opacity: 1; transform: none; }
.ticks { position: fixed; right: 14px; top: 50%; z-index: 55; display: flex; flex-direction: column; gap: 2px; margin-top: -100px; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; }
html.hud-on .ticks { opacity: 1; visibility: visible; }
.ticks a { position: relative; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 16px; }
.ticks a::before { content: ""; width: 8px; height: 8px; border-radius: 4px; background: #8E8882; box-shadow: 0 0 0 2px rgba(251,250,248,.55); transition: transform .25s var(--ease), background-color .25s var(--ease); }
.ticks a[aria-current]::before, .ticks a:hover::before { background: var(--c); transform: scale(1.5); }
.ticks span { position: absolute; right: 36px; top: 50%; height: 28px; margin-top: -14px; padding: 0 11px; border-radius: 14px; display: inline-flex; align-items: center; background: rgba(18,17,19,.93); color: #F5F2EE; font: 600 12.5px var(--font); white-space: nowrap; opacity: 0; transform: translate3d(6px, 0, 0); transition: opacity .2s var(--ease), transform .2s var(--ease); pointer-events: none; }
.ticks a:hover span, .ticks a:focus-visible span { opacity: 1; transform: none; }
@media (max-width: 1179px) { .ticks { display: none; } }
@media (max-width: 900px) { .hud { display: none; } }

/* ================= TITLE SEQUENCE ================= */
.hero { position: relative; margin-top: -60px; }
.hero-pin { position: relative; min-height: 100svh; overflow: hidden; display: flex; flex-direction: column; }
.gl { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .9s var(--ease); }
html.gl-on .gl { opacity: 1; }
html.gl-on .hero-stage, html.gl-try .hero-stage { visibility: hidden; }
.hero-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 24vh; pointer-events: none; background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 0%, transparent), var(--bg)); z-index: 1; }

/* viewfinder chrome */
.vfh { position: absolute; inset: 78px 18px 20px; pointer-events: none; z-index: 2; color: var(--text-2); }
.vfh > i { position: absolute; width: 20px; height: 20px; border: 1.5px solid currentColor; opacity: .55; }
.vfh .c1 { left: 0; top: 0; border-right: 0; border-bottom: 0; } .vfh .c2 { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.vfh .c3 { left: 0; bottom: 0; border-right: 0; border-top: 0; } .vfh .c4 { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.vfh span { position: absolute; font-size: 11.5px; display: inline-flex; align-items: center; gap: 7px; }
.vfh-tl { left: 30px; top: 3px; } .vfh-tr { right: 30px; top: 3px; } .vfh-bl { left: 30px; bottom: 3px; } .vfh-br { right: 30px; bottom: 3px; width: 11ch; justify-content: flex-end; contain: content; }
.vfh-bl::before { content: ""; width: 14px; height: 14px; border-radius: 7px; background: radial-gradient(closest-side, #FFD08A 0 35%, rgba(255,176,84,.35) 36% 100%); }
html:not(.gl-on) .vfh-bl { visibility: hidden; }

.hero-a { position: relative; z-index: 3; margin-top: auto; margin-bottom: auto; padding-top: 104px; padding-bottom: 72px; will-change: transform, opacity; }
.hero-a > * { max-width: 600px; }
.slate { display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 16px 0 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-1); font-size: 14px; color: var(--text-2); }
.slate b { color: var(--text); font-weight: 600; }
.hero h1 { margin-top: 26px; font-size: clamp(54px, 6.5vw, 108px); line-height: .9; max-width: none; }
.hero h1 .ln { display: block; overflow: hidden; padding: .04em .06em .14em 0; margin: -.04em 0 -.14em; }
.hero h1 .ln > span { display: block; }
.hero h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.03em; font-size: 1.1em; line-height: .8; color: var(--sunset-ink); padding-right: .06em; }
.hero-lede { margin-top: 26px; max-width: 430px; font-size: clamp(18px, 1.5vw, 21px); }
.hero-cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-fine { margin-top: 16px; }
@media (prefers-reduced-motion: no-preference) {
  .hero h1 .ln > span { animation: rise 1.05s var(--ease) both; animation-delay: calc(var(--ld, 0s) + .05s); }
  .hero h1 .ln:nth-child(2) > span { animation-delay: calc(var(--ld, 0s) + .13s); }
  .hero h1 .ln:nth-child(3) > span { animation-delay: calc(var(--ld, 0s) + .21s); }
  .slate, .hero-lede, .hero-cta, .hero-fine, .vfh { animation: fadeUp .9s var(--ease) both; animation-delay: calc(var(--ld, 0s) + .05s); }
  .hero-lede { animation-delay: calc(var(--ld, 0s) + .34s); } .hero-cta { animation-delay: calc(var(--ld, 0s) + .42s); } .hero-fine, .vfh { animation-delay: calc(var(--ld, 0s) + .5s); }
  .hero-stage { animation: fadeUp 1.2s var(--ease) both; animation-delay: calc(var(--ld, 0s) + .3s); }
}

/* fallback stage: the same real screenshots in CSS 3D */
.hero-stage { will-change: transform, opacity; position: absolute; right: -5%; top: 52svh; width: 64%; margin-top: -19%; perspective: 1800px; z-index: 1; }
.hero-stage::before { content: ""; position: absolute; left: 6%; right: 6%; bottom: -12%; height: 34%; background: radial-gradient(50% 50% at 50% 50%, rgba(18,17,19,.20), transparent 72%); pointer-events: none; }
[data-theme="dark"] .hero-stage::before { background: radial-gradient(50% 50% at 50% 50%, rgba(0,0,0,.6), transparent 72%); }
.tilt { transform-style: preserve-3d; will-change: transform; }
.stack { position: relative; width: 100%; aspect-ratio: 1180 / 560; transform-style: preserve-3d; transform: rotateX(8deg) rotateY(-9deg); }
.pl { position: absolute; margin: 0; border-radius: 12px; overflow: hidden; background: var(--bg-3); border: 1px solid var(--border-strong); box-shadow: 0 18px 50px rgba(18,17,19,.16); backface-visibility: hidden; }
.pl img { width: 100%; height: auto; }
.pl-film { left: 16%; width: 62%; top: 9%; }
.pl-boards { left: 0; width: 40%; top: 0; transform: translate3d(0, 0, -140px); }
.pl-cine { right: 0; width: 40%; top: 38%; transform: translate3d(0, 0, -90px); }

/* title card */
.hero-b { position: relative; z-index: 3; text-align: center; display: flex; flex-direction: column; align-items: center; padding-top: 24px; padding-bottom: 56px; }
.tc-k { font-size: 12.5px; color: var(--text-2); }
.tc-title { margin-top: 14px; max-width: 15ch; font: 800 clamp(46px, 7.6vw, 124px)/.96 var(--display); letter-spacing: -0.045em; text-wrap: balance; }
.lineup { list-style: none; margin: clamp(30px, 4vw, 52px) 0 0; padding: 0; width: 100%; max-width: 1120px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; text-align: left; }
.lineup li { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "t n" "t p" "s s"; column-gap: 12px; align-items: center; padding: 16px 16px 14px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-1); }
.lineup .app-tile { grid-area: t; align-self: start; }
.lineup b { grid-area: n; font: 700 18px/1.2 var(--display); letter-spacing: -0.02em; }
.lineup em { grid-area: p; font-style: normal; font-size: 14px; color: var(--text-2); }
.lineup small { grid-area: s; display: flex; align-items: center; gap: 7px; margin-top: 14px; padding-top: 11px; border-top: 1px solid var(--border); font-size: 13px; font-weight: 600; color: var(--text-2); }
.lineup small::before { content: ""; width: 7px; height: 7px; border-radius: 4px; background: var(--c); flex: none; }

/* pinned on larger screens: one sticky frame, two beats */
html.pinned .hero { height: 235vh; }
html.pinned .hero-pin { position: sticky; top: 0; height: 100vh; min-height: 0; }
html.pinned .hero-b { position: absolute; left: 0; right: 0; top: 50%; translate: 0 -46%; padding: 0; opacity: 0; pointer-events: none; will-change: transform, opacity; }

/* ================= THE FLOW: A STRIP OF FILM ================= */
.strip { position: relative; z-index: 1; padding-top: clamp(28px, 4vw, 56px); }
.strip-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; }
.strip-view { margin-top: 26px; background: var(--strip); overflow: hidden; }
.strip-track { list-style: none; margin: 0; padding: 36px 14px; display: flex; gap: 12px; width: max-content; position: relative; will-change: transform; }
.strip-track::before, .strip-track::after { content: ""; position: absolute; left: 0; right: 0; height: 12px; background: repeating-linear-gradient(90deg, transparent 0 13px, var(--bg) 13px 31px, transparent 31px 44px); opacity: .92; }
.strip-track::before { top: 12px; } .strip-track::after { bottom: 12px; }
.strip-track li { flex: none; width: clamp(280px, 25vw, 372px); }
.strip-track a { position: relative; height: 100%; min-height: 204px; display: grid; grid-template-rows: auto 1fr auto auto; gap: 4px; padding: 16px 18px 18px; border-radius: 5px; background: var(--strip-frame); color: #F5F2EE; text-decoration: none; overflow: hidden; transition: background-color .25s var(--ease); }
.strip-track a::before { content: ""; position: absolute; inset: 0; background: radial-gradient(340px 200px at 100% 0%, color-mix(in srgb, var(--c) 34%, transparent), transparent 70%); opacity: .55; transition: opacity .3s var(--ease); }
.strip-track a:hover::before, .strip-track a:focus-visible::before { opacity: 1; }
.strip-track a > * { position: relative; }
.strip-track .mono { font-size: 12px; color: rgba(245,242,238,.62); }
.strip-track b { align-self: end; font: 800 clamp(26px, 2.5vw, 36px)/1 var(--display); letter-spacing: -0.045em; }
.strip-track em { margin-top: 8px; font-style: normal; font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; }
.strip-track em i { width: 9px; height: 9px; border-radius: 5px; background: var(--c); }
.strip-track small { font-size: 13px; color: rgba(245,242,238,.7); }
.strip-track a:focus-visible { outline-offset: -3px; outline-color: #fff; }

/* ================= CHAPTER OPENERS: THE SLATE ================= */
.op { display: grid; grid-template-columns: 276px minmax(0, 1fr); gap: clamp(28px, 5vw, 76px); align-items: end; }
.op-s { margin-top: clamp(22px, 2.6vw, 34px); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; }
.op-s .lede { font-size: clamp(18px, 1.5vw, 21px); max-width: 540px; }
.clapper { position: relative; width: 276px; max-width: 100%; padding-top: 60px; color: #F5F2EE; flex: none; }
.clap-arm, .clap-jaw { position: absolute; left: 0; right: 0; height: 28px; border-radius: 5px; border: 2px solid var(--slate-line); background: repeating-linear-gradient(-55deg, #121113 0 21px, #F5F2EE 21px 42px); }
.clap-jaw { top: 32px; border-radius: 5px 5px 0 0; }
.clap-arm { top: 3px; transform-origin: 6px 100%; transform: rotate(-17deg); }
.xjs .clapper.in .clap-arm { transform: none; transition: transform .14s cubic-bezier(.7,0,1,.5) .42s; }
.xjs .clapper.in { animation: clapHit .3s ease-out .56s; }
html:not(.xjs) .clap-arm { transform: none; }
@keyframes clapHit { 0% { transform: translate3d(0, 3px, 0); } 100% { transform: none; } }
.clapper dl { margin: 0; display: grid; grid-template-columns: .8fr 1.5fr; background: var(--slate); border: 2px solid var(--slate-line); border-top: 0; border-radius: 0 0 14px 14px; padding: 6px 16px 12px; }
.clapper dl div { padding: 10px 2px 9px; min-width: 0; }
.clapper dl div + div { padding-left: 14px; border-left: 1px solid rgba(255,255,255,.16); }
.clapper dl .w { grid-column: 1 / -1; border-left: 0 !important; padding-left: 2px !important; border-top: 1px solid rgba(255,255,255,.16); }
.clapper dt { font: 500 11px/1.2 var(--mono); color: rgba(245,242,238,.66); }
.clapper dd { margin: 4px 0 0; font: 700 18px/1.15 var(--display); letter-spacing: -0.02em; display: flex; align-items: center; gap: 8px; }
.clapper dd.mono { font: 500 22px/1 var(--mono); }
.clapper .st { width: 9px; height: 9px; border-radius: 5px; flex: none; }
@media (prefers-reduced-motion: reduce) { .clap-arm { transform: none !important; } .xjs .clapper.in { animation: none; } }
.board, .day { margin-top: clamp(44px, 6vw, 84px); }

/* scroll-tilted product frames */
.shot .frame { will-change: transform; transform-origin: 50% 100%; }
.shot { perspective: 1600px; }

/* ================= CINE LAB ================= */
.room { margin: 0 clamp(6px, 1.2vw, 20px); }
.room .mega { max-width: 13ch; }
.room .op-s .lede { max-width: 30ch; font-size: clamp(20px, 1.9vw, 26px); color: var(--text); }
.room-light { position: absolute; left: 0; top: 0; width: 1000px; height: 1000px; margin: -500px 0 0 -500px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,176,84,.20), rgba(255,160,60,.07) 45%, transparent 100%); opacity: 0; transition: opacity .6s var(--ease); pointer-events: none; will-change: transform; }
.room.lit .room-light { opacity: 1; }
.vid-wrap { margin-top: clamp(40px, 5vw, 72px); }
.vid { margin-top: 0; max-width: none; will-change: transform; transform-origin: 50% 60%; }
.xjs .vid[data-rv] { transform: none; opacity: 1; transition: none; }
.vid::before, .vid::after { content: ""; position: absolute; left: 0; right: 0; height: 6.2%; background: #000; z-index: 1; pointer-events: none; transition: transform .6s var(--ease); }
.vid::before { top: 0; } .vid::after { bottom: 0; }
.vid.playing::before { transform: translate3d(0, -101%, 0); } .vid.playing::after { transform: translate3d(0, 101%, 0); }
.vid-tag { z-index: 2; top: calc(6.2% + 12px); }
.vid-play, .vid-soon { z-index: 2; }

/* ================= ON SET: THE SUN GOES DOWN ================= */
.onset-sec { padding-top: clamp(120px, 15vw, 220px); }
.sky { position: absolute; inset: 0; pointer-events: none; }
.sky-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.sk { position: absolute; inset: 0; opacity: 0; will-change: opacity; }
.sk-gold { background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 0%, transparent) 0%, #FDEBD2 26%, #FBD09A 58%, #F6A45A 80%, #EE8442 100%); }
.sk-dusk { background: linear-gradient(180deg, #1E1A3A 0%, #40285C 34%, #8B3F66 62%, #D2603F 86%, #F08A45 100%); }
.sk-night { background: radial-gradient(1.2px 1.2px at 12% 18%, rgba(255,255,255,.8) 50%, transparent 51%), radial-gradient(1px 1px at 27% 42%, rgba(255,255,255,.8) 50%, transparent 51%), radial-gradient(1.4px 1.4px at 44% 12%, rgba(255,255,255,.8) 50%, transparent 51%), radial-gradient(1px 1px at 58% 31%, rgba(255,255,255,.8) 50%, transparent 51%), radial-gradient(1.2px 1.2px at 71% 9%, rgba(255,255,255,.8) 50%, transparent 51%), radial-gradient(1px 1px at 83% 26%, rgba(255,255,255,.8) 50%, transparent 51%), radial-gradient(1.3px 1.3px at 92% 47%, rgba(255,255,255,.8) 50%, transparent 51%), radial-gradient(1px 1px at 6% 55%, rgba(255,255,255,.8) 50%, transparent 51%), radial-gradient(1px 1px at 36% 60%, rgba(255,255,255,.8) 50%, transparent 51%), radial-gradient(1.2px 1.2px at 64% 54%, rgba(255,255,255,.8) 50%, transparent 51%), var(--night-bg); }
[data-theme="dark"] .sk-gold { background: linear-gradient(180deg, rgba(18,17,19,0) 0%, #1F1612 30%, #4A2713 62%, #9A4B1C 86%, #D2702A 100%); }
.sun-o { position: absolute; left: 56%; top: 0; width: 30vmin; height: 30vmin; margin-left: -15vmin; margin-top: -15vmin; border-radius: 50%; opacity: 0; will-change: transform, opacity; background: radial-gradient(closest-side, #FFF8E4 0%, #FFE2A0 48%, #FFB85C 82%, #FF9A45 100%); }
.sun-o i { position: absolute; inset: -110%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,190,110,.55), rgba(255,150,70,.18) 45%, transparent 100%); }
.sea { position: absolute; left: 0; right: 0; bottom: 0; height: 26vh; opacity: 0; will-change: opacity; background: linear-gradient(180deg, #C96A36 0%, #8E4526 42%, #5B2C1E 100%); border-top: 1px solid rgba(255,236,200,.65); }
.sea-night { position: absolute; inset: -1px 0 0; opacity: 0; background: linear-gradient(180deg, #2B1B33 0%, #15111C 55%, var(--night-bg) 100%); border-top: 1px solid rgba(255,190,150,.35); will-change: opacity; }
.glint { position: absolute; left: 56%; top: 0; bottom: 0; width: 26vmin; margin-left: -13vmin; opacity: 0; will-change: opacity; background: repeating-linear-gradient(180deg, rgba(255,226,170,.9) 0 2px, transparent 2px 9px); -webkit-mask: radial-gradient(closest-side at 50% 0%, #000 0%, transparent 100%); mask: radial-gradient(50% 100% at 50% 0%, #000 0%, transparent 100%); }
.onset, .magic, .onset-c { position: relative; z-index: 1; }
.onset { align-items: center; }
.onset-copy .clapper { margin-bottom: 30px; }
.onset-copy .mega { font-size: clamp(42px, 5.6vw, 84px); }
.onset-copy .lede { margin-top: 24px; }
.onset .scripty, .onset .scripty .btn-rec, .onset .takes li { transition: background-color .6s var(--ease), border-color .6s var(--ease), color .6s var(--ease); }
.onset-copy .mega, .onset-copy .lede { transition: color .6s var(--ease); }
.magic { min-height: 150vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 34vh 20px 10vh; }
.magic-k { font-size: 13px; color: #FFE3BA; display: inline-flex; align-items: center; gap: 9px; }
.magic-k::before { content: ""; width: 8px; height: 8px; border-radius: 4px; background: #FFB454; }
.magic-t { margin-top: 10px; font: 800 clamp(104px, 25vw, 400px)/.82 var(--display); letter-spacing: -0.07em; color: #FFF8EC; white-space: nowrap; }
.magic-t small { font-size: .2em; letter-spacing: -0.02em; margin-left: .12em; font-weight: 700; }
.magic-l { margin-top: 30px; max-width: 24ch; font-size: clamp(26px, 3.3vw, 48px); line-height: 1.08; color: #FFF8EC; text-wrap: balance; }
.onset-c { padding-bottom: clamp(72px, 10vw, 140px); }
.after-h { max-width: 17ch; }
.onset-c .stages { margin-top: 44px; max-width: 760px; }
.onset-c .stages li { font-size: 15px; }
.onset-c .stages li i { height: 6px; }

/* ================= NIGHT: NEXT, QUESTIONS, WRAP ================= */
.zone > .ch:first-child { padding-top: clamp(40px, 6vw, 88px); }
.zone .nx { background: #17151A; }
.closing { position: relative; padding-top: clamp(110px, 14vw, 210px); overflow: hidden; }
.closing::before { content: ""; position: absolute; left: 50%; top: 0; width: 1500px; height: 900px; margin-left: -750px; background: radial-gradient(closest-side, rgba(255,196,130,.13), transparent 100%); pointer-events: none; }
.close-in { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.wrap-k { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; color: var(--text-2); }
.wrap-h { margin-top: 18px; font-size: clamp(78px, 16.5vw, 272px); line-height: .86; letter-spacing: -0.04em; font-style: italic; }
.wrap-h .sw-w { padding-bottom: .2em; margin-bottom: -.2em; padding-right: .12em; margin-right: -.12em; }
.close-in .lede { margin-top: 34px; text-wrap: balance; }
.close-cta { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.credits { margin-top: clamp(84px, 11vw, 160px); width: 100%; max-width: 860px; }
.cr-h { font-size: 12.5px; font-weight: 500; letter-spacing: 0; color: var(--text-3); margin-bottom: 22px; }
.cr { margin: 0 0 clamp(52px, 7vw, 88px); display: grid; gap: 9px; }
.cr > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 30px); align-items: baseline; }
.cr dt { text-align: right; color: var(--text-2); font-size: clamp(16px, 1.7vw, 21px); }
.cr dd { margin: 0; text-align: left; font: 700 clamp(19px, 2.1vw, 27px)/1.2 var(--display); letter-spacing: -0.025em; }
.cr dd a { color: var(--text); text-decoration: underline; text-decoration-color: rgba(255,255,255,.3); text-underline-offset: 5px; text-decoration-thickness: 1px; display: inline-block; padding: 6px 0; }
.cr dd a:hover { text-decoration-color: currentColor; }
.cr dd small { display: inline-block; margin-left: 12px; font: 500 13px var(--font); letter-spacing: 0; color: var(--text-3); white-space: nowrap; }
.credits .close-apps { margin-top: 0; }
.zone .site-footer { margin-top: clamp(64px, 8vw, 110px); }

/* ================= RESPONSIVE (v2) ================= */
@media (max-width: 1100px) {
  .op { grid-template-columns: 240px minmax(0, 1fr); } .clapper { width: 240px; }
}
@media (max-width: 900px) {
  .op { grid-template-columns: 1fr; align-items: start; gap: 26px; }
  .clapper { width: 250px; }
  .onset-copy .clapper { margin-bottom: 26px; }
  .sun-o, .glint { left: 70%; }
}
@media (max-width: 820px) {
  .hero-pin { min-height: 0; }
  .hero-a { margin-top: 0; padding-top: 92px; padding-bottom: 0; min-height: 100svh; display: flex; flex-direction: column; }
  .hero h1 { font-size: clamp(46px, 14vw, 84px); margin-top: 18px; }
  .hero-lede { margin-top: 14px; font-size: 16px; line-height: 1.42; }
  .hero-cta { margin-top: 18px; } .hero-cta .btn { flex: 1 1 0; padding: 0 12px; min-height: 52px; font-size: 16px; }
  .hero-fine { display: none; }
  .hero-a { padding-top: 84px; }
  .gl { height: 100svh; }
  .hero-fade { top: calc(100svh - 18vh); bottom: auto; height: 18vh; }
  .vfh { inset: 70px 10px auto; height: calc(100svh - 82px); }
  .vfh .vfh-tl, .vfh .vfh-tr, .vfh .c1, .vfh .c2 { display: none; } .vfh .vfh-bl { left: 22px; } .vfh .vfh-br { right: 22px; }
  .hero-stage { right: auto; left: -6%; width: 112%; margin: 0; top: calc(92svh - 56vw); }
  html.gl-on .hero-stage, html.gl-try .hero-stage { display: none; }
  .hero-b { padding-top: 36px; padding-bottom: 20px; }
  .lineup { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 560px; } .lineup li:last-child { grid-column: 1 / -1; }
  .strip-view { overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .strip-view::-webkit-scrollbar { display: none; }
  .strip-track { transform: none !important; }
  .strip-track li { width: 264px; scroll-snap-align: center; }
  .strip-track a { min-height: 184px; }
  .op-s .btn { width: 100%; }
  .room { margin: 0 6px; }
  .magic { min-height: 120vh; padding-top: 30vh; }
  .cr > div { gap: 12px; } .cr dd small { display: block; margin: 2px 0 0; white-space: normal; }
}
@media (max-width: 420px) { .slate span { display: none; } }

/* Without JS, or with reduced motion: no pinning, everything laid out and visible. */
html:not(.xjs) .hero-b, html.calm .hero-b { opacity: 1; visibility: visible; }
html:not(.xjs) .sk-gold, html:not(.xjs) .sea { opacity: 0; }
html:not(.xjs) .magic, html:not(.xjs) .onset-c { background: var(--night-bg); }
html:not(.xjs) .prog, html:not(.xjs) .hud, html:not(.xjs) .ticks { display: none; }
html.calm .magic, html.calm .onset-c { background: var(--night-bg); }
html.calm .sky { display: none; }

/* Boards: the cards are dealt onto the canvas when it arrives */
@media (prefers-reduced-motion: no-preference) {
  .xjs .board:not(.in) .bcard { opacity: 0; }
  .xjs .board.in .bcard { animation: deal .7s var(--ease) backwards; animation-delay: calc(.25s + var(--k, 0) * 90ms); }
  .bcard:nth-child(3) { --k: 1; } .bcard:nth-child(4) { --k: 2; } .bcard:nth-child(5) { --k: 3; } .bcard:nth-child(6) { --k: 4; } .bf-2 .bcard { --k: 5; } .bf-2 .bcard:nth-child(3) { --k: 6; }
}
@keyframes deal { from { opacity: 0; scale: .8; translate: 0 34px; } }

/* Not pinned (phones, reduced motion, no JS): the stage is exactly one screen, the title card follows it in the flow. */
html:not(.pinned) .gl { height: 100svh; }
html:not(.pinned) .hero-a { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; margin: 0 auto; }
html:not(.pinned) .hero-fade { top: 82svh; bottom: auto; height: 18svh; }
html:not(.pinned) .vfh { bottom: auto; height: calc(100svh - 98px); }
@media (max-width: 820px) { html:not(.pinned) .hero-a { justify-content: flex-start; } html:not(.pinned) .vfh { height: calc(100svh - 82px); } }
html:not(.xjs) .onset-c, html.calm .onset-c { box-shadow: 0 0 0 100vmax var(--night-bg); clip-path: inset(0 -100vmax); }

/* Film: the sun's arc over the run of the day */
.tl-wrap { padding-top: 96px; }
.tl-sunlab { top: 58px; }
.tl-arc { position: absolute; left: 0; right: 0; top: 14px; height: 82px; overflow: hidden; pointer-events: none; }
.tl-path { position: absolute; left: 9.88%; width: 74.52%; top: 22px; height: 120px; border-radius: 50%; border: 1.5px dashed var(--border-strong); }
.tl-sun { position: absolute; left: -11px; bottom: -11px; width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(closest-side, #FFF3D0 0 30%, #FFB454 70%); box-shadow: 0 0 0 5px rgba(255,180,84,.22), 0 0 22px 4px rgba(255,170,70,.5); transition: opacity .3s var(--ease); will-change: transform; }
html:not(.xjs) .tl-arc { display: none; }
.bcanvas.slides .bcard { animation-delay: 0s !important; animation-duration: .45s !important; }
@media (min-width: 821px) { .vfh .vfh-bl { left: 50%; transform: translateX(-50%); } }
.onset-copy .lede { color: var(--text); }

/* ---- Cheap-to-composite versions of the three heaviest pieces (measured) ---- */
/* 1. Cine Lab: no rounded clip on the huge panel. The corners are painted on instead. */
.room, [data-theme="dark"] .room { margin: 0; border-radius: 0; overflow: visible; box-shadow: none; --rr: clamp(26px, 3.6vw, 52px); }
.room::before, .room::after { content: ""; position: absolute; left: 0; right: 0; height: var(--rr); pointer-events: none; z-index: 1;
  background: radial-gradient(circle at 100% 100%, transparent calc(var(--rr) - .6px), var(--bg) var(--rr)) 0 0 / var(--rr) var(--rr) no-repeat, radial-gradient(circle at 0 100%, transparent calc(var(--rr) - .6px), var(--bg) var(--rr)) 100% 0 / var(--rr) var(--rr) no-repeat; }
.room::before { top: 0; } .room::after { bottom: 0; transform: scaleY(-1); }
.room-fx { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
/* 2. Sunset: the sun and its halo are one layer; the reflection needs no mask. */
.sun-o { width: 62vmin; height: 62vmin; margin-left: -31vmin; margin-top: -31vmin; background: radial-gradient(closest-side, #FFF8E4 0%, #FFE2A0 23%, #FFB85C 40%, #FF9A45 47.5%, rgba(255,160,80,.42) 49%, rgba(255,150,70,.16) 70%, rgba(255,150,70,0) 100%); }
.glint { -webkit-mask: none; mask: none; width: 26vmin; margin-left: -13vmin; background:
  linear-gradient(#FFE6B4, #FFE6B4) 50% 4% / 78% 2px no-repeat, linear-gradient(#FFE6B4, #FFE6B4) 50% 11% / 100% 2px no-repeat, linear-gradient(#FFE6B4, #FFE6B4) 50% 19% / 70% 2px no-repeat,
  linear-gradient(#FFE6B4, #FFE6B4) 50% 28% / 84% 1.5px no-repeat, linear-gradient(#FFE6B4, #FFE6B4) 50% 38% / 52% 1.5px no-repeat, linear-gradient(#FFE6B4, #FFE6B4) 50% 49% / 60% 1.5px no-repeat,
  linear-gradient(#FFE6B4, #FFE6B4) 50% 61% / 34% 1px no-repeat, linear-gradient(#FFE6B4, #FFE6B4) 50% 74% / 22% 1px no-repeat; }
/* 3. The CSS stage (no WebGL) is flat: weak machines are exactly who sees it. */
.hero-stage { perspective: none; }
.tilt, .stack { transform-style: flat; transform: none; }
.pl-boards, .pl-cine { transform: none; }
.pl { box-shadow: 0 10px 30px rgba(18,17,19,.14); backface-visibility: visible; }

/* The lineup beat sits over the parked screenshots: a soft scrim keeps it readable */
html.pinned .hero-b::before { content: ""; position: absolute; inset: -14% -6%; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, var(--bg) 68%, transparent 100%); }

/* Cine Lab: the feature points under the set plan (Camera A preview removed 2026-11-14) */
.cine-pts { margin-top: clamp(48px, 6vw, 88px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 44px); }
.cine-pts .pts { display: contents; }
.cine-pts .pts li { border-bottom: 1px solid var(--border); align-content: start; }
.cine-pts .legal { grid-column: 1 / -1; margin-top: 18px; }
@media (max-width: 820px) { .cine-pts { grid-template-columns: 1fr; } }
/* ---------- 2026-11-15 fixes from the Grok stress test ---------- */
/* Boards: the frame a card is dragged over lights up (Maj-20). */
.bframe.drop { border-color: var(--boards); border-style: solid; background: color-mix(in srgb, var(--boards) 10%, transparent); }
/* Run of the day: the message keeps its height, so the page doesn't jump (Min-55). */
.tl-status p { min-height: 4.2em; display: flex; align-items: center; }
@media (min-width: 821px) { .tl-status p { min-height: 2.8em; } }
/* Mini Scripty card grows downwards, so Log take stays put (Min-56). */
.scripty { align-self: start; }
/* Sunset: room between the 3 and PM, and the sea's reflection stays clear of the words (Min-58). */
.magic-t small { margin-left: .3em; }
.magic-t, .magic-l, .magic-k { text-shadow: 0 2px 30px rgba(20, 10, 20, .55); }
/* No play icon until there is a video (Min-60). */
.vid-soon::before { content: none; }
/* Crew chips: bigger, with the role under the ring row as you tap (Min-60). */
.crew { grid-template-columns: repeat(auto-fill, minmax(46px, 1fr)); gap: 4px 0; }
.crew i { max-width: 44px; font-size: 11.5px; }
/* Feature list: plain text, not buttons (Min-61). */
.feat { gap: 6px 0; }
.feat li { background: none; padding: 2px 0; border-radius: 0; color: var(--text-2); }
.feat li:not(:last-child)::after { content: "·"; margin: 0 12px; color: var(--text-3); }
/* Captions a touch darker for AA on the tinted sections (Min-61). */
.ch .fine, .acc-p p { color: var(--text-2); }
/* 150% zoom on a laptop (about 960px wide): keep the REC mark and the Example pill apart (Min-2). */
@media (min-width: 821px) and (max-width: 1100px) { .hero-a { padding-top: 132px; } }
/* The sun's reflection starts lower in the water, below the words (Min-58). */
.glint { top: 34%; }
/* Create account sits next to Sign in; on narrow phones the Try the demo button stays and Create account moves to the page body (Maj-7). */
.site-header .signup[hidden] { display: none; }
@media (max-width: 560px) { .site-header .signup { display: none; } }

/* PLAYBACK Day 2: blocks are placed from the crew call by the script; a wait for dark shows as a gap (Maj-18). */
.tl-move { width: 10.71%; }
.tl-b.wait { background: transparent; border: 1px dotted rgba(255,255,255,.4); color: #fff; font-size: 11px; }

/* Round 4 R-9: a quiet link to the plan page under the closing buttons */
.close-plan { margin-top: 14px; text-align: center; font-size: 14px; }
.close-plan a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
.close-plan a:hover { color: var(--text); }

/* ── Design system P5 (design brief 2026-11-18): Explore's buttons and controls follow the shared CFLOWS tokens
   (app/globals.css --cf-*; this static page doesn't load it, so the values are repeated here). CSS only: the page's
   words, order and markup are unchanged, so the Explore page editor's published edits still match.
   · One primary style: solid CFLOWS blue, 8 px corners, no glow or lift. Secondary on a quiet fill, 8 px corners.
   · Sizes: sm 32, default and lg 40, the hero's xl 48; at least 44 on touch screens.
   · Controls 8, cards 12, sheets 16; a 3 px focus ring. */
:root {
  --cf-primary-bg: #0071E3; --cf-primary-fg: #FFFFFF;
  --cf-primary-hover: color-mix(in srgb, #0071E3 88%, #000); --cf-primary-active: color-mix(in srgb, #0071E3 80%, #000);
  --cf-r-control: 8px; --cf-r-card: 12px; --cf-r-sheet: 16px;
  --cf-focus: color-mix(in srgb, #0071E3 55%, transparent);
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 16px;
}
[data-theme="dark"] {
  --cf-primary-bg: #2997FF;
  --cf-primary-hover: color-mix(in srgb, #2997FF 88%, #000); --cf-primary-active: color-mix(in srgb, #2997FF 80%, #000);
  --cf-focus: color-mix(in srgb, #2997FF 60%, transparent);
}
.btn { min-height: 40px; padding: 0 18px; border-radius: var(--cf-r-control); font-size: 15px; }
.btn-sm { min-height: 32px; padding: 0 12px; font-size: 14px; }
.btn-lg { min-height: 44px; padding: 0 20px; font-size: 16px; }
.btn-xl { min-height: 48px; padding: 0 24px; font-size: 17px; }
.btn-primary, .btn-cine, .btn-rec { background: var(--cf-primary-bg); color: var(--cf-primary-fg); box-shadow: none; }
.btn-primary:hover, .btn-cine:hover, .btn-rec:hover { background: var(--cf-primary-hover); transform: none; }
.btn-primary:active, .btn-cine:active, .btn-rec:active { background: var(--cf-primary-active); transform: scale(.98); }
.btn-rec { min-height: 48px; font-size: 17px; }
.btn-secondary:active { transform: scale(.98); }
.btn:focus-visible, .icon-btn:focus-visible, .txt-btn:focus-visible, .signin:focus-visible, .nav a:focus-visible, .btn-link:focus-visible { outline: 3px solid var(--cf-focus); outline-offset: 2px; border-radius: var(--cf-r-control); }
.btn-cine:focus-visible { outline-color: #fff; }
.btn[aria-busy="true"] { pointer-events: none; }
.icon-btn { border-radius: var(--cf-r-control); }
.skip { border-radius: var(--cf-r-control); }
.card { border-radius: var(--cf-r-card); }
/* Header: every link at least 40 px tall (44 on touch) */
.nav a { display: inline-flex; align-items: center; min-height: 40px; }
.signin { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: var(--cf-r-control); }
.signin:hover { background: var(--secondary-bg); text-decoration: none; }
@media (max-width: 820px) { .signin { display: none; } }
@media (pointer: coarse) {
  .btn, .btn-sm, .board-ctl .btn-sm, .tl-status .btn { min-height: 44px; }
  .icon-btn { width: 44px; height: 44px; }
  .nav a, .signin { min-height: 44px; }
}
/* Phone: the sunset label sat past the right edge (19 px of sideways scroll at 390 px). It now ends inside the
   timeline; on wide screens it's centred on the sunset line as before. */
.tl-sunlab { width: 0; }
@media (max-width: 600px) { .tl-sunlab span { position: absolute; top: 0; right: -18px; transform: none; } }
/* Run of the day's message: one sentence in normal text flow. As a flex row (Min-55), its bold time, number and words
   became three squeezed columns on phones ("31" stood alone). It keeps its height so the page still doesn't jump. */
.tl-status p { display: block; }

/* QA 2026-11-30 #22: layout only. (a) the hero headline's lines get room above and below so the large italic
   line is never clipped, and the headline can't run under the screenshots; (c) the Run of the day labels
   on the narrow blocks are never cut off (side-turned on the thinnest, wrapped when they are two words). */
.hero h1 .ln { padding: .14em .06em .2em 0; margin: -.14em 0 -.2em; }
@media (min-width: 821px) { .hero h1 { max-width: 46vw; } }
.tl-b small { white-space: normal; line-height: 1.1; }
@media (min-width: 821px) {
  .tl-b[data-k^="mv"] b { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 11px; }
}
@media (min-width: 821px) and (max-width: 1100px) {
  .tl-b.sm b { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 11px; }
}
@media (max-width: 820px) { .tl-b.sm b { display: none; } }
/* QA #22 (b): the closing section reveals quickly and without a stagger, so it is never caught half-faded, and its
   gaps are a little tighter. */
.xjs .closing [data-rv] { transition-duration: .4s; transition-delay: 0ms; }
.closing { padding-top: clamp(80px, 10vw, 150px); }
.credits { margin-top: clamp(56px, 7vw, 100px); }
.cr { margin-bottom: clamp(36px, 5vw, 60px); }
