:root {
  --void: #050505;
  --raised: #0d0d0d;
  --elevated: #121212;
  --panel: #1a1a1a;
  --line: #242424;
  --line-strong: #3a3a3a;
  --ink: #f2f0ec;
  --ink-dim: #9a9a94;
  --ink-faint: #5c5c58;
  --ink-mute: #3f3f3c;
  --signal: #8aa0b8;
  --signal-dim: rgba(138, 160, 184, 0.22);
  --signal-soft: rgba(138, 160, 184, 0.12);
  --f-display: "Orbitron", "Inter", sans-serif;
  --f-body: "Inter", -apple-system, sans-serif;
  --f-mono: "IBM Plex Mono", "SF Mono", monospace;
  --edge: clamp(24px, 5vw, 72px);
  --max: 1400px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-inout: cubic-bezier(.65, 0, .35, 1);
  --dur-s: .4s;
  --dur-m: .9s;
  --dur-l: 1.6s;
}

* { box-sizing: border-box; border-radius: 0; }
html {
  background: var(--void);
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
html, body {
  margin: 0;
  padding: 0;
  overflow-x: clip;
}
body {
  background: var(--void);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--ink); color: var(--void); }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; background: none; border: none; color: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 90;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.cursor {
  position: fixed; top: 0; left: 0; width: 12px; height: 12px;
  margin: -6px 0 0 -6px; pointer-events: none; z-index: 200;
  border: 1px solid var(--ink);
  transform: translate(-100px, -100px);
  opacity: 0;
  transition: width .25s var(--ease-out), height .25s var(--ease-out), margin .25s var(--ease-out), background .25s, border-color .25s, opacity .2s;
  mix-blend-mode: difference;
}
.cursor.is-on { opacity: 1; }
.cursor span {
  position: absolute; inset: -10px;
  border: 1px solid rgba(138, 160, 184, 0.35);
  border-radius: 50%;
  opacity: 0.7;
}
.cursor.is-hover {
  width: 28px; height: 28px; margin: -14px 0 0 -14px;
  background: var(--ink);
}
@media (pointer: coarse) { .cursor { display: none; } }
@media (pointer: fine) {
  html.has-cursor, html.has-cursor * { cursor: none; }
  html.has-cursor input, html.has-cursor textarea { cursor: text; }
}

.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 18px;
}
.display-1 {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.05;
  font-size: clamp(38px, 7.2vw, 104px);
  color: var(--ink);
  margin: 0;
}
.display-2 {
  font-family: var(--f-display);
  font-weight: 650;
  letter-spacing: 0.008em;
  line-height: 1.12;
  font-size: clamp(28px, 4.6vw, 56px);
  color: var(--ink);
  margin: 0;
}
.display-3 {
  font-family: var(--f-display);
  font-weight: 600;
  letter-spacing: 0.006em;
  line-height: 1.18;
  font-size: clamp(22px, 2.8vw, 36px);
  color: var(--ink);
  margin: 0 0 18px;
}
.body-lg {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: clamp(16px, 1.55vw, 20px);
  line-height: 1.6;
  color: var(--ink-dim);
  max-width: 46ch;
  margin: 0;
}
.body-md {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-dim);
  max-width: 42ch;
  margin: 16px 0 0;
}
.mono-label {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}
.mask { overflow: hidden; display: block; }
.mask > * { display: block; }

.btn-fill,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 22px;
  transition: background var(--dur-s) var(--ease-out), color var(--dur-s) var(--ease-out), border-color var(--dur-s) var(--ease-out);
}
.btn-fill {
  background: var(--ink);
  color: var(--void);
  border: 1px solid var(--ink);
}
.btn-fill:hover { background: transparent; color: var(--ink); }
.btn-ghost {
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); }

