/* =========================================================
   CHOIRA — website v2
   Dark-first. #FFC701 is the single brand accent.
   ========================================================= */

:root {
  --yellow: #FFC701;
  --yellow-hover: #FFD333;
  --yellow-press: #E6B300;
  --wa: #25D366;

  --bg-0: #0A0A0F;
  --bg-1: #111118;
  --bg-2: #1A1A24;
  --bg-3: #232330;
  --bg-deep: #050507;

  --fg-1: #FFFFFF;
  --fg-2: #C9C9D6;
  --fg-3: #8A8A9A;
  --fg-4: #5A5A6A;

  --line-1: rgba(255,255,255,0.06);
  --line-2: rgba(255,255,255,0.10);
  --line-3: rgba(255,255,255,0.16);

  --info: #60A5FA;  --info-soft: #60A5FA26;
  --danger: #F87171;
  --success: #34D399;
  --warn: #FBBF24;  --warn-soft: #FBBF2426;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(20px, 4vw, 48px);
  --maxw: 1280px;
  --nav-h: 68px;

  --shadow-yellow-sm: 0 4px 16px rgba(255,199,1,0.25);
  --shadow-yellow: 0 8px 32px rgba(255,199,1,0.35);
  color-scheme: dark;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg-0);
  color: var(--fg-1);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--yellow); text-decoration: none; transition: color 160ms var(--ease); }
a:hover { color: var(--yellow-hover); }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
::selection { background: var(--yellow); color: var(--bg-0); }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

.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; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--yellow); color: var(--bg-0); padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; }
.skip-link:focus { top: 16px; color: var(--bg-0); }

.accent { color: var(--yellow); }
.wrap { max-width: var(--maxw); margin-inline: auto; width: 100%; }

/* Film-grain overlay */
.grain {
  position: fixed; inset: 0; z-index: 70; pointer-events: none; opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Scroll progress */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, rgba(255,199,1,0), var(--yellow)); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 15px; font-weight: 600; line-height: 1; white-space: nowrap;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: background 200ms var(--ease), color 200ms var(--ease), transform 200ms var(--ease), border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn--light { background: #fff; color: var(--bg-0); }
.btn--light:hover { background: var(--yellow); color: var(--bg-0); }
.btn--yellow { background: var(--yellow); color: var(--bg-0); font-weight: 700; box-shadow: var(--shadow-yellow-sm); }
.btn--yellow:hover { background: var(--yellow-hover); color: var(--bg-0); box-shadow: var(--shadow-yellow); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.18); }
.btn--ghost:hover { background: var(--bg-2); color: #fff; border-color: rgba(255,255,255,0.28); }
.btn--wa { background: var(--wa); color: var(--bg-0); font-weight: 700; }
.btn--wa:hover { background: #3be07a; color: var(--bg-0); }
.btn--sm { font-size: 13px; padding: 10px 15px; }
.btn--lg { font-size: 16px; padding: 17px 30px; }
.btn--block { width: 100%; font-size: 17px; padding: 17px; }

.dot { width: 8px; height: 8px; border-radius: 999px; flex-shrink: 0; }
.dot--wa { background: var(--wa); box-shadow: 0 0 0 0 rgba(37,211,102,0.6); animation: waPing 2.4s var(--ease) infinite; }

/* ---------- Typography ---------- */
.h-display { font-size: clamp(40px, 5.6vw, 76px); line-height: 1; font-weight: 600; letter-spacing: -0.05em; text-wrap: balance; }
.h-display--sm { font-size: clamp(40px, 5.2vw, 72px); }
.lede { font-size: 18px; line-height: 1.55; color: var(--fg-3); max-width: 520px; text-wrap: pretty; }
.lede--wide { max-width: 600px; }
.lede--left { max-width: 540px; }
.eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--yellow); }
.eyebrow--wide { letter-spacing: 0.14em; }

.head { display: flex; flex-direction: column; gap: 18px; }
.head--center { align-items: center; text-align: center; }
.head--left { max-width: 780px; gap: 20px; }

.section { padding: clamp(120px, 14vw, 200px) var(--gutter); }
.section--tight-top { padding-top: 0; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(10,10,15,0.55);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background 300ms var(--ease), border-color 300ms var(--ease);
}
.nav.is-scrolled { background: rgba(10,10,15,0.8); border-bottom-color: var(--line-1); }
.nav__inner { max-width: var(--maxw); margin: 0 auto; height: var(--nav-h); padding: 0 var(--gutter); display: flex; align-items: center; gap: 32px; }
.nav__logo { display: flex; align-items: center; flex-shrink: 0; }
.nav__logo img { height: 26px; width: auto; }
.nav__links { flex: 1; display: flex; justify-content: center; gap: 6px; font-size: 14px; font-weight: 500; }
.nav__links a { position: relative; color: var(--fg-3); padding: 8px 14px; border-radius: 999px; transition: color 200ms var(--ease), background 200ms var(--ease); }
.nav__links a:hover { color: #fff; background: rgba(255,255,255,0.05); }
.nav__links a.is-active { color: #fff; }
.nav__links a.is-active::after { content: ""; position: absolute; left: 50%; bottom: 1px; width: 4px; height: 4px; margin-left: -2px; border-radius: 999px; background: var(--yellow); }
.nav__cta { margin-left: auto; font-size: 14px; padding: 10px 18px; flex-shrink: 0; }
.nav__burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.14); background: transparent; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0; }
.nav__burger span { width: 16px; height: 1.5px; background: #fff; border-radius: 2px; transition: transform 240ms var(--ease); }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 49; background: rgba(10,10,15,0.96);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  padding: 96px 24px calc(32px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 8px;
}
.menu[hidden] { display: none; }
.menu > a { font-size: 36px; font-weight: 600; letter-spacing: -0.04em; color: #fff; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.menu__actions { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding: 140px var(--gutter) 72px; overflow: hidden; isolation: isolate;
}
.hero__orb {
  position: absolute; left: 50%; top: 44%; width: min(1100px, 120vw); aspect-ratio: 1; z-index: -1;
  transform: translate(-50%, -50%); border-radius: 999px; pointer-events: none;
  background: radial-gradient(circle, rgba(255,199,1,0.20) 0%, rgba(255,199,1,0.06) 35%, rgba(255,199,1,0) 65%);
  animation: breath 9s ease-in-out infinite;
}
.hero__spot { position: absolute; inset: 0; z-index: -1; pointer-events: none; transition: opacity 400ms; }
.hero__copy { position: relative; max-width: 1000px; margin: 0 auto; width: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; }

.pill-link {
  display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; color: var(--fg-2);
  padding: 7px 14px 7px 8px; border-radius: 999px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); white-space: nowrap;
  transition: background 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease);
}
.pill-link:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,199,1,0.35); }
.pill-link__tag { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--yellow); color: var(--bg-0); }

.hero__title { font-size: clamp(56px, 10vw, 136px); line-height: 0.92; font-weight: 600; letter-spacing: -0.055em; text-wrap: balance; }
.hero__lede { max-width: 600px; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.5; color: var(--fg-2); text-wrap: pretty; }

