/* ==========================================================================
   Bricktone — Pure Obsidian Spatial Product Launch
   Art Direction: Linear × Resend × Raycast × Bricktone 4px Hardware Zen
   Pure obsidian void (#030406), studio PBR 3D floating sculptures, diagonal
   fluted-glass light beams, moonlight hairline planes, achromatic typography,
   and Bricktone's authentic 4px machined instruments.
   ========================================================================== */

@font-face {
  font-family: 'MiSans';
  src: url('../shared/public/fonts/misans/MiSans-Regular.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'MiSans';
  src: url('../shared/public/fonts/misans/MiSans-Medium.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'MiSans';
  src: url('../shared/public/fonts/misans/MiSans-Demibold.woff2') format('woff2');
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
}
@font-face {
  font-family: 'Bricktone Digital';
  src: url('../shared/ui/fonts/bricktone-digital.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Bricktone Console Italic';
  src: url('../shared/ui/fonts/DSEG7Classic-BoldItalic.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  /* True Obsidian Achromatic Surface Ladder (Linear / Resend Discipline) */
  --void: #030406;
  --surface-0: #08090c;
  --surface-1: #0d0f13;
  --surface-2: #13161b;
  --surface-3: #1b1f26;
  --surface-4: #242932;
  --surface-5: #2d333e;

  /* Bricktone Hardware Aliases */
  --ui-neutral-1: #050608;
  --ui-neutral-2: #0a0c10;
  --ui-neutral-3: #12151a;
  --ui-neutral-4: #181c22;
  --ui-neutral-5: #1f242c;
  --ui-neutral-6: #262b34;
  --ui-neutral-7: #2d333d;
  --ui-neutral-8: #343b46;
  --ui-neutral-9: #3c4450;
  --ui-neutral-10: #454e5b;
  --ui-neutral-12: #7c8593;
  --ui-neutral-13: #a8b1be;
  --ui-neutral-14: #e6e9ee;
  --ui-neutral-15: #f6f8fa;

  --ui-bg: var(--surface-2);
  --ui-control: var(--surface-3);
  --ui-divider: rgba(255, 255, 255, 0.065);
  --ui-surface: var(--surface-4);
  --ui-raised: var(--surface-5);
  --ui-hover: #353c48;

  /* Moonlight Hairline Borders */
  --line-faint: rgba(255, 255, 255, 0.055);
  --line-subtle: rgba(255, 255, 255, 0.085);
  --line-mid: rgba(255, 255, 255, 0.14);
  --line-bright: rgba(255, 255, 255, 0.24);

  /* Ink */
  --ui-text: #f3f5f8;
  --ui-muted: #98a2b0;
  --ui-faint: #67707e;
  --ui-disabled-ink: #474f5c;
  --ui-on-accent: #050608;

  /* Precision Signal Accent (Used ONLY on hardware lamps, filaments & live audio traces) */
  --ui-accent: #39d5f5;
  --ui-accent-core: #9beafa;
  --ui-accent-text: #83e1f6;
  --ui-accent-soft: #1a3340;
  --ui-effect-indicator: #5de0cf;

  /* 8 Track Identity Hues (Muted Musical Precision) */
  --hue-rose: #ff72bc;
  --hue-peach: #ff9464;
  --hue-amber: #ffd05c;
  --hue-sage: #b8e85b;
  --hue-mint: #42e4ac;
  --hue-cyan: #39ddea;
  --hue-blue: #52a8ff;
  --hue-violet: #af88ff;

  /* State & Meter */
  --ui-success: #8dc5ae;
  --ui-meter-ok: #68ce9d;
  --ui-meter-warning: #e5c96a;
  --ui-meter-clip: #eea0a5;

  /* Shade & Specular */
  --ui-shade-9: rgba(0, 0, 0, 0.18);
  --ui-shade-15: rgba(0, 0, 0, 0.26);
  --ui-shade-19: rgba(0, 0, 0, 0.34);
  --ui-shade-25: rgba(0, 0, 0, 0.44);
  --ui-shade-40: rgba(0, 0, 0, 0.62);
  --ui-shade-47: rgba(0, 0, 0, 0.74);
  --ui-light-3: rgba(255, 255, 255, 0.03);
  --ui-light-4: rgba(255, 255, 255, 0.045);
  --ui-light-5: rgba(255, 255, 255, 0.06);
  --ui-light-7: rgba(255, 255, 255, 0.08);
  --ui-light-9: rgba(255, 255, 255, 0.11);
  --ui-light-12: rgba(255, 255, 255, 0.14);

  /* Hardware Materials */
  --ui-key-face: #1e232b;
  --ui-key-hover: #282e38;
  --ui-key-edge-light: rgba(255, 255, 255, 0.12);
  --ui-key-edge-dark: rgba(0, 0, 0, 0.65);
  --ui-key-contact-shadow: 0 2px 5px rgba(0, 0, 0, 0.42);
  --ui-key-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.03), inset -1px 0 0 rgba(0, 0, 0, 0.24), var(--ui-key-contact-shadow);
  --ui-key-pressed-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.6), inset 0 -1px 0 rgba(255, 255, 255, 0.03);
  --ui-capsule-thumb-edges: rgba(255, 255, 255, 0.14) rgba(0, 0, 0, 0.2) rgba(0, 0, 0, 0.7) rgba(255, 255, 255, 0.04);

  --ui-well-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.65), inset 0 -1px 0 rgba(255, 255, 255, 0.05);
  --ui-workbench-well-face: #090b0e;
  --ui-workbench-well-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.78), inset 0 -1px 0 rgba(255, 255, 255, 0.06);

  --ui-metal-face: #161a20;
  --ui-metal-brush: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='64' viewBox='0 0 320 64'%3E%3Cfilter id='b' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.018 .6' numOctaves='2' seed='12' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Cpath d='M0 0h320v64H0z' filter='url(%23b)' opacity='.08'/%3E%3C/svg%3E");
  --ui-metal-reflection: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 38%, rgba(0, 0, 0, 0.18) 80%, rgba(255, 255, 255, 0.02));
  --ui-cable-floor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Ccircle cx='2' cy='2' r='.8' fill='%23020305' fill-opacity='.85'/%3E%3Ccircle cx='6' cy='6' r='.8' fill='%23020305' fill-opacity='.85'/%3E%3Cpath d='M1.15 2.3 Q2 3.1 2.85 2.3 M5.15 6.3 Q6 7.1 6.85 6.3' fill='none' stroke='%23ffffff' stroke-opacity='.09' stroke-width='.5'/%3E%3C/svg%3E");

  --ui-monitor-bezel: #12151a;
  --ui-monitor-face: #07090c;
  --ui-monitor-top: #050709;

  --ui-display-color: #f3a966;
  --ui-display-center: #ffd2a8;
  --ui-engraved-ink: #dcf4fa;
  --ui-engraved-muted: #727b88;
  --ui-jack-copper: #c09168;
  --ui-jack-copper-hi: #f5dec4;
  --ui-jack-copper-cut: #382417;

  /* Pure Flat Modern Dark Surface Ladder (Linear / Raycast / Resend) */
  --flat-card: #0a0c10;
  --flat-surface: #11151d;
  --flat-hover: #171c27;
  --flat-border: rgba(255, 255, 255, 0.08);
  --flat-border-hover: rgba(255, 255, 255, 0.17);

  /* Strict Bricktone Machined Radii */
  --radius-ctrl: 4px;
  --radius-note: 2px;

  /* Typography */
  --font-display: 'Space Grotesk', 'Inter', 'MiSans', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', sans-serif;
  --font-sans: 'Inter', 'MiSans', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Segoe UI', sans-serif;
  --font-lettering: 'JetBrains Mono', 'MiSans', ui-monospace, monospace;
  --font-mono: 'JetBrains Mono', 'Cascadia Code', ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-digital: 'Bricktone Digital', 'JetBrains Mono', monospace;
  --lettering-tilt: -7.125deg;
  --lettering-edge: 0 -0.5px 0 rgba(0, 0, 0, 0.8), 0 0.5px 0 rgba(255, 255, 255, 0.06);

  /* Layout */
  --container-max: 1224px;
  --nav-height: 54px;
}

/* ==========================================================================
   Base — Pure Obsidian Void + Authentic Cinema Grain
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  color-scheme: dark;
  background: var(--void);
  color: var(--ui-text);
  font-family: var(--font-sans);
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--void);
  color: var(--ui-text);
  overflow-x: hidden;
  line-height: 1.6;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

/* Subtle photographic cinema grain across obsidian void */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 800;
  pointer-events: none;
  opacity: 0.032;
  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='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* Whisper-quiet distant studio dust motes (NO laser grids, NO cartoon starfields) */
#ambient-dust-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

main, header, footer { position: relative; z-index: 2; }

::selection { background: rgba(255, 255, 255, 0.16); color: #fff; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
:is(button, a[href], input, [role=button]):focus { outline: none; }
:is(button, a[href], input, [role=button]):focus-visible { outline: 1px solid rgba(255, 255, 255, 0.35); outline-offset: 2px; }

/* 4px Hardware Layout Grid Overlay */
body.show-grid::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  color: var(--ui-accent);
  opacity: 0.14;
  background-image:
    linear-gradient(to right, currentColor 1px, transparent 1px),
    linear-gradient(to bottom, currentColor 1px, transparent 1px);
  background-size: 4px 4px;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 32px;
}

/* ==========================================================================
   Typography Voices
   ========================================================================== */
.bt-lettering {
  display: inline-block;
  font-family: var(--font-lettering);
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transform: skewX(var(--lettering-tilt));
  transform-origin: center;
  text-shadow: var(--lettering-edge);
}

.bt-legend {
  --legend-signal: #d6dde6;
  display: inline-block;
  font-family: var(--font-lettering);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--legend-signal);
  transform: skewX(var(--lettering-tilt));
  transform-origin: center;
  text-shadow: var(--lettering-edge);
}

.digital-num {
  font-family: var(--font-digital);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   Obsidian Machined Hardware Primitives (Linear / Resend Restraint + Bricktone 4px)
   ========================================================================== */
.bt-well {
  border-radius: var(--radius-ctrl);
  background: var(--surface-1);
  box-shadow: var(--ui-well-shadow);
}

.bt-deep-well {
  border-radius: var(--radius-ctrl);
  background: var(--ui-workbench-well-face);
  box-shadow: var(--ui-workbench-well-shadow);
}

/* Pure Flat Modern Dark Cards (Linear / Resend Discipline) */
.bt-panel {
  position: relative;
  border-radius: 12px;
  background: var(--flat-card);
  border: 1px solid var(--flat-border);
  box-shadow: none;
}

/* Restrained radial hover sheen across flat cards */
.bt-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 260ms ease;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.03), transparent 60%);
}
.bt-panel:hover::before { opacity: 1; }

/* Flat Modern Web Action Buttons */
.bt-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 32px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
  background: var(--flat-surface);
  box-shadow: none;
  color: #dbe2ee;
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
  user-select: none;
  transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease;
}
.bt-key:hover:not(:disabled) {
  background: var(--flat-hover);
  border-color: var(--flat-border-hover);
  color: #ffffff;
}
.bt-key:active:not(:disabled) {
  background: #0d1016;
}
.bt-key.lg { height: 42px; padding: 0 22px; font-size: 14px; font-weight: 500; border-radius: 8px; }

