/* Shotroom front page. One dark field, the app's own tokens (theme.css),
   Inter tight for display. No em dashes in copy, no emoji, SVG icons only.
   Performance: no backdrop blur over moving media, no video element exists
   until a card is hovered or in view, every still is a lazy WebP with its
   box reserved, the hero streams from a poster. */
:root {
  --bg: #07070b;
  --bg2: #0c0c12;
  --glass: rgba(255, 255, 255, 0.035);
  --glass2: rgba(255, 255, 255, 0.055);
  --glass3: rgba(255, 255, 255, 0.085);
  --border: rgba(255, 255, 255, 0.08);
  --border2: rgba(255, 255, 255, 0.16);
  --text: #f3f1f8;
  --text2: #9c99b0;
  --text3: #9693a8; /* lifted with the app (4.5:1 on lifted surfaces, 6.7:1 on the field), 2026-10-10 */
  --accRGB: 155, 140, 255;
  --acc: rgb(var(--accRGB));
  --grad: linear-gradient(135deg, #2f5ae6 0%, #5544e6 50%, #7c52ec 100%);
  --glow: 0 6px 26px rgba(70, 105, 255, 0.38);
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --r-sm: 9px;
  --r-md: 14px;
  --r-lg: 22px;
  --gutter: clamp(18px, 4vw, 56px);
  --max: 1360px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, .display {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0;
}
h2 { font-size: clamp(30px, 4.4vw, 56px); }
h3 { font-size: clamp(20px, 2.2vw, 26px); letter-spacing: -0.02em; }
p { margin: 0; }
.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--acc);
}
.lede { color: var(--text2); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; max-width: 60ch; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon.solid { fill: currentColor; stroke: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: transform var(--ease) 200ms, background var(--ease) 200ms, border-color var(--ease) 200ms;
}
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--grad); color: #fff; box-shadow: var(--glow); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.ghost { border: 1px solid var(--border2); background: var(--glass2); }
.btn.ghost:hover { background: var(--glass3); border-color: rgba(255,255,255,0.28); }
.btn.sm { height: 44px; padding: 0 16px; font-size: 14px; }
.btn.white { background: #fff; color: #0b0b12; }
.btn.white:hover { background: #ebe9f5; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  height: 68px;
  display: flex; align-items: center;
  transition: background var(--ease) 300ms, border-color var(--ease) 300ms;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(7, 7, 11, 0.86); border-bottom-color: var(--border); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); }