/* Composer */
.composer { width: 100%; max-width: 760px; margin-top: 10px; position: relative; text-align: left; }
.composer__sheen {
  position: absolute; inset: -1px; border-radius: 29px; opacity: 0.65; pointer-events: none;
  background: linear-gradient(90deg, rgba(255,199,1,0) 0%, rgba(255,199,1,0.6) 50%, rgba(255,199,1,0) 100%);
  background-size: 200% 100%; animation: sheen 6s linear infinite;
}
.composer:focus-within .composer__sheen { opacity: 1; }
.composer__panel {
  position: relative; background: rgba(16,16,20,0.94); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-radius: 28px; padding: 22px 22px 18px; display: flex; flex-direction: column; gap: 16px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.05);
}
.composer__input {
  width: 100%; resize: none; background: transparent; border: 0; outline: none; color: #fff;
  font-family: var(--font-sans); font-size: clamp(17px, 1.7vw, 21px); line-height: 1.5; padding: 0 4px; min-height: 63px;
}
.composer__input::placeholder { color: rgba(255,255,255,0.38); }
.composer__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  font-size: 13px; font-weight: 500; padding: 7px 13px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(255,255,255,0.12); background: transparent; color: rgba(255,255,255,0.62);
  transition: all 160ms var(--ease);
}
.chip:hover { color: #fff; border-color: rgba(255,255,255,0.28); }
.chip.is-on { background: rgba(255,199,1,0.14); color: var(--yellow); border-color: rgba(255,199,1,0.55); }
.composer__actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.composer__mic {
  position: relative; width: 46px; height: 46px; flex-shrink: 0; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-3); background: transparent; color: var(--fg-2); display: grid; place-items: center;
  transition: background 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease), transform 160ms var(--ease);
}
.composer__mic[hidden] { display: none; }
.composer__mic:hover { color: #fff; border-color: rgba(255,255,255,0.4); transform: scale(1.05); }
.composer__mic:active { transform: scale(0.94); }
.composer__mic::before, .composer__mic::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; border: 1.5px solid var(--yellow); opacity: 0; pointer-events: none; }
.composer__mic.is-listening { background: rgba(255,199,1,0.14); border-color: var(--yellow); color: var(--yellow); }
.composer__mic.is-listening::before { animation: micRing 1.6s var(--ease) infinite; }
.composer__mic.is-listening::after { animation: micRing 1.6s var(--ease) .8s infinite; }
.composer__status { font-size: 13px; color: var(--fg-3); padding: 0 4px; display: flex; align-items: center; gap: 8px; animation: rise 300ms var(--ease) both; }
.composer__status[hidden] { display: none; }
.composer__status.is-live::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: var(--danger); animation: blink 0.9s ease-in-out infinite; }
.composer__status.is-error { color: var(--danger); }
.composer__go {
  width: 46px; height: 46px; flex-shrink: 0; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--yellow); color: var(--bg-0); display: grid; place-items: center;
  box-shadow: var(--shadow-yellow-sm); transition: transform 160ms var(--ease), background 160ms var(--ease);
}
.composer__go:hover { transform: scale(1.08); background: var(--yellow-hover); }
.composer__go:active { transform: scale(0.94); }
.composer__go svg { grid-area: 1 / 1; transition: transform 400ms var(--ease), opacity 200ms; }
.composer__go .i-redo { opacity: 0; transform: rotate(-120deg); }
.composer[data-phase="ready"] .composer__go .i-up { opacity: 0; transform: rotate(120deg); }
.composer[data-phase="ready"] .composer__go .i-redo { opacity: 1; transform: none; }
.composer[data-phase="drafting"] .composer__go, .composer[data-phase="humanizing"] .composer__go { cursor: progress; animation: goPulse 1.2s ease-in-out infinite; }

.result { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 16px; display: flex; flex-direction: column; gap: 14px; animation: rise 500ms var(--ease) both; }
.result[hidden] { display: none; }
.result__track { display: flex; align-items: center; gap: 16px; }
.result__play { width: 46px; height: 46px; border-radius: 14px; background: var(--bg-3); display: grid; place-items: center; flex-shrink: 0; }
.result__play span { width: 0; height: 0; border-left: 13px solid var(--yellow); border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 4px; }
.wave { flex: 1; min-width: 0; height: 46px; display: flex; align-items: center; gap: 3px; }
.wave i { flex: 1; border-radius: 2px; background: rgba(255,255,255,0.22); transform-origin: center; transition: background 400ms; }
.wave i.is-lit { background: rgba(255,199,1,0.85); }
.composer[data-phase="ready"] .wave i { background: var(--yellow); }
.composer[data-phase="drafting"] .wave i, .composer[data-phase="humanizing"] .wave i { animation: bar var(--d, .8s) ease-in-out var(--dl, 0s) infinite; }

.steps { display: flex; gap: 18px; flex-wrap: wrap; }
.steps li { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.4); transition: color 300ms; }
.steps li::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: rgba(255,255,255,0.2); transition: background 300ms; }
.steps li.is-done, .steps li.is-active { color: #fff; }
.steps li.is-done::before, .steps li.is-active::before { background: var(--yellow); }
.steps li.is-active::before { animation: blink 0.9s ease-in-out infinite; }

.result__ready { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; background: var(--bg-2); border-radius: 16px; padding: 14px 16px; animation: rise 500ms var(--ease) both; }
.result__ready[hidden] { display: none; }
.result__ready > span { font-size: 14px; color: var(--fg-2); }
.result__actions { display: flex; gap: 8px; flex-wrap: wrap; }

.hero__links { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; font-size: 14px; }
.hero__links a { color: var(--fg-3); display: inline-flex; align-items: center; gap: 8px; }
.hero__links a:hover { color: #fff; }

.hero__art { position: relative; max-width: 1100px; width: 100%; margin: clamp(56px, 7vw, 88px) auto 0; opacity: 0.85; }
.hero__art svg { overflow: visible; width: 100%; height: auto; }
.hero__eras { position: relative; height: 18px; margin-top: 18px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-4); }
.hero__eras li { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; opacity: 0; transition: opacity 1s var(--ease); }
.hero__eras li:nth-child(1) { left: 9.2%; }
.hero__eras li:nth-child(2) { left: 32.7%; }
.hero__eras li:nth-child(3) { left: 50%; }
.hero__eras li:nth-child(4) { left: 69.2%; }
.hero__eras li:nth-child(5) { left: 90%; }
.hero__eras.is-in li { opacity: 1; }
.hero__eras li.accent { color: var(--yellow); }

.orbit { transform-box: view-box; }
.orbit.is-spinning { transform-origin: 1170px 130px; animation: spin 48s linear infinite; }
.orbit--slow { transform-origin: 300px 300px; animation: spin 90s linear infinite; }


/* ---------- Hero background canvas ---------- */
.hero__canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; opacity: 0.25;
  -webkit-mask-image: radial-gradient(ellipse 46% 52% at 50% 46%, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0.5) 55%, #000 85%);
          mask-image: radial-gradient(ellipse 46% 52% at 50% 46%, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0.5) 55%, #000 85%);
}
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: -1; pointer-events: none; background: linear-gradient(to bottom, rgba(10,10,15,0), var(--bg-0)); }

/* ---------- Composer modes ---------- */
.modes { display: flex; gap: 4px; padding: 4px; margin: -6px -6px 2px; border-radius: 18px; background: rgba(255,255,255,0.035); border: 1px solid var(--line-1); overflow-x: auto; scrollbar-width: none; }
.modes::-webkit-scrollbar { display: none; }
.mode { flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-size: 13px; font-weight: 500; padding: 9px 12px; border-radius: 14px; border: 0; background: transparent; color: var(--fg-3); cursor: pointer; white-space: nowrap; transition: background 200ms var(--ease), color 200ms var(--ease); }
.mode:hover { color: #fff; background: rgba(255,255,255,0.04); }
.mode.is-on { background: rgba(255,255,255,0.09); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,0.06); }
.mode.is-on svg { color: var(--yellow); }

.result__body:empty { display: none; }
.result__body { animation: rise 400ms var(--ease) both; }