/* High-Contrast Flat White Primary CTA */
.bt-key.bone {
  background: #f8fafc;
  border: 1px solid #f8fafc;
  color: #05070b;
  font-weight: 600;
  box-shadow: none;
}
.bt-key.bone:hover:not(:disabled) {
  background: #ffffff;
  border-color: #ffffff;
  color: #000000;
  box-shadow: none;
}
.bt-key.bone:active:not(:disabled) {
  background: #e2e8f0;
  box-shadow: none;
}

/* Flat Translucent Secondary CTA */
.bt-key.ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e6ebf2;
  box-shadow: none;
}
.bt-key.ghost:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.24);
  color: #ffffff;
}

.bt-key.is-lit {
  background: rgba(57, 213, 245, 0.14);
  border-color: rgba(57, 213, 245, 0.45);
  color: #9beafa;
  box-shadow: none;
}

/* Flat Modern Segmented Tabs */
.bt-choice-group {
  display: inline-flex; align-items: stretch; padding: 3px; gap: 2px; height: 34px;
  border-radius: 8px; background: #07090d;
  border: 1px solid var(--flat-border);
  box-shadow: none;
}
.bt-choice-group.compact { height: 30px; padding: 2px; gap: 2px; border-radius: 8px; }
.bt-choice {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 100%; padding: 0 11px;
  border: 0; border-radius: 6px; background: transparent; color: #8c97a8; font-size: 12px; font-weight: 500; white-space: nowrap;
  transition: color 130ms ease, background-color 130ms ease;
}
.bt-choice:hover:not(.is-active) { color: #eef2f7; background: rgba(255, 255, 255, 0.04); }
.bt-choice.is-active {
  background: #191f2b;
  border: 0;
  border-radius: 6px;
  box-shadow: none;
  color: #ffffff;
}

/* Flat Range Slider */
.bt-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: #1b212e;
  border: 0;
  box-shadow: none;
  cursor: pointer;
}
.bt-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #f8fafc;
  border: 2px solid #0a0c10;
  box-shadow: none;
  cursor: pointer;
}
.bt-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #f8fafc;
  border: 2px solid #0a0c10;
  cursor: pointer;
}

/* Bricktone 60x28px Capsule Switch */
.bt-capsule {
  position: relative; display: inline-flex; align-items: center; width: 56px; height: 26px; padding: 0; border: 1px solid var(--line-faint);
  border-radius: var(--radius-ctrl); background: var(--ui-workbench-well-face); box-shadow: var(--ui-workbench-well-shadow); flex: none;
}
.bt-capsule-on, .bt-capsule-off {
  position: absolute; top: 0; bottom: 0; width: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-lettering); font-size: 9px; color: #4e5663; pointer-events: none;
}
.bt-capsule-on { left: 0; } .bt-capsule-off { right: 0; }
.bt-capsule-thumb {
  position: absolute; top: 2px; bottom: 2px; left: 2px; width: calc(50% - 3px);
  display: flex; align-items: center; justify-content: center; border: 1px solid; border-color: var(--ui-capsule-thumb-edges);
  border-radius: var(--radius-ctrl); background: var(--surface-3); box-shadow: var(--ui-key-contact-shadow);
  transition: transform 160ms ease;
}
.bt-capsule[aria-checked="false"] .bt-capsule-thumb { transform: translateX(25px); }
.bt-capsule-thumb > i { position: relative; display: block; width: 10px; height: 2px; border-radius: 1px; background: #4a5360; }
.bt-capsule[aria-checked="true"] .bt-capsule-thumb > i { background: var(--ui-accent); box-shadow: 0 0 6px rgba(57, 213, 245, 0.7); }

/* Flat Status Dot */
.bt-lamp {
  --lamp-color: var(--ui-accent);
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: #262d3a; box-shadow: none; flex: none;
  transition: background 120ms ease, box-shadow 120ms ease;
}
.bt-lamp[data-lit="true"] {
  background: var(--lamp-color);
  box-shadow: 0 0 8px color-mix(in srgb, var(--lamp-color) 55%, transparent);
}
.bt-lamp.sm { width: 6px; height: 6px; }

/* ==========================================================================
   1. Floating Smoked-Glass Navigation (Linear / Raycast 2026 Flagship)
   ========================================================================== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  padding: 14px 20px 0;
  pointer-events: none;
}

.site-nav .nav-inner {
  pointer-events: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 1180px;
  height: var(--nav-height);
  margin-inline: auto;
  padding: 0 10px 0 18px;
  border-radius: 14px;
  background: rgba(9, 11, 16, 0.64);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-nav.is-scrolled .nav-inner {
  background: rgba(7, 9, 13, 0.84);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.62),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.brand-lockup {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: opacity 160ms ease;
}
.brand-lockup:hover { opacity: 0.9; }
.brand-mark { width: 22px; height: 22px; transform: none; }
.brand-mark svg { width: 22px; height: 22px; display: block; }
.brand-wordmark {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #f8fafc;
  line-height: 1;
}

.nav-tabs {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.055);
}
.nav-tabs a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 13px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(226, 232, 240, 0.7);
  white-space: nowrap;
  transition: color 150ms ease, background-color 150ms ease;
}
.nav-tabs a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}
.nav-tabs a.is-current {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.nav-tools {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-grid-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(203, 213, 228, 0.72);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}
.nav-grid-btn:hover {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.15);
}
.nav-grid-btn[aria-checked="true"] {
  color: var(--ui-accent-text);
  background: rgba(57, 213, 245, 0.12);
  border-color: rgba(57, 213, 245, 0.36);
  box-shadow: 0 0 14px rgba(57, 213, 245, 0.14);
}

.site-nav .bt-choice-group.compact {
  height: 30px;
  padding: 2px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}
.site-nav .bt-choice {
  padding: 0 9px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(203, 213, 228, 0.64);
}
.site-nav .bt-choice.is-active {
  background: rgba(255, 255, 255, 0.13);
  border: 0;
  border-radius: 6px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.nav-divider {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.1);
  margin-inline: 2px;
}

.site-nav .nav-cta {
  height: 34px;
  padding: 0 15px;
  border-radius: 9px;
  background: linear-gradient(180deg, #ffffff 0%, #e7ecf3 100%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  color: #05070b;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: inset 0 1px 0 #ffffff, 0 4px 16px rgba(0, 0, 0, 0.36);
  transition: transform 140ms ease, box-shadow 160ms ease, background 160ms ease;
}
.site-nav .nav-cta:hover:not(:disabled) {
  background: #ffffff;
  border-color: #ffffff;
  color: #000000;
  transform: translateY(-0.5px);
  box-shadow: inset 0 1px 0 #ffffff, 0 6px 22px rgba(255, 255, 255, 0.16);
}

/* ==========================================================================
   2. HERO — Resend-Style Asymmetric Split + Floating 3D Obsidian Monolith
      + Diagonal Fluted-Glass Light Beam + Layered Linear Studio Workbench
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px 0 64px;
  background: var(--void);
}

/* Real 12-Track Bricktone DAW Backdrop — 100% Stationary Hardware Chassis + Far-Right to Near-Left Scrolling Notes */
@keyframes daw-notes-rush {
  from { transform: translate3d(0%, 0, 0); }
  to   { transform: translate3d(-11.111111%, 0, 0); }
}

.hero-daw-backdrop {
  --right-height: 1.55;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  min-height: 760px;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

/* Rock-solid stationary container (0.00px mouse wobble!) */
.hero-daw-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero-daw-warp {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  width: var(--wing-width);
  height: var(--wing-height);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 var(--frame-height));
}

.hero-daw-backdrop.is-warped .hero-daw-warp { display: block; }
.hero-daw-backdrop.is-warped { overflow: visible; }
.hero-daw-backdrop.is-warped .hero-daw-stage { overflow: hidden; }
.hero-daw-backdrop.is-warped .hero-daw-right { visibility: hidden; }
.hero-daw-wing-shade { display: none; }
.is-warped .hero-daw-vignette { clip-path: inset(0 var(--wing-width) 0 0); }
.is-warped .hero-daw-wing-shade {
  --hinge: calc(100% - var(--wing-width));
  --scale-x: calc(1 / var(--right-height));
  display: block;
  clip-path: inset(0 0 0 var(--hinge));
  transform-origin: var(--hinge) var(--wing-center);
  transform: perspective(var(--wing-width)) matrix3d(
    var(--scale-x), 0, calc(1 - var(--scale-x)), 0,
    0, 1, 0, 0,
    0, 0, 1, 0,
    0, 0, 0, 1
  );
}

/* Ultrawide 6784×1060 Plane — Strict Level Horizontal Axis (rotateX=0, rotateZ=0) + True 1-Point Perspective: Left NEAR/BIG -> Right FAR/SMALL (full right vertical coverage, zero black wedges) */
.hero-daw-plane {
  position: relative;
  left: -475px;
  top: -12px;
  width: 9088px;
  height: 1420px;
  flex: 0 0 auto;
  overflow: hidden;
  transform: perspective(1380px) rotateY(24deg);
  transform-origin: 10% 50%;
  opacity: 0.62;
  filter: saturate(1.08) contrast(1.02) brightness(0.86);
  user-select: none;
}

/* Stationary Left Hardware Chassis (672 / 6784 = 9.90566%) — ZERO overlap with scrolling lanes! */
.hero-daw-left {
  position: absolute;
  left: 0;
  top: 0;
  width: 9.90566%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
}

.hero-daw-left-img {
  width: 100%;
  height: 100%;
  display: block;
}

/* Ultrawide Receding Right Wing (6112 / 6784 = 90.09434% = exact 8 × 32-bar horizon) */
.hero-daw-right {
  position: absolute;
  left: 9.90566%;
  top: 0;
  width: 90.09434%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-daw-topbar {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 8.30189%;
  background: #202429;
  overflow: hidden;
}

.hero-daw-topbar-head {
  height: 100%;
  width: 9.19503%;
  display: block;
}

.hero-daw-overview {
  position: absolute;
  left: 0;
  top: 8.30189%;
  width: 100%;
  height: 4.81132%;
  background: url('./assets/hero-daw-overview.jpg?v=13') repeat-x 0 0 / 9.42408% 100%;
}

/* Synced Far-to-Near Scrolling Real Bricktone Bar Ruler + Section Markers (y=139..176) */
.hero-daw-ruler-viewport {
  position: absolute;
  left: 0;
  top: 13.11321%;
  width: 100%;
  height: 3.49057%;
  overflow: hidden;
}

.hero-daw-ruler-belt {
  position: absolute;
  top: 0;
  left: 0;
  width: 112.5%;
  height: 100%;
  background: url('./assets/hero-daw-ruler.jpg?v=13') repeat-x 0 0 / 11.111111% 100%;
  will-change: transform;
  animation: daw-notes-rush 20s linear infinite;
}

/* Continuous Far-to-Near Scrolling Real Bricktone 11-Track Clips & MIDI Notes (emerges tiny at far right -> rushes big past near left!) */
.hero-daw-lanes-viewport {
  position: absolute;
  left: 0;
  top: 16.60377%;
  width: 100%;
  height: 74.15094%;
  overflow: hidden;
}

/* Subtle recessed seam shadow so moving tracks tuck cleanly beneath the stationary Track Heads */
.hero-daw-lanes-viewport::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 20px;
  background: linear-gradient(to right, rgba(8, 10, 14, 0.72), transparent);
  pointer-events: none;
  z-index: 2;
}

.hero-daw-lanes-belt {
  position: absolute;
  top: 0;
  left: 0;
  width: 112.5%;
  height: 100%;
  background: url('./assets/hero-daw-lanes.jpg?v=13') repeat-x 0 0 / 11.111111% 100%;
  will-change: transform;
  animation: daw-notes-rush 20s linear infinite;
}

.hero-daw-bottom {
  position: absolute;
  left: 0;
  top: 90.75472%;
  width: 100%;
  height: 9.24528%;
  background: url('./assets/hero-daw-bottom.jpg?v=13') repeat-x 0 0 / auto 100%;
}

/* Authentic Crisp Stationary Bricktone Playhead Hairline (exact match to real Bricktone UI — zero weird sweeper!) */
.hero-daw-static-playhead {
  position: absolute;
  left: 3.48%;
  top: 13.11321%;
  height: 77.64151%;
  width: 1.5px;
  background: rgba(238, 246, 255, 0.86);
  z-index: 3;
}

.hero-daw-static-cap {
  position: absolute;
  top: 0;
  left: -3px;
  width: 7px;
  height: 8px;
  border-radius: 1px 1px 2px 2px;
  background: #5bdaf7;
}

/* Sculpted Studio Darkroom Vignette — keeps Left H1 razor-legible & Right 4×4 Cube deeply separated while the receding live timeline streams past */
.hero-daw-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 26% 45%, rgba(3, 4, 6, 0.90) 0%, rgba(3, 4, 6, 0.58) 54%, transparent 100%),
    radial-gradient(ellipse 24% 34% at 75% 40%, rgba(3, 4, 6, 0.42) 0%, rgba(3, 4, 6, 0.12) 64%, transparent 100%),
    linear-gradient(to right, rgba(3, 4, 6, 0.56) 0%, transparent 11%, transparent 86%, rgba(3, 4, 6, 0.78) 100%),
    linear-gradient(to bottom, rgba(3, 4, 6, 0.44) 0%, rgba(3, 4, 6, 0.02) 15%, rgba(3, 4, 6, 0.04) 64%, rgba(3, 4, 6, 0.92) 87%, #030406 100%);
}