.nav .wrap { display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: 0.16em; font-size: 15px; }
.brand svg { width: 26px; height: 20px; fill: currentColor; }
.nav-links { display: flex; gap: 26px; margin-left: 14px; font-size: 14px; font-weight: 500; color: var(--text2); }
.nav-links a:hover { color: var(--text); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
/* Sign in as a real pill (Clement 2026-09-09: "make sign in more visible with a real circle around it") */
.nav-cta .signin { color: var(--text); }
@media (max-width: 860px) {
  .nav-links { order: 3; width: 100%; margin: 0; justify-content: space-between; gap: 12px; overflow-x: auto; }
  .nav { height: auto; min-height: 112px; background: rgba(7,7,11,.96); }
  .nav .wrap { flex-wrap: wrap; gap: 8px; padding-block: 10px; }
  .nav-cta { gap: 6px; }
  .nav-cta .btn { font-size: 12px; padding-inline: 10px; }
  .brand { font-size: 12px; gap: 6px; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: end;
  overflow: hidden; isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; background: #000; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media video { position: absolute; inset: 0; opacity: 0; transition: opacity 900ms var(--ease); }
.hero-media video.ready { opacity: 1; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(7,7,11,1) 0%, rgba(7,7,11,0.78) 26%, rgba(7,7,11,0.18) 60%, rgba(7,7,11,0.35) 100%),
    linear-gradient(to right, rgba(7,7,11,0.55), transparent 55%);
}
.hero-inner { padding: 140px 0 44px; display: grid; gap: 26px; }
.hero h1 {
  font-size: clamp(42px, 7.2vw, 96px);
  max-width: 13ch;
  text-wrap: balance;
}
.hero .lede { max-width: 56ch; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-cta .note { font-size: 13px; color: var(--text3); margin-left: 6px; }
.sound {
  position: absolute; right: var(--gutter); bottom: 44px; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--border2); background: rgba(7,7,11,0.55); color: var(--text);
}
.sound:hover { background: rgba(7,7,11,0.8); }
.sound .on { display: none; }
.sound.is-on .on { display: block; }
.sound.is-on .off { display: none; }

/* the stage strip: the workspace's own order, where Artlist has its search */
.stages {
  display: flex; gap: 6px; flex-wrap: wrap; align-items: center;
  padding: 8px; border-radius: 999px;
  border: 1px solid var(--border); background: rgba(12, 12, 18, 0.72);
  width: fit-content; max-width: 100%;
}
.stages a, .stages span {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  color: var(--text2);
}
.stages a b, .stages span b { font-weight: 700; color: var(--text3); font-size: 11px; font-variant-numeric: tabular-nums; }
.stages a:hover, .stages span:hover { background: var(--glass3); color: var(--text); }
@media (max-width: 720px) {
  .stages { border-radius: var(--r-md); }
  .stages a, .stages span { padding: 7px 10px; font-size: 12px; }
  .sound { bottom: auto; top: 84px; }
  .hero-inner { padding-top: 120px; }
}

/* ---------- sections ---------- */
section { padding: clamp(70px, 9vw, 130px) 0; scroll-margin-top: calc(var(--nav-height, 140px) + 20px); }
.step, .strip { scroll-margin-top: calc(var(--nav-height, 140px) + 20px); }
.section-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(30px, 4vw, 56px); }
.section-head.row { max-width: none; grid-template-columns: 1fr auto; align-items: end; gap: 24px; }
@media (max-width: 720px) { .section-head.row { grid-template-columns: 1fr; } }


/* how it works */
.steps { display: grid; gap: clamp(40px, 6vw, 96px); }
.step { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.step:nth-child(even) .step-copy { order: 2; }
.step-copy { display: grid; gap: 14px; }
.step-copy .num { font-size: 13px; font-weight: 700; color: var(--text3); letter-spacing: 0.1em; }
.step-copy h3 { font-size: clamp(26px, 3vw, 38px); }
.step-copy p { color: var(--text2); font-size: 16.5px; max-width: 48ch; }
.step-copy ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--text2); font-size: 15px; }
.step-copy li { display: flex; gap: 10px; align-items: flex-start; }
.step-copy li .icon { color: var(--acc); margin-top: 4px; font-size: 14px; }
.frame { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--bg2); box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
/* no border on a still either, the same hairline (see .card) */
.frame img, .frame video { width: 100%; height: auto; }
.frame .cap { position: absolute; left: 14px; bottom: 14px; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: rgba(7,7,11,0.72); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.duo .frame:first-child { grid-column: 1 / -1; }
.script-card {
  border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--bg2);
  padding: clamp(22px, 3vw, 38px); font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13.5px; line-height: 1.7; color: var(--text2); display: grid; gap: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.script-card .slug { color: var(--text); font-weight: 700; }
.script-card .cue { text-align: center; color: var(--text); }
.script-card .line { text-align: center; padding: 0 12%; }
.script-card mark { background: rgba(var(--accRGB), 0.16); color: var(--text); border-radius: 4px; padding: 1px 6px; box-shadow: 0 0 0 1px rgba(var(--accRGB), 0.35); }
.script-card .tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; font-family: Inter, sans-serif; }
.script-card .tags span { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; border: 1px solid var(--border2); color: var(--text2); }
.strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; padding: 10px; border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--bg2); box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.strip img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; }
.strip .ruler { grid-column: 1 / -1; display: flex; justify-content: space-between; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 11px; color: var(--text3); padding: 4px 4px 0; }
.strip .lane { grid-column: 1 / -1; height: 26px; border-radius: 6px; background: repeating-linear-gradient(90deg, rgba(var(--accRGB), 0.22) 0 18%, transparent 18% 20%); position: relative; overflow: hidden; }
.strip .lane::after { content: ""; position: absolute; left: 38%; top: 0; bottom: 0; width: 2px; background: var(--acc); box-shadow: 0 0 12px var(--acc); }
@media (max-width: 860px) {
  .step { grid-template-columns: 1fr; }
  .step:nth-child(even) .step-copy { order: 0; }
}