.scene {
  position: relative;
  width: 100%;
  padding: clamp(96px, 14vh, 160px) var(--edge);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 1px solid var(--line);
}
.scene-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
}
.scene-label {
  position: absolute;
  top: clamp(88px, 11vh, 120px);
  left: var(--edge);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.scene-label .idx { color: var(--ink-dim); }
.scene-label::before {
  content: "";
  width: 6px; height: 6px;
  border: 1px solid var(--ink-mute);
  border-radius: 50%;
}

/* ---------- NAV ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 22px var(--edge);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--dur-s) var(--ease-out), border-color var(--dur-s) var(--ease-out);
}
.nav.is-scrolled {
  background: rgba(5, 5, 5, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-mark {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--ink);
}
.nav-links { display: flex; gap: 32px; }
.nav-links a,
.nav-cta,
.nav-mobile a {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-dim);
  transition: color var(--dur-s) var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
}
.nav-cta:hover { border-color: var(--ink); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; }
.nav-toggle span { width: 18px; height: 1px; background: var(--ink); }
.nav-mobile { display: none; }

@media (max-width: 760px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile {
    display: flex; flex-direction: column; gap: 18px;
    max-height: 0; overflow: hidden; opacity: 0;
    transition: max-height var(--dur-m) var(--ease-out), opacity var(--dur-s) var(--ease-out);
  }
  .nav-mobile.is-open {
    max-height: 280px; opacity: 1; padding-top: 22px; margin-top: 18px;
    border-top: 1px solid var(--line);
  }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: 120px var(--edge) 64px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(138, 160, 184, 0.07), transparent 55%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(242, 240, 236, 0.03), transparent 50%);
  pointer-events: none;
}
.hero-stage {
  position: relative;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
}
.hero-mark {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--ink-faint);
  margin: 0 0 clamp(28px, 5vh, 48px);
}
.hero-headline {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.08;
  font-size: clamp(34px, 7.4vw, 96px);
}
.hero-line > span {
  transform: translateY(110%);
  animation: line-up 1.15s var(--ease-out) forwards;
}
.hero-line:nth-child(2) > span { animation-delay: 0.12s; }
@keyframes line-up {
  to { transform: translateY(0); }
}
.hero-sub { margin-top: clamp(24px, 4vh, 36px); }
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-top: 32px;
}
.hero-rule {
  border: none;
  border-top: 1px solid var(--line-strong);
  margin: clamp(36px, 5vh, 56px) 0 0;
  transform-origin: left;
  animation: rule-draw 1.2s var(--ease-out) 0.4s both;
}
@keyframes rule-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-meta { margin-top: 18px; }
.hero-cue {
  position: absolute;
  bottom: clamp(20px, 4vh, 40px);
  right: var(--edge);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.2em; color: var(--ink-faint);
}
.hero-cue-line {
  width: 1px; height: 42px;
  background: linear-gradient(var(--ink-mute), transparent);
  animation: cue-run 2.4s ease-in-out infinite;
}
@keyframes cue-run {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.01% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

.hero-studio {
  position: relative;
  width: 100%;
  max-width: var(--max);
  margin: clamp(40px, 6vh, 72px) auto 0;
}

/* ---------- STUDIO MOCK ---------- */
.studio {
  background: var(--raised);
  border: 1px solid var(--line);
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(138, 160, 184, 0.04);
  overflow: hidden;
}
.studio-bar {
  display: flex; align-items: center; gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--elevated);
}
.studio-dots { display: flex; gap: 6px; }
.studio-dots span {
  width: 7px; height: 7px; border-radius: 50%;
  border: 1px solid var(--line-strong);
}
.studio-title {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em;
  color: var(--ink);
}
.studio-title span { color: var(--ink-faint); margin-left: 12px; font-weight: 400; }
.studio-status {
  margin-left: auto;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-faint);
}
.signal-dot {
  width: 6px; height: 6px; background: var(--signal);
  box-shadow: 0 0 10px var(--signal);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.4; } }
.studio-sep { color: var(--ink-mute); }