.hero-top-split {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 28px;
  align-items: center;
  min-height: 520px;
  margin-bottom: 0;
}

.hero-scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(10, 12, 16, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #8f9cad;
  transition: color 150ms ease, border-color 150ms ease, background-color 150ms ease;
}
.hero-scroll-cue:hover {
  color: #ffffff;
  background: rgba(17, 21, 29, 0.9);
  border-color: rgba(255, 255, 255, 0.18);
}

.hero-editorial {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-editorial::before {
  content: '';
  position: absolute;
  inset: -64px -108px -56px -96px;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse 68% 66% at 46% 48%,
    rgba(3, 4, 6, 0.84) 0%,
    rgba(3, 4, 6, 0.66) 44%,
    rgba(3, 4, 6, 0.24) 72%,
    transparent 100%
  );
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  -webkit-mask-image: radial-gradient(
    ellipse 72% 70% at 46% 48%,
    #000 32%,
    rgba(0, 0, 0, 0.7) 58%,
    transparent 96%
  );
  mask-image: radial-gradient(
    ellipse 72% 70% at 46% 48%,
    #000 32%,
    rgba(0, 0, 0, 0.7) 58%,
    transparent 96%
  );
}

.hero-editorial > * {
  position: relative;
  z-index: 1;
}

/* Quiet Monochrome Editorial Kicker — Zero tacky neon border pill */
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  font-size: 11px;
  color: var(--ui-muted);
  letter-spacing: 0.14em;
}

.hero-editorial .hero-kicker {
  padding: 6px 13px 6px 10px;
  border-radius: 999px;
  background: rgba(14, 18, 26, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 4px 16px rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #cbd5e4;
  text-shadow: none;
}

.hero-kicker .bt-lettering {
  transform: none;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-shadow: none;
}

/* Monumental Crisp Monochrome Display Headline (Linear × Resend Authority) */
.hero-title {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.48vw, 2.28rem);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.024em;
  color: #f8fafc;
  text-shadow: 0 2px 18px rgba(3, 4, 6, 0.72);
}

html[lang="en"] .hero-title {
  font-size: clamp(1.6rem, 2.45vw, 2.3rem);
  line-height: 1.15;
  letter-spacing: -0.036em;
}

.hero-title .muted-line {
  color: #a4b0c2;
  font-size: 0.9em;
  font-weight: 500;
}

.hero-subtitle {
  max-width: 588px;
  margin: 0 0 24px;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.005em;
  color: #c4cedc;
  text-wrap: balance;
  text-shadow: 0 1px 12px rgba(3, 4, 6, 0.85);
}

/* Bricktone Frameless 7-Segment Release Clock */
.launch-countdown {
  display: inline-flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 28px;
  max-width: 100%;
}

.launch-countdown.is-centered {
  margin: 0 auto 30px;
  align-items: center;
}

.cd-hw-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-inline: 0;
  width: 100%;
}

.launch-countdown.is-centered .cd-hw-head {
  justify-content: center;
}

.cd-meta-left {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.cd-title {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #cbd5e4;
  text-shadow: 0 1px 10px rgba(3, 4, 6, 0.85);
}

.cd-date {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(186, 198, 216, 0.62);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 10px rgba(3, 4, 6, 0.85);
}

.bt-seven-well {
  --seven-height: 30px;
  --seven-width: calc(var(--seven-height) * 0.692);
  --lamp-color: var(--ui-accent);
  --seven-groove-face: #232932;
  --seven-emission-opacity: 0.56;
  --seven-emission-blur: 2.25px;
  --seven-core: color-mix(in srgb, var(--lamp-color) 42%, white);
  --seven-core-highlight: color-mix(in srgb, var(--lamp-color) 26%, white);
  --seven-core-shade: color-mix(in srgb, var(--lamp-color) 72%, white);
  display: flex;
  align-items: center;
  gap: 14px;
}

.cd-seven-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.cd-seg-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.cd-seg-digits {
  display: flex;
  align-items: center;
  gap: 2px;
  height: var(--seven-height);
}

.cd-seg-unit {
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(142, 156, 174, 0.62);
  line-height: 1;
  transform: skewX(var(--lettering-tilt));
}

.cd-seg-sep {
  display: flex;
  align-items: center;
  height: var(--seven-height);
  flex: none;
}

.bt7-digit {
  position: relative;
  isolation: isolate;
  width: var(--seven-width);
  height: var(--seven-height);
  flex: none;
}

.bt7-emission {
  position: absolute;
  inset: 0;
  opacity: var(--seven-emission-opacity);
  filter: blur(var(--seven-emission-blur));
  pointer-events: none;
}

.bt7-emission > .bt7-light {
  position: absolute;
  display: block;
  margin: 0;
  border: 0;
  background: transparent;
  pointer-events: none;
}

.bt7-emission > .bt7-light[data-lit="true"] {
  background: var(--lamp-color);
}

.bt7-digit > .bt7-emission > .bt7-light {
  inset: 0;
  width: 100%;
  height: 100%;
}

.bt7-digit > .bt7-lamp {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  display: block;
  border-radius: 0;
  background: #080d12;
  box-shadow: none;
  --segment-face: var(--seven-groove-face);
}

/* Exact DSEG7 Classic Bold Italic contours from daw/shared/ui/seven-segment-readout.css */
.bt7-digit > [data-segment="a"],
.bt7-emission > [data-light-segment="a"] {
  clip-path: polygon(17.774566% 3.100000%, 22.687861% 0.000000%, 89.884393% 0.000000%, 94.075145% 3.100000%, 79.479769% 12.400000%, 30.057803% 12.400000%);
  --segment-core-path: polygon(23.611075% 3.283966%, 24.287561% 2.857143%, 88.093022% 2.857143%, 88.217003% 2.948854%, 77.868406% 9.542857%, 31.877683% 9.542857%);
}
.bt7-digit > [data-segment="b"],
.bt7-emission > [data-light-segment="b"] {
  clip-path: polygon(95.953757% 4.500000%, 100.000000% 7.600000%, 94.797688% 49.000000%, 86.416185% 49.000000%, 85.838150% 48.600000%, 77.745665% 42.500000%, 81.358382% 13.800000%);
  --segment-core-path: polygon(95.683908% 8.555828%, 95.730961% 8.591878%, 91.012316% 46.142857%, 88.183252% 46.142857%, 82.016679% 41.494583%, 85.332712% 15.151488%);
}
.bt7-digit > [data-segment="c"],
.bt7-emission > [data-light-segment="c"] {
  clip-path: polygon(85.404624% 51.500000%, 86.127168% 51.100000%, 94.508671% 51.100000%, 89.306358% 92.400000%, 84.393064% 95.500000%, 72.254335% 86.200000%, 75.867052% 57.600000%);
  --segment-core-path: polygon(87.645837% 53.957143%, 90.004299% 53.957143%, 85.333143% 91.040406%, 84.676591% 91.454651%, 76.524119% 85.208693%, 79.841240% 58.948774%);
}
.bt7-digit > [data-segment="d"],
.bt7-emission > [data-light-segment="d"] {
  clip-path: polygon(82.225434% 96.900000%, 77.312139% 100.000000%, 10.115607% 100.000000%, 5.924855% 96.900000%, 20.520231% 87.600000%, 69.942197% 87.600000%);
  --segment-core-path: polygon(76.388925% 96.716034%, 75.712439% 97.142857%, 11.906978% 97.142857%, 11.782997% 97.051146%, 22.131594% 90.457143%, 68.122317% 90.457143%);
}
.bt7-digit > [data-segment="e"],
.bt7-emission > [data-light-segment="e"] {
  clip-path: polygon(4.046243% 95.500000%, 0.000000% 92.400000%, 5.202312% 51.000000%, 13.583815% 51.000000%, 14.161850% 51.500000%, 22.254335% 57.600000%, 18.641618% 86.200000%);
  --segment-core-path: polygon(4.316092% 91.444172%, 4.269039% 91.408122%, 8.987684% 53.857143%, 11.599403% 53.857143%, 17.894704% 59.302576%, 14.667816% 84.848176%);
}
.bt7-digit > [data-segment="f"],
.bt7-emission > [data-light-segment="f"] {
  clip-path: polygon(14.450867% 48.500000%, 13.728324% 49.000000%, 5.491329% 49.000000%, 10.693642% 7.600000%, 15.606936% 4.500000%, 27.745665% 13.800000%, 24.132948% 42.400000%);
  --segment-core-path: polygon(20.233742% 40.457638%, 12.018111% 46.142857%, 9.994756% 46.142857%, 14.667225% 8.959363%, 15.323409% 8.545349%, 23.475881% 14.791307%);
}
.bt7-digit > [data-segment="g"],
.bt7-emission > [data-light-segment="g"] {
  clip-path: polygon(75.289017% 43.800000%, 83.526012% 50.100000%, 73.843931% 56.200000%, 24.566474% 56.200000%, 16.329480% 50.000000%, 26.156069% 43.800000%);
  --segment-core-path: polygon(73.456686% 46.657143%, 77.702888% 49.904817%, 72.245939% 53.342857%, 26.379156% 53.342857%, 22.174927% 50.178327%, 27.755769% 46.657143%);
}

.bt7-digit > .bt7-lamp::after,
.bt7-punct > .bt7-lamp::after {
  content: '';
  position: absolute;
  inset: 0;
  clip-path: inherit;
  transform: translate(0.2px, 0.35px);
  background: var(--segment-face);
  pointer-events: none;
}

.bt7-digit > .bt7-lamp[data-lit="true"],
.bt7-punct > .bt7-lamp[data-lit="true"] {
  --segment-face: color-mix(in srgb, var(--lamp-color) 55%, #b7bfc9);
  background: #080d12;
  box-shadow: none;
}

.bt7-digit > .bt7-lamp[data-lit="true"]::before,
.bt7-punct > .bt7-lamp[data-lit="true"]::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  clip-path: var(--segment-core-path);
  transform: translate(0.2px, 0.35px);
  background: linear-gradient(135deg, var(--seven-core-highlight), var(--seven-core) 48%, var(--seven-core-shade));
  pointer-events: none;
}

.bt7-punct {
  position: relative;
  isolation: isolate;
  height: var(--seven-height);
  flex: none;
}
.bt7-punct[data-punctuation=":"] { width: calc(var(--seven-height) * 0.3); }
.bt7-punct[data-punctuation="."] { width: calc(var(--seven-height) * 0.2); }

.bt7-punct > .bt7-lamp,
.bt7-punct > .bt7-emission > .bt7-light {
  position: absolute;
  left: calc(50% - var(--seven-height) * 0.055);
  display: block;
  width: calc(var(--seven-height) * 0.11);
  height: calc(var(--seven-height) * 0.11);
  margin: 0;
  border-radius: 0;
  clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
}

.bt7-punct > .bt7-lamp {
  background: #080d12;
  box-shadow: none;
  --segment-face: var(--seven-groove-face);
  --segment-core-path: polygon(31.222109% 21.666667%, 75.577891% 21.666667%, 68.777891% 78.333333%, 24.422109% 78.333333%);
}

.bt7-punct > .is-upper,
.bt7-punct > .bt7-emission > .is-upper { top: 25%; left: calc(50% - var(--seven-height) * 0.032); }
.bt7-punct > .is-lower,
.bt7-punct > .bt7-emission > .is-lower { top: 60.7%; left: calc(50% - var(--seven-height) * 0.076); }
.bt7-punct > .is-point,
.bt7-punct > .bt7-emission > .is-point { bottom: 0; }

.cd-well-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  align-self: flex-start;
  height: var(--seven-height);
  min-width: 38px;
  padding-left: 2px;
}