/* showcase grid */
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters button { padding: 9px 14px; border-radius: 999px; border: 1px solid var(--border2); font-size: 13.5px; font-weight: 600; color: var(--text2); transition: all 160ms var(--ease); }
.filters button:hover { color: var(--text); background: var(--glass2); }
.filters button[aria-pressed="true"] { background: var(--text); color: #0b0b12; border-color: var(--text); }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.card {
  position: relative; border-radius: var(--r-md); overflow: hidden; background: var(--bg2);
  aspect-ratio: 16 / 9;
  transition: transform 260ms var(--ease);
}
/* No border on a media card (Clement 2026-09-09: "a small white line on
   the bottom of videos looks unpro"). MEASURED: a grid column is a
   fractional width, so the card's height is fractional, and a 1 px border's
   bottom row is drawn as one full light pixel on the dark caption shade
   while the top row vanishes into the bright picture; every kind of border
   (drawn, overlay, inset shadow) read as that hairline. The radius and the
   dark field carry the edge on their own. */
.card:hover { transform: translateY(-3px); }
.card img, .card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card img { inset: -3px; width: calc(100% + 6px); height: calc(100% + 6px); }
/* A playing video can paint a pixel short of its box on a fractional card
   height, and the lighter poster behind it showed as a hairline along the
   bottom (Clement 2026-09-09: "a small white line on the bottom of videos").
   The video overshoots its box by a pixel on every side, so nothing behind
   it is ever seen; the border radius on the card still clips it. */
/* three pixels of overshoot, not one (Clement 2026-09-09: "cut a bit more on the bottom pls still white line") */
.card video { inset: -3px; width: calc(100% + 6px); height: calc(100% + 6px); opacity: 0; transition: opacity 320ms var(--ease); }
.card.playing img { visibility: hidden; transition: visibility 0s 320ms; }
.card.playing video { opacity: 1; }
/* the caption's shade runs a pixel past the box: a picture snaps to whole
   pixels, the box does not, and the sliver in between stayed unshaded */
.card .meta { position: absolute; inset: auto -3px -3px -3px; padding: 40px 17px 15px; display: flex; justify-content: space-between; align-items: end; gap: 10px; background: linear-gradient(to top, rgba(7,7,11,0.85), transparent); }
.card .meta b { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.card .meta small { display: block; color: var(--text2); font-size: 12px; margin-top: 2px; }
.card .meta em { font-style: normal; font-size: 11px; font-weight: 600; padding: 4px 8px; border-radius: 999px; background: rgba(255,255,255,0.12); font-variant-numeric: tabular-nums; }
.card.wide { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; min-height: 320px; }
.card.hidden { display: none; }
@media (max-width: 860px) { .grid { grid-template-columns: 1fr 1fr; } .card.wide { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; min-height: 320px; } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } .card.wide { grid-column: span 1; } }

/* takes */
.takes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.takes.two { grid-template-columns: repeat(2, 1fr); }
.takes .card { aspect-ratio: 16 / 9; }
.takes .card .meta em.pick { background: var(--grad); }
.takes-row + .takes-row { margin-top: 12px; }
@media (max-width: 640px) { .takes { grid-template-columns: 1fr; } }

