/* Greys are near-neutral (a breath of cool), matching the hub; no beige, no blue cast. */
/* The front page, after Luma, Arcade, Pika and Invideo: calm white, one idea box over a wall of real frames, a live
   demo of the studio where little agent bots do the work, every kind of story, and a playful sign-up.
   Violet marks only "you". */
body.home {
  --paper: #ffffff; --ink: #111111; --ink-2: #606266; --ink-3: #909297; --ink-4: #b9bbbf; --line: #e8e9eb; --mark: #111111;
  --card: #f1f2f3; --accent: #74777b; --violet: #3b2be0; --hi: #ffe98a; --ok: #14a06a; --bad: #d0453a;
  --serif: 'Instrument Serif', Georgia, serif; --sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-family: var(--sans); font-size: 16px; color: var(--ink); background: var(--paper);
}
body.home .wrap.wide { max-width: 1240px; }
/* the nav: at the top of the page a full-width bar (logo left, links and the waitlist button right); once you scroll it
   folds into a centred pill of frosted glass that stays at the top (home.js sets --pill, its folded width) */
body.home header.top { position: fixed; top: 0; left: 0; right: 0; z-index: 60; padding: 12px max(16px, env(safe-area-inset-left, 0px)) 0; pointer-events: none; }
.nav { pointer-events: auto; box-sizing: border-box; width: min(1240px, 100%); height: 62px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  border-radius: 31px; background: rgba(255, 255, 255, 0); box-shadow: 0 0 0 1px rgba(17, 17, 17, 0); overflow: hidden; white-space: nowrap;
  /* folding: the width eases in slowly and softly; the glass fades in a beat later so the bar settles before it frosts */
  transition: width 1s cubic-bezier(.45, 0, .2, 1), padding 1s cubic-bezier(.45, 0, .2, 1), height .9s cubic-bezier(.45, 0, .2, 1),
    background .8s ease .15s, box-shadow .8s ease .15s, -webkit-backdrop-filter .8s ease .15s, backdrop-filter .8s ease .15s; }
