/* DualCam J "CO-HOST". One world: a dark streaming set seen by two cameras.
   Palette from multicoated lens glass (as E): barrel black, glass white, FRONT coating magenta, BACK coating green.
   The co-host's own colour lives only in its core. Type: Anybody (display, variable width), Atkinson Hyperlegible
   Next (reading), Azeret Mono (camera UI), Literata italic (the co-host's voice). Shape: the hexagonal aperture. */
@font-face { font-family: 'Anybody'; src: url('../fonts/anybody-var.woff2') format('woff2'); font-weight: 100 900; font-stretch: 50% 150%; font-display: swap; }
@font-face { font-family: 'Azeret Mono'; src: url('../fonts/azeret-mono-var.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Literata'; src: url('../fonts/literata-italic.woff2') format('woff2'); font-style: italic; font-weight: 200 900; font-display: swap; }
@font-face { font-family: 'Atkinson Hyperlegible Next'; src: url('../fonts/atkinson-hyperlegible-next-normal-200-800.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
:root {
  --black: #0b0c10; --ink: #ece8e1; --dim: #b3afa6; --mag: #e48aae; --grn: #7fcfbf;
  --display: 'Anybody', 'Arial Narrow', sans-serif; --text: 'Atkinson Hyperlegible Next', system-ui, sans-serif; --mono: 'Azeret Mono', ui-monospace, Menlo, monospace; --voice: 'Literata', Georgia, serif;
  --pad: clamp(16px, 2.4vw, 56px); --hex: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  --shade: 0 1px 2px rgba(4,4,6,.95), 0 0 18px rgba(4,4,6,.9), 0 0 42px rgba(4,4,6,.7);
  color-scheme: dark;
}
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 380ms cubic-bezier(.6,0,.3,1) both iris-close; }
::view-transition-new(root) { animation: 520ms cubic-bezier(.2,.7,.2,1) both iris-open; }
@keyframes iris-close { to { clip-path: circle(0% at 50% 50%); } }
@keyframes iris-open { from { clip-path: circle(0% at 50% 50%); } to { clip-path: circle(80% at 50% 50%); } }
* { box-sizing: border-box; }
html { background: var(--black); color: var(--ink); -webkit-text-size-adjust: 100%; }
@supports (font: -apple-system-body) { html { font: -apple-system-body; } }
body { margin: 0; background: var(--black); font: 400 1.0625rem/1.55 var(--text); overflow-x: clip; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nb { white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 60; background: var(--ink); color: var(--black); padding: 12px 16px; font: 600 14px/1 var(--mono); text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- the set (fixed, behind everything) ---------- */
.stage { position: fixed; inset: 0; height: 100vh; height: 100lvh; z-index: 0; overflow: hidden; background: var(--black); }
#gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.still { position: absolute; inset: 0; display: none; background: url('../img/still-1440.webp') center/cover no-repeat; }
.no-gl .still { display: block; }
.no-gl #gl { display: none; }
.headline { position: absolute; inset: 0; z-index: 1; margin: 0; font-family: var(--display); font-weight: 820; line-height: .86; letter-spacing: -0.02em; font-size: clamp(56px, 9vw, 340px); font-stretch: 87.5%; color: transparent; pointer-events: none; }
.no-gl .headline { color: var(--ink); text-shadow: var(--shade); }
.headline .w { display: inline-block; }
.headline .l { position: absolute; white-space: nowrap; }
.headline .l1 { left: 4.6vw; top: 14vh; }
.headline .l2 { left: 4.6vw; top: calc(14vh + 9vw * .9); }
.iris-cover { position: fixed; inset: 0; z-index: 90; pointer-events: none; background: var(--black); clip-path: circle(0% at 50% 50%); }
.iris-out .iris-cover { animation: iris-close-cover 420ms cubic-bezier(.6,0,.3,1) forwards; }
.iris-in .iris-cover { animation: iris-open-cover 640ms cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes iris-close-cover { from { clip-path: circle(0% at 50% 50%); } to { clip-path: circle(80% at 50% 50%); } }
@keyframes iris-open-cover { from { clip-path: polygon(0 0,100% 0,100% 100%,0 100%); clip-path: circle(80% at 50% 50%); } to { clip-path: circle(0% at 50% 50%); } }

/* lower third: whoever is speaking on the set */
.lower { position: fixed; left: 0; top: 0; z-index: 6; width: min(360px, calc(100vw - 32px)); opacity: 0; transition: opacity .25s; pointer-events: none; text-shadow: var(--shade); }
.lower.on { opacity: 1; }
.lt-name { margin: 0 0 6px; font: 600 12px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--grn); display: flex; align-items: center; gap: 8px; }
.lt-name::before { content: ''; width: 10px; height: 11px; background: var(--grn); clip-path: var(--hex); }
.lt-line { margin: 0; min-height: 1.4em; font: italic 500 clamp(19px, 1.5vw, 26px)/1.32 var(--voice); color: var(--ink); }

/* ---------- top bar ---------- */
.top { position: fixed; z-index: 20; left: 0; right: 0; top: 0; display: flex; align-items: center; gap: 24px; padding: calc(14px + env(safe-area-inset-top)) var(--pad) 0; font: 500 13px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; text-shadow: var(--shade); pointer-events: none; }
.top > * { pointer-events: auto; }
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 22px/1 var(--display); font-stretch: 125%; letter-spacing: -0.01em; text-transform: none; min-height: 44px; }
.mark svg { width: 34px; height: 21px; }
.launch { margin: 0 0 0 auto; }
.topnav { display: flex; gap: 22px; }
.topnav a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px) / 100% 1px no-repeat; }
.topnav .beta-link { background-image: linear-gradient(var(--mag), var(--mag)); }

/* ---------- dock (bottom): sound, pause, shoo + docked captions ---------- */
.dock { position: fixed; z-index: 22; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 22px; padding: 0 var(--pad) calc(10px + env(safe-area-inset-bottom)); font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; text-shadow: var(--shade); pointer-events: none; }
.dock > * { pointer-events: auto; }
.dock button { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px) / 100% 1px no-repeat; }
.dock button[aria-pressed=true] { color: var(--grn); }
.dockcap { margin: 0 auto 0 0; flex: 1; min-width: 0; font: italic 500 17px/1.3 var(--voice); letter-spacing: 0; text-transform: none; color: var(--ink); pointer-events: none; }
.co-docked .dockcap { padding-left: 104px; }
.bars { display: inline-flex; gap: 2px; align-items: flex-end; height: 12px; }
.bars i { width: 2px; background: currentColor; height: 4px; }
[aria-pressed=true] .bars i { animation: bar .9s ease-in-out infinite alternate; }
[aria-pressed=true] .bars i:nth-child(2) { animation-delay: .3s; } [aria-pressed=true] .bars i:nth-child(3) { animation-delay: .6s; }
@keyframes bar { from { height: 3px; } to { height: 12px; } }
.rm .bars i, .paused .bars i { animation: none !important; }

/* ---------- the following co-host ---------- */
.cohost { position: fixed; left: 0; top: 0; z-index: 23; pointer-events: none; opacity: 0; transition: opacity .3s; will-change: transform; }
.cohost.on { opacity: 1; }
.cohost canvas { display: block; width: 150px; height: 180px; }
.cohost.docked { left: auto; right: auto; top: auto; bottom: calc(4px + env(safe-area-inset-bottom)); left: var(--pad); transform: none !important; }
.cohost.docked canvas { width: 96px !important; height: 116px !important; margin-bottom: -26px; }
.cohost.flat { display: none; }
.cohost.flash-ember canvas { filter: drop-shadow(0 0 24px rgba(255,140,60,.9)); }
.cohost.flash-calm canvas { filter: drop-shadow(0 0 18px rgba(143,182,255,.9)); }
.cohost.flash-robot canvas { filter: drop-shadow(0 0 18px rgba(223,227,234,.9)) contrast(1.4); }
.cocap { position: fixed; left: 0; top: 0; z-index: 21; width: 280px; margin: 0; font: italic 500 19px/1.32 var(--voice); color: var(--ink); text-shadow: var(--shade); opacity: 0; transition: opacity .2s; pointer-events: none; }
.cocap::before { content: attr(data-who); display: block; margin-bottom: 6px; font: 600 11px/1 var(--mono); font-style: normal; letter-spacing: .18em; text-transform: uppercase; color: var(--grn); }
.cocap.on { opacity: 1; }
.trick-ghost { position: fixed; z-index: 70; pointer-events: none; color: var(--ink); white-space: nowrap; }
[data-tricked=ember] { text-shadow: 0 0 14px rgba(255,140,60,.55) !important; font-style: italic; }
[data-tricked=ember]::after { content: ' ✦'; }
[data-tricked=calm] { text-decoration: underline double; text-underline-offset: .2em; }
[data-tricked=robot] { font-family: var(--mono) !important; text-transform: uppercase; letter-spacing: .08em; }