/* voices */
.voices { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.voices .section-head { margin-bottom: 20px; }
.tracks { display: grid; gap: 6px; }
.track {
  display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center;
  padding: 10px 14px 10px 10px; border-radius: var(--r-md); border: 1px solid var(--border); background: var(--glass);
  transition: background 160ms var(--ease), border-color 160ms var(--ease);
}
.track:hover { background: var(--glass2); border-color: var(--border2); }
.track.playing { border-color: rgba(var(--accRGB), 0.5); background: rgba(var(--accRGB), 0.06); }
.track .play { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--text); color: #0b0b12; }
.track .play .pause { display: none; }
.track.playing .play .pause { display: block; }
.track.playing .play .go { display: none; }
.track .info { display: grid; gap: 6px; min-width: 0; }
.track .name { display: flex; gap: 10px; align-items: baseline; font-weight: 600; font-size: 14.5px; }
.track .name small { font-weight: 500; color: var(--text3); font-size: 12px; }
.track .wave { height: 30px; width: 100%; display: block; }
.track .wave rect { fill: rgba(255,255,255,0.28); }
.track .wave rect.done { fill: var(--acc); }
.track .dur { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 12px; color: var(--text3); font-variant-numeric: tabular-nums; }
.voice-note { display: grid; gap: 22px; }
.voice-note .frame img { aspect-ratio: 16 / 9; object-fit: cover; }
.mouth { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mouth div { aspect-ratio: 1; border-radius: var(--r-sm); background: var(--glass2); border: 1px solid var(--border); display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 10px 8px 8px; gap: 4px; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 11px; color: var(--text2); }
.mouth svg { width: 100%; height: auto; max-height: 56px; fill: none; stroke: var(--text); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.mouth svg .in { fill: rgba(var(--accRGB), 0.35); stroke: none; }
@media (max-width: 860px) { .voices { grid-template-columns: 1fr; } }

/* keys */
.providers { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 4px; }
.providers span { font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--border2); color: var(--text2); }
.providers i { width: 1px; height: 22px; background: var(--border2); margin: 0 6px; }
.keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.key { padding: 28px; border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--glass); display: grid; gap: 12px; align-content: start; min-height: 260px; }
.key .icon { font-size: 26px; color: var(--acc); }
.key h3 { font-size: 21px; }
.key p { color: var(--text2); font-size: 15px; }
.cost-example { margin-top: 8px; padding: 22px; border-radius: var(--r-sm); background: rgba(7,7,11,0.6); border: 1px solid var(--border2); text-align: left; }
.cost-example-label { margin: 0 0 18px; color: var(--text2); font-size: 13px; }
.cost-breakdown { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; }
.cost-breakdown dt { color: var(--text2); font-size: 13px; margin-bottom: 8px; }
.cost-breakdown dd { margin: 0; font-size: 21px; font-weight: 600; line-height: 1.4; font-variant-numeric: tabular-nums; }
.cost-breakdown .price { font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 700; letter-spacing: -0.01em; }
.cost-breakdown small { display: block; margin-top: 5px; font-size: 13px; font-weight: 400; color: var(--text2); }
@media (max-width: 640px) { .cost-breakdown { grid-template-columns: 1fr; gap: 18px; } .cost-breakdown > div + div { border-top: 1px solid var(--border); padding-top: 18px; } }
@media (max-width: 860px) { .keys { grid-template-columns: 1fr; } .key { min-height: 0; } }

footer { padding: 40px 0 60px; border-top: 1px solid var(--border); color: var(--text3); font-size: 13.5px; }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
footer nav { display: flex; gap: 22px; }
footer a:hover { color: var(--text); }

/* reveal on scroll, cheap: opacity + 14px */
.reveal { opacity: 1; transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto !important; }
}

