@font-face { font-family: "Unbounded"; src: url("fonts/unbounded-latin.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("fonts/inter-tight-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/jetbrains-mono-latin.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
  --bg: #050507;
  --bg-2: #0b0b12;
  --panel: #0f0f18;
  --ink: #f5f5fa;
  --muted: #9a9ab0;
  --line: rgba(255, 255, 255, 0.09);
  --pink: #ff2bd6;
  --violet: #8a5cff;
  --cyan: #16e0ff;
  --lime: #b6ff3b;
  --amber: #ffb02e;
  --rainbow: linear-gradient(90deg, #ff2bd6, #8a5cff 25%, #16e0ff 50%, #b6ff3b 75%, #ffb02e);
  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --sans: "Inter Tight", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 48px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
canvas { display: block; }
::selection { background: var(--pink); color: #000; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--ink); color: #000; padding: 8px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { width: min(1200px, 100% - var(--gutter) * 2); margin-inline: auto; }

.grad { background: var(--rainbow); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dim { color: #55556a; }
@keyframes hue { to { background-position: -200% 0; } }

.kicker { font: 600 0.78rem/1 var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--cyan); margin-bottom: 22px; }
h2 { font: 700 clamp(2rem, 5.2vw, 4.4rem)/1.02 var(--display); letter-spacing: -0.03em; }
h3 { font: 700 1.2rem/1.2 var(--display); letter-spacing: -0.01em; }

/* Buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  background: var(--ink); color: #000; text-decoration: none;
  font: 600 0.95rem/1 var(--sans); letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 0 0 1px rgba(255,255,255,.2), 0 10px 40px -10px rgba(255, 43, 214, 0.7), 0 10px 50px -20px rgba(22, 224, 255, 0.8);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px #fff, 0 14px 50px -8px rgba(255, 43, 214, 0.9), 0 14px 60px -14px rgba(22, 224, 255, 1); }
.btn-ghost { background: rgba(10,10,16,0.55); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.22); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); box-shadow: inset 0 0 0 1px #fff; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 0.85rem; }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.pill { display: inline-block; padding: 5px 10px; border-radius: 999px; font: 600 0.68rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; }
.pill-good { color: var(--lime); box-shadow: inset 0 0 0 1px rgba(182, 255, 59, 0.35); }
.pill-bad { color: #ff6b6b; box-shadow: inset 0 0 0 1px rgba(255, 107, 107, 0.35); }

/* Top bar */
.top {
  position: fixed; inset: 0 0 auto; z-index: 40;
  display: flex; align-items: center; gap: 28px;
  padding: 14px var(--gutter);
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.top.is-solid { background: rgba(5, 5, 7, 0.94); border-color: var(--line); }
.brand { --brand-size: 2.1rem; display: inline-flex; align-items: center; margin-right: auto; color: var(--ink); text-decoration: none; font: 900 var(--brand-size)/1 var(--display); letter-spacing: 0.05em; text-transform: uppercase; }
.brand-home { color: inherit; text-decoration: none; }
/* Logo: two decks that pump on the beat and crossfade into each other, and
   the O of NO is the play/pause button for the footage behind the hero. */
.brand-word { display: inline-flex; align-items: center; gap: 0.05em; }
/* The two O's of NODROP are the mix window's CDJ lamps, shrunk to the cap
   height: CUE (amber) in NO, PLAY/PAUSE (lime) in DROP. Flat anodised discs
   with a machined rim and an engraved icon. They behave like the real ones:
   PLAY steady while the footage plays and blinking (1 s) while it is paused;
   CUE dark while playing, blinking twice as fast while paused. Scrolling
   lights both up steadily. */
.brand-lamp {
  display: inline-grid; place-items: center; width: calc(var(--brand-size) * 0.7); height: calc(var(--brand-size) * 0.7); margin: 0 calc(var(--brand-size) * 0.07); padding: 0; cursor: pointer; font: inherit;
  border-radius: 50%; color: rgba(182,255,59,0.32);
  background:
    radial-gradient(circle at 50% 38%, rgba(255,255,255,0.12), transparent 60%),
    conic-gradient(from 200deg, rgba(255,255,255,0.06), transparent 18%, rgba(255,255,255,0.05) 40%, transparent 62%, rgba(255,255,255,0.07) 80%, transparent 100%),
    linear-gradient(165deg, #4a4a55 0%, #33333d 48%, #26262e 100%);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), inset 0 -1px 0 rgba(0,0,0,0.6), 0 0 0 1.5px #0b0b10, 0 0 0 2.5px rgba(255,255,255,0.07), 0 2px 5px rgba(0,0,0,0.55);
  transition: color 0.15s, box-shadow 0.15s;
}
.brand-lamp svg { width: 68%; height: auto; fill: currentColor; filter: drop-shadow(0 1px 0 rgba(255,255,255,0.10)) drop-shadow(0 -1px 0 rgba(0,0,0,0.9)); }
.brand-cue { color: rgba(255,176,46,0.32); font: 800 calc(var(--brand-size) * 0.24) / 1 var(--mono); letter-spacing: 0.02em; text-transform: uppercase; text-shadow: 0 1px 0 rgba(255,255,255,0.10), 0 -1px 0 rgba(0,0,0,0.9); }
button.brand-lamp:hover { color: #8a8a96; }
button.brand-lamp:active { transform: translateY(1px); }
button.brand-lamp:focus-visible { outline: 2px solid #16e0ff; outline-offset: 4px; }
/* Lit: the lamp's own colour, steady. */
.brand-play.is-playing, .brand-play.is-lit { color: #b6ff3b; box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), inset 0 -1px 0 rgba(0,0,0,0.6), 0 0 0 1.5px #0b0b10, 0 0 0 2.5px rgba(182,255,59,0.9), 0 0 12px rgba(182,255,59,0.45); animation: none; }
.brand-play.is-playing svg, .brand-play.is-lit svg { filter: drop-shadow(0 0 3px rgba(182,255,59,0.8)); }
.brand-cue.is-lit, .brand-cue.is-cued { color: #ffb02e; text-shadow: 0 0 6px rgba(255,176,46,0.8); box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), inset 0 -1px 0 rgba(0,0,0,0.6), 0 0 0 1.5px #0b0b10, 0 0 0 2.5px rgba(255,176,46,0.9), 0 0 12px rgba(255,176,46,0.4); animation: none; }
/* Paused and the page at rest: the lamps blink like the real decks. */
.brand-play.is-paused { animation: lamp-blinkplay 1s linear infinite; }
.brand-cue.is-blink { animation: lamp-blinkcue 0.5s linear infinite; }
@keyframes lamp-blinkplay {
  0%, 42%, 100% { color: rgba(182,255,59,0.32); box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), inset 0 -1px 0 rgba(0,0,0,0.6), 0 0 0 1.5px #0b0b10, 0 0 0 2.5px rgba(182,255,59,0.2), 0 2px 5px rgba(0,0,0,0.55); }
  50%, 92% { color: #b6ff3b; box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), inset 0 -1px 0 rgba(0,0,0,0.6), 0 0 0 1.5px #0b0b10, 0 0 0 2.5px rgba(182,255,59,0.9), 0 0 12px rgba(182,255,59,0.45); }
}
@keyframes lamp-blinkcue {
  0%, 42%, 100% { color: rgba(255,176,46,0.32); text-shadow: 0 1px 0 rgba(255,255,255,0.10), 0 -1px 0 rgba(0,0,0,0.9); box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), inset 0 -1px 0 rgba(0,0,0,0.6), 0 0 0 1.5px #0b0b10, 0 0 0 2.5px rgba(255,176,46,0.2), 0 2px 5px rgba(0,0,0,0.55); }
  50%, 92% { color: #ffb02e; text-shadow: 0 0 6px rgba(255,176,46,0.8); box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), inset 0 -1px 0 rgba(0,0,0,0.6), 0 0 0 1.5px #0b0b10, 0 0 0 2.5px rgba(255,176,46,0.9), 0 0 11px rgba(255,176,46,0.4); }
}
@media (prefers-reduced-motion: reduce) { .brand-play.is-paused, .brand-cue.is-blink { animation: none; } }
/* Variant: the two O's as the decks' LOOP IN / LOOP OUT domes (html[data-logo="loop"]).
   Amber glass, dark when no loop is set; IN blinks while a loop-in waits
   for its out point, both blink while the loop runs, IN stays lit when a
   loop is stored. Scrolling lights both. */
/* The two domes read as OO: a clear gap between them, a little air to the letters. */
.brand-word .brand-dome { margin: 0 calc(var(--brand-size) * 0.1); }
.brand-word .brand-dome + .brand-dome { margin-left: calc(var(--brand-size) * 0.14); }
/* The PLAY lamp in a word stands a little taller than the letters. */
.brand-word .brand-play { width: calc(var(--brand-size) * 0.86); height: calc(var(--brand-size) * 0.86); margin: 0 calc(var(--brand-size) * 0.08); }
.brand-dome {
  display: inline-block; width: calc(var(--brand-size) * 0.7); height: calc(var(--brand-size) * 0.7); margin: 0 calc(var(--brand-size) * 0.07); padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: radial-gradient(circle at 50% 35%, rgba(255,220,150,0.35), rgba(120,70,10,0.9) 70%, #3a2408 100%);
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.25), inset 0 -2px 3px rgba(0,0,0,0.6), 0 0 0 1.5px #0b0b10, 0 0 0 2.5px rgba(255,255,255,0.08), 0 2px 5px rgba(0,0,0,0.55);
  transition: box-shadow 0.08s, background 0.08s;
}
button.brand-dome:active { transform: translateY(1px); }
button.brand-dome:focus-visible { outline: 2px solid #16e0ff; outline-offset: 4px; }
.brand-dome.is-set, .brand-dome.is-lit { background: radial-gradient(circle at 50% 35%, #ffe2a0, #ffb02e 55%, #c86f00 100%); box-shadow: inset 0 1px 2px rgba(255,255,255,0.5), inset 0 -2px 3px rgba(120,50,0,0.5), 0 0 0 1.5px #0b0b10, 0 0 0 2.5px rgba(255,176,46,0.6), 0 0 12px rgba(255,176,46,0.6); animation: none; }
.brand-dome.is-blink { animation: dome-blink 0.75s linear infinite; }
@keyframes dome-blink {
  0%, 42%, 100% { background: radial-gradient(circle at 50% 35%, rgba(255,220,150,0.35), rgba(120,70,10,0.9) 70%, #3a2408 100%); box-shadow: inset 0 1px 2px rgba(255,255,255,0.25), inset 0 -2px 3px rgba(0,0,0,0.6), 0 0 0 1.5px #0b0b10, 0 0 0 2.5px rgba(255,255,255,0.08), 0 2px 5px rgba(0,0,0,0.55); }
  50%, 92% { background: radial-gradient(circle at 50% 35%, #ffe2a0, #ffb02e 55%, #c86f00 100%); box-shadow: inset 0 1px 2px rgba(255,255,255,0.5), inset 0 -2px 3px rgba(120,50,0,0.5), 0 0 0 1.5px #0b0b10, 0 0 0 2.5px rgba(255,176,46,0.6), 0 0 12px rgba(255,176,46,0.6); }
}
@media (prefers-reduced-motion: reduce) { .brand-dome.is-blink { animation: none; } }
/* ?lamps=blue: the domes as the DJM-900NXS2 filter ON/OFF button, a blue
   dome that glows from inside with a soft halo; dark blue glass when off. */
html[data-lamps="blue"] .brand-dome {
  background: radial-gradient(circle at 50% 38%, rgba(150,200,255,0.35), rgba(20,60,130,0.9) 70%, #0b1f44 100%);
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.25), inset 0 -2px 3px rgba(0,0,0,0.6), 0 0 0 1.5px #0b0b10, 0 0 0 2.5px rgba(255,255,255,0.08), 0 2px 5px rgba(0,0,0,0.55);
}
html[data-lamps="blue"] .brand-dome.is-set, html[data-lamps="blue"] .brand-dome.is-lit {
  background: radial-gradient(circle at 50% 42%, #eaf7ff 0%, #9fd8ff 28%, #3ea8ff 60%, #1668d6 100%);
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.7), inset 0 -2px 4px rgba(0,40,120,0.5), 0 0 0 1.5px #0b0b10, 0 0 0 2.5px rgba(80,170,255,0.55), 0 0 14px rgba(70,160,255,0.85), 0 0 26px rgba(50,130,255,0.45);
}
html[data-lamps="blue"] .brand-dome.is-blink { animation-name: dome-blink-blue; }
@keyframes dome-blink-blue {
  0%, 42%, 100% { background: radial-gradient(circle at 50% 38%, rgba(150,200,255,0.35), rgba(20,60,130,0.9) 70%, #0b1f44 100%); box-shadow: inset 0 1px 2px rgba(255,255,255,0.25), inset 0 -2px 3px rgba(0,0,0,0.6), 0 0 0 1.5px #0b0b10, 0 0 0 2.5px rgba(255,255,255,0.08), 0 2px 5px rgba(0,0,0,0.55); }
  50%, 92% { background: radial-gradient(circle at 50% 42%, #eaf7ff 0%, #9fd8ff 28%, #3ea8ff 60%, #1668d6 100%); box-shadow: inset 0 1px 2px rgba(255,255,255,0.7), inset 0 -2px 4px rgba(0,40,120,0.5), 0 0 0 1.5px #0b0b10, 0 0 0 2.5px rgba(80,170,255,0.55), 0 0 14px rgba(70,160,255,0.85), 0 0 26px rgba(50,130,255,0.45); }
}
/* Lit wins over any blink, whichever rule came first. */
.brand-lamp.is-lit, .brand-dome.is-lit, .brand-cue.is-cued { animation: none !important; }
.top nav { display: flex; gap: 26px; }
.top nav a { color: #c4c4d4; text-decoration: none; font-size: 0.92rem; transition: color 0.2s; }
.top nav a:hover { color: #fff; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; background: #000; }
.hero-stage { position: absolute; inset: 0; z-index: -3; background: #000 center / cover no-repeat; }
.hero-stage::before { content: ""; position: absolute; inset: 0; background: inherit; background-size: cover; background-position: center; transition: opacity 1s; }
.hero-stage iframe {
  position: absolute; top: 50%; left: 50%; border: 0; pointer-events: none;
  width: max(100vw, 177.78svh); height: max(56.25vw, 100svh);
  transform: translate(-50%, -50%) scale(1.15);
  opacity: 0; transition: opacity 0.6s ease;
}
.hero-stage iframe.is-on { opacity: 1; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(120% 80% at 20% 100%, rgba(5,5,7,0.95) 10%, transparent 60%),
    linear-gradient(180deg, rgba(5,5,7,0.55) 0%, transparent 25%, transparent 55%, var(--bg) 100%);
}
.scan { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.12; background: repeating-linear-gradient(0deg, rgba(0,0,0,0.8) 0 1px, transparent 1px 3px); }

.lasers { position: absolute; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.hero.is-off .lasers i, .hero.is-off .eq i, .hero.is-off .dot { animation-play-state: paused; }
.lasers i {
  position: absolute; bottom: -10%; left: 50%; width: 2px; height: 140%;
  transform-origin: 50% 100%;
  background: linear-gradient(to top, var(--c, #ff2bd6), transparent 85%);
  opacity: 0.6; animation: sweep var(--d, 6s) ease-in-out infinite alternate; will-change: transform;
}
.lasers i:nth-child(1) { --c: #ff2bd6; --d: 5.2s; left: 18%; }
.lasers i:nth-child(2) { --c: #16e0ff; --d: 6.4s; left: 32%; animation-delay: -2s; }
.lasers i:nth-child(3) { --c: #b6ff3b; --d: 4.8s; left: 50%; animation-delay: -1s; }
.lasers i:nth-child(4) { --c: #8a5cff; --d: 7s; left: 64%; animation-delay: -3s; }
.lasers i:nth-child(5) { --c: #16e0ff; --d: 5.6s; left: 80%; animation-delay: -4s; }
.lasers i:nth-child(6) { --c: #ff2bd6; --d: 6.8s; left: 92%; animation-delay: -2.5s; }
@keyframes sweep { 0% { transform: rotate(-38deg); } 100% { transform: rotate(38deg); } }

.hero-copy { padding-top: 120px; }
.tag { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: rgba(10,10,16,0.6); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14); font: 500 0.8rem/1 var(--mono); color: #d9d9e6; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); animation: pulse 0.968s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1.4); } 60%, 100% { transform: scale(0.8); opacity: 0.6; } }
.hero h1 { margin: 26px 0 22px; font: 900 clamp(2.6rem, 8.6vw, 7.6rem)/0.92 var(--display); letter-spacing: -0.045em; text-wrap: balance; }
.hero h1 .line { display: block; }
.lede { max-width: 40ch; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: #d4d4e2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-foot { display: flex; justify-content: space-between; align-items: end; gap: 16px; padding: 48px 0 28px; }
.hud { display: flex; align-items: center; gap: 22px; font: 500 0.75rem/1 var(--mono); color: var(--muted); letter-spacing: 0.1em; }
.hud b { color: var(--ink); font-weight: 600; }
.eq { display: inline-flex; align-items: end; gap: 3px; height: 18px; }
.eq i { width: 3px; height: 18px; background: var(--cyan); border-radius: 2px; transform-origin: bottom; animation: eq 0.484s ease-in-out infinite alternate; }
.eq i:nth-child(odd) { background: var(--pink); animation-duration: 0.363s; }
.eq i:nth-child(3n) { animation-duration: 0.605s; }
@keyframes eq { from { transform: scaleY(0.17); } to { transform: scaleY(1); } }
.credit { font: 500 0.72rem/1 var(--mono); color: #77778a; text-decoration: none; }
.credit:hover { color: var(--ink); }

/* Ticker */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: #08080d; padding: 18px 0; }
.ticker-track { display: flex; gap: 34px; width: max-content; animation: marquee 38s linear infinite; font: 700 clamp(1rem, 2vw, 1.5rem)/1 var(--display); text-transform: uppercase; letter-spacing: -0.01em; white-space: nowrap; }
.ticker-track b { color: var(--pink); font-weight: 400; }
.ticker-track span:nth-of-type(3n) { color: var(--cyan); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Problem */
.problem { padding: clamp(90px, 14vw, 180px) 0; }
.compare { display: grid; gap: 22px; margin-top: 64px; }
.lane { border-radius: 22px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); padding: 22px 22px 18px; }
.lane figcaption { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; color: var(--muted); font-size: 0.95rem; margin-bottom: 16px; }
.lane-canvas { width: 100%; height: clamp(90px, 13vw, 150px); }

/* Engine (pinned) */
.engine { position: relative; height: 480vh; background: var(--bg); }
.engine-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; background: var(--bg); }
.engine-stage { position: relative; flex: 1; min-height: 0; }
#scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.engine-vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 55%, transparent 58%, rgba(5,5,7,0.7) 100%), linear-gradient(180deg, var(--bg) 0%, transparent 16%, transparent 84%, var(--bg) 100%); }
.engine-head { position: relative; z-index: 2; padding: 92px 0 18px; }
.engine-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.8rem); margin-bottom: 18px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.engine-hud { position: absolute; right: var(--gutter); top: 16px; display: grid; gap: 14px; min-width: 190px; padding: 16px 18px; border-radius: 16px; background: rgba(10,10,16,0.82); box-shadow: inset 0 0 0 1px var(--line); font-family: var(--mono); }
.engine-hud small { display: block; font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.engine-hud b { font-weight: 600; font-size: 0.95rem; }
.eh-gains span { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 0.72rem; }
.eh-gains em { font-style: normal; width: 10px; color: var(--muted); }
.eh-gains i { display: block; height: 6px; border-radius: 3px; width: 100%; transform-origin: left; background: var(--pink); box-shadow: 0 0 10px var(--pink); transition: transform 0.1s linear; }
.eh-gains span + span i { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }

.steps { position: relative; width: min(760px, 100%); height: 128px; }
.step { position: absolute; inset: 0 0 auto; opacity: 0; transform: translateY(10px); transition: opacity 0.45s ease, transform 0.45s ease; pointer-events: none; }
.step.is-on { opacity: 1; transform: none; }
.step-n { display: none; }
.step h3 { font-size: clamp(1.15rem, 1.8vw, 1.5rem); line-height: 1.15; margin: 0 0 8px; color: var(--cyan); }
.step p { color: #c9c9d8; font-size: clamp(0.95rem, 1.2vw, 1.05rem); max-width: 70ch; }
.step-bar { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 10px; }
.step-bar button { position: relative; display: grid; gap: 10px; padding: 0; border: 0; background: none; color: var(--muted); text-align: left; cursor: pointer; font: 500 0.74rem/1.2 var(--mono); letter-spacing: 0.04em; }
.step-bar button span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color 0.3s; }
.step-bar button em { font-style: normal; color: #5c5c70; margin-right: 4px; }
.step-bar button::after { content: ""; height: 3px; border-radius: 2px; background: rgba(255,255,255,0.1); }
.step-bar button i { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 2px; background: var(--rainbow); background-size: 500% 100%; transform-origin: left; transform: scaleX(0); box-shadow: 0 0 10px rgba(255,43,214,0.4); }
.step-bar button:nth-child(2) i { background-position: 25% 0; }
.step-bar button:nth-child(3) i { background-position: 50% 0; }
.step-bar button:nth-child(4) i { background-position: 75% 0; }
.step-bar button:nth-child(5) i { background-position: 100% 0; }
.step-bar button.is-on span, .step-bar button:hover span { color: var(--ink); }
.step-bar button.is-on em { color: var(--pink); }
.step-bar button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 6px; }

/* Styles */
.styles { padding: clamp(100px, 14vw, 180px) 0; background: radial-gradient(60% 40% at 80% 0%, rgba(138, 92, 255, 0.14), transparent), var(--bg); }
.sub { max-width: 52ch; margin-top: 22px; color: var(--muted); }
.style-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 56px; }
.style-card { padding: 24px; border-radius: 22px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 0.3s, transform 0.3s; }
.style-card:hover, .style-card.is-live { box-shadow: inset 0 0 0 1px rgba(22,224,255,0.4), 0 20px 60px -30px rgba(22,224,255,0.5); }
.style-card:hover { transform: translateY(-3px); }
.style-card header { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.style-card canvas { width: 100%; height: 150px; margin: 18px 0; border-radius: 12px; background: #07070c; }
.style-card p { color: var(--muted); font-size: 0.96rem; }

/* Decks */
.decks { padding: clamp(100px, 14vw, 180px) 0; border-top: 1px solid var(--line); }
.decks-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.decks-copy > p { margin-top: 24px; color: var(--muted); max-width: 46ch; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
.facts li { padding: 16px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); }
.facts b { display: block; font: 700 1.6rem/1 var(--display); background: var(--rainbow); -webkit-background-clip: text; background-clip: text; color: transparent; }
.facts span { display: block; margin-top: 8px; color: var(--muted); font-size: 0.82rem; line-height: 1.35; }

.console { position: relative; padding: 20px; border-radius: 26px; background: linear-gradient(180deg, #13131d, #0b0b12); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1), 0 40px 120px -40px rgba(255,43,214,0.45), 0 40px 120px -50px rgba(22,224,255,0.5); font-family: var(--mono); font-size: 0.8rem; }
.console-top { display: flex; justify-content: space-between; align-items: center; }
.console-brand { display: inline-flex; align-items: center; gap: 8px; font: 700 0.9rem/1 var(--display); }
.console-phase { padding: 5px 10px; border-radius: 999px; background: rgba(182,255,59,0.12); color: var(--lime); font-weight: 600; }
.mixstyles { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 14px 0 16px; }
.mixstyles span { margin-right: 4px; color: var(--muted); font-size: 0.72rem; }
.mixstyles button { border: 0; border-radius: 999px; padding: 6px 11px; cursor: pointer; background: rgba(255,255,255,0.05); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); font: 600 0.72rem/1 var(--sans); }
.mixstyles button:hover { color: var(--ink); }
.mixstyles button.on { background: linear-gradient(90deg, var(--pink), var(--violet) 50%, var(--cyan)); color: #000; box-shadow: none; }
.cdj { padding: 14px; border-radius: 16px; background: #08080e; box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 10px; }
.cdj-meta { display: grid; gap: 3px; margin-bottom: 10px; }
.cdj-meta small { letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.64rem; }
.cdj[data-deck="a"] small { color: var(--pink); }
.cdj[data-deck="b"] small { color: var(--cyan); }
.cdj-meta b { font: 600 0.92rem/1.2 var(--sans); }
.cdj-meta span { color: var(--muted); }
.trackwave { width: 100%; height: 58px; border-radius: 8px; background: #050508; }
.cdj-row { display: grid; grid-template-columns: 1fr auto auto 1fr; align-items: center; gap: 16px; margin-top: 12px; }
.cue-light, .play-light { display: grid; place-items: center; border-radius: 50%; font-style: normal; background: radial-gradient(circle at 50% 35%, #23232e, #0b0b12 70%); }
.cue-light { grid-column: 2; width: 50px; height: 50px; font: 800 0.66rem/1 var(--mono); letter-spacing: 0.08em; border: 3px solid rgba(255,176,46,0.22); color: rgba(255,176,46,0.4); }
.cue-light.on { border-color: var(--amber); color: var(--amber); box-shadow: 0 0 16px rgba(255,176,46,0.5); }
.play-light { grid-column: 3; width: 66px; height: 66px; border: 3px solid rgba(182,255,59,0.25); color: rgba(182,255,59,0.45); }
.play-light svg { width: 32px; height: 16px; fill: currentColor; }
.play-light.on { border-color: var(--lime); color: var(--lime); box-shadow: 0 0 20px rgba(182,255,59,0.55); }
.play-light.blink { border-color: rgba(182,255,59,0.4); color: rgba(182,255,59,0.6); }
.cdj-clock { grid-column: 4; justify-self: end; display: grid; text-align: right; }
.cdj-clock b { font: 700 1.2rem/1.1 var(--mono); }
.cdj-clock em { font-style: normal; color: var(--amber); font-size: 0.78rem; }

/* Start */
.start { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; padding: 120px 0; isolation: isolate; }
#outro { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.start::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--bg) 0%, rgba(5,5,7,0.35) 30%, rgba(5,5,7,0.2) 60%, var(--bg) 100%); }
.start-inner { text-align: center; display: grid; justify-items: center; }
.start h2 { text-wrap: balance; font-size: clamp(2.2rem, 6vw, 5.2rem); text-shadow: 0 4px 40px rgba(0,0,0,0.6); }
.install { display: grid; gap: 12px; margin-top: 44px; text-align: left; max-width: 560px; }
.install li { display: flex; gap: 16px; align-items: center; padding: 14px 18px; border-radius: 16px; background: rgba(10,10,16,0.85); box-shadow: inset 0 0 0 1px var(--line); }
.install li span { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--rainbow); color: #000; font: 700 0.85rem/1 var(--display); }
.note { max-width: 56ch; margin-top: 18px; color: var(--muted); font-size: 0.85rem; }
/* Beta sign-up */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.beta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.beta input { width: min(300px, 100%); border: 0; border-radius: 999px; padding: 0 20px; min-height: 54px; background: rgba(10,10,16,0.85); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font: 500 1rem/1.2 var(--sans); }
.beta input:focus { outline: 2px solid rgba(62,168,255,0.7); }
.beta input.is-bad { box-shadow: inset 0 0 0 1px #ff5a7a; }
.beta-msg { min-height: 1.4em; margin-top: 12px; font-size: 0.9rem; color: var(--lime); }
.beta-msg.is-bad { color: #ff8aa0; }
.beta.is-done { display: none; }

/* Centred, with room on the right for the floating FILTER button. */
footer { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 28px calc(var(--gutter) + 90px) 28px var(--gutter); border-top: 1px solid var(--line); color: #6c6c80; font-size: 0.85rem; }
footer .brand { --brand-size: 1.1rem; margin: 0; color: var(--ink); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s cubic-bezier(.2,.7,.2,1), transform 0.8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .top nav { display: none; }
  .decks-grid { grid-template-columns: 1fr; }
  .style-grid { grid-template-columns: 1fr; }
  .engine-hud { top: auto; bottom: 16px; right: var(--gutter); left: auto; min-width: 0; padding: 12px 14px; gap: 8px; grid-template-columns: repeat(2, auto); }
  .eh-gains { grid-column: 1 / -1; }
  .steps { height: 150px; }
  .engine-head { padding-top: 80px; }
  .step-bar button span { font-size: 0; }
  .step-bar button span em { font-size: 0.7rem; }
}
@media (max-width: 560px) {
  .brand { --brand-size: 1.35rem; }
  .facts { grid-template-columns: 1fr; }
  .hud .eq { display: none; }
  .hero-foot { flex-direction: column; align-items: start; }
  .engine-hud { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .lasers { display: none; }
}

.engine-auto { position: absolute; right: var(--gutter); bottom: 14px; display: inline-flex; align-items: center; gap: 8px; font: 500 0.7rem/1 var(--mono); letter-spacing: 0.08em; color: var(--muted); opacity: 0; transition: opacity 0.4s; pointer-events: none; }
.engine-auto span { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 8px var(--lime); animation: pulse 0.968s ease-out infinite; }
.engine-auto.is-on { opacity: 1; }

/* FILTER: the one big blue ON/OFF dome of a DJM mixer, floating bottom
   right, bigger than the loop domes on the decks. OFF is dark blue glass;
   ON lights it from inside and pulses on the beat while the help is open. */
.filter { position: fixed; right: 22px; bottom: 22px; z-index: 50; display: grid; justify-items: center; gap: 6px; }
.filter small { font: 600 9px/1 var(--mono); letter-spacing: 0.12em; color: #8d8da3; text-transform: uppercase; }
.filter-btn {
  width: 58px; height: 58px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: radial-gradient(circle at 50% 38%, rgba(150,200,255,0.35), rgba(20,60,130,0.9) 70%, #0b1f44 100%);
  box-shadow: inset 0 2px 3px rgba(255,255,255,0.25), inset 0 -3px 5px rgba(0,0,0,0.6), 0 0 0 3px #0b0b10, 0 0 0 4px rgba(255,255,255,0.08), 0 6px 16px rgba(0,0,0,0.6);
  transition: box-shadow 0.12s, background 0.12s, transform 0.12s;
}
.filter-btn:active { transform: translateY(1px); }
.filter-btn:focus-visible { outline: 2px solid #16e0ff; outline-offset: 6px; }
/* Lit (steady) from the first scroll; pulsing while the help is open. */
.filter-btn.is-lit, .filter-btn.is-on {
  background: radial-gradient(circle at 50% 42%, #eaf7ff 0%, #9fd8ff 28%, #3ea8ff 60%, #1668d6 100%);
  box-shadow: inset 0 2px 3px rgba(255,255,255,0.7), inset 0 -3px 6px rgba(0,40,120,0.5), 0 0 0 3px #0b0b10, 0 0 0 4px rgba(80,170,255,0.55), 0 0 24px rgba(70,160,255,0.85), 0 0 48px rgba(50,130,255,0.45);
  animation: filter-pulse 0.75s ease-in-out infinite;
}
@keyframes filter-pulse {
  0%, 100% { box-shadow: inset 0 2px 3px rgba(255,255,255,0.7), inset 0 -3px 6px rgba(0,40,120,0.5), 0 0 0 3px #0b0b10, 0 0 0 4px rgba(80,170,255,0.55), 0 0 24px rgba(70,160,255,0.85), 0 0 48px rgba(50,130,255,0.45); }
  50% { background: radial-gradient(circle at 50% 42%, #bfe3ff 0%, #5fb6f5 30%, #2a86e0 62%, #1253b0 100%); box-shadow: inset 0 2px 3px rgba(255,255,255,0.45), inset 0 -3px 6px rgba(0,40,120,0.5), 0 0 0 3px #0b0b10, 0 0 0 4px rgba(80,170,255,0.3), 0 0 8px rgba(70,160,255,0.4), 0 0 14px rgba(50,130,255,0.15); }
}
@media (prefers-reduced-motion: reduce) { .filter-btn.is-on { animation: none; } }
/* The help: a small chat above the button. */
.ask[hidden] { display: none; }
/* Light, so it reads as its own surface over the dark page. */
.ask { --ask-bg: #f3f4f8; --ask-ink: #12121a; --ask-muted: #5d5f73; --ask-line: rgba(18,18,26,0.12); position: absolute; right: 0; bottom: 92px; width: min(360px, calc(100vw - 32px)); display: grid; grid-template-rows: auto 1fr auto auto; max-height: min(560px, calc(100svh - 130px)); border-radius: 18px; background: var(--ask-bg); box-shadow: 0 0 0 1px rgba(255,255,255,0.35), 0 24px 60px rgba(0,0,0,0.65), 0 0 40px rgba(62,168,255,0.25); color: var(--ask-ink); overflow: hidden; }
.ask header { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid var(--ask-line); background: #fff; }
.ask-title { font: 700 0.9rem/1 var(--display); }
.ask-close { border: 0; background: transparent; color: var(--ask-muted); font-size: 22px; line-height: 1; cursor: pointer; padding: 0 4px; }
.ask-close:hover { color: var(--ask-ink); }
.ask-log { overflow-y: auto; padding: 12px 14px; display: grid; gap: 8px; align-content: start; min-height: 120px; }
.ask-msg { margin: 0; max-width: 92%; padding: 9px 12px; border-radius: 14px; font-size: 0.86rem; line-height: 1.45; }
.ask-bot { background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,0.08); border-bottom-left-radius: 4px; }
.ask-you { background: #1668d6; color: #fff; justify-self: end; border-bottom-right-radius: 4px; }
.ask-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 10px; }
.ask-chips button { border: 0; border-radius: 999px; padding: 7px 11px; background: #fff; box-shadow: inset 0 0 0 1px var(--ask-line); color: var(--ask-ink); font: 500 0.76rem/1 var(--sans); cursor: pointer; }
.ask-chips button:hover { background: #e6f0ff; box-shadow: inset 0 0 0 1px #3ea8ff; }
.ask form { display: flex; gap: 8px; padding: 10px 14px 14px; border-top: 1px solid var(--ask-line); background: #fff; }
.ask input { flex: 1; min-width: 0; border: 0; border-radius: 10px; padding: 11px 12px; background: #f3f4f8; box-shadow: inset 0 0 0 1px var(--ask-line); color: var(--ask-ink); font: 500 0.9rem/1.2 var(--sans); }
.ask input:focus { outline: 2px solid rgba(62,168,255,0.6); }
.ask form button { border: 0; border-radius: 10px; padding: 0 14px; background: linear-gradient(180deg, #3ea8ff, #1668d6); color: #fff; font: 700 0.8rem/1 var(--sans); cursor: pointer; }
@media (max-width: 560px) {
  footer { padding: 24px var(--gutter) 96px; }
  .filter { right: 14px; bottom: 14px; }
  .filter-btn { width: 50px; height: 50px; }
  /* On a phone the help takes the whole view. */
  .ask { position: fixed; top: 0; right: 0; bottom: 0; left: 0; width: auto; max-height: none; border-radius: 0; }
  .ask-log { font-size: 1rem; }
  .ask-msg { font-size: 0.95rem; max-width: 88%; }
  .filter.is-open small, .filter.is-open .filter-btn { visibility: hidden; }
}