.nav .right { display: flex; align-items: center; gap: 22px; }   /* links and button stay together on the right, so nothing jumps as the bar folds */
.nav .links { display: flex; gap: 2px; }
.nav .links a, .nav .cta { font: 400 14px/1 var(--sans); padding: 10px 12px; border-radius: 999px; text-decoration: none; transition: background .3s, color .3s; }
body.home header.top .nav .links a { color: #7c7f84; font-weight: 400; }
body.home header.top .nav .links a.on { color: var(--ink); background: rgba(17, 17, 17, .05); }   /* the section you're in */
/* hover: each letter rolls up and a darker copy rolls in from below, one letter after another (home.js splits them) */
/* hover: like a camera pulling focus, the link you point at turns sharp and dark while the others soften */
body.home header.top .nav .links a { transition: filter .35s, opacity .35s, color .35s, background .3s; }
body.home header.top .nav .links:hover a { filter: blur(1.4px); opacity: .55; }
body.home header.top .nav .links:hover a:hover, body.home header.top .nav .links a:focus-visible { filter: none; opacity: 1; color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .nav, body.home header.top .nav .links a { transition: none; } }
/* the waitlist button in dark gunmetal: a brushed gradient, a bright top edge, a dark lower lip, and a sheen that
   sweeps across when you point at it */
body.home header.top .nav .cta { position: relative; overflow: hidden; color: #f4f5f7; padding: 11px 17px; font-weight: 500; text-shadow: 0 -1px 0 rgba(0, 0, 0, .45);
  background: linear-gradient(180deg, #5b5e63 0%, #34363a 42%, #1b1c1f 58%, #2b2d31 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .38), inset 0 -1px 0 rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .06), 0 1px 2px rgba(17, 17, 17, .25), 0 6px 16px -8px rgba(17, 17, 17, .55); }
body.home header.top .nav .cta::after { content: ''; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 45%; transform: skewX(-20deg);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .28), rgba(255, 255, 255, 0)); transition: left .7s cubic-bezier(.2, .8, .2, 1); pointer-events: none; }
body.home header.top .nav .cta:hover::after { left: 120%; }
body.home header.top .nav .cta:hover { background: linear-gradient(180deg, #65686d 0%, #3a3c41 42%, #202125 58%, #32343a 100%); }
body.home.scrolled .nav { width: var(--pill, 640px); height: 54px; padding: 0 7px 0 20px;
  background: rgba(255, 255, 255, .66); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: 0 0 0 1px rgba(17, 17, 17, .07), 0 12px 32px -14px rgba(17, 17, 17, .22); }
main.home > section[id] { scroll-margin-top: 96px; }   /* nav links land below the pill */
@media (prefers-reduced-motion: no-preference) { html:has(body.home) { scroll-behavior: smooth; } }
@media (max-width: 760px) { .nav .links { display: none; } .nav { padding: 0 16px; } body.home.scrolled .nav { padding: 0 6px 0 14px; } }
body.home header.top a { font-weight: 500; font-size: 15px; color: var(--ink); }
body.home footer { font-family: var(--sans); color: var(--ink-3); font-size: 14px; } body.home footer a { color: var(--ink-3); } body.home footer a:hover { color: var(--ink); }
main.home { overflow-x: clip; }
main.home > section { max-width: 1192px; margin: 0 auto 140px; padding: 0 24px; box-sizing: content-box; }
main.home h2 { font: 400 clamp(36px, 4.4vw, 56px)/1.02 var(--serif); letter-spacing: -0.02em; margin: 0 0 40px; text-align: center; text-wrap: balance; }
main.home button { font: inherit; cursor: pointer; }
main.home button:focus-visible, main.home a:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.kicker { margin: 0 0 10px; font-size: 12px; font-weight: 500; color: var(--ink-3); display: flex; justify-content: space-between; gap: 8px; }

/* ---- hero ---- */
main.home > .hero { position: relative; max-width: none; padding: 0 0 112px; margin: 0 0 72px; overflow: hidden; box-sizing: border-box; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }   /* calm and white, the whole first screen; the content and its guide frame sit in the middle of it (the 112px balances the 150px above the headline, measured so the space above and below the frame match); the next section starts below the fold */
.wall { position: absolute; inset: 0; overflow: hidden; display: grid; gap: 14px; align-content: start; padding-top: 290px; transform: perspective(1400px) rotateX(18deg); transform-origin: 50% 0; }
.wall .row { display: flex; gap: 14px; width: max-content; }
.wall img { width: 132px; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 14px; display: block; filter: blur(.45px) saturate(.92); }   /* lightly softened; the white wash keeps them a backdrop */
.wall::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, #fff 284px, rgba(255, 255, 255, .7) 340px, rgba(255, 255, 255, .25) 460px), radial-gradient(ellipse 49% 55% at 50% 48%, rgba(255, 255, 255, .9) 43%, rgba(255, 255, 255, .66) 71%, rgba(255, 255, 255, .32)), linear-gradient(to bottom, rgba(255, 255, 255, 0) 55%, #fff 96%); }
@media (prefers-reduced-motion: no-preference) { .wall .row { animation: drift 120s linear infinite; } .wall .row:nth-child(2) { animation-direction: reverse; animation-duration: 140s; } .wall .row:nth-child(3) { animation-duration: 160s; } }
@keyframes drift { to { transform: translateX(-50%); } }
/* around the hero text (site/home.js): the safe-area guides by default, ?hero=mark on trial */
.hero-deco { position: absolute; inset: 0; pointer-events: none; }
.hero-deco.guides .safe { position: absolute; box-sizing: border-box; }
.hero-deco.guides .outer { left: 50%; width: min(1200px, calc(100% - 48px)); transform: translateX(-50%); top: 104px; bottom: 6px; border: 1px dashed #e2e4e7; }
.hero-deco.guides .inner { left: 50%; width: min(1080px, calc(100% - 96px)); transform: translateX(-50%); top: 132px; bottom: 30px; border: 1px solid #eceef0; }
.hero-deco.guides .third { position: absolute; background: #f2f3f5; }
.hero-deco.guides .third.v { top: 0; bottom: 0; width: 1px; } .hero-deco.guides .third.v.a { left: 33.333%; } .hero-deco.guides .third.v.b { left: 66.667%; }
.hero-deco.guides .third.h { left: 0; right: 0; height: 1px; } .hero-deco.guides .third.h.a { top: 33.333%; } .hero-deco.guides .third.h.b { top: 66.667%; }
.hero-deco.guides .lab { position: absolute; left: 8px; top: 6px; font: 500 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .02em; color: #b9bbbf; }
.hero-deco.guides .lab.r { left: auto; right: 8px; }
/* the cursor's position, read out in the frame's bottom right corner (site/home.js) */
.hero-deco.guides .lab.coord { left: auto; top: auto; right: 8px; bottom: 6px; white-space: pre; font-variant-numeric: tabular-nums; }
.hero-deco.mark .bar { position: absolute; height: 30px; border-radius: 15px; background: #eff0f2; }
.hero-deco.mark .b1 { top: 150px; left: -40px; right: calc(50% + 480px); }
.hero-deco.mark .b2 { top: 252px; left: calc(50% + 330px); right: -40px; }
.hero-deco.mark .b3 { top: 354px; left: -40px; right: calc(50% + 400px); background: #e3e5e8; }   /* the long middle bar, the one in ink on the logo */
.hero-deco.mark .b4 { top: 456px; left: calc(50% + 400px); right: -40px; }
.hero-deco.mark .b5 { top: 558px; left: -40px; right: calc(50% + 620px); }
@media (max-width: 760px) { .hero-deco { display: none; } }   /* no room beside the text on a phone */

/* the live timeline band under the hero: an editor's timeline, rounded clips like the logo's bars, real filmstrips
   playing, a voice waveform, a playhead, and one agent edit at a time (site/hero-tracks.js) */
main.home > .live { position: relative; max-width: none; padding: 40px 0 0; margin-bottom: 180px; }   /* room above and below: it's a section of its own now */
.live h2 { margin-bottom: 64px; }
.live .tracks-box { position: relative; height: 352px; overflow: hidden; }
.tracks .tl { position: absolute; top: 0; height: 344px; }
.tl .ruler { position: absolute; left: 0; top: 0; height: 20px; }
.tl .ruler svg { display: block; fill: #c4c6ca; font: 500 10px var(--sans); }
.tl .ruler text { fill: #a3a6aa; }
.tl .clip { position: absolute; box-sizing: border-box; border-radius: 10px; background: #e4e5e8; overflow: hidden; transition: width .9s cubic-bezier(.55,0,.25,1), left .9s cubic-bezier(.55,0,.25,1); }
.tl .clip.foot { background: #d6d8db; }
.tl .clip.foot video, .tl .clip.foot img { height: 100%; width: auto; max-width: none; display: block; }
.tl .clip.cap { background: #eceef0; color: #7f8288; font: 500 13px/30px var(--sans); padding: 0 10px; white-space: nowrap; }
.tl .clip.music { background: #eef0f2; border-radius: 8px; }
.tl .clip.wave { background: none; border-radius: 0; overflow: visible; }
.tl .clip.wave svg { width: 100%; height: 100%; display: block; fill: #c9cbcf; }
.tl .clip.wave rect { transform-box: fill-box; transform-origin: center; }
.tl .clip.sel { background: rgba(17, 17, 17, .035); box-shadow: inset 0 0 0 1.5px #c4c6ca; border-radius: 12px; }   /* the stretch of voice being re-recorded */
.tl .ph { position: absolute; left: 0; top: 6px; width: 2px; height: 338px; border-radius: 1px; background: var(--ink); opacity: .55; }
.tl .ph::before { content: ''; position: absolute; left: -5px; top: -2px; width: 12px; height: 14px; border-radius: 4px 4px 6px 6px; background: var(--ink); }
.tl .tick { position: absolute; right: 8px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--violet); display: grid; place-items: center; box-shadow: 0 2px 6px -2px rgba(59, 43, 224, .6); }
.tl .clip.cap .tick { width: 18px; height: 18px; margin-top: -9px; right: 4px; }
.tl .tick svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.agent.tl-bot { z-index: 1; }
.agent.tl-bot svg { width: 48px; height: 48px; }
.agent.tl-bot .agent-tag { margin-top: 26px; font-size: 12px; padding: 5px 9px; }
.hero-in { position: relative; z-index: 1; width: 100%; max-width: 1192px; margin: 0 auto; padding: 150px 24px 0; text-align: center; box-sizing: border-box; }
.hero h1 { font: 400 clamp(46px, 6.6vw, 88px)/.98 var(--serif); letter-spacing: -0.025em; margin: 0 0 16px; text-wrap: balance; }
.hero .sub { font-size: 18px; color: var(--ink-2); margin: 0 auto 34px; max-width: 520px; }
/* the idea box is a pane of frosted glass over the wall of frames: a see-through white that blurs and brightens what's
   behind it, a bright rim that fades round the edge like light catching glass, and a soft sheen across the top */
.prompt { position: relative; isolation: isolate; max-width: 680px; margin: 0 auto; text-align: left; border-radius: 26px; padding: 18px 14px 12px 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .56), rgba(255, 255, 255, .3));
  -webkit-backdrop-filter: blur(20px) saturate(2); backdrop-filter: blur(20px) saturate(2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -1px 1px rgba(255, 255, 255, .35), 0 0 0 1px rgba(20, 20, 40, .07), 0 2px 6px -2px rgba(20, 20, 40, .08), 0 30px 70px -30px rgba(20, 20, 40, .38);
  transition: box-shadow .25s; }
.prompt::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1.2px; pointer-events: none;
  background: linear-gradient(150deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, .25) 32%, rgba(255, 255, 255, .05) 55%, rgba(255, 255, 255, .7) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.prompt::after { content: ''; position: absolute; inset: 0 0 45% 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 90% at 22% 0%, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 60%); }
.prompt:focus-within { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 0 0 1px color-mix(in srgb, var(--accent) 28%, transparent), 0 0 0 5px color-mix(in srgb, var(--accent) 12%, transparent), 0 30px 70px -30px rgba(20, 20, 40, .38); }   /* the accent */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .prompt { background: rgba(255, 255, 255, .94); } }
.prompt textarea { display: block; width: 100%; box-sizing: border-box; border: 0; outline: none; box-shadow: none; resize: none; padding: 0; background: none; color: var(--ink); font: 400 18px/1.45 var(--sans); min-height: 56px; }
.prompt textarea.sample { color: var(--ink-3); }   /* the ideas typing themselves are examples, not your words */
.prompt textarea:focus, .prompt textarea:focus-visible { outline: none; }
.prompt textarea::placeholder { color: var(--ink-4); }
.bar { display: flex; justify-content: flex-end; align-items: center; margin-top: 6px; }   /* just the send button, at the right */
.send svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.send { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; transition: transform .15s; }
.send:hover { transform: translateY(-1px); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 8px; max-width: 1280px; margin: 30px auto 0; }
/* the ideas are small panes of the same glass as the box */
.chips button { border: 0; color: var(--ink-2); font-size: 14px; padding: 7px 14px 7px 8px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, .38));
  -webkit-backdrop-filter: blur(14px) saturate(1.8); backdrop-filter: blur(14px) saturate(1.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 0 0 1px rgba(20, 20, 40, .07), 0 6px 18px -10px rgba(20, 20, 40, .25); transition: box-shadow .2s, color .2s; }
.chips button b { font-weight: 400; font-size: 12px; color: var(--ink-3); background: rgba(20, 20, 40, .05); border-radius: 999px; padding: 2px 8px; }
.chips button:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 0 0 1px rgba(20, 20, 40, .16), 0 8px 22px -10px rgba(20, 20, 40, .3); color: var(--ink); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .chips button { background: rgba(255, 255, 255, .92); } }
/* the set refreshes every few seconds: each chip dissolves (fade + soft blur), one after another, then the next set
   comes in the same way */
@media (prefers-reduced-motion: no-preference) {
  .chips .chip { transition: opacity .45s ease, filter .45s ease, translate .45s ease; transition-delay: calc(var(--i) * 35ms); }
  .chips.out .chip { opacity: 0; filter: blur(6px); translate: 0 4px; }
}

/* ---- the headline: a playhead follows the cursor along a short stretch of voice track (script sets --x) ---- */
.headline { --x: 50%; position: relative; display: inline-block; margin: 0 0 6px; }
.headline h1 { margin: 0; }
.headline .word { transition: color .2s; }
.headline .word.now { color: var(--accent); }
.sel-w { position: relative; display: inline-block; transform-origin: 0 100%; transition: scale .6s cubic-bezier(.4, 0, .2, 1); color: var(--accent); }   /* "visual story" always in the accent grey */
.sel-w.stretch { scale: 1.06; transition-delay: .25s; }
.sel-w .agent { left: auto; top: auto; right: -50px; bottom: -54px; }
.sel-box { position: absolute; inset: -.04em -.08em -.1em -.08em; border: 1.5px solid var(--accent); opacity: 0; transition: opacity .25s; pointer-events: none; }
.sel-box i { position: absolute; width: 9px; height: 9px; background: #fff; border: 1.5px solid var(--accent); box-sizing: border-box; }
.sel-box i:nth-child(1) { left: -5px; top: -5px; } .sel-box i:nth-child(2) { right: -5px; top: -5px; } .sel-box i:nth-child(3) { left: -5px; bottom: -5px; } .sel-box i:nth-child(4) { right: -5px; bottom: -5px; }
.sel-box b { position: absolute; left: -1.5px; top: -26px; font: 500 11px/1 var(--sans); color: #fff; background: var(--accent); padding: 4px 7px; border-radius: 5px; letter-spacing: 0; white-space: nowrap; }
.picked .sel-box { opacity: 1; }
/* only the stretch of track around the playhead shows, fading out to both sides */
.voice { display: flex; gap: 3px; align-items: center; height: 20px; margin-top: 14px; opacity: 0; transition: opacity .3s;
  -webkit-mask-image: linear-gradient(90deg, transparent calc(var(--x) - 130px), #000 calc(var(--x) - 50px), #000 calc(var(--x) + 50px), transparent calc(var(--x) + 130px));
  mask-image: linear-gradient(90deg, transparent calc(var(--x) - 130px), #000 calc(var(--x) - 50px), #000 calc(var(--x) + 50px), transparent calc(var(--x) + 130px)); }
.voice b { flex: 1; border-radius: 2px; background: #dcdde0; }
.voice b.on { background: var(--ink-3); }
.playhead { position: absolute; top: -14px; bottom: -4px; width: 2px; margin-left: -1px; left: 0; background: var(--accent); opacity: 0; transition: opacity .3s; pointer-events: none; }
.playhead::before { content: ''; position: absolute; left: -5px; top: -4px; width: 12px; height: 12px; border-radius: 6px 6px 3px 3px; background: var(--accent); }
.near .playhead, .near .voice { opacity: 1; }
.near.picked .playhead, .near.picked .voice { opacity: 0; }   /* over "visual story" only your pointer stretching the selection shows, no playhead */
@media (max-width: 759px) { .voice { display: none; } }

/* ---- the live demo ---- */
/* the demo and its scrubber fit one screen: the window's width follows the viewport's height (16:10) */
.product { --demo-w: min(100%, 1040px, calc((100svh - 260px) * 1.6)); }
.product .window { width: var(--demo-w); margin: 0 auto; }

/* the scrubber above the demo (it also tells you what the section is): the playing stage as one caption, then a quiet
   progress bar: a thin line per stage (as long as it plays) filling in blue like a video player. No boxes, so it never looks like part of the studio screen below it. */
.scrub { width: var(--demo-w); margin: 0 auto 20px; }
.scrub-now { display: flex; align-items: baseline; justify-content: center; gap: 14px; margin-bottom: 18px; min-height: 30px; }
.scrub-now b { font: 400 28px/1 var(--serif); color: var(--ink); } .scrub-now span { font-size: 15px; color: var(--ink-2); }
@media (prefers-reduced-motion: no-preference) { .scrub-now.in { animation: now-in .45s ease both; } }
@keyframes now-in { from { opacity: 0; translate: 0 5px; filter: blur(3px); } }
.scrub-segs { display: flex; gap: 6px; }
.seg { flex: 1 1 0; min-width: 24px; border: 0; background: none; padding: 9px 0; display: block; cursor: pointer; }   /* a taller hit area than the line itself */
.seg-line { position: relative; display: block; height: 3px; border-radius: 3px; background: #e8e9eb; transition: background .2s; }
.seg:hover .seg-line { background: #d8dadd; }
.seg-line i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 3px; background: var(--accent); }
.seg.on .seg-line i::after { content: ''; position: absolute; right: -6px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
.window { border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 50px 100px -50px rgba(20, 20, 40, .45); overflow: hidden; }
.frames { position: relative; overflow: hidden; border-radius: inherit; clip-path: inset(0 round 18px); /* the clip holds while the screens cross-fade, so no corner slips out */ }
.frames iframe { position: absolute; left: 0; top: 0; width: 1600px; height: 1000px; border: 0; transform-origin: 0 0; opacity: 0; pointer-events: none; background: #fafafa; }
.frames iframe.on { opacity: 1; }
@media (prefers-reduced-motion: no-preference) { .frames iframe { transition: opacity .4s; } }

/* ---- every kind of story ---- */
/* the other kinds, in at most three tidy rows above the videos */
.pile { max-width: 760px; margin: -8px auto 44px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pill { white-space: nowrap; font-size: 14px; font-weight: 400; color: var(--ink-3); background: #fff; padding: 6px 13px; border-radius: 999px; box-shadow: 0 0 0 1px var(--line); }
@media (prefers-reduced-motion: no-preference) {
  .pile .pill { opacity: 0; transform: translateY(8px); }
  .pile.drop .pill { opacity: 1; transform: none; transition: transform .5s cubic-bezier(.3, 1.3, .5, 1) var(--d), opacity .4s var(--d); }
}
/* the videos: a curved wall that keeps drifting right to left; positions come from the script */
main.home > .made { max-width: none; padding: 0; margin-bottom: 240px; }   /* room for the crew standing on the sign-up's top edge */
.made h2 { padding: 0 24px; }
.made .sub { font-size: 18px; color: var(--ink-2); max-width: 520px; margin: 0 auto 36px; padding: 0 24px; text-align: center; text-wrap: balance; }   /* the same spacing as the hero's line above its idea box */
.made .pile { margin-top: 0; }
.carousel { position: relative; height: 420px; overflow: hidden; perspective: 1100px; }
.reel { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; transform-style: preserve-3d; }
.reel li { position: absolute; left: 0; top: 24px; width: 196px; display: grid; gap: 12px; justify-items: center; will-change: transform; }
.reel .clip { width: 100%; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 24px 44px -26px rgba(20, 20, 40, .5); }
.reel video { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel .kind { font-size: 13px; color: var(--ink-3); text-align: center; }

/* ---- sign-up: dark, with the crew on its edge ---- */
main.home > .wait { position: relative; text-align: center; color: #fff; border-radius: 32px; padding: 104px 32px 76px; box-sizing: border-box; width: calc(100% - 48px); margin: 110px auto 64px;
  background: radial-gradient(circle at 50% 120%, rgba(107, 92, 255, .35), transparent 60%), radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.5px) 0 0 / 22px 22px, #0c0c10; }
.crew { position: absolute; left: 50%; top: 0; translate: -50% -60%; display: flex; gap: 22px; align-items: flex-end; }
.crew .agent { position: relative; opacity: 1; left: auto; top: auto; }
.crew .agent svg { width: 76px; height: 76px; filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .35)); }
.crew .say { position: absolute; bottom: 100%; margin: 0 0 10px; translate: -50% 0; white-space: nowrap; background: #111; color: #fff; font-size: 14px; font-weight: 400; padding: 8px 14px; border-radius: 14px; opacity: 0; pointer-events: none; }
.crew .say::after { content: ''; position: absolute; left: 50%; bottom: -6px; width: 12px; height: 12px; margin-left: -6px; background: #111; transform: rotate(45deg); border-radius: 2px; }
.crew .say.on { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .crew .agent { animation: bob 3s ease-in-out infinite; animation-delay: calc(var(--i) * -.6s); }
  .crew .agent.talk svg { animation: talk .3s ease-in-out 4 alternate; }
  .crew.cheer .agent { animation: cheer .45s ease-in-out 4 alternate; animation-delay: calc(var(--i) * .08s); }
  .crew .say.on { animation: pop .35s cubic-bezier(.2, 1.6, .4, 1); }
}
@keyframes bob { 50% { translate: 0 -6px; } }
@keyframes cheer { to { translate: 0 -20px; } }
@keyframes talk { to { transform: scale(1.06, .94); } }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.9); } }
main.home .wait h2 { margin-bottom: 10px; color: #fff; }
/* the phrase that carries each title, in the accent grey like "visual story" in the hero (the sign-up's title stays all white) */
main.home h2 .hl { color: var(--accent); }
.wait .lede { margin: 0 0 30px; font-size: 18px; color: #a9a9b6; }
.wait .carry { margin: 0 auto 20px; max-width: 520px; font: italic 400 22px/1.3 var(--serif); color: #fff; }
.wait form { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.wait form[hidden] { display: none; }   /* once you're on the list the form goes (the display above would keep it) */
.wait input { flex: 0 1 320px; padding: 15px 22px; border: 1px solid #34343f; border-radius: 999px; font: inherit; background: #17171d; color: #fff; transition: box-shadow .2s, border-color .2s; }
.wait input::placeholder { color: #70707c; }
.wait input:focus { outline: none; border-color: color-mix(in srgb, var(--accent) 50%, white); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 28%, transparent); }   /* the idea box's soft blue glow */
.wait button { padding: 15px 24px; border: 0; border-radius: 999px; background: #fff; color: #111; font-weight: 500; }
.wait button:disabled { opacity: .6; }
.wait .status { margin: 16px 0 0; min-height: 1.4em; font-size: 15px; color: #a9a9b6; } .wait .status.bad { color: #ffb4a8; } .wait .status.ok { color: #fff; font-size: 18px; }

@media (max-width: 960px) {
  main.home > section { margin-bottom: 96px; } main.home > .made { margin-bottom: 170px; }
  .pill { font-size: 13px; padding: 5px 11px; }
}
@media (max-width: 560px) {
  .carousel { height: 330px; } .reel li { width: 150px; } .wall img { width: 92px; } .hero-in { padding-top: 120px; } .wall { padding-top: 290px; }
  .scrub-segs .seg { flex-grow: 1 !important; min-width: 0; } .scrub-now { flex-wrap: wrap; row-gap: 4px; } .scrub-now b { font-size: 24px; } .scrub-now span { font-size: 13.5px; }   /* equal stages on a phone so every name fits */
  .crew { gap: 6px; } .crew .agent svg { width: 52px; height: 52px; }
  /* the ideas become one row you swipe through, running edge to edge and fading out at both sides */
  .chips { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 22px -24px 0; padding: 4px 24px 10px; scroll-snap-type: x proximity; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
  .chips::-webkit-scrollbar { display: none; }
  .chips button { flex: none; scroll-snap-align: start; font-size: 13.5px; }
}

/* the logo: five bars like tracks on an edit timeline, trailing behind a forward point (site/vivelocity-mark.svg), then the joined italic name */
body.home header.top a.wordmark { gap: 9px; font: italic 400 29px/1 var(--serif); letter-spacing: -0.01em; color: var(--ink); }
body.home header.top a.wordmark svg.mark { width: 34px; height: auto; display: block; overflow: visible; }
body.home header.top a.wordmark svg.mark rect { transform-box: fill-box; }
body.home header.top a.wordmark b { font-weight: 400; color: var(--accent); }
