/* Videoro landing v4
   Dark, monochrome, one violet accent (#8B7CF7 on dark; the logo mark on white stays #563EC7).
   CSP: style-src 'self' — no inline styles in the markup; JS only sets CSS custom properties / transforms. */

/* ── Fonts (self-hosted, SIL OFL 1.1) ── */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/v4/fonts/Inter-700-latin.woff2) format('woff2'); }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 300; font-display: swap; src: url(/assets/v4/fonts/Geist-300-latin.woff2) format('woff2'); }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/v4/fonts/Geist-400-latin.woff2) format('woff2'); }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/v4/fonts/Geist-500-latin.woff2) format('woff2'); }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/v4/fonts/GeistMono-400-latin.woff2) format('woff2'); }

/* ── Tokens ── */
:root {
  --bg: #000;
  --bg-2: #08080A;
  --card: #0E0F12;
  --card-2: #16181D;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .16);
  --text: #F2F2F4;
  --muted: #8D93A3;
  --dim: #4E5361;
  --accent: #8B7CF7;          /* the ONE accent, dark backgrounds only */
  --accent-ink: #0B0716;      /* text on the accent (6.3:1) */
  --logo: #563EC7;            /* logo mark on white — never swap with --accent */
  --wrap: 1240px;
  --gut: 20px;
  --r: 28px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --display: 'Inter', 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  color-scheme: dark;
  interpolate-size: allow-keywords;
}
@media (min-width: 768px) { :root { --gut: 40px; } }

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); }
html.static { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html.static { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--text); color: #000; padding: 10px 14px; border-radius: 10px; text-decoration: none; font-weight: 500; }
.skip:focus { top: 12px; }

/* Lenis (from lenis@1.3.26/dist/lenis.css) */
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* ── Type ── */
.display { font: 700 clamp(46px, 8.2vw, 124px)/.94 var(--display); letter-spacing: -.045em; text-wrap: balance; }
.display .dim { color: #737887; }
.h2 { font: 700 clamp(34px, 5.2vw, 72px)/1.0 var(--display); letter-spacing: -.04em; text-wrap: balance; }
h3 { font: 700 20px/1.2 var(--display); letter-spacing: -.02em; }
.lede { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--muted); max-width: 34em; }
.sub { font-size: clamp(16px, 1.3vw, 18px); color: var(--muted); max-width: 36em; }
.label { display: flex; align-items: center; gap: 12px; font: 400 12.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 22px; }
.label span { color: var(--text); }
.label span::after { content: ''; display: inline-block; width: 28px; height: 1px; background: var(--line-2); vertical-align: middle; margin-left: 12px; }
.eyebrow { font: 400 13px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.note { font: 400 12.5px/1.5 var(--mono); color: var(--muted); }
.split-line { padding-bottom: .06em; }

/* ── Buttons & store badges ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 24px; border-radius: 999px; font: 500 15.5px/1 var(--sans); text-decoration: none; border: 1px solid transparent; transition: transform .25s var(--ease), background .25s, border-color .25s; cursor: pointer; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-light { background: var(--text); color: #000; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.stores.center { justify-content: center; }
.store { display: inline-flex; align-items: center; gap: 10px; height: 56px; min-width: 176px; padding: 0 20px 0 16px; border-radius: 12px; background: #000; color: #fff; text-decoration: none; box-shadow: inset 0 0 0 1px #A6A6A6; transition: transform .25s var(--ease), box-shadow .25s; }
.store:hover { box-shadow: inset 0 0 0 1px #fff; }
.store:hover { transform: translateY(-2px); }
.store svg { width: 26px; height: 26px; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.05; }
.store small { font: 500 11px/1.1 var(--sans); letter-spacing: .02em; }
.store b { font: 700 19px/1.1 var(--display); letter-spacing: -.02em; }
.fine { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 18px; font: 400 12.5px/1.4 var(--mono); color: var(--muted); }
.fine.center { justify-content: center; }
.fine span::before { content: ''; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--dim); margin-right: 8px; vertical-align: middle; }

/* ── Nav ── */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: transform .45s var(--ease), background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(0, 0, 0, .9);  border-color: var(--line); }
.nav.hide { transform: translateY(-100%); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 20px; }
.lockup { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 19px/1 var(--display); letter-spacing: -.03em; }
.appicon { width: 30px; height: 30px; }
.nav-links { display: none; gap: 28px; font-size: 14.5px; }
.nav-links a { text-decoration: none; color: var(--muted); transition: color .2s; }
.nav-links a:hover, .nav-links a.on { color: var(--text); }
@media (min-width: 900px) { .nav-links { display: flex; } }

/* ── Media frames: the footage is the hero (no devices, no app screenshots as mock-ups) ── */
.fl { position: relative; perspective: 1800px; perspective-origin: 50% 40%; container-type: inline-size; }
.fl-3d { position: relative; transform-style: preserve-3d; will-change: transform; }
.static .fl-3d { transform: none !important; }
.fl [data-lift] { transform: translate3d(calc(var(--lift, 0) * var(--lx, 0px)), calc(var(--lift, 0) * var(--ly, 0px)), calc(var(--lift, 0) * var(--lz, 0px))); }
.static .fl { --lift: .6; }
.cap-line { --lz: 90px; }
.clipf { position: relative; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 60px 120px -50px rgba(0,0,0,.95), 0 30px 160px -40px rgba(139,124,247,.16); }
.clipf video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ── Hero: one clip edited live (sticky stage, scrubbed; no pin) ── */
.hero { position: relative; height: 430vh; overflow-x: clip; }
.hero-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.film { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
/* transform-only reframe: the clip box is scaled to the target window and its content counter-scaled (FLIP crop) */
.film-clip { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; transform-origin: 0 0; background: #050506; }
.film-inner { position: absolute; left: 0; top: 0; width: 100%; height: 100%; transform-origin: 0 0; }
.motion .film-clip, .motion .film-inner { will-change: transform; }
.film-v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film-b { position: absolute; inset: 0; overflow: hidden; transform: translateX(-100%); }
.film-b-in { position: absolute; inset: 0; transform: translateX(100%); }
.film-tint { position: absolute; inset: 0; background: #c8874b; mix-blend-mode: soft-light; opacity: .42; transform-origin: left; transform: scaleX(0); }
.film-dim { position: absolute; inset: 0; background: #000; opacity: .55; }
.film-side { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.45) 42%, transparent 70%); opacity: 0; }
.film-line { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 22px rgba(255,255,255,.55); opacity: 0; }
.film-ui > * { position: absolute; left: 0; top: 0; }
.motion:not(.hero-ready) .film-ui { opacity: 0; }
.film-cap { width: max-content; max-width: 340px; text-align: right; font: 700 clamp(22px, 2.6vw, 40px)/1.25 var(--display); letter-spacing: -.02em; color: #fff; text-shadow: 0 2px 16px rgba(0,0,0,.55); }
.film-cap .cw { display: inline-block; padding: .02em .2em; border-radius: .28em; opacity: 0; transform: translateY(.25em); transition: opacity .2s, transform .25s var(--ease), background .15s, color .15s; }
.film-cap .cw.lit { opacity: 1; transform: none; }
.film-cap .cw.now { background: var(--accent); color: var(--accent-ink); text-shadow: none; }
.film-ops { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.film-ops li { display: flex; align-items: center; gap: 9px; padding: 9px 13px; border-radius: 11px; background: rgba(12,12,14,.78); 
  font: 500 14px/1 var(--sans); color: var(--muted); opacity: 0; transform: translateX(8px); transition: opacity .35s, transform .45s var(--ease), color .3s; }
.film-ops li em { font: 400 12.5px/1 var(--mono); font-style: normal; color: var(--dim); }
.film-ops li i { width: 6px; height: 6px; border-radius: 50%; background: var(--dim); }
.film-ops li.seen { opacity: 1; transform: none; }
.film-ops li.on { color: #fff; }
.film-ops li.on em { color: #C9CCD4; }
.film-ops li.on i { background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.film-ops li.done i { background: #fff; }
.film-tl { height: 26px; }
.ftl-row { position: relative; display: flex; gap: 2px; height: 14px; border-radius: 3px; overflow: hidden; }
.ftl-a { flex: 0 0 38%; background: url(/assets/v4/img/hero-valley.webp) center / cover; opacity: .9; }
.ftl-b { flex: 1; background: url(/assets/v4/img/alpine.webp) center / cover; opacity: .9; }
.ftl-cut { position: absolute; left: 38%; top: 0; bottom: 0; width: 2px; background: #000; }
.ftl-thin { height: 6px; margin-top: 4px; overflow: visible; }
.ftl-capbar { margin-left: 52%; width: 36%; border-radius: 3px; background: #3a3e48; transform-origin: left; transform: scaleX(0); }
.ftl-head { position: absolute; top: -5px; bottom: -3px; left: 0; will-change: transform; width: 2px; margin-left: -1px; background: #fff; border-radius: 2px; }
.ftl-export { position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; border-radius: 2px; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.hero-grid { position: relative; z-index: 2; height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 48px; padding-top: 64px; pointer-events: none; }
.hero-copy { max-width: 640px; pointer-events: auto; }
.hero-h1 { font-size: clamp(40px, 4.4vw, 70px); letter-spacing: -.05em; line-height: .98; }
.hero-h1 .hl-m { display: block; overflow: clip; padding-bottom: .06em; }
.hero-h1 .hl { display: block; white-space: nowrap; }
.hero-copy .lede { margin-top: 26px; font-size: 18px; }
.hero-row, .hero-copy .stores { width: max-content; max-width: 100%; }
.hero-slot { height: min(78vh, 760px); aspect-ratio: 9 / 16; justify-self: center; }
.motion-toggle { position: absolute; z-index: 3; left: var(--gut); bottom: 18px; border: 0; background: rgba(12,12,14,.75); color: var(--muted); padding: 8px 12px; border-radius: 99px; font: 400 11.5px/1 var(--mono); letter-spacing: .04em; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); }
.motion-toggle:hover { color: var(--text); }
.static [data-pause-toggle] { display: none; }
.motion:not(.hero-ready) .hero-copy { opacity: 0; }
@media (max-width: 899px) {
  .hero { height: 400vh; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); align-items: start; gap: 18px; padding: 80px var(--gut) 56px; text-align: center; }
  .hero-copy { max-width: none; margin: 0 auto; }
  .hero-row, .hero-copy .stores { margin-left: auto; margin-right: auto; }
  .hero-copy .stores, .hero-copy .fine { justify-content: center; }
  .hero-h1 { font-size: clamp(36px, 10.4vw, 84px); }
  .hero-h1 .hl { white-space: normal; }
  .hero-copy .lede { font-size: clamp(16px, 2.4vw, 21px); max-width: 30em; margin: 16px auto 0; }
  .hero-copy .stores { margin-top: 18px; }
  .store { min-width: 0; height: 50px; padding: 0 14px 0 12px; }
  .store b { font-size: 17px; }
  .hero-slot { height: 100%; max-height: 100%; min-height: 0; }
  .film-ops { gap: 4px; }
  .film-ops li { padding: 5px 8px; font-size: 11px; }
  .film-ops li em { display: none; }
  .film-cap { font-size: 20px; max-width: 240px; }
  .motion-toggle { left: 50%; transform: translateX(-50%); bottom: 12px; }
}
/* static / reduced motion: no sticky sequence; the film sits in its slot, fully edited (main.js places it) */
.static .hero { height: auto; }
.static .hero-sticky { height: auto; min-height: 100vh; overflow: visible; }
.static .hero-grid { min-height: 100vh; padding-top: 110px; padding-bottom: 60px; }
.static .film-ops li { opacity: 1; transform: none; }
.static .film-cap .cw { opacity: 1; transform: none; }
.static .ftl-capbar, .static .ftl-export { transform: none; }
@media (max-width: 899px) { .static .hero-sticky { min-height: 0; } .static .hero-grid { min-height: 0; } .static .hero-slot { height: 62vh; } }

/* ── Ticker ── */
.ticker { border-block: 1px solid var(--line); padding: 22px 0; overflow: hidden; }
.ticker-row, .rail { overflow: hidden; }
.ticker-list, .rail-list { display: flex; width: max-content; will-change: transform; }
.ticker-list li { display: flex; align-items: center; font: 700 clamp(20px, 2.4vw, 30px)/1 var(--display); letter-spacing: -.03em; color: var(--muted); white-space: nowrap; padding-right: 36px; }
.ticker-list li::after { content: ''; width: 6px; height: 6px; margin-left: 36px; border-radius: 50%; background: var(--dim); }
.static .ticker-row, .static .rail { overflow-x: auto; scrollbar-width: none; }
.static .ticker-row::-webkit-scrollbar, .static .rail::-webkit-scrollbar { display: none; }

/* ── Sections ── */
.sec { padding: clamp(96px, 13vw, 180px) 0; position: relative; }
.sec-head { margin-bottom: clamp(48px, 6vw, 80px); }
.sec-head .sub { margin-top: 24px; }
.sec-head.center { text-align: center; }
.sec-head.center .label { justify-content: center; }
.sec-head.center .sub { margin-inline: auto; }

/* ── 01 Editor: one footage stage, a scrubbed effect per step ── */
.steps { display: grid; gap: 0; }
.step { padding: 32px 0; border-top: 1px solid var(--line); min-height: 64vh; display: flex; flex-direction: column; justify-content: center; }
.step-n { font: 400 12.5px/1 var(--mono); color: var(--muted); margin-bottom: 16px; }
.step h3 { font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -.03em; }
.step p:not(.step-n) { color: var(--muted); margin-top: 14px; max-width: 30em; }
.motion .step { opacity: .3; transition: opacity .5s var(--ease); }
.motion .step.on { opacity: 1; }
.step-stage { order: -1; position: sticky; top: 72px; z-index: 3; padding: 8px 0 18px; background: linear-gradient(#000 82%, transparent); }
.step-sticky { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.stage { position: relative; width: min(100%, 37svh); aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: #000; container-type: inline-size; box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 60px 120px -50px rgba(0,0,0,.95), 0 30px 160px -40px rgba(139,124,247,.16); }
.st-v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.st-b { position: absolute; inset: 0; opacity: 0; }
.lk { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); pointer-events: none; }
.lk-1 { background: #ff7a3c; mix-blend-mode: soft-light; opacity: .65; }
.lk-2 { background: #808080; mix-blend-mode: saturation; }
.lk-3 { background: #e2e5ea; mix-blend-mode: screen; opacity: .32; }
.sg { position: absolute; inset: 0; opacity: 0; transition: opacity .5s var(--ease); pointer-events: none; }
.sg.on { opacity: 1; }
.tag-op { position: absolute; left: 14px; top: 14px; font: 400 11.5px/1 var(--mono); letter-spacing: .04em; color: #fff; padding: 7px 10px; border-radius: 8px; background: rgba(12,12,14,.72); }
.kf-path { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.kf-path path { fill: none; stroke: rgba(255,255,255,.75); stroke-width: 1.5px; stroke-dasharray: 4 5; vector-effect: non-scaling-stroke; }
.kf { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; background: #fff; transform: rotate(45deg); box-shadow: 0 0 0 3px rgba(0,0,0,.35); }
.kf-1 { left: 18%; top: 73.6%; } .kf-2 { left: 47%; top: 56%; } .kf-3 { left: 78%; top: 27.2%; }
.pip { position: absolute; left: 0; top: 0; width: 34%; aspect-ratio: 9 / 16; border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1.5px #fff, 0 24px 40px -14px rgba(0,0,0,.8); will-change: transform; }
.leak { position: absolute; top: -30%; bottom: -30%; width: 90%; left: 5%; background: radial-gradient(closest-side, rgba(255,255,255,.95), rgba(255,244,232,.55) 45%, transparent 72%); mix-blend-mode: screen; opacity: 0; }
.title-anim { position: absolute; left: 0; right: 0; top: 38%; text-align: center; font: 700 11cqw/1 var(--display); letter-spacing: -.04em; color: #fff; text-shadow: 0 4px 30px rgba(0,0,0,.45); white-space: nowrap; }
.title-anim .ch { display: inline-block; }
.look-line { position: absolute; top: 0; bottom: 0; left: 0; opacity: 0; width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 18px rgba(255,255,255,.5); }
.stage-tl { position: absolute; left: 14px; right: 14px; bottom: 14px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.22); }
.stl-head { position: absolute; top: -5px; bottom: -5px; left: 0; will-change: transform; width: 2px; background: #fff; border-radius: 2px; }
.step-meter { width: 120px; height: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.step-meter i { display: block; height: 100%; width: 100%; background: var(--text); transform-origin: left; transform: scaleX(.25); transition: transform .5s var(--ease); }
@media (min-width: 960px) {
  .steps { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; }
  .step { min-height: 80vh; border-top: 0; padding: 0; }
  .step-stage { order: 0; position: relative; top: auto; z-index: auto; padding: 0; background: none; }
  .step-sticky { position: sticky; top: 0; height: 100vh; justify-content: center; gap: 22px; }
  .stage { width: min(100%, 61vh, 560px); }
}
.static .step-stage { position: relative; top: auto; }

/* ── 02 Captions ── */
.cap-grid { display: grid; gap: 56px; align-items: center; }
.karaoke { margin-top: 32px; font: 700 clamp(22px, 2.6vw, 36px)/1.25 var(--display); letter-spacing: -.025em; color: var(--text); max-width: 22em; }
.karaoke .w { color: var(--dim); transition: color .2s; }
.karaoke .w.lit { color: var(--text); }
.static .karaoke .w { color: var(--text); }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; margin-top: 36px; border-radius: 999px; background: var(--card-2); }
.seg-b { border: 0; background: transparent; color: var(--muted); padding: 10px 16px; border-radius: 999px; font-size: 14px; cursor: pointer; transition: background .25s, color .25s; }
.seg-b:hover { color: var(--text); }
.seg-b[aria-pressed="true"] { background: var(--text); color: #000; }
.cap-demo { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.cap-demo .fl { width: min(82vw, 400px); }
.cap-line { position: absolute; z-index: 3; left: 6cqw; right: 6cqw; bottom: 24%; text-align: center; font: 700 6.6cqw/1.35 var(--display); letter-spacing: -.01em; color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.55); min-height: 2.7em; display: flex; flex-wrap: wrap; justify-content: center; align-content: center; gap: 0 1.6cqw; }
.cap-line .cw { display: inline-block; padding: .02em .22em; border-radius: .3em; transition: background .15s, color .15s, opacity .15s, transform .2s var(--ease); }
.cap-line[data-mode="word"] .cw { opacity: 0; transform: translateY(.2em); }
.cap-line[data-mode="word"] .cw.past, .cap-line[data-mode="word"] .cw.now { opacity: 1; transform: none; }
.cap-line[data-mode="highlight"] .cw.now { background: var(--accent); color: var(--accent-ink); text-shadow: none; }
.cap-line[data-mode="one"] .cw { display: none; }
.cap-line[data-mode="one"] .cw.now { display: inline-block; font-size: 1.5em; animation: pop .28s var(--ease); }
@keyframes pop { from { transform: scale(.7); opacity: 0; } to { transform: none; opacity: 1; } }
@media (min-width: 960px) { .cap-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 80px; } }

/* ── 03 Depth ── */
.depth-grid { display: grid; gap: 48px; align-items: center; }
.depth-copy .sub { margin-top: 24px; }
.depth-stage { display: flex; flex-direction: column; gap: 16px; }
.depth-frame { position: relative; aspect-ratio: 900 / 1047; width: 100%; max-width: 560px; margin: 0 auto; border-radius: var(--r); overflow: hidden; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.depth-frame img, .depth-frame canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.depth-frame canvas { opacity: 0; transition: opacity .6s; }
.gl-on .depth-frame canvas { opacity: 1; }
.depth-stage .note { text-align: center; }
@media (min-width: 960px) { .depth-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 80px; } }

/* Pop Out (in the depth section) */
.pop-grid { display: grid; gap: 40px; align-items: center; margin-top: clamp(80px, 10vw, 150px); }
.pop-copy h3 { font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -.03em; max-width: 14em; }
.pop-copy p:not(.step-n):not(.note) { color: var(--muted); margin-top: 14px; max-width: 28em; }
.pop-copy .note { margin-top: 14px; }
.po-fl { width: min(100%, 680px); margin: 0 auto; }
.po { aspect-ratio: 3 / 2; }
.po > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.po-photo { clip-path: inset(30% 8% 4% 8% round 14px); }
.po-subject-in { clip-path: inset(30% 8% 4% 8% round 14px); }
.po-subject { opacity: 0; filter: drop-shadow(0 30px 40px rgba(0,0,0,.55)); }
.po-dim { position: absolute; left: 8%; right: 8%; top: 30%; bottom: 4%; border-radius: 14px; background: #000; opacity: 0; }
.po-edge { position: absolute; left: 8%; right: 8%; top: 30%; bottom: 4%; border-radius: 14px; background: #111;
  box-shadow: 0 0 0 1.5px rgba(255,255,255,.28), 0 60px 110px -40px rgba(0,0,0,.95), 0 30px 140px -40px rgba(139,124,247,.22); }
.static .po-subject { opacity: 1; }
.static .po-subject-in { opacity: 0; }
.static .po-dim { opacity: .28; }
@media (min-width: 960px) { .pop-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 80px; } }

/* ── 04 AI bento ── */
.bento { display: grid; gap: 16px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--card); border-radius: var(--r); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.card-txt { padding: 22px 24px 26px; }
.card-txt p { color: var(--muted); margin-top: 8px; font-size: 15px; }
.compare { position: relative; overflow: hidden; aspect-ratio: 3 / 2; --p: 50%; touch-action: pan-y; }
.c-colorize .compare { aspect-ratio: 1100 / 1008; }
.compare > img, .compare-top img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* wipe = counter-translated layers (transform only, no clip-path repaint) */
.compare-top { position: absolute; inset: 0; overflow: hidden; transform: translateX(calc(var(--p) - 100%)); }
.compare-top img { transform: translateX(calc(100% - var(--p))); }
.compare-line { position: absolute; inset: 0; pointer-events: none; transform: translateX(calc(var(--p) - 100%)); }
.compare-line::before { content: ''; position: absolute; top: 0; bottom: 0; right: -1px; width: 2px; background: #fff; }
.compare-line::after { content: ''; position: absolute; top: 50%; right: 0; width: 40px; height: 40px; transform: translate(50%, -50%); border-radius: 50%; background: rgba(12,12,14,.75); box-shadow: inset 0 0 0 2px #fff; }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.compare:has(.compare-range:focus-visible) { outline: 2px solid var(--text); outline-offset: -2px; }
.tag { position: absolute; top: 14px; font: 400 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; padding: 7px 10px; border-radius: 99px; background: rgba(0,0,0,.55);  pointer-events: none; }
.tag-l { left: 14px; } .tag-r { right: 14px; }

.cutout { position: relative; aspect-ratio: 3 / 2; overflow: hidden; display: grid; place-items: center; }
.cutout .bd { position: absolute; inset: 0; opacity: 0; transition: opacity .7s var(--ease); }
.cutout .bd.on { opacity: 1; }
.bd-0 { background: repeating-conic-gradient(#2A2D33 0% 25%, #1E2025 0% 50%) 50% / 26px 26px; }
.bd-1 { background: #ECECEE; }
.bd-2 { background: radial-gradient(circle at 50% 40%, #2b2d33, #050506 70%); }
.bd-3 { background: url(/assets/v4/img/cup-photo.webp) center / cover; filter: blur(10px) brightness(.8); transform: scale(1.1); }
.cutout img { position: relative; width: 58%; height: auto; filter: drop-shadow(0 18px 30px rgba(0,0,0,.45)); }
.motion .cutout img { animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-6px); } }
.chip { position: absolute; right: 14px; bottom: 14px; border: 0; padding: 9px 14px; border-radius: 99px; background: rgba(0,0,0,.6);  color: #fff; font-size: 13px; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line-2); }

.wave-split { position: relative; height: 200px; padding: 24px; }
.wave-split svg { width: 100%; height: 100%; overflow: visible; }
.w-voice rect { fill: var(--text); }
.w-music rect { fill: #4A4F5B; }
.wl { position: absolute; left: 24px; font: 400 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.wl-v { top: 24px; } .wl-m { bottom: 24px; }

.uhd { height: 200px; display: flex; align-items: center; justify-content: center; gap: 20px; }
.uhd-a { font: 700 34px/1 var(--display); color: var(--dim); filter: blur(2.5px); letter-spacing: -.03em; }
.uhd i { width: 48px; height: 1px; background: var(--line-2); position: relative; }
.uhd i::after { content: ''; position: absolute; right: 0; top: -3px; border-left: 6px solid var(--line-2); border-top: 3.5px solid transparent; border-bottom: 3.5px solid transparent; }
.uhd-b { font: 700 72px/1 var(--display); letter-spacing: -.05em; }

.clipper { height: 200px; display: flex; align-items: center; gap: 5px; padding: 0 24px; }
.clipper i { flex: 1; height: 40px; border-radius: 6px; background: #1F2228; }
.clipper i.hit { background: var(--text); height: 64px; }

@media (min-width: 760px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .c-colorize { grid-column: span 2; }
}
@media (min-width: 1100px) {
  .bento { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .c-colorize { grid-column: span 7; grid-row: span 2; }
  .c-colorize .compare { aspect-ratio: auto; flex: 1; min-height: 420px; }
  .c-erase, .c-cutout { grid-column: span 5; }
  .c-split, .c-enhance, .c-clipper { grid-column: span 4; }
}

/* ── 05 Templates: same clip, endless styles (sticky + scrubbed) ── */
.templates .sec-head { margin-bottom: 0; }
.styles { position: relative; height: 640vh; }
.styles-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; }
.styles-in { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, .75fr); gap: 56px; align-items: center; }
.sv { position: relative; aspect-ratio: 16 / 10; border-radius: 24px; overflow: hidden; background: #000; container-type: inline-size; box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 60px 120px -50px rgba(0,0,0,.95), 0 30px 160px -40px rgba(139,124,247,.16); }
.sv-v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.sv > span, .sv > p { position: absolute; pointer-events: none; }
.sv-grain { inset: -50%; opacity: 0; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.motion .sv.grain-on .sv-grain { animation: grain .9s steps(5) infinite; }
/* looks are blend layers whose opacity is scrubbed (no CSS filter on the playing video) */
.sv .ov { inset: 0; opacity: 0; }
.ov-cine { background: #0e3b4a; mix-blend-mode: soft-light; }
.ov-mono { background: #808080; mix-blend-mode: saturation; }
.ov-sepia { background: #8a5a2b; mix-blend-mode: color; }
.ov-vivid { background: #ff7a3c; mix-blend-mode: soft-light; }
.ov-light { background: #fff; mix-blend-mode: screen; }
.ov-dark { background: #000; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-6%, 4%); } 40% { transform: translate(5%, -3%); } 60% { transform: translate(-3%, -6%); } 80% { transform: translate(6%, 5%); } 100% { transform: translate(0, 0); } }
.sv-vig { inset: 0; background: radial-gradient(ellipse at center, transparent 45%, rgba(0,0,0,.75)); opacity: 0; }
.sv-glow { inset: 0; background: radial-gradient(ellipse at 50% 40%, rgba(255,255,255,.45), transparent 62%); mix-blend-mode: screen; opacity: 0; }
.sv-bar { left: 0; right: 0; height: 11%; background: #000; transform: scaleY(0); }
.sv-bar-t { top: 0; transform-origin: top; } .sv-bar-b { bottom: 0; transform-origin: bottom; }
.sv-date { right: 5%; bottom: 7%; font: 400 2.1cqw/1 var(--mono); letter-spacing: .14em; color: rgba(255,255,255,.88); opacity: 0; }
.sv-cap { left: 0; right: 0; bottom: 13%; text-align: center; font: 700 4.6cqw/1.2 var(--display); letter-spacing: -.02em; color: #fff; text-shadow: 0 2px 16px rgba(0,0,0,.5); opacity: 0; }
.sv-cap .on { background: var(--accent); color: var(--accent-ink); padding: 0 .22em; border-radius: .26em; text-shadow: none; }
.sv-beat { left: 3%; top: 4.5%; font: 400 1.5cqw/1 var(--mono); color: #fff; padding: .7cqw 1cqw; border-radius: 1cqw; background: rgba(0,0,0,.5); opacity: 0; }
.sv-flash { inset: 0; background: #fff; opacity: 0; }
.sv-names { position: relative; height: 260px; margin: 0; padding: 0; }
.sn { position: absolute; left: 0; top: 0; right: 0; opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .7s var(--ease); }
.sn.on { opacity: 1; transform: none; }
.sn b { display: block; font: 700 clamp(52px, 6.6vw, 108px)/.92 var(--display); letter-spacing: -.055em; }
.sn span { display: block; margin-top: 14px; color: var(--muted); font-size: 17px; }
.sn em { display: inline-block; margin-top: 20px; padding: 8px 12px; border-radius: 99px; font: 400 12px/1 var(--mono); font-style: normal; letter-spacing: .04em; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.tpl-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin: 24px 0 0; padding: 0; }
.tpl-grid li { position: relative; aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.tpl-grid img { width: 100%; height: 100%; object-fit: cover; }
.tpl-grid span { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 12px 12px; background: linear-gradient(transparent, rgba(0,0,0,.8)); font-size: 12px; color: #C9CCD4; display: flex; flex-direction: column; }
.tpl-grid b { font: 700 15px/1.2 var(--display); color: #fff; }
.tpl-foot { margin-top: 22px; text-align: center; }
@media (max-width: 899px) {
  .styles { height: 560vh; }
  .styles-in { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .sv { aspect-ratio: 4 / 5; width: min(100%, 44svh); height: auto; margin: 0 auto; }
  .styles-in > * { min-width: 0; }
  .sv-date { font-size: 3.4cqw; } .sv-cap { font-size: 7cqw; } .sv-beat { font-size: 2.8cqw; }
  .sv-names { height: 150px; text-align: center; }
  .sn b { font-size: clamp(40px, 12vw, 64px); }
  .sn span { margin-top: 8px; font-size: 15px; }
  .sn em { margin-top: 12px; }
  .tpl-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
}
.static .styles { height: auto; }
.static .styles-sticky { position: static; height: auto; padding: 48px 0 8px; }
.static .sv-names { height: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
.static .sn { position: static; opacity: 1; transform: none; }
.static .sn b { font-size: 32px; }
.static .sn em { display: none; }

/* ── 06 Photo studio ── */
.photo-grid { display: grid; gap: 56px; align-items: center; }
.photo-media { width: min(100%, 440px); margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.photo-media img { width: 100%; height: auto; border-radius: 24px; box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 60px 120px -50px rgba(0,0,0,.95), 0 30px 160px -40px rgba(139,124,247,.16); }
.photo-media .note { text-align: center; }
.photo-copy .sub { margin-top: 24px; }
.tools { margin-top: 40px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.tools > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.tools dt { font: 700 18px/1.2 var(--display); letter-spacing: -.02em; }
.tools dd { color: var(--muted); font-size: 14.5px; text-align: right; }
@media (min-width: 960px) { .photo-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 96px; } .photo-media { width: min(100%, 460px); } }

/* ── 07 Export ── */
.spec { display: grid; gap: 40px; align-items: end; }
.spec-n { text-align: center; }
.spec-n b { font: 700 clamp(110px, 16vw, 230px)/.85 var(--display); letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.spec-n span { font: 700 clamp(32px, 4vw, 56px)/1 var(--display); color: var(--muted); letter-spacing: -.03em; margin-left: 4px; }
.spec-n p, .aspect p { margin-top: 18px; font: 400 13px/1.4 var(--mono); color: var(--muted); }
.aspect { display: flex; flex-direction: column; align-items: center; }
.aspect-box { width: 108px; height: 192px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--text); display: grid; place-items: center; font: 400 14px/1 var(--mono); }
.aspect { min-height: 230px; justify-content: flex-end; }
.platforms { margin-top: clamp(56px, 7vw, 96px); text-align: center; }
.platforms p { font-size: clamp(17px, 1.6vw, 21px); color: var(--muted); max-width: 32em; margin: 0 auto; }
.platforms b { color: var(--text); font-weight: 500; }
@media (min-width: 860px) { .spec { grid-template-columns: 1fr 1fr 1fr; } }

/* ── Pricing ── */
.bill { display: flex; justify-content: center; gap: 4px; padding: 4px; margin: 0 auto 40px; width: max-content; border-radius: 999px; background: var(--card-2); }
.plans { display: grid; gap: 16px; max-width: 980px; margin: 0 auto; }
.plan { display: flex; flex-direction: column; padding: 32px 28px; border-radius: var(--r); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.plan.pro { box-shadow: inset 0 0 0 1px var(--accent); background: linear-gradient(180deg, rgba(139,124,247,.09), rgba(139,124,247,0) 45%), var(--card); }
.price { display: flex; align-items: baseline; gap: 10px; margin-top: 18px; }
.price b { font: 700 52px/1 var(--display); letter-spacing: -.04em; }
.price span { color: var(--muted); }
.plan-sub { color: var(--muted); margin-top: 10px; min-height: 3.2em; }
.plan ul { margin: 22px 0 30px; display: grid; gap: 12px; flex: 1; }
.plan li { position: relative; padding-left: 26px; font-size: 15px; }
.plan li::before { content: ''; position: absolute; left: 2px; top: .45em; width: 10px; height: 6px; border-left: 1.5px solid var(--text); border-bottom: 1.5px solid var(--text); transform: rotate(-45deg); }
.plan .btn { width: 100%; }
.plan-stores { margin-top: 32px; }
.fineprint { max-width: 760px; margin: 32px auto 0; text-align: center; font-size: 13px; color: var(--muted); }
@media (min-width: 820px) { .plans { grid-template-columns: 1fr 1fr; } }

/* ── FAQ ── */
.faq-grid { display: grid; gap: 40px; }
.faq-grid .sub { margin-top: 18px; }
.qa { border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font: 700 clamp(17px, 1.5vw, 20px)/1.3 var(--display); letter-spacing: -.02em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ''; flex: none; width: 12px; height: 12px; background: linear-gradient(var(--text), var(--text)) center / 12px 1.5px no-repeat, linear-gradient(var(--text), var(--text)) center / 1.5px 12px no-repeat; transition: transform .3s var(--ease); }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa details > div { padding: 0 0 24px; color: var(--muted); max-width: 40em; }
.qa details > div a { color: var(--text); }
.motion .qa details::details-content { block-size: 0; overflow: hidden; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
.motion .qa details[open]::details-content { block-size: auto; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 80px; } .faq-grid header { position: sticky; top: 120px; align-self: start; } }

/* ── Final ── */
.final { padding: clamp(110px, 14vw, 200px) 0 clamp(96px, 12vw, 160px); text-align: center; border-top: 1px solid var(--line); overflow: hidden; }
.final-in { display: flex; flex-direction: column; align-items: center; }
.final-mark { width: clamp(84px, 9vw, 120px); height: auto; margin-bottom: 36px; }
.final .lede { margin-top: 22px; }

/* ── Footer ── */
.foot { border-top: 1px solid var(--line); padding: 56px 0 120px; font-size: 14px; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.foot-tag { color: var(--muted); margin-top: 12px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.foot-links a { color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--text); }
.legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 12px; color: var(--muted); }
@media (min-width: 900px) { .foot { padding-bottom: 56px; } }

/* ── Mobile dock ── */
.dock { position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 999px; background: rgba(14, 15, 18, .96);  box-shadow: inset 0 0 0 1px var(--line-2), 0 20px 40px -10px rgba(0,0,0,.8); transform: translateY(160%); transition: transform .5s var(--ease); }
.dock.show { transform: none; }
.dock-t { font-size: 13.5px; color: var(--muted); }
.dock-t b { color: var(--text); font: 700 15px/1 var(--display); margin-right: 6px; }
@media (min-width: 900px) { .dock { display: none; } }

/* ── Reveal initial states (motion only; GSAP animates them in) ── */
.motion [data-reveal] { opacity: 0; transform: translateY(28px); }
.motion [data-split] { visibility: hidden; }
.motion.ready [data-split].split-done { visibility: visible; }
.static [data-reveal], .static [data-split] { opacity: 1; transform: none; visibility: visible; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (max-width: 420px) {
  .seg-b { padding: 9px 11px; font-size: 13px; }
  .bill .seg-b { padding: 9px 16px; }
}

/* ?static=1 screenshot mode: the window is as tall as the page, so pin viewport units to a 900px screen */
.shot .hero-grid, .shot .hero-sticky { min-height: 900px; }
.shot .hero-slot { height: 700px; }
.shot .step { min-height: 560px; }
.shot .step-sticky { height: 900px; }
.shot .stage { width: min(100%, 540px); }
@media (max-width: 899px) { .shot .hero-grid, .shot .hero-sticky { min-height: 0; } .shot .hero-slot { height: 520px; } .shot .stage { width: 310px; } }
.shot .dock { display: none; }