.cd-well-top {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1;
  color: #7a8594;
  transform: skewX(var(--lettering-tilt));
}

.cd-well-notch {
  width: 24px;
  height: 1px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.cd-well-bot {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1;
  color: color-mix(in srgb, var(--ui-accent) 42%, white);
  text-shadow: 0 0 6px rgba(57, 213, 245, 0.45);
  transform: skewX(var(--lettering-tilt));
}

.launch-countdown.is-live {
  border-color: rgba(57, 213, 245, 0.34);
}

.launch-countdown.is-live .cd-title {
  color: var(--ui-accent-text);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions .bt-key.lg {
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.hero-actions .bt-key.ghost {
  background: rgba(14, 17, 23, 0.84);
  border-color: rgba(255, 255, 255, 0.16);
  color: #eef2f7;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.hero-platform-note {
  margin-top: 22px;
  transform: none;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: #96a2b4;
  letter-spacing: 0.12em;
  text-shadow: 0 1px 8px rgba(3, 4, 6, 0.9);
}

/* Right Column: True-Alpha 4×4 Cube + Moving Protruding Glass + Cell-to-Cell Wandering Light */
@keyframes monolith-hover {
  0%, 100% { transform: translate3d(0, 0px, 0); }
  50% { transform: translate3d(0, -12px, 0); }
}

.hero-sculpture-stage {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
  min-height: 510px;
}

/* Whisper-subtle atmospheric separation behind the levitating cube (zero blur filter cost) */
.cube-back-aura {
  position: absolute;
  width: min(500px, 94%);
  aspect-ratio: 1 / 1;
  top: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 42% 40%, rgba(92, 206, 238, 0.13) 0%, rgba(92, 206, 238, 0.04) 36%, transparent 72%);
  pointer-events: none;
  z-index: 0;
  transform: translate3d(var(--rim-x, 0px), var(--rim-y, 0px), 0);
  will-change: transform;
}

.monolith-parallax {
  position: relative;
  z-index: 2;
  width: min(520px, 100%);
  aspect-ratio: 1 / 1;
  transform: translate3d(var(--mono-tx, 0px), var(--mono-ty, 0px), 0);
  will-change: transform;
}

.monolith-float {
  position: relative;
  width: 100%;
  height: 100%;
  animation: monolith-hover 7.8s ease-in-out infinite;
  will-change: transform;
}

.monolith-fx-stage {
  position: relative;
  width: 100%;
  height: 100%;
  isolation: isolate;
}

/* Layer 1: Spotless True-Alpha 4×4 Obsidian Base Socket Chassis (zero per-frame drop-shadow stall) */
.monolith-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  user-select: none;
  pointer-events: none;
}

/* Layer 2: Perspective-Mapped Dual-Mask Wandering Optical Cavity Canvas */
.cube-cell-fx-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: auto;
  mix-blend-mode: screen;
  cursor: default;
}

/* Layers 3–5: Socket-Anchored 3D Smoked-Mirror Glass Pistons + Crystal Edge Refraction */
/* Pure compositor-thread transform + opacity animation (zero dynamic CSS filter rasterization!) */
.cube-glass-piece {
  position: absolute;
  display: block;
  pointer-events: none;
  user-select: none;
  will-change: transform;
  transform-origin: 68% 45%;
}
.cube-glass-img,
.cube-glass-glow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}
.cube-glass-img {
  filter: drop-shadow(3px 1px 4px rgba(0, 0, 0, 0.74));
}
.cube-glass-glow {
  mix-blend-mode: screen;
  opacity: 0.08;
  will-change: opacity;
}
.cube-glass-a  { left: 4.2969%;  top: 15.625%;  width: 21.875%;  height: 22.0703%; z-index: 3; }
.cube-glass-b1 { left: 25.3906%; top: 27.3438%; width: 12.1094%; height: 17.7734%; z-index: 4; }
.cube-glass-b2 { left: 36.5234%; top: 23.0469%; width: 12.3047%; height: 18.5547%; z-index: 5; }

/* Subtle Z-Foreground Floating Smoked-Glass Live Telemetry Ribbon */
.monolith-glass-strip {
  position: relative;
  margin-top: -12px;
  width: min(364px, 92%);
  padding: 8px 12px;
  border-radius: var(--radius-ctrl);
  background: rgba(10, 12, 16, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.82);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 6;
  transform: translate3d(var(--strip-tx, 0px), var(--strip-ty, 0px), 0);
  will-change: transform;
}

.monolith-strip-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  white-space: nowrap;
}
.monolith-strip-label { font-size: 9px; color: var(--ui-faint); }
.monolith-strip-val { font-family: var(--font-mono); font-size: 10.5px; color: #e2e7ee; }
.monolith-wave-wrap { flex: 1; height: 22px; overflow: hidden; min-width: 60px; }
.monolith-wave-wrap canvas { width: 100%; height: 100%; display: block; }

/* ==========================================================================
   Standalone Interactive Flat Studio Preview (Below the Fold)
   ========================================================================== */
.workbench-section {
  padding: 112px 0;
  position: relative;
}

.wb-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 40px;
}

.workbench-deck {
  position: relative;
  border-radius: 12px;
  background: var(--flat-card);
  border: 1px solid var(--flat-border);
  overflow: hidden;
}

.daw-frame {
  background: var(--flat-card);
}

/* Flat Studio Transport & Status Bar */
.wb-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 16px;
  background: #0d1016;
  border-bottom: 1px solid var(--flat-border);
}

.wb-top-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.wb-file-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 12px;
  border-radius: 7px;
  background: var(--flat-surface);
  border: 1px solid var(--flat-border);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: #e6ebf2;
}

.wb-badge-local {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(57, 213, 245, 0.08);
  border: 1px solid rgba(57, 213, 245, 0.22);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--ui-accent-text);
  white-space: nowrap;
}

.wb-transport-well {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border-radius: 8px;
  background: #07090d;
  border: 1px solid var(--flat-border);
}
.wb-transport-well .bt-key {
  height: 26px;
  padding: 0 11px;
  border-radius: 5px;
  border: 0;
  background: transparent;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  color: #8f9cad;
}
.wb-transport-well .bt-key:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}
.wb-transport-well .bt-key.is-lit {
  background: rgba(57, 213, 245, 0.14);
  color: #9beafa;
}

.wb-clock-well {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 32px;
  padding: 0 14px;
  border-radius: 7px;
  background: #07090d;
  border: 1px solid var(--flat-border);
}
.clock-item {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.clock-unit {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #6b7688;
}
.clock-val {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  color: #9beafa;
}
.clock-val.warm { color: #f8fafc; font-weight: 500; }
.clock-val.subtle { color: #94a1b5; font-weight: 500; }

.wb-meter-well {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 32px;
  padding: 0 12px;
  border-radius: 7px;
  background: #07090d;
  border: 1px solid var(--flat-border);
}
.discrete-meter { display: flex; flex-direction: column; gap: 3px; }
.discrete-meter-row { display: flex; gap: 3px; }
.discrete-meter-row .bt-lamp { width: 6px; height: 5px; border-radius: 1.5px; }
.wb-meter-db {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: #7d8899;
  min-width: 34px;
  text-align: right;
}

/* Clean Flat 2-Pane Body (Effect Chain + Timeline Tracks) */
.wb-body {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
  background: var(--flat-card);
}

.wb-col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 26px;
  margin-bottom: 10px;
}
.wb-col-title {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #9aa7ba;
}
.wb-col-hint {
  font-size: 11px;
  color: #636e80;
}

.wb-rack-col {
  padding: 14px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--flat-border);
}
.wb-rack-well {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rack-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  height: 52px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--flat-surface);
  border: 1px solid var(--flat-border);
  cursor: pointer;
  transition: background-color 130ms ease, border-color 130ms ease, opacity 130ms ease;
}
.rack-card:hover {
  background: var(--flat-hover);
  border-color: var(--flat-border-hover);
}
.rack-card.is-bypassed {
  background: #080a0e;
  opacity: 0.56;
}
.rack-card-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.rack-card-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--card-hue, var(--ui-accent));
  flex: none;
}
.rack-card.is-bypassed .rack-card-dot {
  background: #3a4250;
}
.rack-card-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rack-card-name {
  font-size: 12px;
  font-weight: 600;
  color: #edf2f7;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rack-card-param {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #778396;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rack-state-pill {
  flex: none;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(57, 213, 245, 0.1);
  border: 1px solid rgba(57, 213, 245, 0.25);
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  color: var(--ui-accent-text);
}
.rack-card.is-bypassed .rack-state-pill {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  color: #6b7688;
}