.studio-grid {
  display: grid;
  grid-template-columns: 200px 1fr 240px;
  min-height: 320px;
  border-bottom: 1px solid var(--line);
}
.pane-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 10px;
}
.studio-media {
  padding: 14px;
  border-right: 1px solid var(--line);
  background: var(--elevated);
}
.media-item {
  display: flex; gap: 10px; align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.media-item b {
  display: block; font-family: var(--f-mono); font-size: 10px;
  letter-spacing: 0.04em; font-weight: 500; color: var(--ink-dim);
}
.media-item span { font-size: 10px; color: var(--ink-faint); }
.media-item.is-active b { color: var(--ink); }
.media-thumb {
  width: 36px; height: 22px; flex-shrink: 0;
  border: 1px solid var(--line-strong);
  background: var(--panel);
}
.t-city { background: linear-gradient(180deg, #1a2430, #0c1016); }
.t-int { background: linear-gradient(180deg, #241c18, #120e0c); }
.t-react { background: linear-gradient(180deg, #1c1c20, #0e0e12); }
.t-wide { background: linear-gradient(180deg, #181818, #0a0a0a); }
.t-gen { background: linear-gradient(180deg, #243040, #101820); box-shadow: inset 0 0 0 1px var(--signal-dim); }

.studio-center { display: flex; flex-direction: column; min-width: 0; }
.preview { padding: 14px 14px 0; }
.preview-letterbox {
  background: #000;
  padding: 18px 0;
  border: 1px solid var(--line);
}
.preview-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #07090c;
}
.frame-sky {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 28% 38%, rgba(138, 160, 184, 0.28), transparent 42%),
    linear-gradient(180deg, #101820 0%, #0b1016 42%, #08090c 100%);
}
.frame-sky.sunrise {
  background:
    radial-gradient(ellipse at 70% 62%, rgba(242, 240, 236, 0.16), transparent 36%),
    radial-gradient(ellipse at 40% 50%, rgba(138, 160, 184, 0.22), transparent 50%),
    linear-gradient(180deg, #141820 0%, #1a1612 55%, #0c0c0c 100%);
}
.frame-haze {
  position: absolute; left: 0; right: 0; top: 42%; height: 30%;
  background: linear-gradient(180deg, transparent, rgba(242, 240, 236, 0.06), transparent);
}
.frame-city {
  position: absolute; left: 0; right: 0; bottom: 16%; height: 38%;
  background:
    linear-gradient(180deg, transparent 0%, rgba(8, 10, 14, 0.4) 100%),
    repeating-linear-gradient(90deg,
      transparent 0 18px,
      #16181e 18px 34px,
      transparent 34px 46px,
      #12141a 46px 70px,
      transparent 70px 82px,
      #1a1e26 82px 96px,
      transparent 96px 110px);
  clip-path: polygon(0 100%, 0 42%, 6% 42%, 6% 18%, 11% 18%, 11% 38%, 18% 28%, 24% 38%, 24% 12%, 29% 12%, 29% 40%, 38% 40%, 42% 8%, 47% 8%, 51% 36%, 58% 22%, 64% 36%, 70% 36%, 70% 16%, 76% 16%, 76% 40%, 88% 40%, 88% 24%, 94% 24%, 94% 44%, 100% 44%, 100% 100%);
  opacity: 0.9;
}
.frame-city::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 22%;
  background: linear-gradient(90deg, #0c0e12, #181c22 40%, #101214);
  opacity: 0.85;
}
.frame-subject {
  position: absolute; left: 46%; bottom: 22%;
  width: 9%; height: 26%;
  background: linear-gradient(180deg, #2a2c32, #101214);
  clip-path: polygon(50% 0, 88% 28%, 78% 100%, 22% 100%, 12% 28%);
  opacity: 0.85;
}
.frame-grade {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.35) 100%);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.tc {
  position: absolute; left: 12px; bottom: 10px;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.08em; color: rgba(242, 240, 236, 0.7);
}
.preview-meta {
  position: absolute; right: 12px; top: 10px;
  display: flex; gap: 10px;
  font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(242, 240, 236, 0.45);
}

.transcript-strip {
  padding: 12px 14px 14px;
  border-top: 1px solid var(--line);
}
.transcript-strip p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-dim);
}
.t-word { padding: 0 1px; }
.t-word.is-play {
  color: var(--ink);
  background: var(--signal-soft);
  box-shadow: 0 1px 0 var(--signal);
}
.t-word.dim { color: var(--ink-mute); }
.t-word.strike { text-decoration: line-through; }

.studio-ai {
  padding: 14px;
  border-left: 1px solid var(--line);
  background: rgba(18, 18, 18, 0.92);
  backdrop-filter: blur(10px);
}
.ai-chip {
  display: inline-block;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--signal);
  border: 1px solid var(--signal-dim);
  padding: 4px 8px; margin-bottom: 12px;
}
.ai-prompt {
  margin: 0 0 14px;
  font-size: 13px; line-height: 1.55; color: var(--ink);
  font-style: italic;
  border-left: 1px solid var(--signal);
  padding-left: 12px;
}
.ai-ops { list-style: none; margin: 0 0 16px; padding: 0; }
.ai-ops li {
  display: flex; gap: 10px; align-items: baseline;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.04em;
  color: var(--ink-faint); padding: 6px 0;
  border-bottom: 1px solid var(--line);
}
.ai-ops li span { color: var(--ink-mute); width: 18px; }
.ai-ops li.is-done { color: var(--ink-dim); }
.ai-ops li.is-live { color: var(--ink); }
.ai-ops li.is-live span { color: var(--signal); }
.ai-suggest { display: flex; flex-direction: column; gap: 6px; }
.ai-suggest button {
  text-align: left;
  font-size: 12px; color: var(--ink-dim);
  padding: 8px 10px;
  border: 1px solid var(--line);
  background: var(--raised);
  transition: border-color var(--dur-s), color var(--dur-s);
}
.ai-suggest button:hover { border-color: var(--line-strong); color: var(--ink); }

.studio-lower {
  display: grid;
  grid-template-columns: 160px 1fr;
  min-height: 168px;
}
.color-mini {
  padding: 12px 14px;
  border-right: 1px solid var(--line);
  background: var(--elevated);
}
.wheels { display: flex; gap: 8px; margin: 8px 0; }
.wheel {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: conic-gradient(from 200deg, #3a3a40, #8aa0b8, #1a1a1c, #c4b8a4, #3a3a40);
}
.w2 { filter: hue-rotate(20deg) saturate(0.7); }
.w3 { filter: grayscale(0.4); }
.sliders { display: flex; flex-direction: column; gap: 6px; }
.sliders i {
  display: block; height: 3px; background: var(--panel);
  position: relative;
}
.sliders i::after {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 62%; background: var(--ink-mute);
}

.timeline {
  position: relative;
  padding: 10px 12px 12px 8px;
  background: #0a0a0a;
  overflow: hidden;
}
.tl-ruler {
  position: relative;
  display: flex; justify-content: space-between;
  font-family: var(--f-mono); font-size: 9px; color: var(--ink-mute);
  padding-bottom: 8px; margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.markers { position: absolute; left: 36px; right: 8px; top: 14px; height: 8px; }
.markers i {
  position: absolute; top: 0;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid var(--ink-dim);
}
.markers i.m-ai { border-top-color: var(--signal); }
.tl-track {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  align-items: center;
  margin-bottom: 6px;
  min-height: 22px;
}
.trk {
  font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.08em;
  color: var(--ink-mute);
}
.clips { display: flex; align-items: center; gap: 3px; height: 18px; position: relative; }
.clips b, .c {
  display: block; height: 100%;
  background: var(--panel);
  border: 1px solid var(--line-strong);
}
.c-a { background: #1c1e24; }
.c-b { background: #22262e; }
.c-c { background: #1a1c22; }
.c-d { background: #202226; }
.c-ai, .c-gen {
  background: linear-gradient(90deg, rgba(138, 160, 184, 0.18), rgba(138, 160, 184, 0.08));
  border-color: var(--signal);
}
.c-dim { opacity: 0.45; }
.c-broll { background: #1e2228; }
.c-gen span {
  display: block; font-family: var(--f-mono); font-size: 8px;
  letter-spacing: 0.08em; color: var(--signal);
  line-height: 16px; padding: 0 6px; white-space: nowrap;
}
.tl-track.audio { min-height: 26px; }
.wave-row {
  height: 22px;
  display: flex; align-items: center; gap: 1px;
  overflow: hidden;
}
.wave-row i {
  width: 2px; background: var(--ink-mute);
  transform-origin: center;
}
.wave-row.muted i { opacity: 0.35; height: 40% !important; }
.playhead {
  position: absolute;
  top: 8px; bottom: 8px; left: 42%;
  width: 1px; background: var(--signal);
  box-shadow: 0 0 12px var(--signal);
  animation: playhead 8s linear infinite;
}
.playhead::before {
  content: "";
  position: absolute; top: -2px; left: -4px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid var(--signal);
}
@keyframes playhead {
  0% { left: 12%; }
  100% { left: 88%; }
}

/* ---------- IDEA ---------- */
.idea-scene { background: var(--raised); }
.idea-inner {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.intent-demo {
  border: 1px solid var(--line);
  background: var(--elevated);
  padding: clamp(20px, 3vw, 32px);
}
.intent-cmd { margin-bottom: 28px; }
.intent-type {
  margin: 8px 0 0;
  font-size: 18px; line-height: 1.45; color: var(--ink);
  min-height: 4.2em;
}
.cut-row { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; }
.cut-row > span {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-faint);
}
.cut-bars { display: flex; gap: 4px; height: 28px; align-items: center; }
.cut-bars i {
  display: block; height: 14px; flex: 1;
  background: var(--panel); border: 1px solid var(--line-strong);
}
.cut-bars i.gap { flex: 0.35; height: 6px; opacity: 0.35; }
.cut-bars i.dead { flex: 0.5; opacity: 0.2; }
.cut-bars.live i {
  background: #22262e;
  animation: tighten 2.8s var(--ease-inout) infinite;
}
.cut-bars.live i.hold {
  flex: 1.35;
  border-color: var(--signal);
  background: var(--signal-soft);
}
@keyframes tighten {
  0%, 100% { transform: scaleX(1); }
  50% { transform: scaleX(0.92); }
}
.cut-arrow {
  text-align: center; color: var(--ink-mute);
  font-family: var(--f-mono); margin: 10px 0;
}
.intent-log {
  list-style: none; margin: 20px 0 0; padding: 16px 0 0;
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 8px;
}
.intent-log li {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em;
  color: var(--ink-dim);
}

/* ---------- FEATURES ---------- */
.feat-head {
  background: var(--void);
  min-height: 70svh;
}
.feat { background: var(--void); padding-top: clamp(72px, 10vh, 120px); }
.feat:nth-of-type(even) { background: var(--raised); }
.feat-idx {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-faint);
  margin: 0 0 28px;
  max-width: var(--max);
  width: 100%;
  align-self: center;
}
.feat-split {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.feat-copy.wide { margin-bottom: clamp(32px, 5vh, 56px); }
.plain-list {
  margin: 22px 0 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 10px;
}
.plain-list li {
  font-size: 15px; color: var(--ink-dim);
  padding-left: 16px;
  border-left: 1px solid var(--line-strong);
}

.cmd-board { display: flex; flex-direction: column; gap: 8px; }
.cmd-line {
  text-align: left;
  font-size: 16px; line-height: 1.4; color: var(--ink-dim);
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--elevated);
  transition: color var(--dur-s), border-color var(--dur-s), background var(--dur-s);
}
.cmd-line.is-on {
  color: var(--ink);
  border-color: var(--signal);
  background: var(--signal-soft);
}
.cmd-result {
  margin-top: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  background: #0a0a0a;
}
.mini-tl { display: flex; gap: 4px; height: 22px; margin-bottom: 10px; }
.mini-tl b {
  flex: 1; background: var(--panel); border: 1px solid var(--line-strong);
  transition: flex var(--dur-m) var(--ease-out), background var(--dur-m), border-color var(--dur-m);
}
.mini-tl[data-state="0"] b:nth-child(1),
.mini-tl[data-state="0"] b:nth-child(2) { flex: 1.6; border-color: var(--signal); background: var(--signal-soft); }
.mini-tl[data-state="1"] b:nth-child(3) { display: none; }
.mini-tl[data-state="1"] b:nth-child(4) { display: none; }
.mini-tl[data-state="2"] b { flex: 0.7; }
.mini-tl[data-state="2"] b:nth-child(1),
.mini-tl[data-state="2"] b:nth-child(5) { flex: 1.8; border-color: var(--signal); }
.mini-tl[data-state="3"] b { flex: 0.55; border-color: var(--line-strong); }
.mini-tl[data-state="3"] b:nth-child(even) { flex: 1.2; background: #262a32; }

.story-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.story-cut {
  background: var(--elevated);
  padding: 24px 22px 28px;
}
.story-cut header {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink);
  margin-bottom: 28px;
}
.story-cut p { margin: 18px 0 0; font-size: 13px; color: var(--ink-faint); }
.story-cut.is-accent { background: #14161a; }
.story-arc { display: flex; align-items: flex-end; gap: 6px; height: 88px; }
.story-arc span {
  flex: 1; background: var(--panel); border: 1px solid var(--line-strong);
  transform-origin: bottom;
  animation: arc 3.2s var(--ease-inout) infinite;
}
.a-doc span:nth-child(1) { height: 40%; }
.a-doc span:nth-child(2) { height: 70%; animation-delay: .1s; }
.a-doc span:nth-child(3) { height: 55%; animation-delay: .2s; }
.a-doc span:nth-child(4) { height: 90%; animation-delay: .3s; }
.a-doc span:nth-child(5) { height: 48%; animation-delay: .4s; }
.a-social span { height: 85%; }
.a-social span:nth-child(odd) { height: 45%; }
.a-cine span:nth-child(1) { height: 30%; }
.a-cine span:nth-child(2) { height: 50%; }
.a-cine span:nth-child(3) { height: 100%; border-color: var(--signal); background: var(--signal-soft); }
.a-cine span:nth-child(4) { height: 62%; }
.a-exec span:nth-child(1) { height: 80%; }
.a-exec span:nth-child(2) { height: 100%; }
.a-exec span:nth-child(3) { height: 44%; }
@keyframes arc {
  50% { transform: scaleY(0.92); }
}

.sync-demo {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.sync-text, .sync-tl { background: var(--elevated); padding: 20px; }
.sync-text p { margin: 0 0 16px; }
.sync-text span {
  display: block; padding: 8px 0;
  color: var(--ink-dim); border-bottom: 1px solid var(--line);
  transition: color var(--dur-s), background var(--dur-s);
}
.sync-text span.is-on {
  color: var(--ink);
  background: var(--signal-soft);
  box-shadow: inset 2px 0 0 var(--signal);
  padding-left: 10px;
}
.sync-text span.is-drop {
  color: var(--ink-mute);
  text-decoration: line-through;
  opacity: 0.45;
}
.sync-clips { display: flex; gap: 6px; height: 64px; align-items: stretch; }
.sync-clips b {
  flex: 1; display: flex; align-items: flex-end;
  padding: 8px;
  font-family: var(--f-mono); font-size: 11px; color: var(--ink-faint);
  background: var(--panel); border: 1px solid var(--line-strong);
  transition: flex var(--dur-m) var(--ease-out), opacity var(--dur-m), border-color var(--dur-m);
}
.sync-clips b.is-on { flex: 1.8; border-color: var(--signal); color: var(--ink); }
.sync-clips b.is-drop { flex: 0.15; opacity: 0.25; }

.pipe {
  list-style: none; margin: 0 0 40px; padding: 0;
  display: flex; align-items: stretch; gap: 0;
  border: 1px solid var(--line);
}
.pipe > li {
  flex: 1; padding: 24px 20px;
  background: var(--elevated);
  display: flex; flex-direction: column; gap: 8px;
}
.pipe-n { font-family: var(--f-mono); font-size: 11px; color: var(--ink-faint); }
.pipe strong { font-weight: 500; }
.pipe em { font-style: normal; font-size: 13px; color: var(--ink-faint); }
.pipe-join {
  flex: 0 0 1px !important; padding: 0 !important;
  background: var(--line) !important;
}
.pipe .is-live { box-shadow: inset 0 -1px 0 var(--signal); }
.stat-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.stat-row > div {
  background: var(--void);
  padding: 28px 24px;
}
.stat-row b {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 650;
  letter-spacing: 0.02em;
}
.stat-row span {
  display: block; margin-top: 8px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-faint);
}
.stat-note { margin: 16px 0 0; }

.gen-demo { border: 1px solid var(--line); background: var(--elevated); padding: 24px; }
.gen-tl { margin-top: 20px; }
.gen-preview { margin-top: 16px; display: grid; grid-template-columns: 160px 1fr; gap: 16px; align-items: center; }
.gen-frame { border: 1px solid var(--line); overflow: hidden; height: 72px; position: relative; }
.gen-frame .frame-sky, .gen-frame .frame-haze, .gen-frame .frame-city { position: absolute; }
.gen-frame .frame-city { height: 40%; bottom: 8%; }
.c-gen.is-insert { animation: insert 2.4s var(--ease-out) both; }
@keyframes insert {
  from { flex: 0; width: 0; opacity: 0; }
  to { opacity: 1; }
}

.grade-demo { display: flex; flex-direction: column; gap: 12px; }
.grade-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #0a0c10;
  user-select: none;
}
.grade-after, .grade-before {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(138, 160, 184, 0.35), transparent 45%),
    linear-gradient(180deg, #1a2430, #0c1014);
}
.grade-before {
  clip-path: inset(0 52% 0 0);
  background:
    radial-gradient(ellipse at 30% 40%, rgba(80, 90, 100, 0.2), transparent 45%),
    linear-gradient(180deg, #2a2a28, #141412);
  filter: saturate(0.55) contrast(0.9);
}
.grade-after::after, .grade-before::after {
  content: "";
  position: absolute; left: 12%; right: 12%; bottom: 18%; height: 30%;
  background: linear-gradient(90deg, #1a1c22 10%, transparent 11%, #222 40%, #222 55%, transparent 56%, #181a20 80%);
}
.grade-handle {
  position: absolute; top: 0; bottom: 0; left: 48%;
  width: 1px; background: var(--ink);
  cursor: ew-resize;
}
.grade-handle span {
  position: absolute; top: 50%; left: 50%;
  width: 22px; height: 22px; margin: -11px 0 0 -11px;
  border: 1px solid var(--ink);
  background: var(--void);
}
.grade-labels {
  position: absolute; left: 12px; right: 12px; bottom: 10px;
  display: flex; justify-content: space-between;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(242, 240, 236, 0.7);
  pointer-events: none;
}
.grade-range { width: 100%; accent-color: var(--ink); }

.audio-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
.audio-caps {
  list-style: none; margin: 0; padding: 0;
  border-top: 1px solid var(--line);
}
.audio-caps li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.04em;
  color: var(--ink-dim);
}
.wave-compare { display: flex; flex-direction: column; gap: 20px; }
.wave-compare .wave-row { height: 56px; border: 1px solid var(--line); padding: 8px; background: #0a0a0a; }
.wave-row.noisy i { background: var(--ink-mute); }
.wave-row.clean i { background: var(--signal); opacity: 0.85; }

.frame-row {
  display: flex; align-items: flex-end; gap: 20px;
  justify-content: space-between;
}
.aspect { margin: 0; flex: 1; }
.aspect-shot {
  position: relative; width: 100%;
  background:
    radial-gradient(ellipse at 45% 40%, rgba(138, 160, 184, 0.2), transparent 50%),
    linear-gradient(180deg, #141820, #0a0c10);
  border: 1px solid var(--line);
  overflow: hidden;
}
.a169 .aspect-shot { aspect-ratio: 16 / 9; }
.a916 { max-width: 140px; }
.a916 .aspect-shot { aspect-ratio: 9 / 16; }
.a11 { max-width: 180px; }
.a11 .aspect-shot { aspect-ratio: 1 / 1; }
.a45 { max-width: 160px; }
.a45 .aspect-shot { aspect-ratio: 4 / 5; }
.subj {
  position: absolute; left: 42%; bottom: 18%;
  width: 16%; height: 42%;
  background: linear-gradient(180deg, #2c3038, #121418);
  clip-path: polygon(50% 0, 90% 30%, 78% 100%, 22% 100%, 10% 30%);
}
.a916 .subj, .a11 .subj, .a45 .subj { left: 32%; width: 36%; height: 48%; }
.aspect figcaption {
  margin-top: 10px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em;
  color: var(--ink-faint);
}
.aspect.is-src figcaption { color: var(--ink); }

.shorts-layout { display: flex; flex-direction: column; gap: 28px; }
.master-reel { border: 1px solid var(--line); padding: 18px; background: var(--elevated); }
.master-bar { display: flex; height: 36px; gap: 3px; }
.master-bar i { flex: 1; background: var(--panel); border: 1px solid var(--line); }
.master-bar i.hook { background: var(--signal-soft); border-color: var(--signal); }
.master-bar i.peak { background: #262830; }
.master-bar i.quote { background: var(--signal-dim); }
.master-bar i.pay { background: #2a2c32; }
.short-cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
}
.short-cards article {
  background: var(--void);
  padding: 22px 20px 26px;
  display: flex; flex-direction: column; gap: 10px;
  min-height: 140px;
}
.short-cards span { font-family: var(--f-mono); font-size: 11px; color: var(--ink-faint); }
.short-cards b { font-weight: 500; }
.short-cards em { margin-top: auto; font-style: normal; font-family: var(--f-mono); font-size: 12px; color: var(--signal); }

.cam-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.cam {
  margin: 0; position: relative;
  border: 1px solid var(--line);
  background: var(--elevated);
}
.cam span {
  position: absolute; top: 8px; left: 8px; z-index: 1;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.1em; color: var(--ink-faint);
}
.cam-shot { aspect-ratio: 16 / 10; }
.cam-shot.s1 { background: radial-gradient(circle at 50% 40%, #2a3038, #101214); }
.cam-shot.s2 { background: radial-gradient(circle at 40% 45%, #222428, #0c0c0e); }
.cam-shot.s3 { background: linear-gradient(180deg, #1a1c20, #0a0a0c); }
.cam-shot.s4 { background: radial-gradient(circle at 60% 50%, #26222a, #0e0c10); }
.cam figcaption {
  padding: 8px 10px;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-mute);
}
.cam.is-live { border-color: var(--signal); }
.cam.is-live figcaption { color: var(--signal); }
.cam.is-live::after {
  content: "";
  position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px var(--signal);
  pointer-events: none;
}

.memory-shell { border: 1px solid var(--line); background: var(--elevated); }
.memory-search { padding: 22px 24px; border-bottom: 1px solid var(--line); }
.memory-q {
  margin: 8px 0 0;
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.35; color: var(--ink);
}
.memory-graph {
  position: relative; height: 220px;
  overflow: hidden;
}
.memory-lines {
  position: absolute; inset: 0; width: 100%; height: 100%;
  stroke: var(--line-strong); fill: none; stroke-width: 1;
}
.node {
  position: absolute;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  background: var(--void);
  color: var(--ink-dim);
}
.n-char { left: 6%; top: 42%; }
.n-loc { left: 24%; top: 12%; color: var(--ink); border-color: var(--signal); }
.n-obj { left: 46%; top: 36%; }
.n-scene { left: 66%; top: 16%; }
.n-motif { left: 82%; top: 48%; }
.memory-asks {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line);
}
.memory-asks button {
  text-align: left;
  padding: 14px 24px;
  font-size: 14px; color: var(--ink-dim);
  border-bottom: 1px solid var(--line);
  transition: color var(--dur-s), background var(--dur-s);
}
.memory-asks button:last-child { border-bottom: 0; }
.memory-asks button:hover,
.memory-asks button.is-on { color: var(--ink); background: rgba(138, 160, 184, 0.06); }

.copilot {
  border: 1px solid var(--line);
  background: var(--elevated);
}
.chat { padding: 22px; display: flex; flex-direction: column; gap: 18px; }
.bubble span {
  display: block;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-faint); margin-bottom: 6px;
}
.bubble p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink); }
.bubble.nexa p { color: var(--ink-dim); }
.copilot-tl { padding: 0 22px 22px; }
.copilot-clips { height: 28px; }
.copilot-clips b { flex: 1; }
.copilot-clips .is-tight { flex: 0.55; border-color: var(--signal); }
.copilot-clips .is-move { transform: translateX(8px); }
.copilot-ops { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.copilot-ops span {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-mute);
  border: 1px solid var(--line); padding: 4px 8px;
}
.copilot-ops span.on { color: var(--signal); border-color: var(--signal-dim); }

/* ---------- MEANING ---------- */
.meaning { background: var(--void); min-height: 100svh; }
.meaning-inner { display: flex; flex-direction: column; gap: clamp(36px, 6vh, 64px); }
.meaning .display-1 { max-width: 18ch; }
.meaning-stage {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.meaning-cmds { display: flex; flex-direction: column; gap: 8px; }
.meaning-cmds button {
  text-align: left;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.4; color: var(--ink-faint);
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  transition: color var(--dur-s);
}
.meaning-cmds button.is-on { color: var(--ink); }
.meaning-canvas { border: 1px solid var(--line); background: var(--raised); padding: 16px; }
.m-preview { margin-bottom: 14px; }
.meaning-frame { min-height: 200px; }
.m-tl .clips { height: 22px; }
.m-tl .clips b { flex: 1; background: var(--panel); border: 1px solid var(--line-strong); }
.meaning-canvas[data-mode="expensive"] .meaning-frame { filter: contrast(1.08) saturate(0.85); }
.meaning-canvas[data-mode="expensive"] .clips b:nth-child(2) { flex: 1.8; border-color: var(--signal); }
.meaning-canvas[data-mode="trailer"] .clips b { flex: 0.5; }
.meaning-canvas[data-mode="trailer"] .clips b:nth-child(1),
.meaning-canvas[data-mode="trailer"] .clips b:nth-child(5) { flex: 1.6; }
.meaning-canvas[data-mode="ending"] .clips b:last-child { flex: 2.2; background: var(--signal-soft); border-color: var(--signal); }
.meaning-canvas[data-mode="story"] .clips b:nth-child(2),
.meaning-canvas[data-mode="story"] .clips b:nth-child(4) { flex: 0.15; opacity: 0.25; }
.meaning-canvas[data-mode="versions"] .m-versions { display: grid; }
.m-versions {
  display: none;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px; margin-top: 14px;
}
.m-versions article {
  border: 1px solid var(--line-strong);
  padding: 16px 12px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-dim);
}

/* ---------- COMPARE ---------- */
.compare { background: var(--raised); }
.compare-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
}
.step-stack {
  list-style: none; margin: 12px 0 0; padding: 0;
}
.step-stack li {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.nexa-verbs {
  list-style: none; margin: 12px 0 0; padding: 0;
  display: flex; flex-direction: column; gap: clamp(12px, 3vh, 28px);
}
.nexa-verbs li {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 80px);
  letter-spacing: 0.01em;
  line-height: 1;
}

/* ---------- PHILOSOPHY / LAUNCH ---------- */
.philosophy { background: var(--void); min-height: 100svh; }
.philosophy-inner { max-width: 1100px; }
.philosophy .body-lg { margin-top: 32px; }
.launch { background: var(--raised); min-height: 100svh; }
.launch-inner { max-width: 860px; }
.launch .body-lg { margin: 28px 0 40px; }
.access-form {
  display: flex; gap: 0;
  max-width: 560px;
  border: 1px solid var(--line-strong);
}
.access-form[hidden] { display: none !important; }
.access-form input {
  flex: 1; min-width: 0;
  background: var(--void);
  border: 0;
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 15px;
  padding: 16px 18px;
  outline: none;
}
.access-form input::placeholder { color: var(--ink-faint); }
.access-form .btn-fill { border: 0; }
.form-note {
  margin: 18px 0 0;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.06em;
  color: var(--signal);
}
.launch .mono-label { margin-top: 22px; display: block; }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--void);
  border-top: 1px solid var(--line);
  padding: clamp(48px, 8vh, 80px) var(--edge) clamp(28px, 4vh, 40px);
}
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; flex-direction: column; gap: clamp(32px, 5vh, 48px);
}
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 40px; flex-wrap: wrap;
}
.footer-mark { display: flex; flex-direction: column; gap: 12px; max-width: 360px; }
.footer-mark strong {
  font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.14em; font-weight: 400;
}
.footer-tagline { margin: 0; color: var(--ink-dim); font-size: 15px; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-dim);
  transition: color var(--dur-s) var(--ease-out);
}
.footer-links a:hover { color: var(--ink); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
}

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(16px); }
.reveal.is-in { animation: fade-up 0.9s var(--ease-out) forwards; }
@keyframes fade-up {
  to { opacity: 1; transform: none; }
}
.hero-stage .reveal { animation: fade-up 0.9s var(--ease-out) forwards; }
.hero-stage .hero-sub { animation-delay: 0.35s; }
.hero-stage .hero-actions { animation-delay: 0.48s; }
.hero-stage .hero-meta { animation-delay: 0.7s; }
.hero-studio.reveal { animation: fade-up 1.1s var(--ease-out) 0.55s forwards; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .studio-grid { grid-template-columns: 1fr 240px; }
  .studio-media { display: none; }
  .story-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .idea-inner,
  .feat-split,
  .meaning-stage,
  .compare-inner,
  .audio-grid,
  .sync-demo { grid-template-columns: 1fr; }
  .studio-grid { grid-template-columns: 1fr; }
  .studio-ai { border-left: 0; border-top: 1px solid var(--line); }
  .studio-lower { grid-template-columns: 1fr; }
  .color-mini { display: none; }
  .pipe { flex-direction: column; }
  .pipe-join { flex: 0 0 auto !important; height: 1px; }
  .stat-row { grid-template-columns: 1fr; }
  .short-cards { grid-template-columns: 1fr 1fr; }
  .frame-row { flex-wrap: wrap; }
  .a169 { flex: 1 1 100%; }
  .gen-preview { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero-cue { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .access-form { flex-direction: column; }
  .story-grid, .short-cards { grid-template-columns: 1fr; }
  .studio-title span { display: none; }
  .n-motif, .n-scene { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .hero-line > span, .reveal { opacity: 1; transform: none; }
}