/* Approved v3: show the complete reel frame, with copy on a readable field. */
.hero { min-height: 0; display: flex; flex-direction: column; padding: 68px 0 0; }
.hero-media { position: relative; inset: auto; z-index: 0; width: 100%; aspect-ratio: 16 / 9; max-height: 52svh; }
.hero-media img, .hero-media video { object-fit: contain; }
.hero-shade { inset: auto 0 0; height: 55%; background: linear-gradient(0deg, var(--bg) 80%, transparent); }
.hero-inner { padding: 36px 0 44px; gap: 22px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 76px); max-width: 22ch; }
.hero .lede { color: #c7c4d5; }
.sound { top: 88px; bottom: auto; }
.nav-links a, footer a { display: inline-flex; align-items: center; min-height: 44px; }
.nav-links a { white-space: nowrap; }
.familiar { padding-bottom: 0; }
.familiar .section-head { max-width: 900px; margin-bottom: 0; }
.text-step { grid-template-columns: 1fr; border-top: 1px solid var(--border); padding-top: 36px; }
.text-step .step-copy { max-width: 850px; }
.text-step .step-copy p { max-width: 65ch; }
/* a step's own door to the guide: a grid child would stretch to the column */
.step-copy .btn { width: fit-content; margin-top: 6px; }
.key { min-height: 0; }
.key h3 { text-transform: none; font-size: 17px; line-height: 1.4; letter-spacing: -0.01em; font-weight: 600; }
footer nav { flex-wrap: wrap; gap: 8px 22px; }
.credit { width: 100%; }
.card .pick { position: absolute; bottom: 12px; right: 12px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--grad); }
.clip-dialog { padding: 52px 16px 16px; width: min(1200px, 94vw); max-height: 94svh; background: var(--bg); color: var(--text); border: 1px solid var(--border2); border-radius: var(--r-lg); }
.clip-dialog::backdrop { background: rgba(0,0,0,.9); }
.clip-dialog video { width: 100%; max-height: 78svh; object-fit: contain; }
.clip-dialog .close { position: absolute; right: 8px; top: 4px; width: 44px; height: 44px; display: grid; place-items: center; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 4px; }
@media (max-width: 1100px) and (min-width: 861px) { .nav .wrap { gap: 14px; } .nav-links { gap: 12px; margin: 0; } .nav-cta .btn { padding-inline: 10px; font-size: 12px; } }
@media (max-width: 860px) { .hero { padding-top: 112px; } .sound { top: 124px; } .hero-inner { padding-top: 28px; } }
@media (max-width: 380px) { .nav .brand { letter-spacing: .06em; } .nav .brand svg { width: 20px; } .nav-cta .btn { padding-inline: 8px; font-size: 11px; } }

/* Round two: production artwork beside the workflow, without gallery captions. */
/* The fold (2026-10-10): the nav's measured height plus 24 px, so the eyebrow,
   the headline and both buttons are above 900 px with the whole frame shown. */