/* ---------- shared bits ---------- */
main { position: relative; z-index: 2; }
.big { margin: 0; font: 820 clamp(46px, 7.2vw, 230px)/.9 var(--display); font-stretch: 87.5%; letter-spacing: -0.02em; text-shadow: var(--shade); text-wrap: balance; }
.big .tw { display: inline-block; }
.lede { margin: 0; max-width: 34ch; font: 400 clamp(17px, 1.3vw, 24px)/1.5 var(--text); text-shadow: var(--shade); }
.note { margin: 0; font: 400 15px/1.5 var(--mono); color: var(--dim); text-shadow: var(--shade); }
.u { min-height: 44px; display: inline-flex; align-items: center; font: 500 13px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px) / 100% 1px no-repeat; text-shadow: var(--shade); }
.u[aria-pressed=true] { color: var(--grn); }
.hexplay { width: 34px; height: 39px; background: var(--ink); clip-path: var(--hex); position: relative; display: inline-block; }
.hexplay::after { content: ''; position: absolute; inset: 2px; background: var(--black); clip-path: var(--hex); }
.hexplay::before { content: ''; position: absolute; z-index: 1; left: 14px; top: 12px; border-left: 10px solid var(--ink); border-top: 7.5px solid transparent; border-bottom: 7.5px solid transparent; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; font: 600 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin-bottom: 10px; text-shadow: var(--shade); }
.words { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.words label, .moods label { position: relative; min-height: 44px; display: inline-flex; align-items: center; cursor: pointer; font: 600 15px/1 var(--mono); letter-spacing: .06em; color: var(--dim); text-shadow: var(--shade); }
.words input, .moods input, .presets input, .swatches input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.words input:checked + span, .moods input:checked + span { color: var(--ink); background: linear-gradient(var(--grn), var(--grn)) 0 100% / 100% 2px no-repeat; padding-bottom: 6px; }
.words input:focus-visible + span, .moods input:focus-visible + span, .presets input:focus-visible ~ .pn, .swatches input:focus-visible + .sw { outline: 2px solid var(--ink); outline-offset: 4px; }

/* ---------- hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; }
.sub { position: absolute; left: var(--pad); top: calc(14vh + 9vw * 1.85 + 18px); max-width: 26ch; margin: 0; font: italic 400 clamp(17px, 1.15vw, 22px)/1.42 var(--voice); text-shadow: var(--shade); }
.camlabel { margin: 0; display: flex; gap: 10px; align-items: baseline; font: 700 14px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; text-shadow: var(--shade); }
.cam-s { font-weight: 400; letter-spacing: .1em; text-transform: none; color: var(--dim); }
.cf .cam-n { color: var(--mag); } .cb .cam-n { color: var(--grn); }
.you { position: absolute; left: var(--pad); bottom: calc(76px + env(safe-area-inset-bottom)); width: min(30vw, 400px); display: grid; gap: 8px; }
.camtoggle { justify-self: start; min-height: 48px; display: inline-flex; align-items: center; gap: 12px; padding: 0 2px; font: 700 clamp(18px, 1.5vw, 24px)/1 var(--display); font-stretch: 112%; text-shadow: var(--shade); background: linear-gradient(var(--mag), var(--mag)) 0 calc(100% - 6px) / 100% 2px no-repeat; }
.camtoggle .dot { width: 16px; height: 18px; background: var(--mag); clip-path: var(--hex); }
.camtoggle[aria-pressed=true] .dot { background: var(--grn); }
.cam-note, .mic-note { margin: 0; font: 400 14px/1.45 var(--mono); color: var(--dim); text-shadow: var(--shade); max-width: 38ch; }
.cam-msg { margin: 0; min-height: 1.4em; font: italic 500 16px/1.4 var(--voice); text-shadow: var(--shade); }
.host { position: absolute; left: calc(50vw + 28px); bottom: calc(76px + env(safe-area-inset-bottom)); display: grid; gap: 8px; max-width: 34ch; }
.preview-note { margin: 0; font: 400 13px/1.45 var(--mono); color: var(--dim); text-shadow: var(--shade); }
.builder { position: absolute; right: var(--pad); top: calc(96px + env(safe-area-inset-top)); bottom: calc(64px + env(safe-area-inset-bottom)); width: 236px; display: flex; flex-direction: column; gap: 14px; align-items: flex-end; text-align: right; }
.hero .builder { justify-content: flex-end; }
.hero .builder .b-h, .hero .builder .presets, .hero .builder .moods, .hero .builder .mic-note { display: none; }
.builder::before { display: none; content: ''; position: absolute; right: -14px; top: 0; bottom: 0; width: 1px; background: linear-gradient(transparent, rgba(236,232,225,.35) 20%, rgba(236,232,225,.35) 80%, transparent); }
.b-h { margin: 0; font: 800 clamp(22px, 2vw, 34px)/1 var(--display); font-stretch: 112%; text-shadow: var(--shade); }
.presets { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.pre { position: relative; display: flex; flex-direction: row-reverse; align-items: center; gap: 12px; cursor: pointer; }
.ringmark { width: 62px; height: 62px; border-radius: 50%; border: 1.5px solid rgba(236,232,225,.5); background: rgba(8,9,12,.55); position: relative; display: block; transition: border-color .2s, transform .25s cubic-bezier(.3,1.5,.5,1); }
.ringmark::before, .ringmark::after { content: ''; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); }
.ringmark[data-p=ember]::before { width: 30px; height: 30px; border-radius: 50%; border: 3px solid #3b3e47; border-top-color: transparent; }
.ringmark[data-p=ember]::after { width: 12px; height: 16px; background: #ff7a1a; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; }
.ringmark[data-p=calm]::before { width: 30px; height: 26px; border-radius: 50%; background: #26282f; }
.ringmark[data-p=calm]::after { width: 20px; height: 6px; border-radius: 4px; background: #8fb6ff; box-shadow: 0 0 8px #8fb6ff; }
.ringmark[data-p=robot]::before { width: 30px; height: 24px; border-radius: 6px; background: #26282f; }
.ringmark[data-p=robot]::after { width: 18px; height: 4px; background: repeating-linear-gradient(90deg, #dfe3ea 0 4px, transparent 4px 7px); box-shadow: 0 -6px 0 -1px #dfe3ea; }
.pre input:checked ~ .ringmark { border-color: var(--grn); border-width: 2px; transform: scale(1.08); }
.pn { font: 600 13px/1.2 var(--mono); letter-spacing: .06em; color: var(--dim); text-shadow: var(--shade); max-width: 10ch; text-align: right; }
.pre input:checked ~ .pn { color: var(--ink); }
.moods { display: flex; flex-direction: column; align-items: flex-end; gap: 0; }
.moods label { min-height: 36px; }
.b-row { display: flex; flex-direction: column; align-items: flex-end; gap: 0; margin-top: auto; }
.seam { position: absolute; left: 0; top: 0; width: 48px; height: 48px; margin: -24px 0 0 -24px; z-index: 5; touch-action: none; cursor: ew-resize; display: grid; place-items: center; }
.portrait .seam { cursor: ns-resize; }
.grip { width: 22px; height: 25px; background: var(--ink); clip-path: var(--hex); position: relative; }
.grip::after { content: ''; position: absolute; inset: 2px; background: var(--black); clip-path: var(--hex); }
.grip::before { content: ''; position: absolute; z-index: 1; left: 50%; top: 7px; bottom: 7px; width: 1.5px; margin-left: -.75px; background: var(--ink); }
.seam:focus-visible { outline: none; }
.seam:focus-visible::after { content: ''; position: absolute; inset: 0; border: 2px solid var(--ink); border-radius: 50%; }

/* ---------- sections: each is a shot on the set; content holds while the camera holds ---------- */
.sec { position: relative; min-height: 210vh; min-height: 210svh; }
.sec > .in { position: sticky; top: 0; min-height: 100vh; min-height: 100svh; padding: calc(86px + env(safe-area-inset-top)) var(--pad) calc(80px + env(safe-area-inset-bottom)); }

.problem .in { display: grid; grid-template-rows: 1fr auto; align-items: end; }
.problem .big { font-size: clamp(56px, 10.4vw, 330px); max-width: 11ch; }
.problem .lede { position: absolute; right: var(--pad); top: calc(96px + env(safe-area-inset-top)); }
.problem .aside-line { position: absolute; right: var(--pad); bottom: calc(80px + env(safe-area-inset-bottom)); margin: 0; font: italic 500 18px/1.4 var(--voice); text-shadow: var(--shade); }

.meet .big { text-align: center; }
.lineup { list-style: none; margin: 0; padding: 0; }
.lineup li { position: absolute; top: 64vh; left: var(--x, 50%); width: min(24vw, 330px); transform: translateX(-50%); text-align: center; }
.lineup h3 { margin: 0 0 6px; font: 800 clamp(22px, 2vw, 36px)/1 var(--display); font-stretch: 112%; text-shadow: var(--shade); }
.lineup p { margin: 0; font: 400 16px/1.45 var(--text); text-shadow: var(--shade); }
.lu-act { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.meet .note { position: absolute; left: var(--pad); right: var(--pad); bottom: calc(76px + env(safe-area-inset-bottom)); text-align: center; }

.shape .in { display: grid; grid-template-columns: 1fr minmax(260px, 30vw) 1fr; grid-template-rows: auto 1fr auto; gap: 18px var(--pad); }
.shape .big { grid-column: 1 / -1; text-align: center; font-size: clamp(56px, 9vw, 300px); }
.shape .lede { grid-column: 1; grid-row: 2; align-self: start; }
.dials { display: contents; }
.dials > :nth-child(1) { grid-column: 1; grid-row: 2; align-self: end; }
.dials > :nth-child(2) { grid-column: 1; grid-row: 3; }
.dials > :nth-child(3) { grid-column: 3; grid-row: 2; align-self: end; }
.dials > :nth-child(4) { grid-column: 3; grid-row: 3; align-self: start; }
.dials > :nth-child(5) { grid-column: 3; grid-row: 2; align-self: start; justify-self: end; }
.shape .looks { position: absolute; left: var(--pad); right: var(--pad); bottom: calc(118px + env(safe-area-inset-bottom)); margin: 0; text-align: center; font: italic 500 18px/1.4 var(--voice); text-shadow: var(--shade); }
.shape .note { position: absolute; left: var(--pad); right: var(--pad); bottom: calc(76px + env(safe-area-inset-bottom)); text-align: center; }
.val { margin-left: 10px; color: var(--ink); letter-spacing: .06em; text-transform: none; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatches legend { width: 100%; }
.swatches label { position: relative; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; }
.sw { width: 30px; height: 34px; clip-path: var(--hex); background: var(--c); transition: transform .2s; }
.swatches input:checked + .sw { transform: scale(1.25); box-shadow: inset 0 0 0 3px var(--black); }
.swatches input:checked + .sw + .sr-only + *, .swatches label:has(input:checked)::after { content: ''; }
.swatches label:has(input:checked)::after { position: absolute; inset: -2px; border: 2px solid var(--ink); clip-path: var(--hex); }
.range { display: grid; gap: 6px; width: min(100%, 320px); }
.range label { font: 600 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); text-shadow: var(--shade); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; touch-action: pan-y; }
input[type=range]::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--mag), var(--grn)); }
input[type=range]::-moz-range-track { height: 2px; background: linear-gradient(90deg, var(--mag), var(--grn)); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 27px; margin-top: -12.5px; background: var(--ink); clip-path: var(--hex); }
input[type=range]::-moz-range-thumb { width: 24px; height: 27px; border: 0; border-radius: 0; background: var(--ink); clip-path: var(--hex); }
input[type=range]:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.how .in { display: grid; grid-template-rows: auto 1fr auto; }
.how .big { text-align: center; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 var(--pad); align-self: end; counter-reset: s; }
.steps li { counter-increment: s; font: 400 clamp(17px, 1.2vw, 22px)/1.45 var(--text); text-shadow: var(--shade); border-top: 1px solid rgba(236,232,225,.35); padding-top: 12px; }
.steps li::before { content: '0' counter(s); display: block; font: 600 12px/1 var(--mono); letter-spacing: .16em; color: var(--dim); margin-bottom: 10px; }
.k { display: block; font: 700 13px/1.3 var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.k-f { color: var(--mag); } .k-b { color: var(--grn); }
.pin { position: fixed; left: 0; top: 0; z-index: 3; margin: 0; font: 700 13px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; text-shadow: var(--shade); pointer-events: none; opacity: 0; transition: opacity .3s; }
.pin::before { content: ''; display: inline-block; width: 10px; height: 11px; margin-right: 8px; clip-path: var(--hex); background: currentColor; }
.pin-f { color: var(--mag); } .pin-b { color: var(--grn); }
html[data-shot=how] .pin { opacity: 1; }

.ships .in { display: grid; grid-template-columns: 1fr minmax(320px, 36vw); gap: 12px var(--pad); align-content: start; }
.ships .in > * { grid-column: 2; }
.ships .big { grid-column: 1 / -1; font-size: clamp(46px, 6.4vw, 210px); }
.toy { display: grid; gap: 14px; }
.src { margin: 0; font: 400 15px/1.45 var(--mono); color: var(--dim); text-shadow: var(--shade); }
.zl { margin: 0; font: 600 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); text-shadow: var(--shade); }
.zl output { margin-left: 10px; color: var(--ink); font-size: 20px; letter-spacing: 0; }
.stops { display: flex; justify-content: space-between; }
.stops button { width: 44px; height: 44px; font: 600 14px/1 var(--mono); color: var(--dim); position: relative; text-shadow: var(--shade); }
.stops button[aria-pressed=true] { color: var(--ink); }
.stops button[aria-pressed=true]::before { content: ''; position: absolute; inset: 4px 6px; border: 1.5px solid var(--grn); clip-path: var(--hex); background: rgba(95,224,200,.14); }
.switches { display: grid; gap: 2px; }
.sw-b { min-height: 44px; display: flex; align-items: center; gap: 12px; font: 600 15px/1.2 var(--mono); text-align: left; text-shadow: var(--shade); }
.led { width: 12px; height: 14px; clip-path: var(--hex); background: #3a3c44; flex: none; }
.sw-b[aria-pressed=true] .led { background: var(--grn); }
#recBtn[aria-pressed=true] .led { background: var(--mag); }
.opt { font-weight: 400; color: var(--dim); font-size: 13px; }
.nots { margin: 6px 0 0; font: 800 clamp(20px, 1.8vw, 30px)/1.1 var(--display); font-stretch: 112%; text-shadow: var(--shade); }
.needs { margin: 0; display: grid; gap: 2px; font: 400 15px/1.45 var(--mono); text-shadow: var(--shade); }
.needs dt { font: 600 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin-bottom: 6px; }
.needs dd { margin: 0; }
.needs dd::before { content: '— '; color: var(--dim); }

.film-pin { position: sticky; top: 0; min-height: 100vh; min-height: 100svh; display: grid; place-content: center; justify-items: center; gap: 18px; padding: 90px var(--pad); }
.film .big { text-align: center; font-size: clamp(42px, 5.6vw, 180px); }
.film-slot { margin: 0; width: min(78vw, 1500px, calc((100svh - 330px) * 16 / 9)); display: grid; gap: 12px; }
.film-ph { position: relative; aspect-ratio: 16 / 9; outline: 1px solid rgba(236,232,225,.16); outline-offset: -1px; background: #050507; }
.film-ph video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.film-ph video::cue { font: 500 clamp(15px, 1.4vw, 22px)/1.35 var(--text); background: rgba(5,5,7,.78); color: var(--ink); }
.film-play { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; background: radial-gradient(60% 60% at 50% 50%, rgba(5,5,7,.15), rgba(5,5,7,.55)); color: var(--ink); text-shadow: var(--shade); }
.film-play .hexplay { width: 68px; height: 78px; transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
.film-play .hexplay::before { left: 27px; top: 23px; border-left-width: 20px; border-top-width: 15px; border-bottom-width: 15px; }
.film-play:hover .hexplay, .film-play:focus-visible .hexplay { transform: scale(1.12) rotate(30deg); }
.film-play:focus-visible { outline-offset: -6px; }
.playing .film-play { display: none; }
.ph-t { font: 600 13px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; }
.film-slot figcaption { text-align: center; font: italic 400 17px/1.45 var(--voice); color: var(--ink); text-shadow: var(--shade); }
.film .sec, .film > .in { padding: 0; }

.coming .in { display: grid; grid-template-rows: auto 1fr auto auto; }
.coming .big { text-align: center; }
.road { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--pad); align-self: end; }
.road li { opacity: .5; transition: opacity .4s; border-top: 1px solid rgba(236,232,225,.3); padding-top: 12px; }
.road li.on { opacity: 1; border-top-color: var(--grn); }
.road h3 { margin: 0 0 6px; font: 800 clamp(22px, 2.2vw, 40px)/1 var(--display); font-stretch: 112%; text-shadow: var(--shade); }
.road p { margin: 0; font: 400 16px/1.45 var(--text); text-shadow: var(--shade); max-width: 36ch; }
.road .soon { margin-top: 8px; font: 600 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--grn); }
.coming .note { margin-top: 18px; text-align: center; }

.privacy .in { display: grid; place-content: center; justify-items: center; text-align: center; gap: 20px; }
.privacy .big { font-size: clamp(46px, 7vw, 230px); }
.privacy .lede { max-width: 50ch; margin: 0 auto; }
.exact { max-width: 70ch; text-align: left; font: 400 15px/1.55 var(--text); text-shadow: var(--shade); }
.exact p { margin: 0 0 10px; }
.privacy .two { font-family: var(--voice); font-style: italic; }

.beta .in { display: grid; place-content: center; justify-items: center; text-align: center; gap: 14px; }
.beta .date { margin: 0; font: 600 13px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--grn); text-shadow: var(--shade); }
.beta .big { font-size: clamp(46px, 7vw, 230px); }
.beta .big .tw { display: block; font-size: .42em; font-stretch: 112%; margin-top: .2em; }
.beta-form { display: grid; gap: 8px; justify-items: center; width: min(100%, 620px); margin-top: 12px; }
.beta-form label { font: 600 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); text-shadow: var(--shade); }
.field { display: flex; width: 100%; border-bottom: 2px solid var(--ink); background: rgba(5,5,7,.55); }
.field input { flex: 1; min-width: 0; min-height: 56px; font: 500 20px/1 var(--text); background: transparent; border: 0; padding: 0 10px; }
.field input:focus-visible { outline: 2px solid var(--ink); outline-offset: 0; }
.field button { min-height: 56px; padding: 0 14px; font: 800 18px/1 var(--display); font-stretch: 112%; color: var(--black); background: var(--ink); clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px); }
.err { margin: 0; min-height: 1.4em; color: #ffb3c9; font: 500 15px/1.4 var(--mono); text-shadow: var(--shade); }
.offer { margin: 0; font: italic 500 18px/1.4 var(--voice); text-shadow: var(--shade); }
.notice { margin: 0; font: 500 14px/1.45 var(--mono); opacity: .85; text-shadow: var(--shade); }
.notice a { color: inherit; text-underline-offset: 3px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ok { margin: 0; min-height: 1.4em; font: 500 16px/1.45 var(--mono); color: var(--grn); text-shadow: var(--shade); }

.faq .in { display: grid; grid-template-columns: 1fr minmax(320px, 46vw); gap: 0 var(--pad); align-content: center; }
.faq .in > * { grid-column: 2; }
.faq .big { font-size: clamp(42px, 5.6vw, 180px); margin-bottom: 14px; }
.qs { list-style: none; margin: 0; padding: 0; counter-reset: q; }
.qs li { counter-increment: q; border-top: 1px solid rgba(236,232,225,.22); }
.qs button { width: 100%; min-height: 48px; display: flex; gap: 14px; align-items: baseline; text-align: left; padding: 10px 0; font: 700 clamp(17px, 1.3vw, 22px)/1.25 var(--text); text-shadow: var(--shade); }
.qs button::before { content: counter(q, decimal-leading-zero); font: 600 12px/1 var(--mono); color: var(--dim); letter-spacing: .1em; flex: none; width: 2.6ch; }
.qs button[aria-expanded=true] { color: var(--grn); }
.qs .a { margin: 0 0 14px calc(2.6ch + 14px); font: 400 17px/1.5 var(--text); text-shadow: var(--shade); max-width: 52ch; }

/* ---------- ending: the stream outro, then the footer card ---------- */
.ending { min-height: 200vh; min-height: 200svh; display: grid; grid-template-rows: auto auto; grid-template-columns: minmax(0, 1fr); }
.end-card { position: sticky; top: 0; min-height: 100vh; min-height: 100svh; display: grid; align-content: end; justify-items: center; text-align: center; gap: 14px; padding: 90px var(--pad) calc(96px + env(safe-area-inset-bottom)); }
.onair { margin: 0; font: 600 13px/1 var(--mono); letter-spacing: .2em; text-shadow: var(--shade); display: flex; align-items: center; gap: 10px; }
.recdot { width: 12px; height: 14px; clip-path: var(--hex); background: var(--mag); animation: blink 2s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: .35; } }
.rm .recdot, .paused .recdot { animation: none; }
.huge { margin: 0; font: 840 clamp(56px, 12vw, 420px)/.84 var(--display); font-stretch: 87.5%; letter-spacing: -0.025em; text-shadow: var(--shade); }
.huge .w2 { display: block; font-stretch: 112%; }
.end-sub { margin: 0; font: italic 500 clamp(18px, 1.4vw, 24px)/1.4 var(--voice); text-shadow: var(--shade); }
.end-acts { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; justify-content: center; }
.cta { min-height: 56px; display: inline-flex; align-items: center; padding: 0 22px; font: 800 20px/1 var(--display); font-stretch: 112%; text-decoration: none; color: var(--black); background: var(--ink); clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); }
.end-msg { margin: 0; min-height: 1.4em; font: 500 15px/1.4 var(--mono); text-shadow: var(--shade); }
.foot { position: relative; z-index: 2; padding: 12vh var(--pad) calc(96px + env(safe-area-inset-bottom)); display: grid; gap: 10px; background: linear-gradient(to bottom, transparent, rgb(5 5 7) 11vh); font: 400 14px/1.55 var(--mono); color: var(--dim); }
.foot p { margin: 0; }
.foot-mark { font: 840 clamp(64px, 16vw, 560px)/.8 var(--display) !important; font-stretch: 125% !important; color: var(--ink); letter-spacing: -0.03em; margin-bottom: 18px !important; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 26px; margin-bottom: 10px; }
.foot nav a { min-height: 44px; display: inline-flex; align-items: center; color: var(--ink); font: 600 15px/1 var(--mono); }
.foot nav .made-by svg { width: 11px; height: 15px; margin-right: 8px; flex: none; }