/* talent matches */
.matches, .samples, .checklist { display: flex; flex-direction: column; gap: 8px; }
.match, .sample { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 14px; background: var(--bg-2); opacity: 0.25; transform: translateY(6px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
.match.is-in, .sample.is-in { opacity: 1; transform: none; }
.match__avatar { width: 38px; height: 38px; border-radius: 999px; flex-shrink: 0; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--bg-0); background: linear-gradient(135deg, var(--yellow), #ff9d00); }
.match__txt, .sample__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.match__txt b, .sample__txt b { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.match__txt small, .sample__txt small { font-size: 12px; color: var(--fg-3); }
.match__tag { font-size: 12px; font-weight: 600; color: var(--success, #34D399); background: rgba(52,211,153,0.12); padding: 5px 10px; border-radius: 999px; white-space: nowrap; }

/* rights checklist */
.checklist li { display: grid; grid-template-columns: 22px 110px 1fr; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: var(--bg-2); font-size: 13px; opacity: 0.3; transition: opacity 500ms var(--ease); }
.checklist li.is-in { opacity: 1; }
.checklist b { font-weight: 600; }
.checklist small { color: var(--fg-3); font-size: 13px; }
.check { width: 20px; height: 20px; border-radius: 999px; border: 1.5px solid var(--line-3); position: relative; transition: background 300ms, border-color 300ms; }
.checklist li.is-in .check { background: var(--yellow); border-color: var(--yellow); }
.checklist li.is-in .check::after { content: ""; position: absolute; left: 6px; top: 3px; width: 5px; height: 9px; border: solid var(--bg-0); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* logic arrangement */
.arr { display: flex; flex-direction: column; gap: 5px; padding: 12px; border-radius: 14px; background: var(--bg-2); }
.arr__meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.arr__meta span { font-family: var(--font-mono); font-size: 11px; color: var(--fg-2); padding: 3px 8px; border-radius: 6px; background: rgba(255,255,255,0.06); }
.arr__meta .arr__file { margin-left: auto; color: var(--yellow); background: rgba(255,199,1,0.12); }
.arr__secs { display: grid; grid-template-columns: repeat(6, 1fr); margin-left: 72px; font-family: var(--font-mono); font-size: 10px; color: var(--fg-4); text-transform: uppercase; letter-spacing: 0.06em; }
.arr__lane { display: flex; align-items: center; gap: 10px; }
.arr__name { width: 62px; flex-shrink: 0; font-size: 11px; color: var(--fg-3); }
.arr__track { position: relative; flex: 1; height: 16px; border-radius: 4px; background: repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 12.5%); }
.arr__track i { position: absolute; top: 1px; bottom: 1px; width: 0; border-radius: 3px; background: hsl(calc(45 - var(--c) * 9) 100% calc(52% + var(--c) * 3%) / 0.85); transition: width 900ms var(--ease); }
.arr__lane.is-in .arr__track i { width: var(--w); }

/* splice samples */
.sample__play { width: 30px; height: 30px; border-radius: 999px; flex-shrink: 0; background: rgba(255,255,255,0.08); display: grid; place-items: center; }
.sample__play::before { content: ""; border-left: 9px solid var(--yellow); border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }
.sample__wave { display: flex; align-items: center; gap: 2px; width: 34%; height: 26px; flex-shrink: 0; }
.sample__wave i { flex: 1; border-radius: 1px; background: rgba(255,199,1,0.55); }
.sample__meta { font-family: var(--font-mono); font-size: 11px; color: var(--fg-3); white-space: nowrap; }

@media (max-width: 760px) {
  .mode { flex: 0 0 auto; }
  .sample__wave { display: none; }
  .checklist li { grid-template-columns: 22px 1fr; }
  .checklist small { grid-column: 2; }
  .hero__canvas { opacity: 0.17; }
}


/* file manager rows */
.files { display: flex; flex-direction: column; gap: 6px; }
.file { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 12px; background: var(--bg-2); opacity: 0.25; transform: translateY(6px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
.file.is-in { opacity: 1; transform: none; }
.file__ic { width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0; display: grid; place-items: center; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; color: var(--bg-0); background: var(--yellow); }
.file__ic--prj { background: #60A5FA; }
.file__ic--img { background: #A78BFA; }
.file__ic--doc { background: #E5E7EB; }
.file__txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }
.file__txt b { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file__txt small { font-size: 12px; color: var(--fg-3); }
.file__tag { font-size: 11px; font-weight: 600; color: var(--success); background: rgba(52,211,153,0.12); padding: 4px 9px; border-radius: 999px; white-space: nowrap; }

/* =========================================================
   MIDI PLAYGROUND
   ========================================================= */
.playground__wrap { display: flex; flex-direction: column; gap: 36px; }
.playground__head { display: flex; flex-direction: column; gap: 16px; max-width: 640px; }
.stage3d {
  position: relative; height: clamp(300px, 34vw, 440px); border-radius: 28px; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 100%, rgba(255,199,1,0.08), rgba(255,199,1,0) 60%), linear-gradient(to bottom, rgba(255,255,255,0.015), rgba(255,255,255,0.03));
  border: 1px solid var(--line-1);
  transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 600ms var(--ease), border-color 300ms var(--ease);
  box-shadow: 0 40px 80px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.05);
}
.stage3d:hover { border-color: rgba(255,199,1,0.22); }
.stage3d__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: manipulation; }
.stage3d__hud { position: absolute; left: 20px; right: 20px; top: 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; pointer-events: none; }
.stage3d__hud > span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--fg-3); }
.stage3d__sound { pointer-events: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-3); background: rgba(10,10,15,0.6); color: var(--fg-2); cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: color 200ms, border-color 200ms, background 200ms; }
.stage3d__sound:hover { color: #fff; border-color: rgba(255,255,255,0.35); }
.stage3d__sound .w1, .stage3d__sound .w2 { opacity: 0.25; }
.stage3d.is-sound .stage3d__sound { color: var(--yellow); border-color: rgba(255,199,1,0.5); background: rgba(255,199,1,0.1); }
.stage3d.is-sound .stage3d__sound .w1, .stage3d.is-sound .stage3d__sound .w2 { opacity: 1; }

/* =========================================================
   CODE RADIO — full-width dock + drawer
   ========================================================= */
:root { --dock-h: 76px; }
body.has-radio { padding-bottom: var(--dock-h); }
body.has-radio .wa-fab { bottom: calc(var(--dock-h) + 18px + env(safe-area-inset-bottom)); }

.radio { position: fixed; left: 0; right: 0; bottom: 0; z-index: 61; }
.radio__dock {
  position: relative; height: calc(var(--dock-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  background: rgba(12,12,18,0.82); backdrop-filter: blur(22px) saturate(150%); -webkit-backdrop-filter: blur(22px) saturate(150%);
  border-top: 1px solid var(--line-2);
}
.radio__dock::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: linear-gradient(90deg, rgba(255,199,1,0), rgba(255,199,1,0.55), rgba(255,199,1,0)); opacity: 0; transition: opacity 600ms var(--ease); }
.radio.is-playing .radio__dock::before { opacity: 1; }
.radio__dock-in { max-width: var(--maxw); height: var(--dock-h); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }

.radio__btn { position: relative; width: 36px; height: 36px; flex-shrink: 0; border-radius: 999px; border: 0; background: transparent; color: var(--fg-2); display: grid; place-items: center; cursor: pointer; transition: color 160ms, background 160ms, transform 160ms var(--ease); }
.radio__btn:hover { color: #fff; background: rgba(255,255,255,0.07); }
.radio__btn:active { transform: scale(0.92); }
.radio__transport { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.radio__btn--play { width: 46px; height: 46px; background: var(--yellow); color: var(--bg-0); box-shadow: var(--shadow-yellow-sm); }
.radio__btn--play:hover { background: var(--yellow-hover); color: var(--bg-0); }
.radio__btn--play svg { grid-area: 1 / 1; }
.radio__btn--play .i-pause { display: none; }
.radio.is-playing .radio__btn--play .i-play { display: none; }
.radio.is-playing .radio__btn--play .i-pause { display: block; }
.radio__spin { display: none; grid-area: 1 / 1; width: 20px; height: 20px; border-radius: 999px; border: 2px solid rgba(10,10,15,0.25); border-top-color: var(--bg-0); animation: spin 0.8s linear infinite; }
.radio.is-loading .radio__spin { display: block; }
.radio.is-loading .radio__btn--play svg { display: none !important; }

.radio__info { display: flex; flex-direction: column; gap: 1px; width: clamp(150px, 16vw, 220px); flex-shrink: 0; min-width: 0; }
.radio__eyebrow { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-4); white-space: nowrap; }
.radio__dot { width: 6px; height: 6px; border-radius: 999px; background: var(--fg-4); flex-shrink: 0; }
.radio.is-playing .radio__dot { background: var(--yellow); animation: blink 1.2s ease-in-out infinite; }
.radio__info b { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.radio__info small { font-size: 12px; color: var(--fg-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.radio.is-error .radio__info small { color: var(--danger); }

.radio__wave { position: relative; flex: 1; min-width: 80px; height: 40px; }
.radio__viz { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.radio__progress { position: absolute; left: 0; right: 0; bottom: -10px; height: 2px; border-radius: 2px; background: rgba(255,255,255,0.07); overflow: hidden; }
.radio__progress i { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--yellow); }

.radio__vol { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.radio__vol .v-x { display: none; }
.radio.is-muted .radio__vol .v-wave { display: none; }
.radio.is-muted .radio__vol .v-x { display: block; }
.radio__vol input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 104px; height: 4px; border-radius: 999px; cursor: pointer; margin: 0;
  background: linear-gradient(to right, var(--yellow) var(--fill, 20%), rgba(255,255,255,0.16) var(--fill, 20%));
}
.radio__vol input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 999px; background: #fff; border: 0; box-shadow: 0 1px 4px rgba(0,0,0,0.5); }
.radio__vol input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 999px; background: #fff; border: 0; }
.radio__vol output { font-family: var(--font-mono); font-size: 11px; color: var(--fg-3); width: 42px; font-variant-numeric: tabular-nums; }

.radio__views { display: flex; gap: 6px; flex-shrink: 0; }
.radio__pill { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-3); background: transparent; color: var(--fg-2); cursor: pointer; white-space: nowrap; transition: color 160ms, border-color 160ms, background 160ms; }
.radio__pill:hover { color: #fff; border-color: rgba(255,255,255,0.32); }
.radio__pill--icon { padding: 9px 12px; }
.radio__pill--icon[aria-pressed="false"] { opacity: 0.55; }
.radio__pill--icon[aria-pressed="false"] svg { opacity: 0.5; }
.radio__render-head [data-radio-key] { color: var(--yellow); }
.radio__pill.is-on { color: var(--yellow); border-color: rgba(255,199,1,0.5); background: rgba(255,199,1,0.1); }

/* Drawer: full-width, rises from the dock */
.radio__drawer {
  background: rgba(12,12,18,0.94); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid var(--line-2); box-shadow: 0 -30px 60px rgba(0,0,0,0.5); animation: drawerUp 380ms var(--ease) both;
}
.radio__drawer[hidden] { display: none; }
.radio__drawer-in { max-width: var(--maxw); margin: 0 auto; padding: 20px var(--gutter) 22px; display: flex; flex-direction: column; gap: 16px; max-height: min(58vh, 560px); }
.radio__drawer-head { display: flex; align-items: center; gap: 20px; }
.radio__drawer-head > div:first-child { flex: 1; min-width: 0; }
.radio__drawer-head b { display: block; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.radio__drawer-head small { display: block; margin-top: 3px; font-size: 13px; color: var(--fg-3); }
.radio__tabs { display: flex; padding: 3px; border-radius: 999px; background: rgba(255,255,255,0.05); flex-shrink: 0; }
.radio__tabs button { font-size: 12px; font-weight: 600; padding: 7px 14px; border-radius: 999px; border: 0; background: transparent; color: var(--fg-3); cursor: pointer; }
.radio__tabs button.is-on { background: rgba(255,255,255,0.1); color: #fff; }

.radio__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 4px 10px; overflow-y: auto; min-height: 0; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.15) transparent; }
.radio__list[hidden] { display: none; }
.radio__track { width: 100%; display: grid; grid-template-columns: 26px minmax(0, 1fr); align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; border: 0; background: transparent; color: #fff; text-align: left; cursor: pointer; transition: background 160ms; }
.radio__track:hover { background: rgba(255,255,255,0.05); }
.radio__track.is-current { background: rgba(255,199,1,0.08); }
.radio__num { grid-column: 1; grid-row: 1; font-family: var(--font-mono); font-size: 11px; color: var(--fg-4); }
.radio__eq { grid-column: 1; grid-row: 1; display: none; align-items: flex-end; gap: 2px; height: 12px; }
.radio__eq i { width: 3px; height: 100%; background: var(--yellow); border-radius: 1px; transform-origin: bottom; animation: bar 0.9s ease-in-out infinite; }
.radio__eq i:nth-child(2) { animation-delay: .2s; } .radio__eq i:nth-child(3) { animation-delay: .4s; }
.radio__track.is-playing .radio__num { display: none; }
.radio__track.is-playing .radio__eq { display: flex; }
.radio__tt { display: flex; flex-direction: column; min-width: 0; }
.radio__tt b { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.radio__track.is-current .radio__tt b { color: var(--yellow); }
.radio__tt small { font-size: 12px; color: var(--fg-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.radio__live { display: grid; gap: 16px; min-height: 0; flex: 1; }
.radio__live[hidden] { display: none; }
.radio__render { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 16px; background: rgba(255,255,255,0.03); border: 1px solid var(--line-1); min-height: 0; }
.radio__render-head { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); }
.radio__render-head span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.radio__render canvas { width: 100%; height: clamp(160px, 26vh, 260px); display: block; border-radius: 8px; }
.radio__legend { display: flex; gap: 16px; font-size: 12px; color: var(--fg-3); }
.radio__legend span { display: inline-flex; align-items: center; gap: 6px; }
.sw { width: 12px; height: 4px; border-radius: 2px; }
.sw--mel { background: rgba(255,199,1,0.5); } .sw--drum { background: rgba(255,255,255,0.4); } .sw--now { background: var(--yellow); box-shadow: 0 0 6px var(--yellow); }
.radio__code { margin: 0; overflow: auto; padding: 16px 18px; border-radius: 16px; background: rgba(0,0,0,0.35); border: 1px solid var(--line-1); font-family: var(--font-mono); font-size: 12px; line-height: 1.7; color: var(--fg-2); white-space: pre; tab-size: 2; min-height: 0; max-height: clamp(200px, 36vh, 330px); }
.radio__code .t-s { color: #FFD873; }
.radio__code .t-n { color: #93C5FD; }
.radio__code .t-f { color: #fff; }
.radio__code .t-k { color: var(--yellow); }

/* ---------- Live code: side column, mixer, remix, editor ---------- */
.radio.is-code .radio__drawer-in { max-height: min(84vh, 780px); }
.radio__live { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: stretch; }
.radio__side { display: flex; flex-direction: column; gap: 12px; min-height: 0; overflow-y: auto; scrollbar-width: thin; }
.radio__render canvas { height: clamp(130px, 20vh, 200px); }
.radio__render-head { gap: 12px; }
.radio__render-head span:nth-child(2) { margin-left: auto; }
.radio__cards { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.rcard { padding: 14px; border-radius: 16px; background: rgba(255,255,255,0.03); border: 1px solid var(--line-1); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.rcard__head { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); }
.rcard__link { font: 600 11px var(--font-sans); letter-spacing: 0; text-transform: none; color: var(--fg-3); background: none; border: 0; padding: 2px 6px; border-radius: 6px; cursor: pointer; }
.rcard__link:hover { color: var(--yellow); background: rgba(255,199,1,0.08); }

.eq { display: flex; flex-direction: column; gap: 10px; }
.eq__band { display: grid; grid-template-columns: 44px minmax(0, 1fr) 74px; align-items: center; gap: 10px; font-size: 12px; color: var(--fg-2); }
.eq__band output { font-family: var(--font-mono); font-size: 11px; color: var(--fg-3); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.eq__band input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 4px; margin: 0; border-radius: 999px; cursor: pointer;
  background:
    linear-gradient(to right, transparent calc(50% - 1px), rgba(255,255,255,0.35) calc(50% - 1px), rgba(255,255,255,0.35) calc(50% + 1px), transparent calc(50% + 1px)),
    linear-gradient(to right, rgba(255,255,255,0.12), rgba(255,255,255,0.12));
}
.eq__band input.is-set { background:
    linear-gradient(to right, transparent calc(50% - 1px), rgba(255,255,255,0.35) calc(50% - 1px), rgba(255,255,255,0.35) calc(50% + 1px), transparent calc(50% + 1px)),
    linear-gradient(to right, transparent min(50%, var(--pos)), rgba(255,199,1,0.85) min(50%, var(--pos)), rgba(255,199,1,0.85) max(50%, var(--pos)), transparent max(50%, var(--pos))),
    linear-gradient(to right, rgba(255,255,255,0.12), rgba(255,255,255,0.12)); }
.eq__band input.is-set + output { color: var(--yellow); }
.eq__band input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 4px; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.5); }
.eq__band input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 4px; background: #fff; border: 0; }
.eq__band--filter { padding-top: 8px; border-top: 1px solid var(--line-1); }

.fx { display: flex; flex-wrap: wrap; gap: 6px; }
.fx__chip { font-size: 12px; font-weight: 600; padding: 7px 11px; border-radius: 999px; border: 1px solid var(--line-3); background: transparent; color: var(--fg-2); cursor: pointer; transition: all 160ms var(--ease); }
.fx__chip:hover { color: #fff; border-color: rgba(255,255,255,0.32); }
.fx__chip.is-on { color: var(--bg-0); background: var(--yellow); border-color: var(--yellow); box-shadow: 0 0 14px rgba(255,199,1,0.35); }

.editor { display: flex; flex-direction: column; min-height: 0; border-radius: 16px; background: rgba(0,0,0,0.38); border: 1px solid var(--line-1); overflow: hidden; }
.editor:focus-within { border-color: rgba(255,199,1,0.35); }
.editor__bar { display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 14px; border-bottom: 1px solid var(--line-1); background: rgba(255,255,255,0.025); }
.editor__file { font-family: var(--font-mono); font-size: 12px; color: var(--fg-2); white-space: nowrap; }
.editor__status { flex: 1; min-width: 0; font-size: 12px; color: var(--fg-4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.editor__status.is-pending { color: var(--fg-3); }
.editor__status.is-ok { color: var(--success); }
.editor__status.is-error { color: var(--danger); }
.editor__btn { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-3); background: transparent; color: var(--fg-2); cursor: pointer; white-space: nowrap; }
.editor__btn:hover:not(:disabled) { color: #fff; border-color: rgba(255,255,255,0.32); }
.editor__btn:disabled { opacity: 0.35; cursor: default; }
.editor__btn--run { background: var(--yellow); border-color: var(--yellow); color: var(--bg-0); }
.editor__btn--run:hover:not(:disabled) { background: var(--yellow-hover); color: var(--bg-0); border-color: var(--yellow-hover); }
.editor__btn kbd { font-family: var(--font-mono); font-size: 10px; opacity: 0.6; }
.editor__body { position: relative; flex: 1; min-height: 240px; }
.editor__hl, .editor__input {
  position: absolute; inset: 0; margin: 0; padding: 14px 16px; border: 0; overflow: auto;
  font-family: var(--font-mono); font-size: 12.5px; line-height: 1.7; tab-size: 2; white-space: pre; letter-spacing: 0;
}
.editor__hl { color: var(--fg-2); pointer-events: none; overflow: hidden; }
.editor__hl .t-s { color: #FFD873; } .editor__hl .t-n { color: #93C5FD; } .editor__hl .t-f { color: #fff; } .editor__hl .t-k { color: var(--yellow); }
.editor__input { background: transparent; color: transparent; caret-color: var(--yellow); resize: none; outline: none; }
.editor__input::selection { background: rgba(255,199,1,0.25); color: transparent; }
.editor__chain { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 10px 14px; border-top: 1px solid var(--line-1); font-size: 11px; color: var(--fg-3); }
.editor__chain[hidden] { display: none; }
.editor__chain code { font-family: var(--font-mono); font-size: 11px; color: var(--yellow); background: rgba(255,199,1,0.08); padding: 3px 7px; border-radius: 6px; }

@media (max-width: 1000px) {
  .radio__live { grid-template-columns: 1fr; overflow-y: auto; }
  .radio__side { overflow: visible; }
  .editor__body { min-height: 260px; }
}
@media (max-width: 600px) {
  .radio__cards { grid-template-columns: 1fr; }
  .livebar { flex-wrap: wrap; gap: 10px; }
  .livebar__label, .livebar__key { display: none; }
  .livebar .radio__pill span { display: none; }
  .editor__status { display: none; }
}


/* code assistant */
.assist { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 14px; border-bottom: 1px solid var(--line-1); background: linear-gradient(90deg, rgba(255,199,1,0.07), rgba(255,199,1,0) 70%); }
.assist__icon { color: var(--yellow); flex-shrink: 0; }
.assist.is-busy .assist__icon { animation: spin 2.4s linear infinite; }
.assist input { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; color: #fff; font: 14px var(--font-sans); padding: 6px 0; }
.assist input::placeholder { color: var(--fg-4); }
.assist__chips { display: flex; gap: 6px; padding: 8px 14px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line-1); }
.assist__chips::-webkit-scrollbar { display: none; }
.assist__chip { flex-shrink: 0; font-size: 11.5px; font-weight: 500; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,0.02); color: var(--fg-3); cursor: pointer; white-space: nowrap; transition: color 160ms, border-color 160ms; }
.assist__chip:hover { color: #fff; border-color: rgba(255,199,1,0.45); }
.assist__note { display: flex; align-items: center; gap: 10px; padding: 8px 14px; font-size: 12.5px; color: var(--fg-2); border-bottom: 1px solid var(--line-1); background: rgba(255,255,255,0.02); animation: rise 300ms var(--ease) both; }
.assist__note[hidden] { display: none; }
.assist__note > span { flex: 1; min-width: 0; }
.assist__note.is-ok > span::before { content: "✓ "; color: var(--success); font-weight: 700; }
.assist__note.is-error > span { color: var(--danger); }
.assist__note.is-pending > span { color: var(--fg-3); }
.assist__note [hidden] { display: none; }


/* live toolbar: tempo, key, pad, full screen */
.radio__live { grid-template-rows: auto minmax(0, 1fr); }
.livebar { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; padding: 8px 8px 8px 14px; border-radius: 14px; background: rgba(255,255,255,0.03); border: 1px solid var(--line-1); }
.livebar__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); margin-right: 4px; }
.tempo { display: flex; align-items: center; gap: 6px; }
.tempo__btn { width: 30px; height: 30px; border-radius: 999px; border: 1px solid var(--line-3); background: transparent; color: var(--fg-2); display: grid; place-items: center; cursor: pointer; touch-action: manipulation; user-select: none; transition: color 140ms, border-color 140ms, transform 120ms var(--ease); }
.tempo__btn:hover { color: #fff; border-color: rgba(255,199,1,0.5); }
.tempo__btn:active { transform: scale(0.9); background: rgba(255,199,1,0.12); }
.tempo__val { min-width: 3ch; text-align: center; font-family: var(--font-mono); font-size: 18px; font-weight: 500; color: #fff; font-variant-numeric: tabular-nums; transition: color 160ms; }
.tempo__val.is-pending { color: var(--yellow); }
.tempo__unit { font-family: var(--font-mono); font-size: 11px; color: var(--fg-3); margin-right: 4px; }
.livebar__key { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--yellow); padding: 5px 10px; border-radius: 999px; background: rgba(255,199,1,0.08); white-space: nowrap; }
.livebar__right { margin-left: auto; display: flex; gap: 6px; }
.livebar .radio__pill { padding: 7px 12px; font-size: 12px; }
[data-radio-full] .i-exit { display: none; }
.radio.is-full [data-radio-full] .i-full { display: none; }
.radio.is-full [data-radio-full] .i-exit { display: block; }

/* full-screen live code */
.radio.is-full { top: 0; display: flex; flex-direction: column; background: var(--bg-0); }
.radio.is-full .radio__drawer { flex: 1; min-height: 0; display: flex; flex-direction: column; animation: none; border-top: 0; box-shadow: none; }
.radio.is-full .radio__drawer-in { flex: 1; max-height: none; max-width: 1680px; width: 100%; padding-top: max(20px, env(safe-area-inset-top)); }
.radio.is-full .radio__live { flex: 1; }
.radio.is-full .radio__render canvas { height: clamp(200px, 32vh, 420px); }
.radio.is-full .editor__body { min-height: 0; }
.radio.is-full .radio__dock { flex-shrink: 0; }
body.radio-full { overflow: hidden; }
.radio:fullscreen { width: 100vw; height: 100vh; }

@keyframes drawerUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

@media (max-width: 1000px) {
  .radio__vol input[type="range"] { width: 72px; }
  .radio__live { grid-template-columns: 1fr; }
  .radio__code { max-height: 180px; }
}
@media (max-width: 760px) {
  :root { --dock-h: 68px; }
  .radio__wave, .radio__vol output, .radio__vol input[type="range"], .radio__transport [data-radio-prev] { display: none; }
  .radio__info { flex: 1; width: auto; }
  .radio__pill { padding: 9px 11px; font-size: 0; gap: 0; }
  .radio__pill--icon span { display: none; }
  .radio__pill svg { width: 16px; height: 16px; }
  .radio__drawer-head small { display: none; }
}


/* ---------- Focus mode: typing a prompt fades everything else ---------- */
.hero__canvas, .hero__orb, .hero__art, .nav { transition: opacity 700ms var(--ease), filter 700ms var(--ease); }
.hero.is-focus .hero__canvas { opacity: 0.05; }
.hero.is-focus .hero__orb { opacity: 0.35; }
.hero.is-focus .hero__art { opacity: 0.08; filter: blur(2px); }
.js.is-loaded .hero.is-focus .hero__copy > :not(.composer) { opacity: 0.1; filter: blur(3px); transition: opacity 600ms var(--ease) 0s, filter 600ms var(--ease) 0s; }
.js.is-loaded .hero:not(.is-focus) .hero__copy > :not(.composer) { transition: opacity 700ms var(--ease) 0s, filter 700ms var(--ease) 0s, transform 1.2s var(--ease) 0s; }
body.is-prompting .nav { opacity: 0.18; }
body.is-prompting .wa-fab, body.is-prompting .progress { opacity: 0; pointer-events: none; }
.wa-fab, .progress { transition: opacity 500ms var(--ease); }
.composer { transition: transform 600ms var(--ease); }
.hero.is-focus .composer { transform: scale(1.02); }
.hero.is-focus .composer__sheen { opacity: 1; }
.hero.is-focus .composer__panel { box-shadow: 0 50px 140px rgba(0,0,0,0.75), 0 0 0 1px rgba(255,199,1,0.25), 0 0 80px rgba(255,199,1,0.12); }

/* Live code assistant */
.radio__side, .livebar, .editor__bar, .editor__body, .editor__chain, .assist__chips { transition: opacity 500ms var(--ease), filter 500ms var(--ease); }
.radio__live.is-focus .radio__side, .radio__live.is-focus .livebar { opacity: 0.12; filter: blur(2px); }
.radio__live.is-focus .editor__bar, .radio__live.is-focus .editor__body, .radio__live.is-focus .editor__chain { opacity: 0.18; }
.radio__live.is-focus .assist { background: linear-gradient(90deg, rgba(255,199,1,0.14), rgba(255,199,1,0.02)); box-shadow: inset 0 -1px 0 rgba(255,199,1,0.4); }
.radio__live.is-focus .editor { border-color: rgba(255,199,1,0.45); }
.radio__drawer-head { transition: opacity 500ms var(--ease); }
.radio.is-assisting .radio__drawer-head { opacity: 0.25; }
@media (prefers-reduced-motion: reduce) { .hero.is-focus .hero__copy > :not(.composer), .radio__live.is-focus .radio__side { filter: none !important; } }


/* ---------- Prompt autocomplete ---------- */
.ac-host { position: relative; }
.ac-host > textarea, .ac-host > input { position: relative; z-index: 1; background: transparent; }
.ac-ghost { position: absolute; z-index: 0; pointer-events: none; color: transparent; overflow: hidden; border: 0 solid transparent; margin: 0; word-wrap: break-word; overflow-wrap: break-word; }
.ac-ghost .ac-typed { color: transparent; }
.ac-ghost .ac-rest { color: rgba(255,255,255,0.3); }
.ac-kbd { display: inline-block; margin-left: 8px; padding: 1px 6px; border-radius: 5px; border: 1px solid rgba(255,255,255,0.18); font: 500 10px/1.5 var(--font-mono); color: rgba(255,255,255,0.4); vertical-align: middle; transform: translateY(-2px); }
.ac-list {
  position: absolute; z-index: 20; margin: 0; padding: 6px; list-style: none; border-radius: 14px;
  background: rgba(22,22,30,0.98); border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 24px 60px rgba(0,0,0,0.6);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); animation: rise 180ms var(--ease) both; text-align: left;
}
.ac-list[hidden] { display: none; }
.ac-item { display: block; white-space: pre; overflow: hidden; text-overflow: ellipsis; padding: 9px 12px; border-radius: 9px; font-size: 14px; line-height: 1.4; cursor: pointer; color: var(--fg-3); }
.ac-item:hover, .ac-item.is-active { background: rgba(255,199,1,0.1); }
.ac-item__typed { color: var(--fg-2); white-space: pre; }
.ac-item__rest { color: #fff; font-weight: 500; white-space: pre; }
.ac-item.is-active .ac-item__rest { color: var(--yellow); }
.ac-item__kind { float: right; margin-left: 10px; line-height: 20px; font: 10px var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-4); }
.assist .ac-list { font-size: 13px; }

/* =========================================================
   MANIFESTO
   ========================================================= */
.manifesto { padding: clamp(120px, 16vw, 240px) var(--gutter); }
.manifesto__text { margin: 0 auto; max-width: 1100px; font-size: clamp(32px, 4.6vw, 64px); line-height: 1.15; font-weight: 500; letter-spacing: -0.035em; text-wrap: pretty; }
.manifesto__text .w { opacity: 0.16; transition: opacity 350ms var(--ease); }
.manifesto__text .w.is-lit { opacity: 1; }
.manifesto__text .w--q { color: var(--yellow); }

/* =========================================================
   ASK
   ========================================================= */
#ask .wrap { display: flex; flex-direction: column; gap: 56px; }
.ask-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ask-card {
  text-align: left; background-color: var(--bg-1); border: 1px solid var(--line-1); border-radius: 24px;
  padding: 30px; min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  cursor: pointer; color: #fff; position: relative;
  transition: border-color 240ms var(--ease), transform 300ms var(--ease), background-color 240ms var(--ease);
}
.ask-card:hover { border-color: rgba(255,199,1,0.45); transform: translateY(-4px); }
.ask-card__q { font-size: clamp(22px, 2vw, 27px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.2; text-wrap: pretty; }
.ask-card__r { font-size: 14px; color: var(--fg-3); display: inline-flex; gap: 6px; align-items: center; transition: color 200ms; }
.ask-card__r .arrow { display: inline-block; transition: transform 300ms var(--ease); }
.ask-card:hover .ask-card__r { color: var(--fg-2); }
.ask-card:hover .arrow { transform: translateX(4px); color: var(--yellow); }

/* Cursor glow (cards + rows) */
.glow { background-image: radial-gradient(360px circle at var(--mx, -400px) var(--my, -400px), rgba(255,199,1,0.09), rgba(255,199,1,0) 60%); }

/* =========================================================
   STUDIOS
   ========================================================= */
.studios { padding: 0 var(--gutter); }
.stage { position: relative; margin-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(64px, 8vw, 120px); }
.stage__glow { position: absolute; left: 50%; top: 46%; width: 80%; height: 70%; transform: translate(-50%, -50%); pointer-events: none; background: radial-gradient(ellipse at center, rgba(255,199,1,0.2) 0%, rgba(255,199,1,0.05) 40%, rgba(255,199,1,0) 70%); }
.stage__tilt { position: relative; transform-origin: center top; will-change: transform, opacity; }
.stage__tilt > img { width: 100%; max-width: 1100px; height: auto; margin: 0 auto; filter: drop-shadow(0 40px 60px rgba(0,0,0,0.6)); }
.stage__line { position: absolute; left: 50%; bottom: clamp(40px, 6vw, 96px); width: 70%; height: 1px; transform: translateX(-50%); background: linear-gradient(to right, rgba(255,199,1,0), rgba(255,199,1,0.7), rgba(255,199,1,0)); }

.float {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 11px 18px 11px 11px; border-radius: 999px;
  background: rgba(20,20,26,0.72); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 18px 40px rgba(0,0,0,0.45); white-space: nowrap;
  animation: float var(--fd, 5s) ease-in-out var(--fdl, 0s) infinite;
}
.float--a { left: 2%;  top: 14%;    --fd: 5s; --fdl: 0s; }
.float--b { right: 2%; top: 8%;     --fd: 6s; --fdl: .8s; }
.float--c { left: 5%;  bottom: 14%; --fd: 7s; --fdl: 1.6s; }
.float--d { right: 4%; bottom: 20%; --fd: 8s; --fdl: 2.4s; }
.float__icon { width: 32px; height: 32px; border-radius: 999px; background: var(--bg-3); display: grid; place-items: center; }
.float__icon span { width: 9px; height: 9px; border-radius: 999px; background: var(--yellow); }
.float__icon--yellow { background: var(--yellow); }
.float__icon--yellow span { background: var(--bg-0); }
.float__txt { display: flex; flex-direction: column; gap: 2px; }
.float__txt b { font-size: 14px; font-weight: 600; }
.float__txt small { font-size: 12px; color: var(--fg-3); }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line-2); }
.stat { padding: 44px 8px; display: flex; flex-direction: column-reverse; gap: 8px; align-items: center; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 28%; bottom: 28%; width: 1px; background: var(--line-1); }
.stat dd { font-size: clamp(40px, 4.4vw, 60px); font-weight: 600; letter-spacing: -0.05em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.stat dt { font-size: 14px; color: var(--fg-3); }

/* =========================================================
   SPLIT / SCALE
   ========================================================= */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.split__body { display: flex; flex-direction: column; gap: 28px; }
.photo-card { position: relative; aspect-ratio: 4 / 5; border-radius: 32px; overflow: hidden; background: var(--bg-2); }
.photo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% center; transform: scale(1.06); transition: transform 1.6s var(--ease); }
.photo-card.is-in img { transform: scale(1); }
.photo-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(10,10,15,0) 55%, rgba(10,10,15,0.88) 100%); }
.photo-card__cap { position: absolute; left: 28px; right: 28px; bottom: 28px; z-index: 1; display: flex; align-items: baseline; gap: 14px; }
.photo-card__from { font-size: 20px; color: var(--fg-3); }
.photo-card__arrow { font-size: 16px; color: var(--fg-4); }
.photo-card__to { font-size: 56px; font-weight: 600; letter-spacing: -0.05em; color: var(--yellow); line-height: 1; }
.photo-card__unit { font-size: 15px; color: var(--fg-2); }

.svc li {
  display: flex; justify-content: space-between; gap: 24px; padding: 18px 0; border-top: 1px solid var(--line-2);
  transition: padding 300ms var(--ease);
}
.svc li:last-child { border-bottom: 1px solid var(--line-2); }
.svc li span:first-child { font-size: 19px; font-weight: 500; transition: color 200ms; }
.svc li span:last-child { font-size: 15px; color: var(--fg-3); }
.svc li:hover { padding-left: 10px; }
.svc li:hover span:first-child { color: var(--yellow); }

/* =========================================================
   WORK
   ========================================================= */
#work .wrap { display: flex; flex-direction: column; gap: 56px; }
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.video { background: var(--bg-1); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line-1); transition: border-color 240ms var(--ease), transform 300ms var(--ease); }
.video:hover { border-color: rgba(255,255,255,0.14); transform: translateY(-3px); }
.video__media { position: relative; aspect-ratio: 16 / 9; background: var(--bg-2); overflow: hidden; }
.video__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__btn { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer; background: var(--bg-2); }
.video__btn img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease); }
.video:hover .video__btn img { transform: scale(1.04); }
.video__btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(10,10,15,0) 40%, rgba(10,10,15,0.7) 100%); }
.video__play { position: absolute; left: 18px; bottom: 18px; z-index: 1; width: 50px; height: 50px; border-radius: 999px; background: rgba(255,255,255,0.92); display: grid; place-items: center; transition: transform 300ms var(--ease), background 200ms; }
.video__play::before { content: ""; width: 0; height: 0; border-left: 14px solid var(--bg-0); border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 4px; }
.video:hover .video__play { transform: scale(1.1); background: var(--yellow); }
.video__meta { padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.video__meta div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.video__meta b { font-size: 17px; font-weight: 600; }
.video__meta small { font-size: 13px; color: var(--fg-3); }
.tag { font-size: 12px; color: var(--fg-3); padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-2); flex-shrink: 0; }

.spotify { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: -24px; }
.spotify__card { display: flex; align-items: center; gap: 16px; padding: 22px 24px; border-radius: 16px; background: var(--bg-1); border: 1px solid var(--line-1); color: #fff; transition: border-color 200ms var(--ease); }
.spotify__card:hover { border-color: rgba(29,185,84,0.5); color: #fff; }
.spotify__txt { display: flex; flex-direction: column; gap: 2px; }
.spotify__txt b { font-size: 17px; font-weight: 600; }
.spotify__txt small { font-size: 13px; color: var(--fg-3); }
.spotify iframe { width: 100%; border: 0; border-radius: 16px; background: var(--bg-1); }

.marquee { margin-top: 8px; display: flex; flex-direction: column; gap: 24px; }
.marquee__label { text-align: center; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-4); }
.marquee__mask { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 56px; width: max-content; align-items: center; animation: marquee 50s linear infinite; }
.marquee__mask:hover .marquee__track { animation-play-state: paused; }
.marquee__track li { flex-shrink: 0; width: 150px; height: 64px; display: flex; align-items: center; justify-content: center; opacity: 0.7; transition: opacity 200ms; }
.marquee__track li:hover { opacity: 1; }
.marquee__track img { max-width: 150px; max-height: 64px; width: auto; height: auto; object-fit: contain; border-radius: 6px; }

/* =========================================================
   INTELLIGENCE
   ========================================================= */
.intel { position: relative; padding: clamp(120px, 14vw, 200px) var(--gutter); background: var(--bg-deep); border-top: 1px solid var(--line-1); overflow: hidden; }
.intel__orbit { position: absolute; right: -260px; top: -180px; width: 900px; height: 900px; opacity: 0.35; pointer-events: none; }
.intel__inner { position: relative; display: flex; flex-direction: column; gap: 64px; }
.research__row {
  display: grid; grid-template-columns: 90px minmax(0, 1.2fr) minmax(0, 1.6fr) 140px; gap: 24px; align-items: center;
  padding: 30px 20px; border-top: 1px solid var(--line-2); border-radius: 4px; transition: background-color 300ms;
}
.research__row:last-child { border-bottom: 1px solid var(--line-2); }
.research__n { font-family: var(--font-mono); font-size: 13px; color: var(--fg-3); transition: color 200ms; }
.research__row:hover .research__n { color: var(--yellow); }
.research__row h3 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; }
.research__row p { font-size: 16px; line-height: 1.5; color: var(--fg-3); }
.badge { justify-self: end; font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.badge--info { background: var(--info-soft); color: var(--info); }
.badge--yellow { background: rgba(255,199,1,0.14); color: var(--yellow); }
.badge--warn { background: var(--warn-soft); color: var(--warn); }

.partner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.partner__logos { background: #fff; border-radius: 16px; padding: 14px 22px; display: flex; align-items: center; gap: 18px; }
.partner__logos img { width: auto; }
.partner__logos img:first-child { height: 26px; }
.partner__logos img:last-child { height: 40px; }
.partner__logos span { width: 1px; height: 36px; background: rgba(0,0,0,0.15); }
.partner__note { font-size: 14px; color: var(--fg-3); }

/* =========================================================
   MAP
   ========================================================= */
.section:has(.map) .wrap { display: flex; flex-direction: column; gap: 48px; }
.map { position: relative; width: 100%; aspect-ratio: 1680 / 520; }
.map__base { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.8; }
.map__layer { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.map__route { stroke: rgba(255,199,1,0.6); stroke-width: 2; stroke-dasharray: 6 8; stroke-linecap: round; animation: dash 1.6s linear infinite; }
.map__city { fill: #fff; font-family: var(--font-sans); font-size: 30px; font-weight: 600; }
.map__city--hq { font-size: 36px; font-weight: 700; }
.map__status { fill: var(--yellow); font-family: var(--font-mono); font-size: 22px; }
.pulse { transform-box: fill-box; transform-origin: center; animation: pulse 3s ease-out infinite; }

/* =========================================================
   INVESTORS
   ========================================================= */
.investors { padding: clamp(120px, 14vw, 200px) var(--gutter); background: var(--bg-1); }
.investors__inner { display: flex; flex-direction: column; gap: 64px; }
.investors__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.investors__aside { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }

.roadmap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); position: relative; }
.roadmap li { padding: 28px 24px 0 0; display: flex; flex-direction: column; gap: 10px; position: relative; }
.roadmap li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 999px; background: var(--bg-1); border: 1.5px solid var(--fg-4); }
.roadmap li.is-now::before, .roadmap li.is-goal::before { background: var(--yellow); border-color: var(--yellow); box-shadow: 0 0 0 5px rgba(255,199,1,0.15); }
.roadmap__when { font-family: var(--font-mono); font-size: 12px; color: var(--fg-3); }
.roadmap li.is-now .roadmap__when, .roadmap li.is-goal .roadmap__when { color: var(--yellow); }
.roadmap b { font-size: 20px; font-weight: 600; }
.roadmap li > span:last-child { font-size: 14px; line-height: 1.5; color: var(--fg-3); }

.founders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.founder { background: var(--bg-0); border-radius: 24px; overflow: hidden; display: grid; grid-template-columns: 190px minmax(0, 1fr); border: 1px solid var(--line-1); transition: border-color 240ms var(--ease); }
.founder:hover { border-color: rgba(255,199,1,0.3); }
.founder > img { width: 100%; height: 100%; min-height: 230px; object-fit: cover; background: var(--bg-2); filter: grayscale(0.25); transition: filter 400ms var(--ease); }
.founder:hover > img { filter: none; }
.founder__body { padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.founder__body h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.founder__role { font-size: 14px; color: var(--yellow); }
.founder__body p { font-size: 14px; line-height: 1.5; color: var(--fg-3); }
.founder__body a { font-size: 13px; font-weight: 600; margin-top: auto; padding-top: 10px; }

.backers { display: flex; gap: 8px 16px; align-items: center; flex-wrap: wrap; }
.backers__label { font-size: 14px; color: var(--fg-3); }
.backers ul { display: flex; flex-wrap: wrap; gap: 8px; }
.backers li { font-size: 13px; font-weight: 500; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-3); color: var(--fg-2); transition: border-color 200ms, color 200ms; }
.backers li:hover { border-color: rgba(255,199,1,0.5); color: #fff; }
.backers li.is-key { border-color: var(--yellow); color: #fff; }

/* =========================================================
   CTA + FOOTER
   ========================================================= */
.cta { position: relative; padding: clamp(140px, 16vw, 240px) var(--gutter); text-align: center; overflow: hidden; isolation: isolate; }
.cta__orb { position: absolute; left: 50%; top: 100%; width: min(1200px, 140vw); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 999px; z-index: -1; pointer-events: none; background: radial-gradient(circle, rgba(255,199,1,0.22) 0%, rgba(255,199,1,0.05) 40%, rgba(255,199,1,0) 65%); }
.cta__inner { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 34px; }
.cta__title { font-size: clamp(48px, 8vw, 112px); line-height: 0.95; font-weight: 600; letter-spacing: -0.055em; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

.footer { border-top: 1px solid var(--line-1); padding: 56px var(--gutter) 40px; }
.footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.footer__brand { display: flex; flex-direction: column; gap: 12px; }
.footer__brand img { height: 24px; width: auto; align-self: flex-start; }
.footer__brand span { font-size: 13px; color: var(--fg-3); }
.footer__cols { display: flex; gap: clamp(28px, 5vw, 72px); flex-wrap: wrap; font-size: 14px; }
.footer__cols > div { display: flex; flex-direction: column; gap: 10px; }
.footer__cols h4 { font-size: 14px; font-weight: 400; color: var(--fg-4); margin-bottom: 2px; }
.footer__cols a { color: var(--fg-3); }
.footer__cols a:hover { color: #fff; }
.footer__legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-1); font-size: 12px; color: var(--fg-4); }

.wa-fab {
  position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 60;
  width: 56px; height: 56px; border-radius: 999px; background: var(--wa); display: grid; place-items: center;
  box-shadow: 0 12px 32px rgba(0,0,0,0.5); transition: transform 200ms var(--ease), opacity 300ms var(--ease);
}
.wa-fab:hover { transform: scale(1.08); }
.wa-fab.is-hidden { opacity: 0; transform: scale(0.8); pointer-events: none; }

/* =========================================================
   REVEAL (JS adds .js to <html>)
   ========================================================= */
.js [data-reveal] { opacity: 0; transform: translateY(28px); filter: blur(8px); transition: opacity 1.1s var(--ease) var(--rd, 0ms), transform 1.1s var(--ease) var(--rd, 0ms), filter 1.1s var(--ease) var(--rd, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
.js .hero__copy > * { opacity: 0; transform: translateY(26px); filter: blur(14px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease), filter 1.2s var(--ease); }
.js .hero__copy > :nth-child(1) { transition-delay: 100ms; }
.js .hero__copy > :nth-child(2) { transition-delay: 240ms; }
.js .hero__copy > :nth-child(3) { transition-delay: 380ms; }
.js .hero__copy > :nth-child(4) { transition-delay: 520ms; }
.js .hero__copy > :nth-child(5) { transition-delay: 660ms; }
.js.is-loaded .hero__copy > * { opacity: 1; transform: none; filter: none; }

/* =========================================================
   KEYFRAMES
   ========================================================= */
@keyframes breath { 0%,100% { transform: translate(-50%,-50%) scale(1); opacity: .85; } 50% { transform: translate(-50%,-50%) scale(1.12); opacity: 1; } }
@keyframes float { 0%,100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes bar { 0%,100% { transform: scaleY(0.25); } 50% { transform: scaleY(1); } }
@keyframes sheen { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes blink { 50% { opacity: 0.25; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes dash { to { stroke-dashoffset: -28; } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes goPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255,199,1,0.45); } 50% { box-shadow: 0 0 0 10px rgba(255,199,1,0); } }
@keyframes micRing { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes waPing { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.55); } 70%,100% { box-shadow: 0 0 0 8px rgba(37,211,102,0); } }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .ask-grid, .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .research__row { grid-template-columns: 60px minmax(0, 1fr) minmax(0, 1.3fr) auto; }
}
@media (max-width: 1000px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .split, .investors__head, .founders { grid-template-columns: 1fr; }
  .roadmap { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .photo-card { max-height: 640px; }
}
@media (max-width: 760px) {
  .ask-grid, .video-grid, .spotify { grid-template-columns: 1fr; }
  .spotify { margin-top: 0; }
  .float, .hero__eras, .map__city, .map__status { display: none; }
  .hero { padding-top: 112px; min-height: auto; }
  .composer__bar { align-items: flex-end; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat + .stat::before { display: none; }
  .research__row { grid-template-columns: auto 1fr; row-gap: 10px; padding: 24px 4px; }
  .research__row p { grid-column: 1 / -1; }
  .research__row .badge { grid-column: 1 / -1; justify-self: start; }
  .founder { grid-template-columns: 1fr; }
  .founder > img { min-height: 260px; max-height: 300px; }
  .svc li { flex-direction: column; gap: 4px; }
}
@media (hover: none) { .hero__spot { 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; }
  .js [data-reveal], .js .hero__copy > * { opacity: 1; transform: none; filter: none; }
  .manifesto__text .w { opacity: 1; }
}