/* Arrangement Tracks Column */
.wb-arrange-col {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.wb-arrange-header {
  display: grid;
  grid-template-columns: 188px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}
.wb-arrange-header .wb-col-head { margin-bottom: 0; }

.wb-bar-ruler {
  height: 26px;
  border-radius: 6px;
  background: #07090d;
  border: 1px solid var(--flat-border);
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  align-items: center;
  overflow: hidden;
}
.wb-ruler-bar {
  height: 100%;
  padding-left: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: #6b7688;
}
.wb-ruler-bar:first-child { border-left: 0; }
.wb-ruler-marker {
  color: #cbd5e4;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.daw-timeline-shell {
  flex: 1;
  display: grid;
  grid-template-columns: 188px minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
}
.daw-track-heads {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.track-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: 52px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--flat-surface);
  border: 1px solid var(--flat-border);
  cursor: pointer;
  transition: background-color 130ms ease, border-color 130ms ease, opacity 130ms ease;
}
.track-head:hover {
  background: var(--flat-hover);
  border-color: var(--flat-border-hover);
}
.track-head.is-muted {
  background: #080a0e;
  opacity: 0.56;
}
.track-head-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.track-head-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--track-ink);
  flex: none;
}
.track-head.is-muted .track-head-dot { background: #3a4250; }
.track-head-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.track-head-name {
  font-size: 12px;
  font-weight: 600;
  color: #eef2f7;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.track-head-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #778396;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.track-mute-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: #8f9cad;
  flex: none;
}
.track-head.is-muted .track-mute-pill {
  background: rgba(238, 160, 165, 0.14);
  border-color: rgba(238, 160, 165, 0.35);
  color: #eea0a5;
}

.daw-lanes-well {
  position: relative;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
  border-radius: 8px;
  background-color: #07090d;
  background-image: repeating-linear-gradient(to right, rgba(255, 255, 255, 0.055) 0, rgba(255, 255, 255, 0.055) 1px, transparent 1px, transparent 12.5%);
  border: 1px solid var(--flat-border);
}
.daw-playhead {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0%;
  width: 1.5px;
  background: var(--ui-accent);
  box-shadow: 0 0 8px rgba(57, 213, 245, 0.55);
  z-index: 6;
  pointer-events: none;
}
.timeline-lane { position: relative; height: 52px; }

.glass-clip {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 6px;
  background: color-mix(in srgb, var(--track-ink) 8%, #0c1018);
  border: 1px solid color-mix(in srgb, var(--track-ink) 30%, rgba(255, 255, 255, 0.08));
  overflow: hidden;
}
.glass-clip.is-muted {
  opacity: 0.42;
  border-color: rgba(255, 255, 255, 0.08);
  background: #0b0e14;
}
.glass-clip.is-muted .midi-bar { background: #36404f; }
.glass-clip-band {
  height: 17px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--track-ink) 12%, transparent);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  color: color-mix(in srgb, var(--track-ink) 68%, white);
}
.glass-clip-notes { position: relative; height: calc(100% - 17px); }
.midi-bar {
  position: absolute;
  height: 3.5px;
  border-radius: 2px;
  background: color-mix(in srgb, var(--track-ink) 78%, white);
}
.midi-bar.is-hit {
  background: #ffffff;
  box-shadow: 0 0 8px var(--track-ink);
}

.daw-status-dock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 16px;
  border-top: 1px solid var(--flat-border);
  background: #0d1016;
}
.daw-spectrum-monitor {
  flex: 1;
  height: 28px;
  border-radius: 6px;
  background: #07090d;
  border: 1px solid var(--flat-border);
  overflow: hidden;
}
.daw-spectrum-monitor canvas { width: 100%; height: 100%; display: block; }
.daw-dock-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #778396;
  white-space: nowrap;
}

/* ==========================================================================
   3. Four-Pillar Proof Band (Free · Pure Local · KB Footprint · Zero Barrier)
   ========================================================================== */
.pillars-band {
  padding: 112px 0;
  border-top: 1px solid var(--line-faint);
  border-bottom: 1px solid var(--line-faint);
  background: var(--void);
}

.pillars-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 48px;
}

.pillars-quote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.45vw, 2.05rem);
  font-weight: 500;
  line-height: 1.44;
  letter-spacing: -0.02em;
  color: #f4f7fb;
}
html[lang="en"] .pillars-quote { letter-spacing: -0.03em; }
.pillars-quote em { font-style: normal; color: #8c99ad; }

.pillars-lead {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: #96a3b6;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--flat-border);
  border: 1px solid var(--flat-border);
  border-radius: 12px;
  overflow: hidden;
}

.pillar-card {
  padding: 26px 24px;
  background: #090b10;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background-color 180ms ease;
}
.pillar-card:hover { background: #0d1118; }

.pillar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.pillar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.085);
  color: var(--pillar-hue, var(--ui-accent-text));
}

.pillar-tag {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #707d91;
}

.pillar-val {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #f8fafc;
  font-variant-numeric: tabular-nums;
  margin-top: 4px;
}

.pillar-title {
  margin: 0;
  font-size: 14.5px;
  font-weight: 600;
  color: #edf2f8;
}

.pillar-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.68;
  color: #8491a4;
}

/* ==========================================================================
   Shared Chapter Architecture & Restraint
   ========================================================================== */
.chapter { padding: 140px 0; position: relative; }

.hairline-divider {
  height: 1px;
  width: 100%;
  background: var(--line-faint);
}

.chapter-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: #8290a4;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.chapter-num .bt-lettering {
  transform: none;
  font-family: var(--font-mono);
  font-weight: 500;
  text-shadow: none;
}

.chapter-title {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(1.95rem, 3.2vw, 2.75rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #f8fafc;
}
html[lang="en"] .chapter-title { line-height: 1.12; letter-spacing: -0.032em; }
.sticky-col .chapter-title { font-size: clamp(1.75rem, 2.65vw, 2.35rem); }
.chapter-lead { margin: 0; font-size: 15px; line-height: 1.82; color: #9aa7ba; }

.proof-list { display: flex; flex-direction: column; gap: 20px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line-faint); }
.proof-item { position: relative; padding-left: 16px; }
.proof-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 2px;
  border-radius: 1px;
  background: var(--item-hue, rgba(255, 255, 255, 0.25));
  opacity: 0.72;
}
.proof-item strong { display: block; font-size: 14px; font-weight: 600; color: #f3f5f8; margin-bottom: 4px; }
.proof-item span { display: block; font-size: 13px; line-height: 1.68; color: #8491a4; }

.module-deck { overflow: hidden; }
.module-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 16px;
  background: #0d1016;
  border-bottom: 1px solid var(--flat-border);
}
.module-head-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #e4eaf3;
}
.module-head-hint {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #778396;
  letter-spacing: 0.06em;
}
.module-body { padding: 16px; display: flex; flex-direction: column; gap: 14px; }

.studio-well {
  border-radius: 8px;
  background: #07090d;
  border: 1px solid var(--flat-border);
}

/* ==========================================================================
   4. CHAPTER 01 — Text-to-Sample & Multi-Octave Timbre Forge
   ========================================================================== */
.tts-header-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: 56px;
  align-items: end;
  margin-bottom: 44px;
}