/* ---------- reduced motion / paused ---------- */
.rm *, .rm *::before, .rm *::after { transition-duration: 0s !important; animation-duration: 0s !important; }

/* ---------- tiers ---------- */
@media (min-width: 1921px) {
  :root { --pad: clamp(40px, 3vw, 110px); }
  .lede, .steps li { font-size: clamp(22px, 1.05vw, 34px); }
  .lineup p, .road p, .qs .a { font-size: clamp(18px, .85vw, 26px); }
  .ringmark { width: 84px; height: 84px; }
}
@media (max-width: 1100px) and (min-width: 601px) {
  .you { width: 40vw; }
  .host { max-width: calc(50vw - 300px); min-width: 22ch; }
  .shape .in { grid-template-columns: 1fr 1fr; grid-template-rows: auto 38vh auto auto; }
  .dials > :nth-child(n) { grid-column: auto; grid-row: auto; align-self: start; justify-self: start; }
  .shape .lede { grid-column: 1 / -1; grid-row: 2; align-self: end; text-align: center; justify-self: center; }
  .shape .looks { position: static; grid-column: 1 / -1; }
  .shape .note { position: static; grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr 1fr; gap: 18px var(--pad); }
  .ships .in { grid-template-columns: 1fr; }
  .ships .in > * { grid-column: 1; }
  .ships .big { margin-top: 40vh; }
  .faq .in { grid-template-columns: 1fr; padding-top: 52vh; }
  .faq .in > * { grid-column: 1; }
  .lineup li { width: 30vw; }
}
/* phones: the seam is horizontal (FRONT top, BACK bottom); content flows under each shot's subject */
@media (max-width: 600px) {
  :root { --pad: 16px; }
  .top { gap: 12px; font-size: 11px; }
  .mark { font-size: 19px; }
  .launch { display: none; }
  .topnav { margin-left: auto; gap: 16px; }
  .headline { font-size: 13.6vw; }
  .huge { font-size: 15vw !important; }
  .headline .l1 { left: 16px; top: 70px; }
  .headline .l2 { left: 16px; right: auto; top: calc(70px + 13.6vw * .9); }
  .hero { height: 100svh; min-height: 680px; }
  .topnav a:first-child { display: none; }
  .sub { top: calc(80px + 13.6vw * 1.85); left: 16px; right: 16px; max-width: none; font-size: 14.5px; line-height: 1.35; }
  .you { left: 16px; right: 16px; width: auto; top: auto; bottom: calc(60lvh + 12px); gap: 2px; }
  .you .camlabel { display: none; }
  .cam-msg { min-height: 0; font-size: 14px; }
  .camtoggle { font-size: 18px; }
  .cam-note { font-size: 12.5px; max-width: 34ch; }
  .host { left: 16px; top: calc(40lvh + 12px); bottom: auto; max-width: 20ch; }
  .lower { width: 52vw !important; }
  .lt-line { font-size: 17px; }
  .host .preview-note { display: none; }
  .builder { top: auto; left: 16px; right: 16px; bottom: calc(58px + env(safe-area-inset-bottom)); width: auto; display: grid; grid-template-columns: 1fr; gap: 2px; text-align: left; }
  .builder::before { display: none; }
  .b-h { display: none; }
  .presets { flex-direction: row; gap: 4px 14px; flex-wrap: wrap; }
  .pre { flex-direction: row; gap: 6px; min-height: 44px; }
  .ringmark { width: 40px; height: 40px; }
  .ringmark::before { scale: .75; } .ringmark::after { scale: .75; }
  .pn { text-align: left; font-size: 12px; max-width: 9ch; }
  .moods { flex-direction: row; gap: 0 18px; }
  .moods label { min-height: 40px; font-size: 14px; }
  .moods input:checked + span { padding-bottom: 3px; }
  .moods legend { display: none; }
  .b-row { flex-direction: row; gap: 16px; margin-top: 0; flex-wrap: wrap; }
  .b-row .u { font-size: 11.5px; letter-spacing: .08em; }
  .mic-note { display: none; }
  .lower { width: calc(100vw - 32px); }
  .sec { min-height: 0; }
  .sec > .in { position: relative; min-height: 0; padding: 56svh 16px 34svh; display: block !important; }
  .sec > .in > * + * { margin-top: 16px; }
  .big { font-size: clamp(44px, 13.4vw, 72px) !important; text-align: left !important; }
  .problem .lede, .problem .aside-line, .meet .note, .shape .looks, .shape .note { position: static; text-align: left; }
  .lineup li { position: static; transform: none; width: auto; text-align: left; margin-top: 18px; }
  .lu-act { justify-content: flex-start; }
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .road { grid-template-columns: 1fr; }
  .road li { opacity: 1; }
  .privacy .in, .beta .in { text-align: left; justify-items: start; }
  .field { flex-direction: column; border-bottom: 0; background: none; }
  .field input { border-bottom: 2px solid var(--ink); background: rgba(5,5,7,.6); }
  .field button { margin-top: 10px; }
  .film { min-height: 190svh !important; }
  .film-pin { padding: 90px 16px 90px; }
  .film-slot { width: 100%; }
  .faq .in { padding-top: 46svh; }
  .end-card { position: relative; padding-top: 40svh; }
  .ending { min-height: 0; }
  .dock { gap: 12px; font-size: 11px; background: linear-gradient(to top, rgba(5,5,7,.94) 60%, transparent); padding-top: 18px; }
  .dockcap { position: absolute; left: 84px; right: 16px; bottom: calc(52px + env(safe-area-inset-bottom)); font-size: 16px; }
  .co-docked .dockcap { padding-left: 0; }
  .dock { min-height: calc(60px + env(safe-area-inset-bottom)); justify-content: flex-end; }
  .dock:has(.dockcap:not(:empty)) { background: linear-gradient(to top, rgba(5,5,7,.96) 55%, rgba(5,5,7,.8) 80%, transparent); padding-top: 64px; }
  .cohost.docked { left: 4px; }
  .cohost.docked canvas { width: 72px !important; height: 88px !important; margin-bottom: -18px; }
  .cocap { width: 220px; }
}
@media (max-width: 360px) {
  .dock button { letter-spacing: .06em; }
  .presets { gap: 8px; }
  .ringmark { width: 54px; height: 54px; }
}
/* stills capture (?bare): the set alone */
.bare main, .bare .top, .bare .dock, .bare .lower, .bare .cohost, .bare .cocap, .bare .pin, .bare .skip { visibility: hidden !important; }

