/* Mythpop Clips · our studio UX in the Mythpop look ("Panels & Bubbles", design/mythpop/web/mythpop.css):
   cream page, square ink PANELS with hard offset shadows hold things, round marigold BUBBLES are the one next action,
   coral is decoration only (never text), errors use their own red. Baloo 2 headlines, Inter text, IBM Plex Mono labels.
   The caption previews keep Anton / Montserrat (--clip): they must match what the renderer burns into the clip. */
@font-face { font-family: "AntonLocal"; src: url("../fonts/Anton-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/Montserrat-Bold.ttf") format("truetype"); font-weight: 700 900; font-display: swap; }

:root {
  --night: #1C1446; --marigold: #FFB31F; --coral: #FF5A3C; --lilac: #A99BFF; --cream: #FFF6E6;
  --paper: #FFF6E6; --paper2: #F6EAD3; --paper3: #EADDC6; --field: #FFFDF8;
  --ink: #0F0B26; --ink2: #2E2760; --muted: #5B547F; --rule: #DCD0BE;
  --red: #C4211A;               /* errors only: 5.77:1 on paper, white text on it 5.87:1 */
  --act: var(--marigold);       /* the one next action (a bubble): ink text on it is 10.7:1 */
  --yellow: var(--marigold);    /* highlighter, selection, the facecam box */
  --ok: #0F7B4B;
  --head: "Baloo 2", "Trebuchet MS", "Nirmala UI", system-ui, sans-serif;
  --ui: Inter, system-ui, "Segoe UI", Roboto, sans-serif;
  --clip: "Anton", "AntonLocal", Impact, sans-serif;     /* caption previews only: the renderer's own faces */
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --sh: 4px 4px 0 var(--ink); --sh-lg: 6px 6px 0 var(--ink);
  --wrap: 1280px;
}