.footprint-card {
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.keynote-nums { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.k-old { display: flex; flex-direction: column; gap: 3px; }
.k-old .val { font-family: var(--font-display); font-size: 24px; font-weight: 600; color: #677487; text-decoration: line-through; opacity: 0.72; }
.k-old .lbl { font-size: 11.5px; color: #6f7c90; }
.k-arrow { font-family: var(--font-mono); font-size: 16px; color: #6f7c90; }
.k-new { display: flex; flex-direction: column; gap: 3px; text-align: right; }
.k-new .val { font-family: var(--font-display); font-size: 40px; font-weight: 600; line-height: 1; letter-spacing: -0.03em; color: #f8fafc; }
.k-new .lbl { font-size: 11.5px; color: var(--ui-accent-text); }
.bt-progress { position: relative; height: 6px; border-radius: 999px; background: #07090d; border: 1px solid rgba(255, 255, 255, 0.06); overflow: hidden; }
.bt-progress > i { position: absolute; top: 1px; bottom: 1px; left: 1px; border-radius: 999px; background: #2c3340; }
.bt-progress > i.lit { background: linear-gradient(90deg, #39d5f5, #9beafa); box-shadow: 0 0 8px rgba(57, 213, 245, 0.45); }

.tts-deck { overflow: hidden; }
.tts-pane[hidden] { display: none !important; }

.tts-prompt-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 10px;
  background: #07090d;
  border: 1px solid var(--flat-border);
}
.tts-prompt-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 11px;
  border-radius: 6px;
  background: rgba(57, 213, 245, 0.08);
  border: 1px solid rgba(57, 213, 245, 0.22);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ui-accent-text);
  white-space: nowrap;
}
.tts-prompt-input {
  flex: 1;
  min-width: 0;
  height: 36px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: #f4f7fb;
  font-size: 14px;
}
.tts-prompt-input::placeholder { color: #5b6677; }

.tts-chips-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.tts-chip-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.tts-chip-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #6b7688;
  margin-right: 2px;
}
.tts-chip {
  height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  background: rgba(255, 255, 255, 0.03);
  color: #b4bfd0;
  font-size: 12px;
  font-weight: 500;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}
.tts-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}
.tts-chip.is-active {
  background: rgba(57, 213, 245, 0.14);
  border-color: rgba(57, 213, 245, 0.42);
  color: #dff8fe;
}
.tts-chip.is-edit {
  border-style: dashed;
  border-color: rgba(255, 208, 92, 0.28);
  color: #e6d19a;
}
.tts-chip.is-edit:hover {
  background: rgba(255, 208, 92, 0.12);
  border-color: rgba(255, 208, 92, 0.5);
  color: #fff2cc;
}

.tts-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 14px;
}

.tts-visual-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
  border-radius: 8px;
  background: #06080c;
  border: 1px solid rgba(255, 255, 255, 0.065);
  gap: 10px;
}
.tts-visual-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: #778396;
}
.tts-visual-canvas {
  width: 100%;
  height: 196px;
  display: block;
}
.tts-output-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.tts-meta-pill {
  padding: 3px 8px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-family: var(--font-mono);
  font-size: 10px;
  color: #b7c3d4;
}
.tts-meta-pill.accent {
  color: var(--ui-accent-text);
  border-color: rgba(57, 213, 245, 0.24);
  background: rgba(57, 213, 245, 0.08);
}

.tts-axes-grid {
  padding: 12px;
  border-radius: 8px;
  background: #07090d;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.axis-card {
  padding: 10px 12px;
  border-radius: 6px;
  background: #11151d;
  border: 1px solid rgba(255, 255, 255, 0.065);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.axis-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  font-weight: 500;
  color: #cbd5e4;
}
.axis-val {
  font-family: var(--font-mono);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: var(--ui-accent-text);
}

.tts-audition-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: 8px;
  background: #07090d;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.tts-keybed {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 4px;
}
.tts-note-key {
  height: 44px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #151a23;
  color: #cbd5e4;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 6px;
  transition: background-color 100ms ease, color 100ms ease, border-color 100ms ease;
}
.tts-note-key.is-sharp {
  background: #0d1016;
  color: #7b889c;
}
.tts-note-key:hover {
  background: #1f2634;
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}
.tts-note-key.is-active {
  background: var(--ui-accent);
  border-color: #aef1ff;
  color: #05070b;
  box-shadow: 0 0 14px rgba(57, 213, 245, 0.45);
}

/* Forge Pane (Audio-to-Timbre & Multi-Octave Velocity Anchor Matrix) */
.forge-workspace { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 16px; }
.forge-sub-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.forge-sub-title {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #ffd97d;
}
.anchor-monitor {
  position: relative;
  height: 248px;
  border-radius: 8px;
  background: #06080c;
  border: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
  cursor: crosshair;
  user-select: none;
}
.anchor-monitor canvas { width: 100%; height: 100%; display: block; }
.anchor-axis-y { position: absolute; left: 10px; top: 10px; bottom: 10px; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; font-family: var(--font-mono); font-size: 9px; color: #707d91; }
.anchor-axis-x { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); text-align: center; font-family: var(--font-mono); font-size: 10px; color: #707d91; }
.forge-tip { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 12.5px; color: #96a3b6; }
.forge-kbd { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3px; padding: 5px; border-radius: 8px; background: #07090d; border: 1px solid rgba(255, 255, 255, 0.06); }
.vel-key {
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 5px;
  background: #141922;
  color: #8f9cb0;
  font-family: var(--font-mono);
  font-size: 9.5px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 5px;
  transition: background-color 110ms ease, color 110ms ease;
}
.vel-key:hover { background: #1e2533; color: #fff; }
.vel-key.is-anchor { border-top: 2px solid var(--hue-amber); color: #e2e8f0; }
.vel-key.is-active { background: var(--ui-accent); color: #050608; border-color: #aef1ff; }

.forge-inspector-col { display: flex; flex-direction: column; gap: 12px; }
.forge-harmonic-monitor { height: 184px; border-radius: 8px; background: #06080c; border: 1px solid rgba(255, 255, 255, 0.07); position: relative; overflow: hidden; }
.forge-harmonic-monitor canvas { width: 100%; height: 100%; display: block; }
.forge-hud { position: absolute; top: 10px; left: 12px; right: 12px; display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 10px; color: #8491a4; pointer-events: none; }
.forge-detail-box { padding: 14px; border-radius: 8px; background: #07090d; border: 1px solid rgba(255, 255, 255, 0.06); font-size: 12.5px; color: #96a3b6; line-height: 1.7; }

/* ==========================================================================
   5. CHAPTER 02 — Complete Built-In Sound Arsenal & 3D Model Swipe Gallery
   ========================================================================== */
.model-gallery {
  margin-bottom: 56px;
}

.model-gallery-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
}

.model-gallery-title {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #f4f7fb;
}

.model-gallery-lead {
  margin: 10px 0 0;
  max-width: 700px;
  font-size: 13.5px;
  line-height: 1.72;
  color: #8c99ad;
}

.model-deck-shell {
  position: relative;
  display: flex;
  align-items: center;
}

.model-deck-viewport {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  padding: 14px 0 22px;
  outline: none;
  touch-action: pan-y;
}

.model-deck-viewport::before,
.model-deck-viewport::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 72px;
  z-index: 3;
  pointer-events: none;
}

.model-deck-viewport::before {
  left: 0;
  background: linear-gradient(to right, rgba(3, 4, 6, 0.92), transparent);
}

.model-deck-viewport::after {
  right: 0;
  background: linear-gradient(to left, rgba(3, 4, 6, 0.92), transparent);
}

.model-deck-track {
  display: flex;
  align-items: stretch;
  gap: 20px;
  will-change: transform;
  transition: transform 480ms cubic-bezier(0.22, 1, 0.36, 1);
}

.model-card {
  position: relative;
  flex: 0 0 432px;
  display: flex;
  flex-direction: column;
  padding: 14px;
  border-radius: 14px;
  background: var(--flat-card);
  border: 1px solid var(--flat-border);
  opacity: 0.46;
  transform: translate3d(0, 10px, 0);
  cursor: pointer;
  user-select: none;
  transition: opacity 280ms ease, transform 380ms cubic-bezier(0.22, 1, 0.36, 1), border-color 240ms ease, background-color 240ms ease;
}

.model-card:hover:not(.is-active) {
  opacity: 0.72;
  border-color: rgba(255, 255, 255, 0.14);
}

.model-card.is-active {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  cursor: default;
  background:
    radial-gradient(ellipse 80% 42% at 50% 0%, color-mix(in srgb, var(--card-neon, var(--ui-accent)) 9%, transparent), transparent 72%),
    var(--flat-card);
  border-color: color-mix(in srgb, var(--card-neon, var(--ui-accent)) 42%, rgba(255, 255, 255, 0.14));
}

.model-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.model-card-cat {
  color: var(--card-neon, var(--ui-accent-text));
  font-weight: 600;
}

.model-card-size {
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.075);
  color: #8c99ad;
  font-size: 9.5px;
}

.model-card-stage {
  position: relative;
  height: 276px;
  border-radius: 9px;
  background:
    radial-gradient(ellipse 72% 62% at 50% 78%, color-mix(in srgb, var(--card-neon, var(--ui-accent)) 10%, transparent), transparent 70%),
    #07090d;
  border: 1px solid rgba(255, 255, 255, 0.065);
  overflow: hidden;
  touch-action: pan-y;
}

.model-card.is-active .model-card-stage {
  cursor: grab;
  touch-action: none;
}

.model-card-stage.is-grabbing {
  cursor: grabbing !important;
}

.model-card-canvas {
  width: 100%;
  height: 100%;
  display: block;
  --fp-plate: #07090d;
  --fp-signal: var(--card-neon, var(--ui-accent));
  color: var(--card-neon, var(--ui-accent));
}

.model-orbit-badge {
  position: absolute;
  right: 10px;
  bottom: 9px;
  padding: 3px 8px;
  border-radius: 5px;
  background: rgba(10, 12, 16, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: #8f9cad;
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms ease;
}

.model-card.is-active:hover .model-orbit-badge {
  opacity: 1;
}

.model-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.model-card-copy {
  min-width: 0;
}

.model-card-title {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 600;
  color: #f4f7fb;
  letter-spacing: -0.012em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.model-card-desc {
  margin-top: 3px;
  font-size: 11.5px;
  line-height: 1.45;
  min-height: 33px;
  color: #8491a4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.model-audition-btn {
  flex: none;
  height: 32px;
  padding: 0 12px;
  font-size: 11px;
  border-radius: 7px;
  background: var(--flat-surface);
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: #edf2f8;
}

.model-audition-btn:hover,
.model-audition-btn.is-playing {
  background: color-mix(in srgb, var(--card-neon, var(--ui-accent)) 18%, #161c26);
  border-color: color-mix(in srgb, var(--card-neon, var(--ui-accent)) 56%, rgba(255, 255, 255, 0.18));
  color: #ffffff;
}

.model-nav-btn {
  position: relative;
  z-index: 4;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--flat-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, opacity 140ms ease;
}

.model-nav-btn:hover:not(:disabled) {
  background: #1b2230;
  border-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.model-nav-btn:disabled {
  opacity: 0.28;
  cursor: default;
}

.model-nav-btn.is-prev { margin-right: -12px; }
.model-nav-btn.is-next { margin-left: -12px; }

.model-deck-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 4px;
}

.model-deck-status {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
}

.model-deck-counter {
  color: #edf2f8;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.model-deck-hint {
  color: #707d91;
}

.model-deck-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.model-deck-dot {
  width: 18px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
  transition: width 220ms ease, background-color 220ms ease;
}

.model-deck-dot:hover {
  background: rgba(255, 255, 255, 0.34);
}

.model-deck-dot.is-active {
  width: 34px;
  background: var(--dot-neon, var(--ui-accent));
}

.split-sticky { display: grid; grid-template-columns: minmax(0, 404px) minmax(0, 1fr); gap: 64px; align-items: start; }
.sticky-col { position: sticky; top: 96px; }
.stage-stack { display: flex; flex-direction: column; gap: 24px; }

.stage-housing { padding: 5px; border-radius: 10px; background: #07090d; border: 1px solid rgba(255, 255, 255, 0.06); }
.stage-glass {
  position: relative;
  height: 272px;
  border-radius: 7px;
  background-color: #05070b;
  background-image:
    radial-gradient(ellipse 68% 72% at 50% 88%, color-mix(in srgb, var(--stage-neon, var(--ui-accent)) 15%, transparent), transparent 66%),
    var(--ui-cable-floor);
  border: 1px solid rgba(255, 255, 255, 0.075);
  overflow: hidden;
  user-select: none;
}
.stage-canvas {
  width: 100%;
  height: 100%;
  display: block;
  --fp-plate: #05070b;
  --fp-signal: var(--stage-neon, var(--ui-accent));
  color: var(--stage-neon, var(--ui-accent));
}
.stage-hud-top { position: absolute; top: 12px; left: 14px; right: 14px; display: flex; justify-content: space-between; pointer-events: none; }
.stage-identity { display: flex; gap: 9px; }
.stage-identity-bar { width: 2.5px; border-radius: 2px; background: var(--stage-neon, var(--ui-accent)); box-shadow: 0 0 8px var(--stage-neon, var(--ui-accent)); }
.stage-family { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.08em; color: #7e8b9f; }
.stage-name { font-size: 13.5px; font-weight: 600; color: #f4f7fb; margin-top: 1px; }
.stage-count { font-family: var(--font-mono); font-size: 10px; font-weight: 500; color: #8c99ad; padding: 3px 8px; border-radius: 5px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.07); height: fit-content; }
.stage-hud-foot { position: absolute; left: 14px; right: 14px; bottom: 10px; display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 10px; color: #7e8b9f; pointer-events: none; }

.synth-deck-area { min-height: 112px; }
.mini-keybed {
  position: relative;
  display: flex;
  height: 112px;
  padding: 5px;
  gap: 3px;
  border-radius: 8px;
  background: #07090d;
  border: 1px solid rgba(255, 255, 255, 0.06);
  user-select: none;
}
.piano-white {
  flex: 1;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px 4px 6px 6px;
  background: linear-gradient(180deg, #dde3ec 0%, #c1cad7 100%);
  border-bottom: 3px solid #6c7686;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 7px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  color: #161b24;
  transition: background 90ms ease, transform 80ms ease;
}
.piano-white:hover { background: linear-gradient(180deg, #eef2f7 0%, #d2dae5 100%); }
.piano-white.is-down { background: var(--ui-accent); border-bottom-width: 1px; color: #05070b; box-shadow: 0 0 16px rgba(57, 213, 245, 0.4); }
.piano-black-layer { position: absolute; top: 5px; left: 5px; right: 5px; height: 64px; pointer-events: none; }
.piano-black {
  position: absolute;
  top: 0;
  width: 5.2%;
  height: 100%;
  transform: translateX(-50%);
  pointer-events: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 3px 3px 5px 5px;
  background: linear-gradient(180deg, #1d222c 0%, #0d1016 100%);
  border-bottom: 3px solid #040507;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.55);
}
.piano-black:hover { background: #262d3a; }
.piano-black.is-down { background: var(--ui-accent); border-bottom-width: 1px; }

/* Dark Anodized Smoked-Glass 16-Pad Matrix */
.pad-plate {
  padding: 8px;
  border-radius: 8px;
  background: #07090d;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 6px;
}
.acrylic-pad {
  position: relative;
  height: 52px;
  padding: 6px 7px;
  border: 1px solid color-mix(in srgb, var(--pad-hue) 34%, rgba(255, 255, 255, 0.08));
  border-top: 2px solid color-mix(in srgb, var(--pad-hue) 78%, white);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  background: linear-gradient(180deg, color-mix(in srgb, var(--pad-hue) 12%, #151922) 0%, #0d1016 100%);
  color: #edf2f8;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  text-align: left;
  transition: background 90ms ease, border-color 90ms ease, box-shadow 90ms ease;
}
.acrylic-pad:hover {
  background: linear-gradient(180deg, color-mix(in srgb, var(--pad-hue) 22%, #191f2a) 0%, #12161f 100%);
  border-color: color-mix(in srgb, var(--pad-hue) 65%, white);
}
.acrylic-pad.is-hit {
  background: color-mix(in srgb, var(--pad-hue) 75%, white);
  color: #05070b;
  box-shadow: 0 0 18px color-mix(in srgb, var(--pad-hue) 65%, transparent);
}
.acrylic-pad .pad-key { font-size: 8px; color: color-mix(in srgb, var(--pad-hue) 70%, white); opacity: 0.85; }
.acrylic-pad.is-hit .pad-key { color: #05070b; }

.fader-deck {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  border-radius: 8px;
  background: #07090d;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.fader-slot {
  padding: 11px 12px;
  border-radius: 6px;
  background: #12161f;
  border: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fader-head { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 10.5px; color: #9aa7ba; }
.fader-head strong { font-weight: 600; color: #f4f7fb; }

/* 21 Native Rust DSP Matrix */
.fx-monitor {
  min-height: 144px;
  padding: 14px;
  border-radius: 8px;
  background: #06080c;
  border: 1px solid rgba(255, 255, 255, 0.065);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 232px;
  gap: 16px;
  align-items: center;
}
.fx-monitor-canvas { width: 100%; height: 118px; display: block; }
.fx-monitor-info { display: flex; flex-direction: column; gap: 7px; }
.fx-monitor-name { font-size: 14.5px; font-weight: 600; color: #f8fafc; }
.fx-monitor-desc { font-size: 12px; line-height: 1.62; color: #8c99ad; }
.fx-monitor-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.fx-tag { font-family: var(--font-mono); font-size: 9.5px; padding: 2px 7px; border-radius: 4px; background: rgba(255, 255, 255, 0.045); border: 1px solid rgba(255, 255, 255, 0.08); color: #b7c3d4; }

.fx-grid-well {
  padding: 5px;
  border-radius: 8px;
  background: #07090d;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
}
.fx-chip {
  position: relative;
  display: flex;
  align-items: center;
  height: 32px;
  padding: 0 9px 0 14px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #8290a4;
  font-size: 11.5px;
  font-weight: 500;
  text-align: left;
  transition: color 120ms ease, background-color 120ms ease, border-color 120ms ease;
}
.fx-chip::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 2.5px;
  border-radius: 2px;
  background: var(--fx-hue);
  opacity: 0.42;
}
.fx-chip:hover:not(.is-selected) { background: rgba(255, 255, 255, 0.04); color: #e2e8f0; }
.fx-chip.is-selected {
  background: #141922;
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  color: #ffffff;
}
.fx-chip.is-selected::before { opacity: 1; box-shadow: 0 0 8px var(--fx-hue); }

/* ==========================================================================
   6. CHAPTER 03 — Sculptural Darkroom + Local Reverse Engineering
   ========================================================================== */
.darkroom-band {
  position: relative;
  background: var(--void);
  border-top: 1px solid var(--line-faint);
  border-bottom: 1px solid var(--line-faint);
}

.reverse-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: center;
  margin-bottom: 52px;
}

@keyframes prism-float {
  0%, 100% { transform: translate3d(0, 0px, 0); }
  50% { transform: translate3d(0, -10px, 0); }
}

.prism-sculpture-wrap { position: relative; perspective: 1200px; display: flex; align-items: center; justify-content: center; }
.prism-parallax { width: 100%; max-width: 580px; transform: translate3d(var(--prism-tx, 0px), var(--prism-ty, 0px), 0); will-change: transform; }
.prism-img {
  width: 100%;
  height: auto;
  display: block;
  mix-blend-mode: lighten;
  animation: prism-float 8.4s ease-in-out infinite;
  -webkit-mask-image: radial-gradient(ellipse 76% 78% at 50% 50%, #000 56%, transparent 96%);
  mask-image: radial-gradient(ellipse 76% 78% at 50% 50%, #000 56%, transparent 96%);
  pointer-events: none;
  user-select: none;
}

.reverse-stage-shell { padding: 18px; }
.reverse-toolbar-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.reverse-stage-well {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  padding: 5px;
  border-radius: 8px;
  background: #07090d;
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 16px;
}
.stage-step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #778396;
  text-align: left;
  transition: color 130ms ease, background-color 130ms ease, border-color 130ms ease;
}
.stage-step:hover:not(.is-active) { color: #e2e8f0; background: rgba(255, 255, 255, 0.03); }
.stage-step.is-active {
  background: #141922;
  border-color: rgba(57, 213, 245, 0.28);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.45);
  color: #ffffff;
}
.stage-step.is-done { color: #b7c3d4; }
.stage-num { font-family: var(--font-mono); font-size: 11px; font-weight: 600; color: #677487; flex: none; }
.stage-step.is-active .stage-num { color: var(--ui-accent-text); }
.stage-step.is-done .stage-num { color: var(--ui-success); }
.stage-step-text { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.stage-step-title { font-size: 13px; font-weight: 600; }
.stage-step-sub { font-family: var(--font-mono); font-size: 10px; color: #6f7c90; }

.reverse-workspace { display: grid; grid-template-columns: minmax(0, 1.38fr) minmax(0, 0.62fr); gap: 16px; }
.reverse-stems-well {
  padding: 6px;
  border-radius: 8px;
  background: #07090d;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.stem-row {
  display: grid;
  grid-template-columns: 134px minmax(0, 1fr) 96px;
  align-items: center;
  gap: 12px;
  padding: 7px 12px;
  border-radius: 6px;
  background: #11151d;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 2.5px solid var(--stem-hue);
}
.stem-label { display: flex; flex-direction: column; gap: 1px; }
.stem-name { font-family: var(--font-mono); font-size: 11px; font-weight: 600; color: color-mix(in srgb, var(--stem-hue) 64%, white); }
.stem-engine { font-family: var(--font-mono); font-size: 9.5px; color: #778396; }
.stem-visual { height: 36px; border-radius: 5px; background: #06080c; border: 1px solid rgba(255, 255, 255, 0.045); overflow: hidden; }
.stem-visual canvas { width: 100%; height: 100%; display: block; }
.stem-status { text-align: right; font-family: var(--font-mono); font-size: 10px; font-weight: 500; color: #b9c5d6; }

.reverse-inspector { display: flex; flex-direction: column; gap: 10px; }
.dna-monitor {
  padding: 14px;
  border-radius: 8px;
  background: #06080c;
  border: 1px solid rgba(255, 255, 255, 0.065);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dna-canvas { width: 100%; height: 132px; display: block; }
.readout-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.readout-cell {
  padding: 12px 14px;
  border-radius: 8px;
  background: #07090d;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.readout-cell-label { font-family: var(--font-mono); font-size: 9.5px; font-weight: 500; letter-spacing: 0.08em; color: #707d91; margin-bottom: 4px; }
.readout-cell-val { font-family: var(--font-mono); font-size: 16px; font-weight: 600; color: #f4f7fb; }
.btp-status-bar {
  margin-top: auto;
  padding: 12px 14px;
  border-radius: 8px;
  background: #0b0e14;
  border: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
}

/* ==========================================================================
   7. CHAPTER 04 — Autonomous Arrangement & Local MCP
   ========================================================================== */
.split-inverted { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 412px); gap: 56px; align-items: start; }
.song-form-ribbon {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr 2fr 1fr;
  gap: 4px;
  padding: 5px;
  border-radius: 8px;
  background: #07090d;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.form-block {
  padding: 8px 10px;
  border-radius: 6px;
  background: #12161f;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-top: 2px solid var(--form-hue);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.form-name { font-family: var(--font-mono); font-size: 9.5px; font-weight: 600; color: #e8eef6; }
.form-chord { font-family: var(--font-mono); font-size: 10px; color: #8c99ad; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.arrange-tracks-well {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border-radius: 8px;
  background: #07090d;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.genome-track-row { display: grid; grid-template-columns: 152px minmax(0, 1fr) 98px; align-items: center; gap: 6px; }
.genome-track-head {
  position: relative;
  height: 46px;
  padding: 6px 8px 6px 12px;
  border-radius: 6px;
  background: #131821;
  border: 1px solid rgba(255, 255, 255, 0.075);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
}
.genome-track-head::before { content: ''; position: absolute; left: 4px; top: 7px; bottom: 7px; width: 2.5px; border-radius: 2px; background: var(--track-ink); }
.genome-role { font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; color: color-mix(in srgb, var(--track-ink) 64%, white); }
.genome-patch { font-family: var(--font-mono); font-size: 9px; color: #778396; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.genome-lane {
  position: relative;
  height: 46px;
  border-radius: 6px;
  background-color: #06080c;
  background-image: repeating-linear-gradient(to right, rgba(255, 255, 255, 0.05) 0, rgba(255, 255, 255, 0.05) 1px, transparent 1px, transparent 12.5%);
  overflow: hidden;
}
.genome-row-actions { display: flex; align-items: center; gap: 4px; }
.genome-lock-btn {
  width: 30px;
  height: 36px;
  padding: 0;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #12161f;
  color: #778396;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}
.genome-lock-btn:hover { background: #1a202c; color: #e2e8f0; }
.genome-lock-btn[aria-pressed="true"] {
  background: rgba(255, 208, 92, 0.14);
  border-color: rgba(255, 208, 92, 0.42);
  color: #ffd97d;
}
.genome-reroll-btn { height: 36px; flex: 1; padding: 0 6px; font-size: 11px; }
.genome-reroll-btn:disabled { opacity: 0.35; cursor: not-allowed; }

/* Elevated Z-Foreground Floating MCP Console */
.mcp-terminal {
  margin-top: 28px;
  padding: 16px;
  border-radius: 10px;
  background: var(--flat-card);
  border: 1px solid var(--flat-border);
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.85;
  color: #9aa7ba;
}
.mcp-terminal-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid var(--line-faint); font-size: 10px; }
.mcp-log-line { display: flex; align-items: baseline; gap: 6px; white-space: nowrap; overflow: hidden; }
.mcp-log-line .fn { color: #eef2f7; flex: none; }
.mcp-log-line .arg { color: #778396; overflow: hidden; text-overflow: ellipsis; }
.mcp-log-line .ok { color: var(--ui-success); margin-left: auto; flex: none; }

/* ==========================================================================
   8. CHAPTER 05 — Pure Local Rust Architecture & Open Asset Ecosystem (6-Tile Bento)
   ========================================================================== */
.bento-header { max-width: 680px; margin-bottom: 48px; }

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1px;
  background: var(--flat-border);
  border: 1px solid var(--flat-border);
  border-radius: 12px;
  overflow: hidden;
}

.bento-tile {
  position: relative;
  padding: 32px 30px;
  background: #080a0f;
  display: flex;
  flex-direction: column;
  gap: 13px;
  transition: background-color 200ms ease;
}
.bento-tile:hover { background: #0c1017; }
.span-7 { grid-column: span 7; }
.span-6 { grid-column: span 6; }
.span-5 { grid-column: span 5; }
.bento-kicker { font-family: var(--font-mono); font-size: 10px; font-weight: 600; color: #707d91; letter-spacing: 0.14em; }
.bento-title { margin: 0; font-family: var(--font-display); font-size: 20px; font-weight: 600; color: #f8fafc; letter-spacing: -0.018em; }
.bento-desc { margin: 0; font-size: 13.8px; line-height: 1.74; color: #94a2b5; }

.arch-diagram {
  margin-top: auto;
  padding: 6px;
  border-radius: 8px;
  background: #05070a;
  border: 1px solid rgba(255, 255, 255, 0.055);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}
.arch-node { padding: 12px; border-radius: 6px; background: #11151d; border: 1px solid rgba(255, 255, 255, 0.07); display: flex; flex-direction: column; gap: 4px; }
.arch-node strong { font-family: var(--font-mono); font-size: 10px; color: #edf2f8; }
.arch-node span { font-size: 11px; color: #7d899c; }

.offline-monument {
  margin-top: auto;
  padding: 18px 20px;
  border-radius: 8px;
  background: #05070a;
  border: 1px solid rgba(255, 255, 255, 0.055);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.offline-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.offline-monument .big { font-family: var(--font-display); font-size: 38px; font-weight: 600; line-height: 1; color: #f8fafc; }
.offline-monument .cap { font-size: 12px; color: #8c99ad; text-align: right; line-height: 1.55; }
.offline-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.offline-pill {
  padding: 3px 8px;
  border-radius: 5px;
  background: rgba(141, 197, 174, 0.08);
  border: 1px solid rgba(141, 197, 174, 0.24);
  font-family: var(--font-mono);
  font-size: 10px;
  color: #a6dbc5;
}

.terrain-preview { margin-top: auto; height: 120px; border-radius: 8px; background: #05070a; border: 1px solid rgba(255, 255, 255, 0.065); overflow: hidden; }
.terrain-preview canvas { width: 100%; height: 100%; display: block; }

.asset-trio {
  margin-top: auto;
  padding: 6px;
  border-radius: 8px;
  background: #05070a;
  border: 1px solid rgba(255, 255, 255, 0.055);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.asset-cell { padding: 12px; border-radius: 6px; background: #11151d; border: 1px solid rgba(255, 255, 255, 0.07); display: flex; flex-direction: column; gap: 4px; }
.asset-cell strong { font-size: 13px; font-weight: 600; color: #f4f7fb; }
.asset-cell span { font-size: 11px; color: #8491a4; line-height: 1.55; }

.bento-spec-row {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.bento-spec-pill {
  padding: 5px 10px;
  border-radius: 6px;
  background: #11151d;
  border: 1px solid rgba(255, 255, 255, 0.075);
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: #cbd5e4;
}

/* ==========================================================================
   9. Raycast-Grade Diagonal Fluted-Glass Light Finale Portal & Minimal Footer
   ========================================================================== */
.finale-band {
  position: relative;
  padding: 156px 0 148px;
  text-align: center;
  overflow: hidden;
  background: var(--void);
  border-top: 1px solid var(--line-faint);
}

.finale-light-beam {
  position: absolute;
  inset: -40px 0;
  background: url('./assets/obsidian-light.jpg') center / cover no-repeat;
  mix-blend-mode: screen;
  opacity: 0.44;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: radial-gradient(ellipse 68% 72% at 50% 50%, #000 30%, transparent 86%);
  mask-image: radial-gradient(ellipse 68% 72% at 50% 50%, #000 30%, transparent 86%);
}

.finale-inner { max-width: 640px; margin: 0 auto; position: relative; z-index: 2; }
.finale-title {
  margin: 14px 0 18px;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4.3vw, 3.45rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.024em;
  color: #f6f8fa;
}
html[lang="en"] .finale-title { line-height: 1.1; letter-spacing: -0.034em; }
.finale-sub { margin: 0 auto 36px; font-size: 15px; line-height: 1.78; color: #9aa7ba; text-wrap: balance; }
.finale-controls { max-width: 468px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.waitlist-form {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0c0f15;
  transition: border-color 140ms ease;
}
.waitlist-form:focus-within {
  border-color: rgba(57, 213, 245, 0.48);
}
.waitlist-field-wrap { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; }
.waitlist-dial-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 10px;
  margin-left: 4px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #d6e4f2;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  user-select: none;
}
.waitlist-dial-code[hidden] { display: none; }
.waitlist-input { flex: 1; min-width: 0; height: 40px; padding: 0 14px; border: 0; border-radius: 6px; background: transparent; color: #f6f8fa; font-size: 14px; outline: none; }
.waitlist-input::placeholder { color: #5c6778; }
.waitlist-hint { font-size: 12px; color: #7f8da1; line-height: 1.5; margin-top: -2px; }
.waitlist-hint[hidden] { display: none; }
.waitlist-status { min-height: 22px; font-size: 13px; color: var(--ui-success); margin-top: 6px; }
.waitlist-status.is-error { color: #ff8080; }

.site-footer { background: var(--void); border-top: 1px solid var(--line-faint); padding: 56px 0 44px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px; padding-bottom: 36px; border-bottom: 1px solid var(--line-faint); }
.footer-col h4 { margin: 0 0 12px; font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; color: #707d91; letter-spacing: 0.1em; }
.footer-links { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: #8c99ad; }
.footer-links a:hover { color: #ffffff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: 12px; color: #707d91; }
.footer-bottom .footer-mono { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; }

/* Smooth Editorial Reveal */
.fade-up { opacity: 0; transform: translateY(16px); transition: opacity 540ms cubic-bezier(0.2, 0.7, 0.2, 1), transform 540ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.fade-up.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-up { opacity: 1; transform: none; transition: none; }
  .monolith-float, .prism-img, .hero-daw-lanes-belt, .hero-daw-ruler-belt { animation: none; }
  .monolith-parallax, .prism-parallax, .cube-glass-piece { transform: none !important; }
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1080px) {
  .site-nav .nav-inner { display: flex; justify-content: space-between; }
  .nav-tabs { display: none; }
  .hero { min-height: auto; padding: 108px 0 80px; }
  .hero-top-split { grid-template-columns: 1fr; gap: 40px; min-height: auto; margin-bottom: 0; }
  .hero-scroll-cue { bottom: 18px; }
  .hero-editorial { align-items: center; text-align: center; }
  .hero-editorial::before {
    inset: -44px -48px -40px -48px;
    background: radial-gradient(
      ellipse 68% 66% at 50% 48%,
      rgba(3, 4, 6, 0.84) 0%,
      rgba(3, 4, 6, 0.66) 44%,
      rgba(3, 4, 6, 0.24) 72%,
      transparent 100%
    );
    -webkit-mask-image: radial-gradient(
      ellipse 72% 70% at 50% 48%,
      #000 32%,
      rgba(0, 0, 0, 0.7) 58%,
      transparent 96%
    );
    mask-image: radial-gradient(
      ellipse 72% 70% at 50% 48%,
      #000 32%,
      rgba(0, 0, 0, 0.7) 58%,
      transparent 96%
    );
  }
  .hero-actions { justify-content: center; }
  .hero-daw-plane { left: -340px; top: 10px; width: 4480px; height: 700px; transform: perspective(920px) rotateY(24deg); transform-origin: 10% 50%; opacity: 0.48; }
  .hero-sculpture-stage { min-height: 360px; }
  .monolith-parallax { width: min(400px, 92vw); }
  .monolith-parallax, .prism-parallax { transform: none !important; }
  .model-card { flex: 0 0 360px; }
  .pillars-head, .wb-section-head, .tts-header-grid, .tts-workspace, .split-sticky, .reverse-hero-split, .split-inverted, .forge-workspace, .reverse-workspace { grid-template-columns: 1fr; gap: 32px; }
  .pillars-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sticky-col { position: static; }
  .wb-body { grid-template-columns: 1fr; }
  .wb-rack-col { border-right: 0; border-bottom: 1px solid var(--flat-border); }
  .span-7, .span-6, .span-5 { grid-column: span 12; }
  .chapter, .workbench-section { padding: 88px 0; }
}

@media (max-width: 720px) {
  .container { padding-inline: 16px; }
  .sticky-col, .stage-stack, .bt-panel, .module-deck { min-width: 0; max-width: 100%; }
  .bt-choice-group, .bt-choice-group.compact { flex-wrap: wrap; height: auto; max-width: 100%; }
  .bt-choice { height: 28px; }
  .site-nav { padding: 10px 12px 0; }
  .site-nav .nav-inner { height: 48px; padding: 0 8px 0 14px; border-radius: 12px; }
  .nav-grid-btn, .nav-divider { display: none; }
  .hero { padding: 92px 0 64px; }
  .hero-scroll-cue { display: none; }
  .hero-title { font-size: clamp(1.55rem, 6.2vw, 2.15rem); }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .bt-key { width: 100%; }
  .launch-countdown { width: 100%; align-items: center; }
  .bt-seven-well { --seven-height: 20px; justify-content: center; gap: 8px; }
  .cd-seg-digits { gap: 1.5px; }
  .cd-seg-unit { font-size: 7.5px; }
  .cd-well-badge { min-width: 30px; }
  .cd-well-top, .cd-well-bot { font-size: 8px; }
  .cd-well-notch { width: 18px; }
  .pillars-band { padding: 64px 0; }
  .pillars-grid { grid-template-columns: 1fr; }
  .wb-top-group { flex-wrap: wrap; width: 100%; }
  .wb-badge-local { display: none; }
  .wb-clock-well { flex-wrap: wrap; height: auto; padding: 6px 10px; gap: 10px; }
  .wb-arrange-header { grid-template-columns: 1fr; }
  .wb-bar-ruler { display: none; }
  .daw-timeline-shell { grid-template-columns: 1fr; }
  .daw-status-dock { flex-wrap: wrap; gap: 8px; }
  .daw-spectrum-monitor { flex: 1 1 100%; order: -1; }
  .daw-dock-meta { white-space: normal; flex-wrap: wrap; }
  .tts-prompt-bar { flex-wrap: wrap; }
  .tts-prompt-badge { display: none; }
  .tts-axes-grid { grid-template-columns: 1fr; }
  .tts-audition-bar { grid-template-columns: 1fr; }
  .tts-keybed { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .reverse-stage-shell { padding: 12px; }
  .reverse-stage-well { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stem-row { grid-template-columns: 92px minmax(0, 1fr); }
  .stem-status { display: none; }
  .genome-track-row { grid-template-columns: 112px minmax(0, 1fr) 82px; }
  .song-form-ribbon { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pad-plate { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .model-gallery { margin-bottom: 40px; }
  .model-card { flex: 0 0 min(326px, calc(100vw - 44px)); padding: 12px; }
  .model-card-stage { height: 224px; }
  .model-deck-viewport::before, .model-deck-viewport::after { width: 22px; }
  .model-nav-btn { display: none; }
  .model-deck-hint { display: none; }
  .model-deck-controls { justify-content: center; }
  .fx-grid-well { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fx-monitor { grid-template-columns: 1fr; }
  .fx-monitor-canvas { height: 96px; }
  .arch-diagram, .asset-trio, .fader-deck, .footer-grid { grid-template-columns: 1fr; }
  .waitlist-form { flex-direction: column; align-items: stretch; }
  .waitlist-field-wrap { width: 100%; }
  .finale-band { padding: 88px 0; }
}