.hero { padding-top: calc(var(--nav-height, 68px) + 24px); }
.sound { top: calc(var(--nav-height, 145px) + 20px); }
.familiar-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.familiar-layout .section-head { max-width: none; }
.process-art { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: clamp(40px, 6vw, 80px); }
.frame img, .frame video { object-fit: cover; }
.process-art .frame img { aspect-ratio: 16 / 9; }
.step > *, .familiar-layout > *, .voices > * { min-width: 0; }
.script-preview, .edit-preview, .breakdown-preview { overflow: hidden; border: 1px solid var(--border2); border-radius: var(--r-lg); background: var(--bg2); box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.breakdown-shots { list-style: none; padding: 8px 18px; margin: 0; }
.breakdown-shots li { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px 0; }
.breakdown-shots li + li { border-top: 1px solid var(--border); }
.breakdown-shots img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-sm); }
.shot-number { font: 11px "JetBrains Mono", monospace; letter-spacing: .08em; color: var(--acc); }
.breakdown-shots h4 { margin: 5px 0 6px; font-size: clamp(14px, 1.2vw, 17px); line-height: 1.3; font-weight: 600; }
.breakdown-shots p { font-size: 12px; color: var(--text2); }
.breakdown-shots .shot-dialogue { margin-top: 7px; color: var(--text); }
.breakdown-sequence { display: grid; grid-template-columns: 1.2fr 1.5fr .8fr; gap: 4px; margin: 0 18px 18px; }
.breakdown-sequence span { padding: 9px 12px; border-radius: 4px; border: 1px solid rgba(var(--accRGB), .2); background: rgba(var(--accRGB), .12); color: var(--acc); font: 11px "JetBrains Mono", monospace; }
.preview-bar { display: flex; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--border); font: 11px "JetBrains Mono", monospace; color: var(--text2); }
.preview-bar span:last-child { color: var(--acc); }
.script-preview .script-card { border: 0; border-radius: 0; box-shadow: none; background: #f0ede5; color: #3c3934; }
.script-preview .script-card .slug, .script-preview .script-card .cue, .script-preview .script-card mark { color: #25231f; }
.script-preview .script-card mark { background: #ded4ee; box-shadow: none; }
.parsed-script { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 22px; margin: 0; }
.parsed-script dt { color: var(--text3); font-size: 11px; margin-bottom: 4px; }
.parsed-script dd { margin: 0; font-size: 13px; color: var(--text); }
.edit-preview { padding-bottom: 18px; }
.edit-ruler { display: flex; justify-content: space-between; padding: 22px 16px 12px; font: 11px "JetBrains Mono", monospace; color: var(--text3); }
.edit-lanes { position: relative; margin: 0 14px; display: grid; gap: 10px; }
.edit-shots { display: grid; grid-template-columns: 1.2fr 1fr .7fr 1.1fr; gap: 3px; }
.edit-shots > div { min-width: 0; overflow: hidden; border-radius: 5px; background: var(--bg); }
.edit-shots img { width: 100%; height: 90px; object-fit: cover; }
.edit-audio { display: grid; gap: 8px; height: 38px; }
.edit-audio.dialogue { grid-template-columns: .9fr 1.4fr .7fr; padding: 0 12% 0 18%; }
.edit-audio span { border-radius: 5px; background-color: #594d87; background-image: repeating-linear-gradient(90deg, transparent 0 4px, #ad9cd8 4px 6px, transparent 6px 9px); background-size: 100% 12px; background-repeat: no-repeat; background-position: center; }
.edit-audio.ambience span { background-color: #244c48; background-image: repeating-linear-gradient(90deg, transparent 0 3px, #77ada0 3px 5px, transparent 5px 8px); background-size: 100% 8px; }
.edit-playhead { position: absolute; top: -8px; bottom: -5px; left: 42%; width: 2px; background: #f3e7bc; box-shadow: 0 0 8px #0008; }
.edit-playhead::before { content: ""; position: absolute; top: 0; left: -4px; border: 5px solid transparent; border-top-color: #f3e7bc; }
.edit-legend { display: flex; gap: 16px; padding: 20px 16px 0; color: var(--text3); font-size: 11px; }
.take-status { position: absolute; bottom: 12px; right: 12px; display: flex; gap: 7px; align-items: center; border-radius: 999px; padding: 8px 12px; font-size: 12px; font-weight: 600; background: rgba(7,7,11,.86); color: var(--text2); border: 1px solid var(--border2); }
.take-status.selected { background: #153b2eee; color: #baf5cf; border-color: transparent; }
.lipsync-art { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; border-radius: var(--r-lg); padding: 12px; background: var(--bg2); border: 1px solid var(--border); }
.lipsync-art > div { overflow: hidden; border-radius: 6px; background: white; }
.lipsync-art img { width: 100%; height: auto; object-fit: cover; }
@media (max-width: 860px) {
  .familiar-layout { grid-template-columns: 1fr; }
  .lipsync-art { max-width: 640px; }
}
@media (max-width: 560px) {
  .breakdown-shots { padding-inline: 12px; }
  .breakdown-shots li { gap: 12px; }
  .breakdown-sequence { margin-inline: 12px; }
  .process-art { grid-template-columns: 1fr; }
  .edit-shots img { height: 65px; }
  .lipsync-art { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.stage-motion { display: block; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
/* Motion is the one full-width step (critique 2026-10-10): the clip across
   the wrap, poster to muted video on view, the Takes row directly under it. */
.step-motion { grid-template-columns: 1fr; gap: clamp(20px, 3vw, 36px); align-items: start; }
.step-motion .step-copy { order: 0; }
.step-motion .stage-motion { border-radius: var(--r-lg); }
.step-motion .stage-motion:hover { transform: none; }
.card.playing .stage-play { opacity: 0; transition: opacity 320ms var(--ease); }
.takes-under { display: grid; gap: clamp(20px, 3vw, 32px); padding-top: clamp(8px, 1.5vw, 20px); }
.takes-under .section-head { margin-bottom: 0; }
.takes-title { font-size: clamp(22px, 2.4vw, 30px); }
.stage-play { position: absolute; inset: 0; display: grid; place-items: center; color: white; }
.stage-play svg { width: 48px; height: 48px; padding: 13px; border-radius: 50%; background: #07070bbd; }
.export-art { padding: 12px; border-radius: var(--r-lg); background: var(--bg2); border: 1px solid var(--border); }
.export-art .frame { border-radius: 10px; }
.export-art .frame img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.export-options { display: flex; justify-content: space-between; gap: 8px; padding: 16px 4px; font-size: 12px; color: var(--text2); }
.export-options span { display: inline-flex; align-items: center; gap: 6px; }
.export-options .icon { color: var(--acc); }
.export-strip { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 5px; }
.export-strip img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; }

.beta-dialog { padding: 0; border: 1px solid var(--border2); border-radius: 20px; background: #121219; color: var(--text); width: min(540px, calc(100vw - 28px)); max-height: calc(100dvh - 32px); overflow-y: auto; box-shadow: 0 24px 100px #0009; }
.beta-dialog::backdrop { background: #000b; }
.beta-panel { position: relative; padding: clamp(22px, 4vw, 36px); }
.beta-panel h2 { font-size: clamp(26px, 5vw, 34px); margin: 0 0 12px; }
.beta-panel .eyebrow { margin-top: 0; }
.beta-intro, .beta-success p { color: var(--text2); }
.beta-close { position: absolute; top: 10px; right: 12px; border: 0; background: transparent; color: var(--text2); cursor: pointer; width: 36px; height: 36px; font-size: 26px; }
#beta-form { display: grid; gap: 8px; margin-top: 24px; }
#beta-form[hidden], .beta-success[hidden], .beta-error[hidden] { display: none; }
#beta-form label { font-size: 14px; font-weight: 500; }
#beta-form label span { color: var(--text3); font-weight: 400; }
#beta-form input, #beta-form textarea { width: 100%; min-width: 0; border: 1px solid var(--border2); background: var(--bg2); color: var(--text); border-radius: 8px; font: inherit; font-size: 16px; padding: 10px 12px; margin-bottom: 8px; }
#beta-form textarea { resize: vertical; }
#beta-form :is(input, textarea):focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
#beta-form button { width: 100%; margin-top: 6px; }
#beta-form button:disabled { opacity: .65; cursor: wait; }
.beta-privacy { color: var(--text3); font-size: 12px; line-height: 1.6; margin: 8px 0 0; }
.beta-privacy a { text-decoration: underline; }
.beta-error { color: #ffa3a3; font-size: 14px; margin: 0; }
.beta-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.beta-success { margin-top: 24px; }
.beta-success h3 { font-size: 23px; }

.nav-cta [hidden], .hero-cta [hidden] { display: none; }