/* ---------------------------------------------------------------- base */
* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); font: 16.5px/1.55 var(--ui); -webkit-font-smoothing: antialiased; overflow-x: clip; }
body::before { display: none; content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .4 0 0 0 0 .32 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; box-shadow: 0 0 0 6px var(--ink); }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
img, video, canvas { display: block; max-width: 100%; }
main { flex: 1; width: 100%; outline: none; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.head { font-family: var(--head); font-weight: 800; line-height: .98; letter-spacing: -.02em; }
.mono { font: 500 11px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.muted { color: var(--muted); }
.hl { background: linear-gradient(transparent 55%, var(--yellow) 55%, var(--yellow) 92%, transparent 92%); }
.halftone { background-image: radial-gradient(var(--ink) 1px, transparent 1.3px); background-size: 6px 6px; }
.tape { background: repeating-linear-gradient(-45deg, var(--yellow) 0 22px, var(--ink) 22px 44px); }

/* ---------------------------------------------------------------- components */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 22px; border: 2px solid var(--ink); border-radius: 0; box-shadow: var(--sh); background: var(--field); color: var(--ink); cursor: pointer; text-decoration: none; white-space: nowrap; font: 600 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; transition: transform .15s, box-shadow .15s, background-color .15s; }
.btn:hover:not([disabled]) { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active:not([disabled]) { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-red { background: var(--act); color: var(--ink); border-radius: 999px; padding-inline: 26px; }
.btn-ink { background: var(--night); color: var(--cream); }
.btn-lg { height: 58px; padding: 0 28px; font-size: 13px; }
.btn-sm { height: 36px; padding: 0 12px; font-size: 11px; letter-spacing: .1em; box-shadow: 3px 3px 0 var(--ink); }
.btn-sm:hover:not([disabled]) { box-shadow: 4px 4px 0 var(--ink); }
.btn-block { width: 100%; }
.btn-ghost { background: none; border-color: transparent; box-shadow: none; padding: 0 4px; }
.btn-ghost:hover:not([disabled]) { transform: none; box-shadow: none; color: var(--night); text-decoration: underline; text-decoration-color: var(--coral); }
/* icon button: square, quiet, its name in aria-label + title */
.ib { width: 34px; height: 34px; display: inline-grid; place-items: center; flex: none; padding: 0; border: 2px solid transparent; background: none; color: var(--ink); cursor: pointer; list-style: none; }
.ib::-webkit-details-marker { display: none; }
.ib:hover { border-color: var(--ink); background: var(--field); }
.ib svg { width: 17px; height: 17px; }
.sq { width: 34px; height: 34px; display: grid; place-items: center; border: 2px solid var(--ink); background: var(--field); cursor: pointer; padding: 0; flex: none; }
.sq:hover { background: var(--yellow); }
.sq svg { width: 14px; height: 14px; }
.field { width: 100%; height: 50px; padding: 0 14px; border: 2px solid var(--ink); border-radius: 0; background: var(--field); outline: none; font: 17px var(--ui); }
.field:focus { background: #fff; }
.field::placeholder { color: var(--muted); }
.label { display: block; font: 600 11px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 8px; }
.box { border: 2px solid var(--ink); background: var(--field); box-shadow: var(--sh-lg); }
.box-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-bottom: 2px solid var(--ink); background: var(--paper2); }
.kicker { display: inline-block; font: 600 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; background: var(--night); color: var(--cream); padding: 5px 8px 4px; white-space: nowrap; }
.kicker.ink { background: var(--ink); }
.kicker.paper { background: var(--field); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.stamp { display: inline-block; font: 800 22px/1 var(--head); text-transform: uppercase; padding: 6px 12px 4px; color: var(--night); border: 3px solid var(--night); transform: rotate(-8deg); background: var(--paper);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='s'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.2 1.6'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23s)'/%3E%3C/svg%3E"); }
.stamp.ok { color: var(--ok); border-color: var(--ok); }
.stamp.ink { color: var(--ink); border-color: var(--ink); }
.stamp-in { animation: stamp-in .35s cubic-bezier(.2,.7,.1,1) both; }
@keyframes stamp-in { 0% { opacity: 0; transform: scale(1.8) rotate(-8deg); } 60% { opacity: 1; transform: scale(.94) rotate(-8deg); } 100% { transform: scale(1) rotate(-8deg); } }
.seg { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; border: 2px solid var(--ink); }
.seg button { height: 38px; border: 0; border-right: 2px solid var(--ink); background: var(--field); cursor: pointer; font: 600 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 0 12px; white-space: nowrap; }
.seg button:last-child { border-right: 0; }
.seg button svg { width: 15px; height: 15px; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.heat { display: inline-flex; gap: 2px; vertical-align: middle; }
.heat i { width: 9px; height: 9px; border: 1.5px solid var(--ink); }
.heat i.on { background: var(--coral); border-color: var(--ink); }
.checklist { list-style: none; margin: 0; padding: 0; font: 600 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.checklist li { display: flex; align-items: center; gap: 10px; padding: 6px 0; color: var(--muted); cursor: help; }
.checklist li svg { width: 24px; height: 24px; padding: 3px; border: 2px solid currentColor; flex: none; }
.checklist li.done { color: var(--ink); }
.checklist li.done svg { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.checklist li.on { color: var(--night); }
.checklist li.on svg { animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { background: var(--marigold); color: var(--ink); } }
/* small inline icons beside words */
.kind { display: inline-grid; place-items: center; width: 16px; height: 16px; flex: none; color: var(--ink2); cursor: help; }
.kind svg { width: 15px; height: 15px; }
.kicker svg { width: 12px; height: 12px; vertical-align: -2px; margin-right: 5px; }
.insp-top .span { display: inline-flex; align-items: center; gap: 4px; }
.insp-top .span svg { width: 13px; height: 13px; }
.top nav a { gap: 8px; }
.top nav a svg { width: 15px; height: 15px; flex: none; }
.cmd-foot .link { display: inline-flex; align-items: center; gap: 6px; }
.cmd-foot .link svg { width: 15px; height: 15px; }
.mission #mDesc { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font: 600 11.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.mission #mDesc span { display: inline-flex; align-items: center; gap: 6px; cursor: help; }
.mission #mDesc svg { width: 15px; height: 15px; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.facts span { display: inline-flex; align-items: center; gap: 5px; }
.facts svg { width: 15px; height: 15px; }
.perks { list-style: none; padding: 0 !important; display: grid; gap: 6px; }
.perks li { display: flex; gap: 8px; align-items: flex-start; }
.perks svg { width: 15px; height: 15px; flex: none; margin-top: 5px; color: var(--ok); }
.banner { display: flex; align-items: center; gap: 14px; border: 2px solid var(--ink); background: var(--field); padding: 12px 16px; margin-bottom: 20px; }
.banner .txt { flex: 1; font-size: 15px; }
.banner .txt b { font: 600 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; display: block; margin-bottom: 2px; }
.banner.bad { border-color: var(--red); box-shadow: 4px 4px 0 var(--red); }
.banner.bad .txt b { color: var(--red); }
.banner.run { box-shadow: 4px 4px 0 var(--yellow); }
.spin { width: 18px; height: 18px; border: 3px solid var(--rule); border-top-color: var(--coral); border-radius: 50%; animation: spin .8s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
#toast { position: fixed; left: 50%; bottom: 26px; z-index: 120; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--night); color: var(--cream); padding: 12px 20px; border-radius: 999px; font: 600 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; box-shadow: 4px 4px 0 var(--coral); transition: opacity .2s, transform .2s; display: flex; gap: 10px; align-items: center; }
#toast.on { opacity: 1; transform: translate(-50%, 0); }
#toast svg { width: 15px; height: 15px; color: var(--yellow); }
#drop { position: fixed; inset: 0; z-index: 110; display: none; place-items: center; background: rgba(255,246,230,.92); }
#drop.on { display: grid; }
#drop div { border: 3px dashed var(--ink); padding: 56px 72px; text-align: center; background: var(--field); box-shadow: 8px 8px 0 var(--ink); }
#drop b { display: block; font: 800 44px/1 var(--head); }
.empty { text-align: center; padding: 48px 20px; }
.empty .art { width: 190px; height: 190px; margin: 0 auto 6px; background: url("assets/empty-state.webp") center / contain no-repeat; }
.empty h2 { font-size: 36px; margin: 14px 0 10px; }
.empty p { margin: 0 auto 22px; max-width: 460px; }

/* ---------------------------------------------------------------- header, ticker, footer */
.top { position: sticky; top: 0; z-index: 60; background: var(--night); color: var(--cream); border-bottom: 2.5px solid var(--ink); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 62px; }
/* the Mythpop wordmark (bubble + drawn letters, as on mythpop.com), then a "Clips" tag */
.brand { color: var(--cream); text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; }
.brand svg { height: 34px; width: auto; display: block; }
.brand small { font: 600 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); background: var(--lilac); border: 2px solid var(--ink); padding: 4px 7px 3px; }
.top nav a.shop { color: var(--marigold); }
.top nav { display: flex; height: 62px; }
.top nav a { display: flex; align-items: center; padding: 0 16px; border-left: 1px solid rgba(255,246,230,.16); text-decoration: none; font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.top nav a:last-child { border-right: 1px solid rgba(255,246,230,.16); }
.top nav a:hover { color: var(--marigold); }
.top nav a.on { color: var(--marigold); box-shadow: inset 0 -4px 0 var(--marigold); }
.top .right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.beta { font: 600 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; border: 2px solid var(--ink); padding: 5px 8px; background: var(--yellow); text-decoration: none; }
.beta.bad { background: var(--red); color: #fff; border-color: var(--cream); }
.ticker { background: var(--ink); color: var(--cream); overflow: hidden; border-bottom: 2.5px solid var(--ink); }
.ticker .tlane { display: flex; width: max-content; animation: slide 60s linear infinite; }
.ticker span { font: 500 11px/32px var(--mono); letter-spacing: .14em; text-transform: uppercase; padding: 0 22px; white-space: nowrap; }
.ticker span b { color: var(--yellow); font-weight: 600; }
.ticker span::before { content: "✦"; color: var(--coral); margin-right: 22px; }
@keyframes slide { to { transform: translateX(-50%); } }
.foot { margin-top: 72px; border-top: 2.5px solid var(--ink); background: var(--ink); color: #D9D3FF; }
.foot .brand svg { height: 30px; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 18px; padding-bottom: 28px; align-items: center; }
.foot .legal a { text-decoration: underline; text-underline-offset: 3px; }
.foot a:hover { color: var(--marigold); }

/* ---------------------------------------------------------------- landing */
.hero { border-bottom: 2px solid var(--ink); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; align-items: center; padding-top: 48px; padding-bottom: 64px; }
.hero .big { font-size: clamp(46px, 5.8vw, 86px); margin: 18px 0 18px; }
.hero h1.kicker { margin: 0; font-weight: 600; }      /* the page's H1 for search; the big line below is the design headline */
.hero .lead { font-size: 20px; line-height: 1.5; color: var(--ink2); max-width: 560px; margin: 0 0 30px; }
.cmdbar { border: 2px solid var(--ink); background: var(--field); box-shadow: var(--sh-lg); padding: 10px; max-width: 640px; }
.cmdbar form { display: flex; gap: 10px; }
.cmdbar .field { height: 58px; font-size: 18px; }
.cmd-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 12px 4px 4px; margin-top: 10px; border-top: 1px dashed var(--rule); font-size: 15px; }
.cmd-foot .link { background: none; border: 0; padding: 0; cursor: pointer; font-weight: 700; text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.cmd-foot #sample { margin-left: auto; font-weight: 600; }
.probe { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 10px; border: 2px solid var(--ink); background: var(--paper2); }
.probe img { width: 96px; aspect-ratio: 16/9; object-fit: cover; border: 1px solid var(--ink); }
.probe b { display: block; font: 800 19px/1.05 var(--head); }
.probe small { font-style: italic; color: var(--muted); }
.probe .spin { margin-left: auto; }
.uploading { margin-top: 10px; border: 2px solid var(--ink); padding: 12px 14px; background: var(--paper2); }
.uploading .row { display: flex; justify-content: space-between; gap: 12px; }
.uploading b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.meter { height: 12px; border: 2px solid var(--ink); margin-top: 10px; background: var(--field); }
.meter i { display: block; height: 100%; width: 0; background: var(--coral); transition: width .2s; }
.formerr { color: var(--red); font: 600 12px/1.5 var(--mono); letter-spacing: .04em; margin: 14px 0 0; }
.formerr:empty { display: none; }

.hero-demo { position: relative; justify-self: center; width: min(320px, 76vw); }
.hero-demo .phone { transform: rotate(2deg); }
.phone { position: relative; aspect-ratio: 9/16; border: 10px solid var(--ink); border-radius: 22px; background: var(--ink); box-shadow: 10px 10px 0 var(--coral); }
.phone > .scr { border-radius: 12px; }
.phone > .scr { position: relative; width: 100%; height: 100%; overflow: hidden; background: #000; }
.phone > .scr > canvas, .phone > .scr > video { width: 100%; height: 100%; object-fit: cover; }
.demo-scr { display: grid; grid-template-rows: 42% 58%; }
.demo-cam { background: url("assets/clips-cam.webp") 50% 35% / cover, var(--lilac); }
.demo-game { background: url("assets/clips-game.webp") 50% 50% / cover, var(--night); border-top: 2px solid #000; }   /* Mythpop comic art (Codex, 28 Nov 2026) */
.demo-hook { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); background: #fff; color: #111; font: 400 21px/1 var(--clip); padding: 7px 10px 6px; white-space: nowrap; text-transform: uppercase; }
.demo-cap { position: absolute; left: 0; right: 0; top: 60%; text-align: center; font: 700 26px/1 "Montserrat", sans-serif; text-transform: uppercase; -webkit-text-stroke: 6px #000; paint-order: stroke fill; color: #fff; }
.demo-cap span { display: inline-block; }
.demo-cap span.hot { color: #ffc54d; }
.demo-cap span.on { animation: pop .2s cubic-bezier(.34,1.56,.64,1); }
@keyframes pop { from { transform: scale(.7); } to { transform: scale(1); } }
.slip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 9px 14px 9px 10px; border-radius: 999px; background: var(--field); border: 2px solid var(--ink); box-shadow: var(--sh); font-size: 14px; font-weight: 600; white-space: nowrap; }
.slip small { display: block; font: 500 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.slip .ic { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--ink); background: var(--coral); color: var(--ink); flex: none; }
.slip .ic svg { width: 16px; height: 16px; }
.slip.s1 { left: -96px; top: 13%; transform: rotate(-3deg); }
.slip.s2 { right: -78px; top: 46%; transform: rotate(2deg); }
.slip.s2 .ic { background: var(--lilac); }
.slip.s3 { left: -64px; bottom: 7%; transform: rotate(-1.5deg); }
.slip.s3 .ic { background: var(--yellow); color: var(--ink); }

.seeit { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 48px; align-items: center; }
.seeit video { display: block; width: 100%; aspect-ratio: 720/902; border: 2px solid var(--ink); box-shadow: var(--sh-lg); background: var(--paper2); }
.seeit ol { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 20px; }
.seeit li b { display: block; font: 800 clamp(28px, 3.2vw, 42px)/1 var(--head); }
.seeit li span { color: var(--ink2); font-size: 18px; }

.section { padding-top: 76px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; flex-wrap: wrap; border-bottom: 4px solid var(--ink); padding-bottom: 14px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 48px); margin: 10px 0 0; max-width: 760px; }
.section-head p { color: var(--ink2); max-width: 400px; margin: 0; font-size: 16px; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.bento > div { padding: 22px; display: flex; flex-direction: column; min-height: 250px; }
.bento h3 { font-size: 25px; margin: auto 0 8px; }
.bento p { margin: 0; color: var(--ink2); font-size: 16px; }
.b1 { grid-column: span 4; } .b2 { grid-column: span 2; } .b3 { grid-column: span 2; } .b4 { grid-column: span 4; }
.b-viz { flex: 1; min-height: 110px; display: grid; place-items: center; margin-bottom: 14px; }
.mini-wave { display: flex; align-items: flex-end; gap: 3px; height: 90px; width: 100%; border-bottom: 2px solid var(--ink); }
.mini-wave i { flex: 1; background: rgba(15,11,38,.28); }
.mini-wave i.in { background: var(--coral); }
.mini-split { width: 92px; aspect-ratio: 9/16; border: 4px solid var(--ink); display: grid; grid-template-rows: 42% 1fr; box-shadow: var(--sh); }
.mini-split span:first-child { background: url("assets/clips-cam.webp") 50% 35% / cover, var(--lilac); }
.mini-split span:last-child { background: url("assets/clips-game.webp") 50% 50% / cover, var(--night); border-top: 2px solid var(--ink); }
.mini-words { font: 700 30px "Montserrat", sans-serif; text-transform: uppercase; -webkit-text-stroke: 6px var(--ink); paint-order: stroke fill; color: #fff; display: flex; gap: 10px; }
.mini-words span:last-child { color: var(--yellow); }
.out-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.out-chips span { font: 600 12px var(--mono); letter-spacing: .06em; padding: 8px 10px; border: 2px solid var(--ink); background: var(--paper); }
.out-chips span b { color: var(--night); }
.tips { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.tip { padding: 18px 20px; display: flex; gap: 14px; }
.tip .ic { width: 40px; height: 40px; display: grid; place-items: center; flex: none; border-radius: 50%; background: var(--night); color: var(--cream); }
.tip.hand .ic { background: var(--yellow); color: var(--ink); border: 2px solid var(--ink); }
.tip .ic svg { width: 19px; height: 19px; }
.tip b { display: block; font: 800 22px/1 var(--head); margin-bottom: 6px; }
.tip p { margin: 0; color: var(--ink2); font-size: 15.5px; }
.cta { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); margin-top: 76px; }
.cta .img { background: url("assets/clips-cta.webp") 50% 50% / cover, var(--night); min-height: 240px; border-right: 2px solid var(--ink); }
.cta .copy { padding: 30px 32px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.cta h2 { font-size: clamp(28px, 3vw, 42px); margin: 10px 0 20px; }

/* ---------------------------------------------------------------- studio (a workbench: thin toolbar, the work fills the width) */
.studio { padding-top: 10px; max-width: 1680px; }
.s-bar { display: flex; align-items: center; gap: 10px; height: 46px; margin-bottom: 12px; border-bottom: 2px solid var(--ink); }
.s-name { flex: 1; min-width: 0; margin: 0; font: 800 21px/1 var(--head); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.s-len { flex: none; }
.stepper { display: flex; align-items: center; flex: none; }
.stepper span { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border: 2px solid var(--ink); margin-left: -2px; font: 600 10.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; background: var(--field); color: var(--muted); }
.stepper span b { font: 800 15px/1 var(--head); }
.stepper span em { font-style: normal; }
.stepper span svg { width: 13px; height: 13px; }
.stepper span.on { background: var(--act); color: var(--ink); }
.stepper span.done { background: var(--night); color: var(--cream); }
.help { position: relative; flex: none; }
.help summary { cursor: pointer; }
.help[open] summary { border-color: var(--ink); background: var(--yellow); }
.help .pop { position: absolute; right: 0; top: calc(100% + 8px); z-index: 50; width: 330px; margin: 0; padding: 12px 14px; list-style: none; background: var(--field); border: 2px solid var(--ink); box-shadow: var(--sh); font-size: 14.5px; display: grid; gap: 8px; }
.help .pop li { display: flex; gap: 8px; align-items: flex-start; }
.help .pop li b { width: 20px; height: 20px; display: grid; place-items: center; background: var(--ink); color: var(--paper); font: 600 11px var(--mono); flex: none; }
.help .pop svg { width: 13px; height: 13px; vertical-align: -2px; }

.mission { max-width: 760px; margin: 10px auto 0; text-align: center; overflow: hidden; }
.mission .tape { height: 14px; border-bottom: 2px solid var(--ink); }
.mission .in { padding: 34px 32px 30px; }
.mission .scope { height: 110px; display: flex; align-items: center; gap: 3px; margin-bottom: 24px; }
.mission .scope i { flex: 1; height: 100%; background: var(--ink); animation: wave 1.4s ease-in-out infinite; }
.mission .scope i { background: var(--night); }
.mission .scope i:nth-child(5n) { background: var(--coral); }
@keyframes wave { 0%, 100% { transform: scaleY(.15); } 50% { transform: scaleY(1); } }
.mission h2 { font-size: clamp(32px, 4vw, 52px); margin: 0 0 12px; }
.mission p { color: var(--ink2); margin: 0 auto 24px; max-width: 480px; }
.mission .checklist, .p-busy .checklist { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin: 0 auto 18px; }
.mission .clock { font: 800 36px/1 var(--head); }
.mission.bad h2 { color: var(--red); }
.mission.bad .scope { background: url("assets/error-state.webp") center / contain no-repeat; height: 150px; }   /* the tangled pinwheel */
.mission.bad .scope i { visibility: hidden; }

.s-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; align-items: start; }
.s-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.player { padding: 0; background: #000; }
/* the picture takes what the screen has left after the toolbar and the timeline (fits 1366 x 768 without scrolling) */
.player video, .player .poster { width: 100%; aspect-ratio: 16/9; max-height: max(240px, calc(100vh - 400px)); object-fit: contain; background: #000; }
.player .poster { object-fit: cover; }
.player audio { width: 100%; display: block; border-top: 2px solid var(--ink); }
.tl { padding: 10px 14px 12px; }
.tl-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.lane + .tl-head { margin-top: 10px; }
.tl-head span[title] { cursor: help; text-decoration: underline dotted; text-underline-offset: 3px; }
.lane { position: relative; border: 2px solid var(--ink); background: var(--paper); cursor: pointer; user-select: none; touch-action: none; }
.lane canvas { width: 100%; height: 100%; }
.lane.ov { height: 48px; }
.lane.dt { height: 76px; cursor: default; }
.playhead { position: absolute; top: -5px; bottom: -5px; width: 3px; margin-left: -1.5px; background: var(--night); pointer-events: none; }
.range { position: absolute; top: 0; bottom: 0; background: rgba(255,179,31,.45); box-shadow: inset 0 0 0 2px var(--ink); cursor: grab; }
.range:active { cursor: grabbing; }
.handle { position: absolute; top: 50%; width: 16px; height: 54px; margin-top: -27px; background: var(--ink); border: 2px solid var(--paper); box-shadow: 0 0 0 2px var(--ink); cursor: ew-resize; }
.handle.l { left: -9px; } .handle.r { right: -9px; }
.tl-hint { margin: 10px 0 0; font-size: 14px; color: var(--muted); font-style: italic; }

/* the inspector: the selected moment, in the right column under the list */
.insp { padding: 12px 14px 14px; }
.insp:empty { display: none; }
.insp-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.insp-top .rank { font: 800 26px/1 var(--head); }
.insp-top .span { margin-left: auto; }
.title-in { width: 100%; border: 0; border-bottom: 2px solid var(--ink); background: transparent; padding: 2px 0 6px; font: 800 24px/1.05 var(--head); outline: none; }
.title-in:focus { background: rgba(255,179,31,.25); }
.title-in::placeholder { color: var(--muted); }
.said { margin: 10px 0 0; font-style: italic; color: var(--ink2); font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.times { display: grid; gap: 6px; margin-top: 12px; }
.tfield { display: flex; align-items: center; gap: 4px; }
.tfield .label { width: 42px; margin: 0; }
.tfield input { width: 84px; height: 34px; text-align: center; border: 2px solid var(--ink); background: var(--field); font: 600 13px var(--mono); outline: none; }
.tfield input:focus { background: #fff; }
.insp-act { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.insp-act #frameIt { margin-left: auto; }
.empty-note { margin: 0; font-size: 15px; }
.empty-note svg { width: 14px; height: 14px; vertical-align: -2px; }

.side { position: sticky; top: 76px; max-height: calc(100vh - 88px); display: flex; flex-direction: column; gap: 14px; }
.side .moments { display: flex; flex-direction: column; min-height: 0; }
.side .box-head { padding: 6px 8px 6px 14px; }
.side .box-head h2 { margin: 0; font: 800 20px/1 var(--head); }
.rows { overflow: auto; }
.side .rows { max-height: 34vh; }
.mrow { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 10px 12px; border: 0; border-bottom: 1px solid var(--rule); background: transparent; cursor: pointer; transition: background-color .15s; }
.mrow:hover { background: rgba(255,179,31,.15); }
.mrow.sel { background: rgba(255,179,31,.45); }
.mrow .n { font: 800 20px/1 var(--head); width: 26px; height: 26px; display: grid; place-items: center; flex: none; }
.mrow.sel .n { background: var(--night); color: var(--cream); border-radius: 50%; }      /* selection isn't colour alone */
.mrow.sel .mm small { color: var(--ink2); }                         /* 4.5:1 on the yellow */
.mrow .th { width: 76px; aspect-ratio: 16/9; object-fit: cover; border: 1.5px solid var(--ink); flex: none; background: var(--paper3); }
.mrow .mm { flex: 1; min-width: 0; }
.mrow .mm b { display: block; font: 800 17px/1.05 var(--head); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mrow .mm small { display: flex; gap: 8px; align-items: center; margin-top: 4px; font: 500 10.5px var(--mono); letter-spacing: .06em; color: var(--muted); }
.mrow .st { flex: none; width: 24px; height: 24px; display: grid; place-items: center; }
.mrow .st svg { width: 15px; height: 15px; }
.mrow .st.done { background: var(--ok); color: #fff; }
.mrow .st.busy { border: 2px solid var(--ink); }
.mrow .st.busy .spin { width: 13px; height: 13px; border-width: 2px; }

/* frame */
.f-grid { display: grid; grid-template-columns: minmax(0, 1fr) 270px 280px; gap: 18px; align-items: start; }
.stage-panel .stage { position: relative; overflow: hidden; background: #000; user-select: none; touch-action: none; }
.stage img { width: 100%; }
.cambox { position: absolute; border: 3px solid var(--yellow); cursor: move; box-shadow: 0 0 0 9999px rgba(15,11,38,.55); }
.cambox .lbl { position: absolute; left: -3px; top: calc(100% + 3px); background: var(--yellow); color: var(--ink); font: 600 10.5px var(--mono); letter-spacing: .12em; padding: 4px 8px; white-space: nowrap; }
.cambox .h { position: absolute; width: 16px; height: 16px; background: var(--yellow); border: 2px solid var(--ink); }
.h.nw { left: -10px; top: -10px; cursor: nwse-resize; } .h.ne { right: -10px; top: -10px; cursor: nesw-resize; }
.h.sw { left: -10px; bottom: -10px; cursor: nesw-resize; } .h.se { right: -10px; bottom: -10px; cursor: nwse-resize; }
.stage-panel .note { display: inline-flex; gap: 6px; align-items: center; font: 600 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; cursor: help; }
.stage-panel .note svg { width: 14px; height: 14px; flex: none; color: var(--ok); }
.stage-panel .note.warn svg { color: var(--red); }
.stage img { max-height: calc(100vh - 210px); margin: 0 auto; }
.p-col { position: sticky; top: 80px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.p-col .phone { width: 100%; box-shadow: 8px 8px 0 var(--ink); }
.p-busy { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(255,246,230,.94); padding: 20px; }
.p-busy b { display: block; font: 800 32px/1 var(--head); margin-bottom: 14px; }
.f-opts { position: sticky; top: 80px; }
.f-opts .sec { padding: 14px 16px; border-bottom: 1px solid var(--rule); }
.f-opts .sec:last-child { border-bottom: 0; }
.styles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.style-tile { height: 62px; border: 2px solid var(--ink); background: var(--ink2); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #fff; }
.style-tile small { font: 600 9.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--rule); }
.style-tile[aria-pressed="true"] { outline: 3px solid var(--marigold); outline-offset: 2px; box-shadow: 0 0 0 5px var(--ink); }
.style-tile .s { font-size: 17px; line-height: 1; text-transform: uppercase; }
.s-punch { font-family: "Montserrat"; font-weight: 700; -webkit-text-stroke: 3px #000; paint-order: stroke fill; }
.s-clean { font-family: "Montserrat"; font-weight: 700; background: rgba(0,0,0,.65); padding: 3px 6px; font-size: 14px !important; }
.s-hype { font-family: var(--clip); font-size: 21px !important; -webkit-text-stroke: 3px #000; paint-order: stroke fill; }
.s-none { font: italic 15px var(--ui); text-transform: none !important; }
.swatches { display: flex; gap: 10px; }
.swatch { width: 34px; height: 34px; border: 2px solid var(--ink); cursor: pointer; }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--field), 0 0 0 5px var(--ink); }
.f-opts .small { font-size: 13.5px; color: var(--muted); font-style: italic; margin: 8px 0 0; }

/* export */
.x-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 32px; align-items: start; max-width: 1100px; }
.x-grid .phone { box-shadow: 8px 8px 0 var(--ink); }
.x-title { font-size: clamp(26px, 2.6vw, 36px); margin: 0 0 8px; overflow-wrap: anywhere; }
.facts { margin: 0 0 18px; cursor: help; }
.x-act { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.capbox .box-head, .tees .box-head { padding: 4px 6px 4px 14px; min-height: 42px; }
.capbox textarea { display: block; width: 100%; min-height: 120px; border: 0; background: var(--field); padding: 12px 14px; font: 16px/1.55 var(--ui); resize: vertical; outline: none; }
.next { margin-top: 22px; }
.tees { margin-top: 18px; }
.tee-list { display: flex; flex-direction: column; }
.tee { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; border-bottom: 1px solid var(--rule); text-decoration: none; }
.tee:last-child { border-bottom: 0; }
.tee:hover { background: rgba(255,179,31,.3); }
.tee { padding: 9px 14px; }
.tee .q { font: 800 18px/1.1 var(--head); min-width: 0; overflow-wrap: anywhere; }
.tee .go { display: flex; align-items: center; gap: 4px; flex: none; color: var(--night); }
.tee .go svg { width: 16px; height: 16px; }
.guide { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.guide article { padding: 20px 22px; }
.guide h2 { font-size: 24px; margin: 0 0 10px; }
.guide p { margin: 0; color: var(--ink2); font-size: 16px; }
.more { margin-top: 48px; }
.more-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 16px; }
.more-links a { text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.more-links a:hover { color: var(--night); }
@media (max-width: 1000px) { .guide { grid-template-columns: minmax(0, 1fr); } }
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { box-shadow: var(--sh); }
.faq summary { cursor: pointer; padding: 14px 18px; font: 800 22px/1.1 var(--head); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--night); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 18px 16px; color: var(--ink2); }
.next .rows { border: 2px solid var(--ink); margin-top: 10px; background: var(--field); }

/* my clips */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 22px; margin: 28px 0; }
.plan { display: flex; flex-direction: column; gap: 12px; padding: 22px; box-shadow: var(--sh); }
.plan.hot { border-top: 8px solid var(--marigold); }
.plan .price { font-size: 36px; line-height: 1; }
.plan .price .was { font-size: 22px; opacity: .55; }
.plan .offer { color: var(--night); font-weight: 700; }
.plan .kicker { align-self: flex-start; }
.plan ul { margin: 0; padding-left: 18px; flex: 1; }
.plan .btn { align-self: flex-start; }
#toast .btn { margin-left: 8px; }
.board { width: 100%; border-collapse: collapse; }
.board th, .board td { padding: 10px 14px; border-bottom: 1px solid var(--rule); text-align: left; }
.board th { font: 600 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; border-bottom: 2px solid var(--ink); }
#enterForm input, #enterForm select, .board input, .board select { font: 16px var(--serif, Georgia); padding: 8px 10px; border: 2px solid var(--ink); background: var(--field); }
.lib-head {display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 34px 0 26px; border-bottom: 4px solid var(--ink); padding-bottom: 12px; flex-wrap: wrap; }
.lib-head h1 { font-size: clamp(36px, 4.6vw, 60px); margin: 8px 0 0; }
/* boards (My clips): small heading, one line per row */
.board-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 22px 0 20px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.board-head h1 { font-size: 30px; margin: 0; }
.board-sub { margin: 36px 0 10px; }
.keep { display: flex; align-items: center; gap: 6px; margin: 36px 0 0; }
.keep span { cursor: help; }
a.mrow { text-decoration: none; }
.mrow > svg { width: 16px; height: 16px; flex: none; }      /* the row's arrow (it grew to the full width without this) */
.lib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 30px 24px; }
.tile { text-decoration: none; display: block; }
.tile .pic { position: relative; aspect-ratio: 9/16; border: 2px solid var(--ink); background: var(--ink); overflow: hidden; box-shadow: var(--sh); transition: transform .15s, box-shadow .15s; }
.tile:hover .pic { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.tile .pic img, .tile .pic video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile .pic .mono { position: absolute; left: 0; bottom: 0; background: var(--ink); color: var(--paper); padding: 4px 7px; font-size: 10px; }
.tile b { display: block; font: 800 21px/1 var(--head); margin-top: 12px; }
.tile small { display: block; font-style: italic; color: var(--muted); font-size: 13.5px; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1180px) and (min-width: 1001px) {
  .f-grid { grid-template-columns: minmax(0, 1fr) 250px 260px; gap: 18px; }
}
@media (max-width: 1000px) {
  .hero .wrap, .s-grid, .x-grid, .cta, .seeit { grid-template-columns: minmax(0, 1fr); }
  .hero-demo { margin-top: 20px; }
  .slip.s1, .slip.s3 { left: -14px; } .slip.s2 { right: -14px; }
  .side, .p-col, .f-opts { position: static; max-height: none; }
  .side .rows { max-height: none; }
  .player video, .player .poster { max-height: none; }
  /* frame: the still across the top, then the preview beside the options */
  .f-grid { grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 18px; }
  .stage-panel { grid-column: 1 / -1; }
  .f-opts { grid-column: auto; }
  .stage img { max-height: none; }
  .x-grid .phone { max-width: 300px; width: 100%; margin: 0 auto; }
  .bento { grid-template-columns: 1fr 1fr; }
  .b1, .b4 { grid-column: span 2; } .b2, .b3 { grid-column: span 1; }
  .cta .img { border-right: 0; border-bottom: 2px solid var(--ink); min-height: 170px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .top .wrap { gap: 12px; }
  .brand { font-size: 24px; }
  .top nav a { padding: 0 10px; font-size: 10px; }
  .top .wrap { flex-wrap: wrap; height: auto; padding-top: 10px; row-gap: 8px; }
  .top nav { order: 3; width: 100%; height: 44px; border-top: 1px solid var(--rule); margin: 0 -16px; width: calc(100% + 32px); }
  .top nav a { flex: 1; justify-content: center; border-left: 0; }
  .top nav a + a { border-left: 1px solid var(--rule); }
  .top nav a:last-child { border-right: 0; }
  .beta { display: none; }
  .cmdbar form { flex-direction: column; }
  .cmd-foot .src { margin-left: 0; }
  .bento, .tips { grid-template-columns: 1fr; }
  .b1, .b2, .b3, .b4 { grid-column: auto; }
  .s-bar { gap: 6px; }
  .s-name { font-size: 17px; }
  .s-len { display: none; }
  .stepper span { padding: 0 7px; }
  .stepper span:not(.on) em { display: none; }
  .help .pop { width: min(330px, calc(100vw - 32px)); }
  .f-grid { grid-template-columns: minmax(0, 1fr); }
  .p-col .phone { max-width: 240px; }
  .lib-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
  .mrow .th { width: 60px; }
  .stage-panel .box-head { flex-wrap: wrap; }
  .stage-panel .seg { width: 100%; }
}
body.still .ticker .tlane, body.still .mission .scope i, body.still .checklist li.on i, body.still .spin { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
/* upgrade prompts: one quiet line where the reason is (a tagged clip, a used-up month) */
.offer { color: var(--night); font-weight: 700; }
.nudge { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 12px 0 0; font-size: 11px; }
.nudge svg { width: 14px; height: 14px; }
.nudge a { text-decoration: underline; text-underline-offset: 3px; }
.yt-note { display: flex; gap: 6px; align-items: center; margin: 10px 0 0; font-size: 11px; color: var(--red); }
.yt-note svg { width: 14px; height: 14px; flex: none; }

/* ---------------------------------------------------------------- the run (home): one stream becomes a Short
   Plain (reduce motion, no GSAP): the finished phone beside the three steps. .live (app.js homeMotion): one pinned
   stage; GSAP owns the transforms of everything it moves, so nothing here uses translate on those elements. */
.run { background: var(--paper2) radial-gradient(rgba(15, 11, 38, .13) 1.2px, transparent 1.4px) 0 0 / 9px 9px; border-block: 2px solid var(--ink); margin-top: 76px; }
.run-stage { max-width: var(--wrap); margin: 0 auto; padding: 48px 28px; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 40px; align-items: center; }
.run-step { padding: 14px 0; }
.run-step h3 { font-size: clamp(30px, 3.4vw, 52px); margin: 12px 0; }
.run-step p { font-size: 18px; color: var(--ink2); max-width: 460px; margin: 0; }
.run-prog { display: none; }
.run-scene { position: relative; height: min(78svh, 720px); }
.rs-frame { position: absolute; left: 50%; top: 50%; translate: -50% -50%; height: 94%; aspect-ratio: 9 / 16; border: 10px solid var(--ink); border-radius: 26px; overflow: hidden; background: #000; box-shadow: 10px 10px 0 var(--coral); }
.rs-game { position: absolute; left: 0; right: 0; top: 45%; height: 55%; background: url("assets/clips-game.webp") 50% 50% / cover, var(--night); }
.rs-cam { position: absolute; left: 0; top: 0; width: 100%; height: 45%; overflow: hidden; background: var(--lilac); box-shadow: 0 0 0 3px var(--ink); }
.rs-cam img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.rs-cam .c0, .rs-cam .c1 { visibility: hidden; }
.rs-live { position: absolute; left: 10px; top: 10px; background: var(--coral); color: var(--ink); padding: 3px 7px; border: 2px solid var(--ink); font-size: 10px; display: none; }
.rs-hook { position: absolute; left: 50%; top: 45%; translate: -50% -50%; background: #fff; color: #111; font: 400 clamp(14px, 1.5vw, 21px)/1 var(--clip); padding: 7px 10px 6px; white-space: nowrap; text-transform: uppercase; z-index: 2; }
.rs-cap { position: absolute; left: 0; right: 0; top: 64%; text-align: center; font: 700 clamp(22px, 2.3vw, 32px)/1 "Montserrat", sans-serif; text-transform: uppercase;
  -webkit-text-stroke: 7px #000; paint-order: stroke fill; color: #fff; z-index: 2; }
.rs-cap span { display: inline-block; margin: 0 .1em; }
.rs-cap span:last-child { color: var(--marigold); }
.rs-wave { display: none; }
.rs-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; overflow: hidden; z-index: 3; }
.rs-sfx { position: absolute; left: 0; top: 0; z-index: 4; opacity: 0; visibility: hidden; pointer-events: none; font: 800 clamp(40px, 4.6vw, 76px)/1 var(--head); color: var(--marigold);
  -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; text-shadow: 5px 5px 0 var(--ink); white-space: nowrap; }
.rs-file { position: absolute; right: 2%; bottom: 8%; display: flex; align-items: center; gap: 10px; padding: 9px 14px 9px 10px; background: var(--field); border: 2px solid var(--ink); box-shadow: var(--sh); font-weight: 700; z-index: 4; rotate: -3deg; }
.rs-file small { display: block; font: 500 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.rs-file .ic { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--marigold); border: 2px solid var(--ink); }
.rs-file .ic svg { width: 16px; height: 16px; }
.rs-phirki { position: absolute; left: 5%; bottom: 9%; width: 170px; height: 170px; z-index: 4; pointer-events: none; }
.rs-phirki svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(4px 4px 0 var(--ink)); }

.run.live { margin-top: 76px; }
.run.live .run-stage { height: calc(100svh - var(--hdr, 0px)); min-height: 520px; padding-block: 24px; }
.run.live .run-steps { display: grid; }
.run.live .run-step { grid-area: 1 / 1; visibility: hidden; opacity: 0; }
.run.live .run-prog { display: block; height: 6px; margin-top: 22px; max-width: 460px; background: var(--paper3); border: 2px solid var(--ink); }
.run.live .run-prog i { display: block; height: 100%; background: var(--coral); transform-origin: 0 50%; transform: scaleX(0); }
.run.live .run-scene { height: min(calc((100svh - var(--hdr, 0px)) * .9), 760px); }
.run.live .rs-frame { translate: none; aspect-ratio: auto; height: auto; box-shadow: 8px 8px 0 var(--coral); }
.run.live .rs-cam { top: 60%; left: 3%; width: 31%; height: 34%; }
.run.live .rs-cam .c0 { visibility: visible; }
.run.live .rs-cam .c1, .run.live .rs-cam .c2 { visibility: hidden; opacity: 0; }
.run.live .rs-game { top: 0; height: 100%; }
.run.live .rs-live { display: block; }
.run.live .rs-hook { translate: none; }
.run.live .rs-hook, .run.live .rs-cap span, .run.live .rs-file, .run.live .rs-phirki { visibility: hidden; opacity: 0; }
.run.live .rs-cap span:last-child { color: #fff; }
.run.live .rs-wave { display: block; position: absolute; left: 3%; right: 3%; bottom: 1%; padding: 14px 18px 12px; }
.rs-meta { display: flex; justify-content: space-between; margin-bottom: 8px; }
.rs-track { position: relative; height: 92px; }
.rs-bars { position: absolute; inset: auto 0 0; height: 62px; display: flex; align-items: flex-end; gap: 2px; border-bottom: 2px solid var(--ink); }
.rs-bars i { flex: 1; background: rgba(15, 11, 38, .28); }
.rs-bars i.lit { background: var(--coral); }
.rs-head { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--ink); }
.rs-head::before { content: ""; position: absolute; top: -3px; left: -5px; width: 12px; height: 12px; background: var(--coral); border: 2px solid var(--ink); }
.rs-pin { position: absolute; top: 0; width: 0; visibility: hidden; transform-origin: 0 100%; }
.rs-pin .kicker { position: absolute; left: 0; bottom: 0; translate: -50% 0; }

/* the phirki peeking over the demo phone (behind it, so its stick hides) */
.hero-demo .phone { position: relative; z-index: 1; }
.hero-demo .slip { z-index: 2; }
.hero-phirki { position: absolute; right: 14px; top: -82px; width: 110px; height: 154px; z-index: 0; cursor: pointer; }
.hero-phirki svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(4px 4px 0 var(--ink)); }

@media (max-width: 1000px) {
  .run-stage { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 36px 16px; }
  .run-scene { height: 66svh; order: -1; }
  .run.live .run-stage { grid-template-rows: auto auto; align-content: center; gap: 10px; padding-block: 12px; }
  .run.live .run-scene { height: calc((100svh - var(--hdr, 0px)) * .64); }
  .run.live .run-steps { min-height: 26svh; align-content: start; }
  .run-step { padding: 6px 0; }
  .run-step h3 { font-size: clamp(24px, 6.4vw, 34px); margin: 8px 0 6px; }
  .run-step p { font-size: 15.5px; }
  .run.live .run-prog { margin-top: 12px; }
  .rs-track { height: 70px; } .rs-bars { height: 44px; }
  .run.live .rs-wave { padding: 10px 12px 8px; }
  .rs-phirki { width: 92px; height: 92px; }
  .hero-phirki { width: 90px; height: 126px; top: -64px; }
}