/* ---------- other pages: the same set, held still behind a reading column ---------- */
.backdrop { position: fixed; inset: 0; z-index: 0; }
.backdrop img { width: 100%; height: 100%; object-fit: cover; display: block; }
.backdrop::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,8,11,.9) 0%, rgba(8,8,11,.78) 48%, rgba(8,8,11,.35) 100%), radial-gradient(120% 80% at 80% 20%, transparent, rgba(8,8,11,.55)); }
.doc { position: relative; z-index: 2; max-width: 74ch; padding: calc(120px + env(safe-area-inset-top)) var(--pad) 12vh; margin-left: clamp(16px, 8vw, 220px); }
.cue { margin: 0 0 18px; font: 600 12px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--grn); text-shadow: var(--shade); }
.doc-h { margin: 0 0 24px; font: 840 clamp(56px, 9vw, 220px)/.86 var(--display); font-stretch: 87.5%; letter-spacing: -0.02em; text-shadow: var(--shade); width: max-content; max-width: 88vw; }
.doc-h .tw { display: block; font-stretch: 112%; }
.doc-lede { margin: 0 0 48px; font: italic 500 clamp(19px, 1.5vw, 26px)/1.45 var(--voice); text-shadow: var(--shade); max-width: 52ch; }
.doc h2 { margin: 56px 0 14px; font: 800 clamp(24px, 2vw, 36px)/1.1 var(--display); font-stretch: 112%; text-shadow: var(--shade); }
.doc h3 { margin: 0 0 6px; font: 700 19px/1.3 var(--text); }
.doc p, .doc li, .doc td, .doc th { font: 400 1.0625rem/1.6 var(--text); text-shadow: var(--shade); }
.doc ul, .doc ol { padding-left: 1.2em; }
.doc li { margin: 6px 0; }
.doc code { font: 500 .92em var(--mono); color: var(--ink); }
.doc .meta { font: 500 14px/1.5 var(--mono); color: var(--dim); }
.doc table { border-collapse: collapse; width: 100%; margin: 10px 0; }
.doc th, .doc td { text-align: left; padding: 10px 14px 10px 0; border-bottom: 1px solid rgba(236,232,225,.2); vertical-align: top; }
.doc th { font: 600 12px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.bigsteps { list-style: none; padding: 0 !important; counter-reset: b; display: grid; gap: 34px; }
.bigsteps li { counter-increment: b; display: grid; grid-template-columns: auto 1fr; gap: 0 26px; margin: 0; }
.bigsteps li::before { content: '0' counter(b); grid-row: span 2; font: 840 clamp(64px, 7vw, 140px)/.8 var(--display); font-stretch: 87.5%; color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.bigsteps h2 { margin: 0 0 8px; }
.bigsteps p { margin: 0; }
.snags { list-style: none; padding: 0 !important; counter-reset: q; }
.snags li { counter-increment: q; border-top: 1px solid rgba(236,232,225,.22); padding: 16px 0 6px; margin: 0; display: grid; grid-template-columns: 3ch 1fr; gap: 0 14px; }
.snags li::before { content: counter(q, decimal-leading-zero); grid-row: span 2; font: 600 12px/1.9 var(--mono); color: var(--dim); }
.next { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; margin-top: 40px; }
.doc-foot { margin-top: 0; }
@media (max-width: 600px) {
  .doc { margin-left: 0; padding-top: calc(96px + env(safe-area-inset-top)); }
  .doc-h { font-size: clamp(48px, 15vw, 80px); width: auto; }
  .backdrop::after { background: linear-gradient(180deg, rgba(8,8,11,.55) 0%, rgba(8,8,11,.9) 40%); }
  .bigsteps li { gap: 0 14px; }
}
@media (min-width: 1921px) { .doc { max-width: 84ch; } .doc p, .doc li, .doc td { font-size: 1.25rem; } }
.bd-404 { position: absolute; inset: 0; background: url('../img/bg-404-1440.webp') center/cover no-repeat; }
@media (max-width: 600px) { .bd-404 { background-image: url('../img/bg-404-390.webp'); } }
.no-gl .seam { display: none; }

/* portrait tablets (768-1024 wide, taller than wide): the seam is horizontal like a phone, so the hero follows suit */
@media (min-width: 601px) and (max-aspect-ratio: 4/5) {
  .hero { height: 100svh; }
  .headline { font-size: 11vw; }
  .headline .l1 { left: 32px; top: 90px; }
  .headline .l2 { left: 32px; right: auto; top: calc(90px + 11vw * .9); }
  .sub { top: calc(104px + 11vw * 1.85); left: 32px; right: 32px; max-width: 40ch; font-size: 18px; }
  .you { left: 32px; right: 32px; width: auto; top: auto; bottom: calc(60lvh + 18px); }
  .you .camlabel { display: none; }
  .host { left: 32px; top: calc(40lvh + 16px); bottom: auto; max-width: 24ch; }
  .host .preview-note { display: none; }
  .lower { width: 48vw !important; }
  .builder { top: auto; left: 32px; right: 32px; bottom: calc(64px + env(safe-area-inset-bottom)); width: auto; display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; text-align: left; align-items: end; }
  .builder::before, .b-h, .mic-note { display: none; }
  .presets { flex-direction: row; gap: 18px; }
  .pre { flex-direction: column; gap: 6px; }
  .pn { text-align: center; }
  .moods { grid-column: 2; grid-row: 1; flex-direction: row; gap: 0 18px; }
  .moods legend { display: none; }
  .b-row { grid-column: 1 / -1; flex-direction: row; gap: 22px; margin-top: 0; }
}
/* big screens: scale the camera UI with the room */
@media (min-width: 1921px) and (min-height: 1200px) {
  .top > *, .dock > *, .builder > *, .you > *, .host > *, .toy, .qs, .road, .steps, .needs, .nots, .src, .exact, .beta-form, .end-acts, .dials > *, .film-slot figcaption { zoom: 1.4; }
  .sub { font-size: 30px; max-width: 24ch; }
  .builder { width: 330px; }
  .you { width: 560px; }
  .lower { width: 500px; } .lt-name { font-size: 16px; } .lt-line { font-size: 34px; }
  .cocap { width: 360px; font-size: 26px; }
  .note { font-size: 20px; }
}

.slate { margin: 0 0 0 28px; display: flex; align-items: center; gap: 10px; color: var(--dim); }
.slate .rec { width: 10px; height: 11px; clip-path: var(--hex); background: var(--mag); }
@media (max-width: 1100px) { .slate { display: none; } }

/* short landscape screens (laptops at 720-820 px tall): a tighter rail */
@media (min-width: 601px) and (max-height: 820px) and (min-aspect-ratio: 4/5) {
  .builder { gap: 8px; top: calc(78px + env(safe-area-inset-top)); bottom: calc(56px + env(safe-area-inset-bottom)); }
  .b-h { font-size: 22px; }
  .ringmark { width: 46px; height: 46px; }
  .presets { gap: 6px; }
  .moods label { min-height: 30px; }
  .b-row .u { min-height: 34px; }
  .mic-note { display: none; }
  .you { bottom: calc(60px + env(safe-area-inset-bottom)); }
  .host { bottom: calc(60px + env(safe-area-inset-bottom)); }
}
.foot { grid-template-columns: minmax(0, 1fr); }
.foot nav a { overflow-wrap: anywhere; }
@media (max-width: 600px) { .foot-mark { font-size: 17vw !important; font-stretch: 100% !important; } }
.seam:focus-visible { outline: 2px solid var(--ink); outline-offset: 0; border-radius: 50%; }
.seam:focus-visible::after { display: none; }

/* ---------- legibility pass (Brandon 11-18: "the white text is hard ... put something behind it") ----------
   Every reading block gets a soft dark scrim (a blurred dark cloud, no hard box); big titles get a deep shadow;
   the nav and dock sit on dark bars; the Shape it controls sit on panels. Checked by _tools/legibility.mjs. */
:root { --scrim: rgba(7,7,9,.72); --shade-big: 0 2px 3px rgba(3,3,5,.8), 0 0 22px rgba(3,3,5,.9), 0 0 48px rgba(3,3,5,.9), 0 0 110px rgba(3,3,5,.75); }
.top::before { content: ''; position: absolute; z-index: -1; left: 0; right: 0; top: 0; height: calc(96px + env(safe-area-inset-top)); background: linear-gradient(rgba(6,6,8,.96), rgba(6,6,8,.9) 58%, rgba(6,6,8,0)); pointer-events: none; }
.dock::before { content: ''; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: calc(92px + env(safe-area-inset-bottom)); background: linear-gradient(to top, rgba(6,6,8,.96), rgba(6,6,8,.9) 58%, rgba(6,6,8,0)); pointer-events: none; }
.big, .huge, .b-h, .end-card h2 { text-shadow: var(--shade-big); }
.sub, .you, .host, .hero .b-row,
main .in p:not(.hp):not(.big), main .in h3, main .in legend, main .in .range label, main .in dl, main .in .u,
.steps li, .road li, .qs li, .lineup li, .film-slot figcaption, .lower, .cocap.on, .pin, .end-sub, .end-acts {
  background: var(--scrim); box-shadow: 0 0 26px 18px var(--scrim); border-radius: 18px;
}
.lineup li p, .lineup li h3, .road li p, .road li h3, .steps li p, .qs li p, .you p, .host p, .lineup li .u, .end-acts .u { background: none; box-shadow: none; }
.steps li::before { content: none; }
/* Shape it: the dials read as controls, on panels, around the co-host in the middle */
.shape .dials > * { background: rgba(10,10,14,.78); box-shadow: none; border: 1px solid rgba(236,232,225,.14); border-radius: 16px; padding: 14px 16px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.shape .dials legend, .shape .dials .range label { background: none; box-shadow: none; }
.shape .looks { left: 34vw; right: 34vw; }
.shape .note { left: 30vw; right: 30vw; }
@media (max-width: 600px) {
  .shape .looks, .shape .note { left: 16px; right: 16px; }
  .meet .note, .shape .note, .shape .looks { bottom: calc(118px + env(safe-area-inset-bottom)); }
  .shape .looks { bottom: calc(160px + env(safe-area-inset-bottom)); }
}
/* the co-host can be picked up and moved (mouse or touch) */
.cohost.on canvas { pointer-events: auto; cursor: grab; touch-action: none; -webkit-user-select: none; user-select: none; }
.cohost.on canvas.grabbing { cursor: grabbing; }
/* the footer is a curtain: solid under its own type, so it never sits over the end card */
.foot { background: linear-gradient(to bottom, rgba(5,5,7,0), rgb(5 5 7) 9vh); }
.onair, .beta-form label { background: var(--scrim); box-shadow: 0 0 22px 14px var(--scrim); border-radius: 14px; }
@media (max-width: 600px) { main .big { background: var(--scrim); box-shadow: 0 0 30px 24px var(--scrim); border-radius: 22px; } }
@media (max-width: 600px) {
  .sec > .in { padding-bottom: calc(150px + env(safe-area-inset-bottom)); }
  .pin { display: none; }
}
.sec > .in.tall, .sec > .film-pin.tall { position: relative; }
@media (max-width: 600px), (min-width: 601px) and (max-aspect-ratio: 4/5) { .you:has(.camtoggle[aria-pressed=true]) .cam-note { display: none; } }
/* line-up: wider cards so both buttons fit on one line; tablet portrait stacks them like phones (no 3D --x there) */
.lineup li { width: min(28vw, 360px); }
.lu-act { gap: 10px; }
@media (min-width: 601px) and (max-aspect-ratio: 4/5) {
  .meet .lineup { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 24px; position: absolute; left: 32px; right: 32px; top: 50vh; }
  .lineup li { position: static; transform: none; width: auto; }
}
.toy { background: var(--scrim); box-shadow: 0 0 26px 18px var(--scrim); border-radius: 18px; }
@media (min-width: 601px) { .shape .looks { left: 30vw; right: 30vw; bottom: calc(132px + env(safe-area-inset-bottom)); font-size: 16px; } .shape .note { left: 30vw; right: 30vw; bottom: calc(78px + env(safe-area-inset-bottom)); } }

/* ===== film open (11-18): a Blender-rendered camera move, scrubbed by scroll; the film and the webcam sit under the
   frames, mapped onto the rendered phone screen (src/open.ts) ===== */
.open { position: relative; z-index: 15; height: 600vh; background: #050506; }
.o-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #050506 url(../film/open/wide/poster.webp) center / cover no-repeat; }
@media (max-aspect-ratio: 4/5) { .o-stage { background-image: url(../film/open/tall/poster.webp); } }
.open.ready .o-stage { background-image: none; }
#oFrames { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.o-screen, .o-filmbox { position: absolute; left: 0; top: 0; transform-origin: 0 0; background: #000; overflow: hidden; will-change: transform; visibility: hidden; }
.o-filmbox video { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.o-filmbox { z-index: 1; } .o-screen { z-index: 0; }
.open.phase-e .o-filmbox { outline: 6px solid rgba(236,232,225,.85); border-radius: 26px; }
.o-cam, .o-standin { position: absolute; inset: 0; opacity: 0; transition: opacity .5s; }
.o-cam video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); display: block; filter: saturate(.9) contrast(1.05); }
.open.phase-e.cam-on .o-cam, .open.phase-e.cam-off .o-standin { opacity: 1; }
.o-standin { background: radial-gradient(60% 80% at 50% 70%, #3a2a1f, #120d0a 70%); display: grid; place-items: center; }
.o-chair { position: absolute; left: 50%; bottom: 0; width: 300px; height: 420px; transform: translateX(-50%); background: linear-gradient(#2b211b, #1a1410); border-radius: 60px 60px 0 0; box-shadow: inset 0 18px 30px rgba(255,190,120,.12); }
.o-st { position: relative; font: 600 64px/1.1 var(--display); color: var(--ink); text-align: center; text-shadow: var(--shade-big); }
.o-ui { position: absolute; left: 40px; top: 30px; margin: 0; font: 500 34px/1 var(--mono); letter-spacing: .14em; color: var(--ink); opacity: 0; display: flex; align-items: center; gap: 14px; }
.open.phase-e .o-ui { opacity: .9; }
.o-rec { width: 22px; height: 22px; border-radius: 50%; background: #e2554f; }
.o-cap { position: absolute; z-index: 3; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom)); transform: translateX(-50%); width: min(1100px, calc(100% - 32px)); margin: 0; text-align: center; font: 600 clamp(22px, 2.5vw, 38px)/1.3 var(--text); letter-spacing: .005em; color: var(--ink); text-shadow: var(--shade-big), 0 2px 3px rgb(0 0 0 / .9); white-space: pre-line; pointer-events: none; }
.o-cap:empty { display: none; }
.o-gate { position: absolute; z-index: 4; left: var(--pad); right: var(--pad); bottom: calc(96px + env(safe-area-inset-bottom)); top: auto; display: grid; justify-items: center; text-align: center; gap: 14px; transition: opacity .6s, transform .6s; }
.o-title { margin: 0; font: 800 clamp(40px, 6.4vw, 110px)/.9 var(--display); letter-spacing: -.02em; color: var(--ink); text-shadow: var(--shade-big); }
.o-lede { margin: 0 0 8px; max-width: 34ch; font: 500 clamp(17px, 1.5vw, 22px)/1.4 var(--text); color: var(--ink); text-shadow: var(--shade-big); }
.o-start { min-height: 64px; padding: 10px 30px 10px 14px; display: inline-flex; align-items: center; gap: 14px; font: 700 clamp(20px, 2vw, 28px)/1 var(--display); color: var(--black); background: var(--ink); border-radius: 40px; cursor: pointer; transition: transform .3s cubic-bezier(.3,1.6,.5,1); }
.o-start .hexplay { background: var(--black); } .o-start .hexplay::after { background: var(--ink); } .o-start .hexplay::before { border-left-color: var(--black); }
.o-start:hover, .o-start:focus-visible { transform: scale(1.05); }
.o-s2 { font-weight: 500; opacity: .75; }
.o-or { margin: 0; font: 500 13px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); text-shadow: var(--shade); }
.open.started .o-gate, .open.moved .o-gate { opacity: 0; transform: translateY(-12px); pointer-events: none; visibility: hidden; transition: opacity .6s, transform .6s, visibility 0s .6s; }
.o-hint { position: absolute; z-index: 3; left: 50%; bottom: calc(150px + env(safe-area-inset-bottom)); transform: translateX(-50%); margin: 0; font: 500 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); text-shadow: var(--shade); opacity: 0; transition: opacity .6s; outline: none; }
.open.started .o-hint { opacity: .85; animation: o-hint 1.2s 4s forwards; }
@keyframes o-hint { to { opacity: 0; } }
.o-ask { position: absolute; z-index: 5; left: var(--pad); top: calc(84px + env(safe-area-inset-top)); width: min(440px, calc(100% - 32px)); padding: 22px 24px; box-shadow: 0 0 0 1px rgba(255,140,60,.35), 0 20px 60px rgba(0,0,0,.6); background: rgba(10,10,13,.92); border: 1px solid rgba(236,232,225,.18); border-radius: 14px; color: var(--ink); animation: o-in .45s cubic-bezier(.2,1.4,.4,1); }
@keyframes o-in { from { transform: translateY(-16px) scale(.96); opacity: 0; } }
.o-ask-h { margin: 0 0 8px; font: 700 clamp(21px, 2vw, 27px)/1.25 var(--display); } .o-ask-s { margin: 0 0 16px; font: 400 16px/1.45 var(--text); color: var(--dim); }
.o-ask-b { display: flex; gap: 10px; flex-wrap: wrap; }
.o-ask .o-yes { min-height: 52px; padding: 0 26px; font-size: 17px; animation: o-pulse 1.6s ease-in-out infinite; }
@keyframes o-pulse { 50% { box-shadow: 0 0 0 8px rgba(255,140,60,.28); } }
@media (prefers-reduced-motion: reduce) { .o-ask .o-yes { animation: none; } }
.o-yes, .o-no { min-height: 44px; padding: 0 18px; border-radius: 30px; font: 600 15px/1 var(--text); cursor: pointer; }
.o-yes { background: var(--ink); color: var(--black); } .o-no { border: 1px solid rgba(236,232,225,.4); color: var(--ink); }
.o-cammsg { position: absolute; z-index: 3; left: 50%; bottom: calc(76px + env(safe-area-inset-bottom)); transform: translateX(-50%); width: max-content; max-width: min(46ch, calc(100% - 2 * var(--pad))); margin: 0; padding: 8px 14px; border-radius: 999px; background: rgb(8 8 10 / .72); backdrop-filter: blur(8px); font: 500 14px/1.4 var(--text); color: var(--ink); text-align: center; }
.o-cammsg:empty { display: none; }
.o-sound { position: absolute; z-index: 5; right: var(--pad); bottom: calc(76px + env(safe-area-inset-bottom)); min-height: 44px; display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); text-shadow: var(--shade); }
.o-sound[aria-pressed=true] { color: var(--grn); }
.o-twist { display: none; }
.open.reduced { height: auto; } .open.reduced .o-stage { position: relative; }
.open.reduced .o-twist { display: inline-flex; position: absolute; z-index: 5; left: 50%; bottom: calc(150px + env(safe-area-inset-bottom)); transform: translateX(-50%); min-height: 44px; padding: 0 20px; border-radius: 30px; border: 1px solid rgba(236,232,225,.5); color: var(--ink); background: rgba(10,10,13,.8); font: 600 15px/1 var(--text); align-items: center; }
.open.reduced .o-playr { transform: translateX(calc(-100% - 6px)); } .open.reduced #oTwist { transform: translateX(6px); }
.open.done .o-sound { opacity: 0; }
.o-miniclose { display: none; }
/* the story keeps playing in a small player once the opening scrolls away */
.film-mini .o-filmbox { position: fixed; z-index: 30; left: auto; top: auto; right: 16px; bottom: calc(70px + env(safe-area-inset-bottom)); width: min(320px, 44vw) !important; height: auto !important; aspect-ratio: 16 / 9; transform: none !important; visibility: visible !important; outline: 1px solid rgba(236,232,225,.3); border-radius: 10px; box-shadow: 0 16px 40px rgba(0,0,0,.6); }
.film-mini .o-miniclose { display: grid; place-items: center; position: absolute; right: 4px; top: 4px; width: 44px; height: 44px; font: 600 22px/1 var(--text); color: var(--ink); text-shadow: var(--shade); }
.in-open .slate, .in-open .dockcap, .in-open .cohost, .in-open .cocap, .in-open #shoo, .in-open .ember-layer, .in-open .ember-hit, .in-open .ember-toggle { visibility: hidden; }
.open:not(.started):not(.moved) .o-cap { visibility: hidden; }

/* ---- the other screens in the room (film open): phones, studio monitor, laptop; mapped by matrix3d like Ember's */
.o-xs { position: absolute; left: 0; top: 0; z-index: 0; transform-origin: 0 0; overflow: hidden; background: #050507; visibility: hidden; will-change: transform; color: #ece8e1; }
.o-xs-phone { width: 1584px; height: 729px; }
.o-xs-mon { width: 1600px; height: 896px; }
.o-xs-lap { width: 1450px; height: 900px; }
.o-xui { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px; background: #08080a; }
.o-pane { display: flex; align-items: flex-end; padding: 26px 30px; border-radius: 26px; font: 500 40px/1 var(--mono); letter-spacing: .16em; color: rgb(236 232 225 / .55); background: radial-gradient(120% 90% at 30% 20%, #3a2f27, #121014 70%); }
.o-pane-b { background: radial-gradient(120% 90% at 70% 30%, #2b3a37, #0f1214 70%); }
.o-obs { grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; padding: 22px; gap: 18px; background: #1b1c22; }
.o-obs-t { grid-column: 1 / -1; font: 500 30px/1 var(--mono); letter-spacing: .12em; color: rgb(236 232 225 / .6); }
.o-obs .o-pane { font-size: 30px; border-radius: 10px; }
.o-q { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .25s, transform .45s cubic-bezier(.5, 0, .2, 1); transform-origin: 50% 50%; }
.o-q-ember { z-index: 1; }
.four .o-q { opacity: 1; transform: none; }
.open:not(.four) .o-xs .o-q { transform: scale(.2); }
.o-fourvid { position: absolute; width: 2px; height: 2px; opacity: 0; pointer-events: none; }
/* the end: what DualCam does, on the screens, lit as the film says it */
.o-feat { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; gap: 34px; padding: 40px; text-align: center; background: radial-gradient(90% 90% at 50% 40%, #1d1712, #070708 75%); opacity: 0; transition: opacity .5s; }
.o-feat b { font: 800 84px/1.05 var(--display, var(--text)); letter-spacing: -.01em; max-width: 14ch; }
.phase-e .o-feat { opacity: 1; }
.o-xs.say .o-feat b { color: #ff7a2e; text-shadow: 0 0 40px rgb(255 90 10 / .55); }
.o-feat-rec { grid-template-columns: auto auto; column-gap: 30px; }
.o-feat-rec b { grid-column: 1 / -1; }
.o-recdot { width: 40px; height: 40px; border-radius: 50%; background: #ff3b30; box-shadow: 0 0 30px #ff3b30; animation: o-blink 1s steps(2) infinite; }
.o-tc { font: 500 52px/1 var(--mono); letter-spacing: .08em; color: rgb(236 232 225 / .8); }
.o-roll { display: grid; gap: 10px; font: 500 40px/1.25 var(--text); color: rgb(236 232 225 / .55); }
.o-roll span:nth-child(2) { color: #ece8e1; }
.o-keys { display: flex; gap: 22px; }
.o-keys span { padding: 22px 34px; border-radius: 18px; border: 2px solid rgb(236 232 225 / .35); font: 600 40px/1 var(--text); }
.o-keys .o-k-rec { border-color: #ff3b30; color: #ff6a5f; }
@keyframes o-blink { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .o-recdot { animation: none; } .o-q { transition: none; } }

/* the film is the site (Brandon 11-18: "way too long"): after the opening, one screen each for the beta, the FAQ and the ending */
.sec.beta, .sec.faq { min-height: 100vh; min-height: 100svh; }
/* the old 3D set is off (?gl=1 brings it back): after the film, a calm page over the film's own room, out of focus */
html:not(.gl-on) .stage, html:not(.gl-on) .slate { display: none; }
main { background: linear-gradient(rgb(5 5 6 / .55), rgb(5 5 6 / .82)), #050506 url(../film/open/backdrop.webp) center / cover fixed; }
.faq .in { grid-template-columns: minmax(0, 760px); justify-content: center; }
.faq .in > * { grid-column: 1; }
/* 11-19: bigger captions push the scroll hint up; the camera ask stays compact on phones so it never covers Ember's phone */
.o-hint { bottom: auto; top: calc(78px + env(safe-area-inset-top)); white-space: nowrap; }
@media (max-width: 640px) {
  .o-ask { top: calc(70px + env(safe-area-inset-top)); padding: 14px 16px; }
  .o-ask-h { font-size: 18px; margin-bottom: 4px; } .o-ask-s { font-size: 14px; margin-bottom: 10px; }
  .o-ask .o-yes, .o-ask .o-no { min-height: 44px; padding: 0 16px; font-size: 15px; }
  .o-ask-b { flex-wrap: nowrap; }
  .o-cap { font-size: clamp(20px, 5.4vw, 24px); }
}
/* 11-19 legibility: captions on a soft dark plate (they sit over the bright film and the lit room), dock buttons on pills,
   room-screen labels brighter */
.o-cap { width: max-content; max-width: min(1100px, calc(100% - 32px)); padding: 6px 16px 8px; border-radius: 12px; background: rgb(8 8 10 / .8); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.dock button { background: rgb(8 8 10 / .78); padding: 0 14px; border-radius: 999px; }
.o-pane { color: rgb(236 232 225 / .9); }
