/* Blowtorch — product page at cadencebroadcast.com/blowtorch.
   Dark only, like the console it sells: the tokens below echo cadence-shared/ui/css/tokens.css
   (the console's amber and meter blue) plus the logo's molten and plasma ramps. */

@font-face { font-family: 'Deviate Sans'; src: url(../assets/fonts/deviate-sans-regular.woff2?v=170) format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Deviate Sans'; src: url(../assets/fonts/deviate-sans-bold.woff2?v=170) format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Schibsted Grotesk'; src: url(../assets/fonts/schibsted-grotesk.woff2) format('woff2'); font-weight: 400 900; font-display: swap; }
/* Martian Mono runs wide, so every label is set at 11/12 of its nominal size (the font shortlist's setting) */
@font-face { font-family: 'Martian Mono'; src: url(../assets/fonts/martian-mono.woff2) format('woff2'); font-weight: 100 800; font-display: swap; size-adjust: 91.7%; }
@font-face { font-family: 'DSEG7'; src: url(../assets/fonts/dseg7.woff2) format('woff2'); font-weight: 700; font-display: block; }

:root {
  color-scheme: dark;
  --bg: #060709;
  --bg2: #0A0C0F;
  --panel: #101317;
  --panel2: #15181C;
  --raise: #1C2127;
  --line: rgba(255, 255, 255, .07);
  --line2: rgba(255, 255, 255, .13);
  --text: #F2F4F5;
  --text2: #A9B3BB;
  --mute: #6E7A84;
  --dim: #3A424A;

  --amber: #FA8E0A; --amber-rgb: 250, 142, 10;
  --ember: #FF5A1F; --ember-rgb: 255, 90, 31;
  --gold: #FFBE1A;
  --blue: #4AB8E8; --blue-rgb: 74, 184, 232;
  --cyan: #00E1FF; --cyan-rgb: 0, 225, 255;
  --green: #37BE66;
  --red: #F64531; --red-rgb: 246, 69, 49;

  --molten: linear-gradient(100deg, #C01600 0%, #FF3D00 22%, #FF7A00 48%, #FFBE1A 76%, #FFF2A8 100%);
  --plasma: linear-gradient(100deg, #0018B8 0%, #004CFF 18%, #00AEFF 46%, #00F5FF 80%, #E2FFFF 100%);

  --display: 'Deviate Sans', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --body: 'Schibsted Grotesk', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: 'Martian Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --mono-tk: .55; /* label tracking, as a share of what JetBrains Mono needed */

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
/* Film grain over everything, faint: keeps the big dark fields from banding. */
body::after {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: .045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: rgba(var(--amber-rgb), .35); color: #fff; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--amber); color: #120800; padding: 10px 14px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -.035em; line-height: .98; font-weight: 800; }
h2 { font-size: clamp(40px, 6.4vw, 92px); text-wrap: balance; }
h3 { font-size: clamp(20px, 1.8vw, 24px); letter-spacing: -.02em; line-height: 1.15; font-weight: 700; }
p { margin: 0; }
.lede { color: var(--text2); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; max-width: 34em; margin-top: 22px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px;
  font: 500 12px/1 var(--mono); letter-spacing: calc(.18em * var(--mono-tk)); text-transform: uppercase; color: var(--text2);
}
.hot-text {
  background: var(--molten); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 7s linear infinite;
}
.plasma-text { background: var(--plasma); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes shimmer { to { background-position: -200% 0; } }

section { position: relative; }
.sec { padding: clamp(96px, 13vw, 176px) 0; }
.sec-head { max-width: 900px; }
.sec-head.center { margin: 0 auto; text-align: center; }
.sec-head.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 68px;
  display: flex; align-items: center;
  transition: background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(6, 7, 9, .62); backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%); border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand .brand-icon { width: 30px; height: 30px; display: block; border-radius: 7px; box-shadow: 0 2px 8px rgba(0, 0, 0, .45); }
.brand b { font: 700 19px/1 var(--display); letter-spacing: -.02em; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { text-decoration: none; font-size: 14px; color: var(--text2); padding: 8px 12px; border-radius: 999px; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.badge {
  display: inline-flex; align-items: center; white-space: nowrap;
  font: 600 12px/1 var(--mono); letter-spacing: calc(.12em * var(--mono-tk)); text-transform: uppercase;
  color: #FFE7C2; padding: 10px 15px; border-radius: 999px;
  background: linear-gradient(180deg, rgba(var(--amber-rgb), .20), rgba(var(--amber-rgb), .08));
  border: 1px solid rgba(var(--amber-rgb), .45);
  box-shadow: 0 0 24px rgba(var(--amber-rgb), .18), inset 0 1px 0 rgba(255, 255, 255, .12);
}
.nav .badge { margin-left: 8px; }

/* ---------- hero ---------- */
.hero { min-height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero canvas.flame { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero .fallback { position: absolute; inset: 0; z-index: -3; background:
  radial-gradient(40% 50% at 70% 50%, rgba(255, 72, 0, .35), transparent 70%),
  radial-gradient(30% 20% at 86% 50%, rgba(0, 150, 255, .35), transparent 70%), var(--bg); }
.hero .fallback svg { position: absolute; right: 6%; top: 50%; width: min(52vw, 640px); transform: translateY(-50%); }
.hero::before { /* legibility behind the words */
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(6, 7, 9, .82) 0%, rgba(6, 7, 9, .55) 34%, rgba(6, 7, 9, 0) 60%),
              linear-gradient(0deg, var(--bg) 0%, rgba(6, 7, 9, 0) 22%);
}
.hero-inner { padding-top: 120px; padding-bottom: 120px; }
.hero h1 { font-size: clamp(58px, 9vw, 132px); line-height: .88; letter-spacing: -.05em; max-width: 8.2em; }
/* Each line clips its own rise. The clip reaches .24em below the tight line box so descenders
   (the g of "through") stay whole; the negative margin keeps the line spacing as it was. */
.hero h1 .line { display: block; overflow: hidden; padding: .04em .02em .24em; margin: -.04em -.02em -.24em; }
.hero h1 .line > span { display: inline-block; transform: translateY(140%); animation: rise 1.1s var(--ease) forwards; animation-delay: calc(var(--i) * 140ms + 250ms); }
@keyframes rise { to { transform: none; } }
.hero-sub { margin-top: 30px; max-width: 30em; font-size: clamp(18px, 1.7vw, 23px); line-height: 1.45; color: #D5DBDF; opacity: 0; animation: fadeup 1s var(--ease) .75s forwards; }
.hero .eyebrow { opacity: 0; animation: fadeup 1s var(--ease) .1s forwards; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 38px; opacity: 0; animation: fadeup 1s var(--ease) .95s forwards; }
@keyframes fadeup { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.btn {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none; cursor: pointer;
  font: 600 15px/1 var(--body); color: var(--text); padding: 15px 22px 15px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line2);
  transition: background .25s, border-color .25s, transform .25s var(--ease);
}
.btn:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .24); transform: translateY(-1px); }
.btn .ic { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--molten); box-shadow: 0 0 18px rgba(var(--ember-rgb), .5); }
.btn .ic svg { width: 11px; height: 11px; margin-left: 2px; }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font: 500 10.5px/1 var(--mono); letter-spacing: calc(.24em * var(--mono-tk)); text-transform: uppercase; color: var(--mute); opacity: 0; animation: fadeup 1s var(--ease) 1.4s forwards; }
.scroll-cue i { width: 1px; height: 44px; background: linear-gradient(var(--amber), transparent); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ''; position: absolute; left: -1px; width: 3px; height: 12px; border-radius: 2px; background: #fff; box-shadow: 0 0 8px var(--amber); animation: drip 1.8s var(--ease) infinite; }
@keyframes drip { from { top: -12px; } to { top: 44px; } }

/* ---------- marquee ---------- */
.marquee { padding: 34px 0 30px; border-block: 1px solid var(--line); background: linear-gradient(180deg, var(--bg), var(--bg2)); overflow: hidden; user-select: none; }
.mq-row { display: flex; width: max-content; will-change: transform; }
.mq-row + .mq-row { margin-top: 8px; }
.mq-item { display: inline-flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); padding-right: clamp(18px, 2.4vw, 34px); font: 800 clamp(42px, 7vw, 104px)/1 var(--display); letter-spacing: -.045em; text-transform: uppercase; white-space: nowrap; }
.mq-item.o { color: transparent; -webkit-text-stroke: 1.2px rgba(255, 255, 255, .28); }
.mq-item.f { color: #E9ECEE; }
.mq-item.h { background: var(--molten); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mq-item svg { width: clamp(26px, 3.4vw, 48px); height: clamp(26px, 3.4vw, 48px); stroke: var(--amber); stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 10px rgba(var(--amber-rgb), .55)); flex: none; }

/* ---------- intro statement ---------- */
.intro { padding: clamp(110px, 16vw, 220px) 0; }
.statement { font: 700 clamp(32px, 4.6vw, 66px)/1.12 var(--display); letter-spacing: -.03em; max-width: 19em; }
.statement .w { color: #2A3036; transition: color .5s var(--ease), text-shadow .5s var(--ease); }
.statement .w.lit { color: var(--text); }
.statement .w.front { color: #FFD9A8; text-shadow: 0 0 28px rgba(var(--ember-rgb), .65); }

/* ---------- stats ---------- */
.stats { padding-bottom: clamp(60px, 9vw, 120px); }
.stat-row { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 30px 22px 6px 0; border-right: 1px solid var(--line); padding-left: 22px; }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat .v { display: flex; align-items: baseline; gap: 6px; font: 800 clamp(44px, 5.2vw, 76px)/1 var(--display); letter-spacing: -.045em; }
.stat .v b { font-weight: 800; background: var(--molten); background-size: 180% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .v small { font: 600 clamp(16px, 1.5vw, 20px)/1 var(--display); color: var(--amber); letter-spacing: -.01em; }
.stat .l { margin-top: 12px; font: 500 12px/1.4 var(--mono); letter-spacing: calc(.08em * var(--mono-tk)); text-transform: uppercase; color: var(--text2); }

/* ---------- demo ---------- */
.demo { background: radial-gradient(60% 50% at 50% 0%, rgba(var(--ember-rgb), .10), transparent 70%); }
.rack {
  --accent: 74, 184, 232;
  margin-top: 56px; position: relative; border-radius: 28px; padding: clamp(16px, 2.2vw, 28px);
  background: linear-gradient(180deg, #13161A, #0C0E11);
  border: 1px solid var(--line2);
  box-shadow: 0 50px 120px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .06);
  transition: box-shadow .6s var(--ease);
}
.rack::before { /* the glow that follows the switch */
  content: ''; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; padding: 1px;
  background: linear-gradient(140deg, rgba(var(--accent), .7), rgba(var(--accent), .05) 40%, rgba(var(--accent), .0) 60%, rgba(var(--accent), .5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  transition: background .6s;
}
.rack.wet { --accent: 250, 142, 10; box-shadow: 0 50px 120px -40px rgba(0, 0, 0, .9), 0 0 90px -20px rgba(var(--ember-rgb), .35), inset 0 1px 0 rgba(255, 255, 255, .06); }
.rack-top { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(14px, 2vw, 26px); }
.play {
  position: relative; width: 74px; height: 74px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #FFD08A, #FF7A00 45%, #C83000 100%);
  box-shadow: 0 10px 30px -6px rgba(var(--ember-rgb), .7), inset 0 2px 1px rgba(255, 255, 255, .45), inset 0 -3px 6px rgba(0, 0, 0, .35);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.play:hover { transform: scale(1.05); }
.play:active { transform: scale(.96); }
.play svg { width: 26px; height: 26px; fill: #1A0600; }
.play .i-pause { display: none; }
.rack.playing .play .i-play { display: none; }
.rack.playing .play .i-pause { display: block; }
.play::after { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(var(--ember-rgb), .5); opacity: 0; }
.rack.playing .play::after { animation: ring 1.6s var(--ease) infinite; }
.rack.loading .play::after { opacity: 1; border-color: rgba(255, 255, 255, .15); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes ring { from { transform: scale(.9); opacity: .9; } to { transform: scale(1.35); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

.switch { position: relative; justify-self: start; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 999px; background: #07090B; border: 1px solid var(--line2); box-shadow: inset 0 2px 8px rgba(0, 0, 0, .6); }
.switch button { position: relative; z-index: 1; border: 0; background: none; cursor: pointer; padding: 14px clamp(16px, 2.4vw, 30px); font: 700 clamp(14px, 1.3vw, 17px)/1 var(--display); letter-spacing: -.01em; color: var(--mute); transition: color .35s; white-space: nowrap; }
.switch button[aria-checked="true"] { color: #fff; }
.switch .thumb { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: linear-gradient(180deg, #2A3A46, #1B252D); box-shadow: 0 0 0 1px rgba(var(--blue-rgb), .5), 0 6px 20px -4px rgba(var(--blue-rgb), .5); transition: transform .45s var(--ease), background .45s, box-shadow .45s; }
.rack.wet .switch .thumb { transform: translateX(100%); background: linear-gradient(180deg, #FF8A1E, #D84400); box-shadow: 0 0 0 1px rgba(255, 190, 120, .6), 0 8px 26px -4px rgba(var(--ember-rgb), .8); }
.rack.wet .switch button[aria-checked="true"] { color: #1A0700; }

.readout { display: flex; align-items: center; gap: 16px; }
.readout .lab { display: flex; flex-direction: column; gap: 6px; font: 500 11px/1 var(--mono); letter-spacing: calc(.14em * var(--mono-tk)); text-transform: uppercase; color: var(--mute); text-align: right; }
.readout .lab em { font-style: normal; color: var(--text2); }
.seg { position: relative; font: 700 clamp(34px, 3.6vw, 50px)/1 'DSEG7', var(--mono); padding: 12px 16px; border-radius: 14px; background: #050607; border: 1px solid var(--line); box-shadow: inset 0 2px 10px rgba(0, 0, 0, .8); }
.seg .ghost { color: rgba(255, 255, 255, .045); }
.seg .val { position: absolute; right: 16px; top: 12px; color: rgb(var(--accent)); text-shadow: 0 0 18px rgba(var(--accent), .55); transition: color .5s, text-shadow .5s; }

.scope { position: relative; margin-top: clamp(16px, 2vw, 24px); border-radius: 18px; background: #07090B; border: 1px solid var(--line); overflow: hidden; cursor: pointer; touch-action: none; }
.scope canvas { width: 100%; height: clamp(260px, 30vw, 380px); }
.seg-names { position: absolute; left: 0; right: 0; top: 12px; display: grid; pointer-events: none; }
.seg-names span { font: 600 11px/1 var(--mono); letter-spacing: calc(.12em * var(--mono-tk)); text-transform: uppercase; color: var(--mute); padding-left: 14px; transition: color .3s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seg-names span.on { color: var(--text); }
/* The console's Meters window under the scope, in the console's own tokens, chrome and system
   font (client/src/styles/shell.css in the compress repo); dimmed while the dry side plays. */
.cwin { margin-top: 12px; overflow: hidden; border-radius: 9px; background: #15181C; border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 0 0 .5px rgba(0, 0, 0, .9), 0 26px 64px rgba(0, 0, 0, .62); }
.cwin .tbar { position: relative; height: 31px; display: flex; align-items: center; padding: 0 10px; background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03)); border-bottom: 1px solid rgba(0, 0, 0, .55); }
.cwin .light { width: 12px; height: 12px; margin-left: auto; margin-right: 2px; border-radius: 50%; background: #E5544B; }
.cwin .wtitle { position: absolute; left: 0; right: 0; text-align: center; font: 590 12.5px/1 -apple-system, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif; letter-spacing: -.01em; color: #A7B2BB; }
.cwin .mbody { padding: 10px 12px 8px; }
.cwin canvas { width: 100%; height: 240px; transition: opacity .5s; }
.rack:not(.wet) .cwin canvas { opacity: .45; }
.rack-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; margin-top: 16px; font: 500 12px/1.5 var(--mono); color: var(--mute); }
.rack-foot .hint { color: var(--text2); display: inline-flex; align-items: center; gap: 10px; }
.rack-foot .time { color: var(--text2); font-variant-numeric: tabular-nums; }
.demo-note { margin-top: 18px; font-size: 13px; color: var(--mute); text-align: center; }

/* ---------- chain ---------- */
.stages { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: st; }
.stage {
  position: relative; border-radius: 20px; padding: 18px 18px 16px; min-height: 250px; display: flex; flex-direction: column;
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012)); border: 1px solid var(--line);
  transition: border-color .5s, background .5s, transform .5s var(--ease), box-shadow .5s;
}
.stage.lit { border-color: rgba(var(--amber-rgb), .55); background: linear-gradient(180deg, rgba(var(--amber-rgb), .10), rgba(var(--amber-rgb), .02)); box-shadow: 0 20px 50px -24px rgba(var(--ember-rgb), .6); transform: translateY(-4px); }
.stage .top { display: flex; align-items: center; justify-content: space-between; }
.lamp { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(180deg, #1D2228, #13171B); border: 1px solid var(--line2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
.lamp svg { width: 24px; height: 24px; fill: none; stroke: #59636B; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s, filter .4s; }
.stage.lit .lamp svg { stroke: #FFB45C; filter: drop-shadow(0 0 6px rgba(var(--amber-rgb), .9)); }
.stage h3 { margin-top: 18px; }
.stage p { margin: 8px 0 14px; font-size: 14.5px; line-height: 1.45; color: var(--text2); }
.stage canvas { margin-top: auto; width: 100%; height: 56px; }

.order { margin-top: 26px; display: grid; grid-template-columns: minmax(240px, .8fr) 2fr; gap: 28px; align-items: center; border-radius: 24px; padding: clamp(20px, 3vw, 34px); border: 1px solid var(--line); background: radial-gradient(80% 140% at 100% 0%, rgba(var(--amber-rgb), .08), transparent 60%), rgba(255, 255, 255, .015); }
.order h3 { font-size: clamp(24px, 2.4vw, 32px); }
.order p { margin-top: 10px; color: var(--text2); }
.order-ui { min-width: 0; }
.order-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.order-bar button { cursor: pointer; border: 1px solid var(--line2); background: rgba(255, 255, 255, .04); padding: 8px 14px; border-radius: 999px; font: 600 13px/1 var(--body); color: var(--text2); transition: all .25s; }
.order-bar button[aria-pressed="true"] { color: #1A0700; background: var(--amber); border-color: var(--amber); }
.order-bar .hint { margin-left: auto; font: 500 12px/1 var(--mono); color: var(--mute); display: inline-flex; gap: 8px; align-items: center; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; position: relative; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px 9px 10px; border-radius: 12px; user-select: none; touch-action: none;
  font: 600 14px/1 var(--body); background: linear-gradient(180deg, #1D2228, #14181C); border: 1px solid var(--line2); cursor: grab;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset; transition: box-shadow .2s, border-color .2s;
}
.chip svg { width: 18px; height: 18px; fill: none; stroke: #FFB45C; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.chip.fixed { cursor: default; opacity: .7; }
.chip.fixed svg { stroke: var(--mute); }
.chip.drag { cursor: grabbing; z-index: 5; border-color: var(--amber); box-shadow: 0 16px 34px -10px rgba(var(--ember-rgb), .8); }
.chip.ceil { border-color: rgba(var(--amber-rgb), .45); }
.chips .arrow { align-self: center; color: var(--dim); font: 500 13px/1 var(--mono); }

/* ---------- two paths ---------- */
.paths { background: linear-gradient(180deg, var(--bg), var(--bg2) 50%, var(--bg)); }
.fork { position: relative; margin-top: 64px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 36px clamp(60px, 9vw, 130px); align-items: center; }
.fork svg.wires, .net svg.wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 0; }
.node { position: relative; z-index: 1; border-radius: 18px; padding: 16px 18px; background: #0E1114; border: 1px solid var(--line2); }
.node .k { display: block; font: 500 11px/1 var(--mono); letter-spacing: calc(.14em * var(--mono-tk)); text-transform: uppercase; color: var(--mute); }
.node .v { display: block; margin-top: 10px; font: 600 15px/1.45 var(--body); color: var(--text); }
.node .v i { font-style: normal; color: var(--dim); padding: 0 4px; }
.shared { grid-row: 1 / span 2; }
/* The shared stages, one per row: each icon beside its own name, in signal order. */
.shared { padding: 14px 18px; }
.shared ol.k { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.shared li { display: flex; align-items: center; gap: 14px; padding: 5px 0; color: var(--text2); }
.shared li svg { flex: none; width: 22px; height: 22px; fill: none; stroke: #FFB45C; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(var(--amber-rgb), .45)); }
.branch { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 40px; align-items: center; }
.branch .node b { display: block; font: 700 20px/1 var(--display); letter-spacing: -.02em; }
.branch .node .v { font-size: 13.5px; color: var(--text2); margin-top: 8px; }
.branch.fast .node { border-color: rgba(var(--blue-rgb), .4); }
.branch.look .node { border-color: rgba(var(--amber-rgb), .45); overflow: hidden; }
.branch.look .node::after { /* the lookahead scanning ahead of the peaks */
  content: ''; position: absolute; top: 0; bottom: 0; width: 38%; left: -40%;
  background: linear-gradient(90deg, transparent, rgba(var(--amber-rgb), .16), transparent);
  animation: scan 2.8s ease-in-out infinite;
}
@keyframes scan { to { left: 105%; } }
.endpt { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; }
.endpt .ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: #0E1114; border: 1px solid var(--line2); }
.endpt .ico svg { width: 26px; height: 26px; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fast .endpt .ico svg { stroke: var(--blue); }
.look .endpt .ico svg { stroke: var(--amber); }
.endpt .tag { font: 600 13px/1.3 var(--mono); color: var(--text2); max-width: 11em; }
.branch .line { grid-column: 1 / -1; color: var(--text2); font-size: 15px; }
.wire-base { fill: none; stroke: rgba(255, 255, 255, .09); stroke-width: 2; }
.wire-flow { fill: none; stroke-width: 2; stroke-dasharray: 2 10; stroke-linecap: round; animation: flow 1.2s linear infinite; }
.wire-flow.amber { stroke: rgba(var(--amber-rgb), .75); }
.wire-flow.blue { stroke: rgba(var(--blue-rgb), .75); }
@keyframes flow { to { stroke-dashoffset: -24; } }
.packet { filter: url(#glow); }

/* ---------- FM ---------- */
.two-col { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 90px); align-items: center; }
.ticks { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; font-size: 16.5px; color: #D5DBDF; }
.ticks li::before { content: ''; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 6px; background: rgba(var(--amber-rgb), .14) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'><path d='M5 9.5l2.6 2.6L13 6.6' fill='none' stroke='%23FFB45C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/100% no-repeat; border: 1px solid rgba(var(--amber-rgb), .4); }
.mpx { margin: 0; border-radius: 24px; padding: 18px; background: linear-gradient(180deg, #111418, #0A0C0E); border: 1px solid var(--line2); box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .9); }
.mpx canvas { width: 100%; height: clamp(260px, 30vw, 380px); }
.mpx figcaption { display: flex; justify-content: space-between; gap: 10px; padding: 12px 4px 0; font: 500 11px/1.4 var(--mono); letter-spacing: calc(.1em * var(--mono-tk)); text-transform: uppercase; color: var(--mute); }

/* ---------- streams ---------- */
.net { position: relative; margin-top: 64px; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: clamp(40px, 8vw, 120px); align-items: center; }
.net .col { position: relative; z-index: 1; display: grid; gap: 10px; }
.net .col-lab { font: 600 11px/1 var(--mono); letter-spacing: calc(.2em * var(--mono-tk)); text-transform: uppercase; color: var(--mute); margin-bottom: 6px; }
.outs .col-lab { text-align: right; }
.proto { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; border-radius: 14px; background: #0E1114; border: 1px solid var(--line2); }
.proto b { font: 700 16px/1 var(--display); letter-spacing: -.01em; }
.proto span { font: 500 11.5px/1.3 var(--mono); color: var(--mute); text-align: right; }
.ins .proto { border-left: 2px solid rgba(var(--blue-rgb), .7); }
.outs .proto { border-right: 2px solid rgba(var(--amber-rgb), .8); }
.hub { position: relative; z-index: 1; width: clamp(150px, 16vw, 210px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle, rgba(255, 90, 0, .28), rgba(255, 90, 0, .05) 60%, transparent 70%), #0B0D10;
  border: 1px solid rgba(var(--amber-rgb), .35); box-shadow: 0 0 80px -10px rgba(var(--ember-rgb), .45), inset 0 0 40px rgba(var(--ember-rgb), .15); }
.hub::before { content: ''; position: absolute; inset: -14px; border-radius: 50%; border: 1px dashed rgba(var(--amber-rgb), .25); animation: spin 30s linear infinite; }
.hub svg { width: 64%; height: 64%; }
/* With WebGL the hub is the hero's flame, live, in a circle; the still mark stays for readers. */
.hub canvas { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; }
.hub.gl svg { opacity: 0; }
.nocard { margin: clamp(44px, 5vw, 72px) auto 0; width: fit-content; max-width: 100%; display: flex; align-items: center; gap: 14px; padding: 16px 24px; border-radius: 999px; font: 700 clamp(16px, 1.6vw, 20px)/1.3 var(--display); letter-spacing: -.01em; border: 1px solid rgba(var(--amber-rgb), .4); background: rgba(var(--amber-rgb), .07); }
.nocard svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--amber); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
/* The output codecs hang under the Out column, out of its flow, so In and Out keep the same rows. */
.codecs { position: absolute; top: calc(100% + 12px); right: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.codecs span { font: 600 11px/1 var(--mono); padding: 6px 8px; border-radius: 7px; background: rgba(var(--amber-rgb), .1); color: #FFC98A; border: 1px solid rgba(var(--amber-rgb), .25); }
.card { position: relative; border-radius: 20px; padding: 22px; background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012)); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s, transform .4s var(--ease); }
.card::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--amber-rgb), .12), transparent 60%); }
.card:hover { border-color: var(--line2); transform: translateY(-3px); }
.card:hover::before { opacity: 1; }
.card h3 { margin-top: 18px; font-size: 19px; }
.card p { margin-top: 8px; color: var(--text2); font-size: 15px; line-height: 1.45; }

/* ---------- AI ---------- */
.ai { background: radial-gradient(50% 60% at 85% 50%, rgba(var(--blue-rgb), .08), transparent 70%); }
.ai-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 14px; }
.ai-list li { display: flex; gap: 14px; align-items: center; font-size: 17px; color: #D5DBDF; }
.ai-list li::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 10px rgba(var(--blue-rgb), .6); }
.ai-note { margin-top: 26px; display: inline-flex; gap: 10px; align-items: center; font: 500 13px/1.4 var(--mono); color: var(--mute); }
.ai-note svg { width: 16px; height: 16px; fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.session { border-radius: 24px; overflow: hidden; background: #0B0D10; border: 1px solid var(--line2); box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .9), 0 0 80px -30px rgba(var(--blue-rgb), .35); }
.session-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: #111418; font: 500 12px/1 var(--mono); color: var(--mute); }
.session-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2A3036; }
.session-bar i:first-child { background: var(--green); box-shadow: 0 0 8px var(--green); }
.session-bar em { font-style: normal; margin-left: 8px; }
.session-body { padding: 22px; min-height: 360px; display: flex; flex-direction: column; gap: 14px; font-size: 15px; }
.turn { display: flex; gap: 12px; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s var(--ease); }
.turn.on { opacity: 1; transform: none; }
.turn .who { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; }
.turn .who svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.turn.you .who { background: #1F252B; color: var(--text2); }
.turn.assistant .who, .turn.tool .who { background: rgba(var(--blue-rgb), .14); color: var(--blue); }
.turn .txt { padding-top: 5px; line-height: 1.5; color: #DCE2E6; }
.turn.you .txt { color: var(--text); }
.turn.tool .txt { font: 500 13px/1.5 var(--mono); color: var(--text2); }
.turn.tool .txt b { color: var(--blue); font-weight: 600; }
.turn.tool .txt .res { display: block; color: #FFC98A; margin-top: 4px; }
.caret { display: inline-block; width: 8px; height: 1.05em; vertical-align: -2px; background: var(--blue); margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- console ---------- */
.console { overflow: hidden; }
/* The tour: the console's own windows, one at a time, the tabs down the side on wide screens. */
.tour { margin-top: 64px; display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: center; }
.tour-tabs { display: grid; gap: 8px; }
.tour-tabs button { position: relative; overflow: hidden; text-align: left; cursor: pointer; padding: 16px 18px 18px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); transition: border-color .3s, background .3s; }
.tour-tabs button:hover { border-color: var(--line2); }
.tour-tabs b { display: block; font: 700 19px/1.1 var(--display); letter-spacing: -.02em; color: var(--text2); transition: color .3s; }
.tour-tabs span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.45; color: var(--mute); transition: color .3s; }
.tour-tabs button[aria-selected="true"] { border-color: rgba(var(--amber-rgb), .45); background: linear-gradient(180deg, rgba(var(--amber-rgb), .09), rgba(var(--amber-rgb), .02)); }
.tour-tabs button[aria-selected="true"] b { color: var(--text); }
.tour-tabs button[aria-selected="true"] span { color: var(--text2); }
/* How long until the next window: a hairline filling along the tab's foot. */
.tour-tabs i { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; transform: scaleX(0); transform-origin: 0 50%; background: var(--molten); }
.tour.auto .tour-tabs button[aria-selected="true"] i { animation: tourfill var(--tour-ms, 6000ms) linear forwards; }
@keyframes tourfill { to { transform: none; } }
.tour-stage { position: relative; height: clamp(360px, 46vw, 640px); display: grid; place-items: center;
  border-radius: 24px; background: radial-gradient(60% 60% at 50% 45%, rgba(var(--ember-rgb), .12), transparent 70%), #08090C; border: 1px solid var(--line); }
.tour-stage figure { position: absolute; inset: clamp(14px, 2.4vw, 32px); margin: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(10px) scale(.985); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.tour-stage figure.on { opacity: 1; transform: none; }
.tour-stage figure[hidden] { display: flex; visibility: hidden; }
.tour-cap { display: none; }
.tour-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 12px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .08), 0 0 80px -30px rgba(var(--ember-rgb), .4); }

/* Speech or music, in the console section: the classifier's real output, replayed. */
.hear { margin-top: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 3vw, 40px); align-items: center; padding: clamp(20px, 3vw, 34px);
  background: radial-gradient(70% 120% at 100% 50%, rgba(var(--blue-rgb), .10), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012)); }
.hear .kicker { display: inline-block; font: 600 11px/1 var(--mono); letter-spacing: calc(.14em * var(--mono-tk)); text-transform: uppercase; color: #BFEFFF; padding: 7px 10px; border-radius: 8px; background: rgba(var(--blue-rgb), .14); border: 1px solid rgba(var(--blue-rgb), .4); }
.hear h3 { margin-top: 16px; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.03em; }
.hear-copy > p { margin-top: 12px; font-size: 16px; }
.hear .hear-note { margin-top: 18px; font: 500 12px/1.4 var(--mono); color: var(--mute); }
.hear-panel { border-radius: 16px; background: #07090B; border: 1px solid var(--line); padding: 16px; }
/* The model's verdict, as a two-way switch that throws itself. */
.verdict { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: #0B0E11; border: 1px solid var(--line2); box-shadow: inset 0 2px 8px rgba(0, 0, 0, .6); }
.verdict > span:not(.thumb) { position: relative; z-index: 1; padding: 9px 18px; text-align: center; font: 700 15px/1 var(--display); letter-spacing: -.01em; color: var(--mute); transition: color .35s; }
.verdict .thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: linear-gradient(180deg, #2A3A46, #1B252D); box-shadow: 0 0 0 1px rgba(var(--blue-rgb), .6), 0 6px 20px -4px rgba(var(--blue-rgb), .6); transition: transform .45s var(--ease), background .45s, box-shadow .45s; }
.verdict[data-v="music"] > span:nth-child(2), .verdict[data-v="speech"] > span:nth-child(3) { color: #fff; }
.verdict[data-v="speech"] .thumb { transform: translateX(100%); background: linear-gradient(180deg, #245C38, #173D25); box-shadow: 0 0 0 1px rgba(55, 190, 102, .7), 0 6px 20px -4px rgba(55, 190, 102, .6); }
.hear-panel canvas { width: 100%; height: 132px; margin-top: 14px; }
.hear-pull { margin-top: 10px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font: 600 11px/1 var(--mono); letter-spacing: calc(.1em * var(--mono-tk)); text-transform: uppercase; color: var(--text2); }
.hear-pull b { font: 600 14px/1 var(--mono); color: #FFC98A; font-variant-numeric: tabular-nums; }

/* ---------- presets ---------- */
.presets-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 56px; }
.preset { position: relative; border-radius: 20px; padding: 20px 18px 18px; background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012)); border: 1px solid var(--line); overflow: hidden; transition: border-color .35s, transform .45s var(--ease), box-shadow .45s; }
.preset:hover { transform: translateY(-6px); border-color: rgba(var(--amber-rgb), .45); box-shadow: 0 30px 60px -30px rgba(var(--ember-rgb), .55); }
.preset .tagline { font: 500 11px/1 var(--mono); letter-spacing: calc(.14em * var(--mono-tk)); text-transform: uppercase; color: var(--mute); }
.preset h3 { margin-top: 12px; font-size: clamp(24px, 2.2vw, 30px); letter-spacing: -.03em; }
.preset p { margin-top: 6px; color: var(--text2); font-size: 14.5px; min-height: 2.9em; }
.preset canvas { width: 100%; height: 86px; margin-top: 16px; }

/* ---------- on air ---------- */
.air-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 56px; }
.air-vis { display: block; width: 100%; height: 196px; margin-bottom: 18px; border-radius: 12px; background: #07090B; border: 1px solid var(--line); }
/* Gapless updates: the station stays on air through an update. The sign never goes out, the
   audio never breaks while the new version takes over, and the silence counter stays at zero. */
.gapless { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 8px; padding: 12px 14px 10px; }
.gapless canvas { width: 100%; height: 100%; }
.gl-top, .gl-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.onair { font: 700 11px/1 var(--mono); letter-spacing: calc(.22em * var(--mono-tk)); text-transform: uppercase; color: #FFE1DC; padding: 7px 10px 6px; border-radius: 6px;
  border: 1px solid rgba(var(--red-rgb), .85); background: rgba(var(--red-rgb), .2); text-shadow: 0 0 8px rgba(var(--red-rgb), .9);
  box-shadow: 0 0 16px rgba(var(--red-rgb), .4), inset 0 0 10px rgba(var(--red-rgb), .3); transition: box-shadow .5s, background .5s; }
.gapless.flare .onair { background: rgba(var(--red-rgb), .34); box-shadow: 0 0 34px rgba(var(--red-rgb), .75), inset 0 0 14px rgba(var(--red-rgb), .5); transition-duration: .08s; }
.gl-state { display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1 var(--mono); color: var(--text2); white-space: nowrap; }
.gl-state i { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 8px var(--amber); transition: background .3s, box-shadow .3s; }
.gl-state[data-s="1"] i { background: var(--blue); box-shadow: 0 0 8px var(--blue); }
.gl-state[data-s="2"] i { background: #fff; box-shadow: 0 0 10px #fff, 0 0 18px var(--cyan); }
.gl-state[data-s="3"] i { background: var(--green); box-shadow: 0 0 8px var(--green); }
.gl-lab { font: 600 11px/1 var(--mono); letter-spacing: calc(.16em * var(--mono-tk)); text-transform: uppercase; color: var(--mute); }
.gl-seg { position: relative; font: 700 22px/1 'DSEG7', var(--mono); }
.gl-seg .ghost { color: rgba(255, 255, 255, .05); }
.gl-seg .val { position: absolute; right: 0; top: 0; color: var(--green); text-shadow: 0 0 12px rgba(55, 190, 102, .6); transition: text-shadow .5s, color .5s; }
.gapless.flare .gl-seg .val { color: #C9FFD9; text-shadow: 0 0 20px rgba(55, 190, 102, 1); transition-duration: .08s; }
.air-card h3 { margin-top: 0; }

/* ---------- coming soon ---------- */
.soon { text-align: center; overflow: hidden; padding: clamp(120px, 16vw, 220px) 0; isolation: isolate; }
.soon canvas.embers { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.soon::before { content: ''; position: absolute; inset: 0; z-index: -2; background: radial-gradient(50% 60% at 50% 60%, rgba(255, 70, 0, .22), transparent 70%); }
/* The hero's flame again, live, feathered into the section; the still mark without WebGL. */
.blaze { position: relative; width: min(100%, 760px); height: clamp(210px, 28vw, 340px); margin: 0 auto 10px; display: grid; place-items: center; }
.blaze canvas { position: absolute; inset: 0; width: 100%; height: 100%;
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent); mask-image: radial-gradient(closest-side, #000 55%, transparent); }
.blaze .mark { width: clamp(150px, 20vw, 250px); overflow: visible; }
.blaze.gl .mark { display: none; }
.soon h2 { font-size: clamp(48px, 8vw, 128px); }
.soon .lede { margin: 24px auto 0; }
.platforms { margin-top: 36px; display: flex; justify-content: center; gap: 10px; font: 500 12px/1 var(--mono); letter-spacing: calc(.14em * var(--mono-tk)); text-transform: uppercase; color: var(--text2); }
.platforms span { padding: 9px 13px; border-radius: 9px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .03); }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 34px 0 44px; color: var(--mute); font-size: 13.5px; }
/* Three columns with the middle one sized to its words, so the tagline sits on the page's centre
   line whatever the lockup and the rights line measure. */
footer .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 14px 30px; }
footer .brand { justify-self: start; }
footer .rights { justify-self: end; text-align: right; }
footer a { color: var(--text2); text-decoration: none; }
footer .brand { color: var(--text); } /* the same lockup as the nav's */
footer a:hover { color: var(--text); }
/* The company's pages, on a row of their own under the three columns. */
footer .links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; padding-top: 6px; }

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .stages { grid-template-columns: repeat(3, 1fr); }
  .presets-row { grid-template-columns: repeat(3, 1fr); }
  .order { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav .badge { margin-left: auto; }
  .two-col { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(3) { border-right: 0; }
  .stat:nth-child(4) { padding-left: 0; }
  .stat:nth-child(n+4) { border-top: 1px solid var(--line); }
  .fork { grid-template-columns: 1fr; gap: 40px; }
  .shared { grid-row: auto; }
  .branch { padding-left: 38px; }
  .net { grid-template-columns: 1fr; gap: 56px; justify-items: stretch; }
  .hub { justify-self: center; }
  .outs .col-lab { text-align: left; }
  .outs .proto { flex-direction: row-reverse; } /* stacked, Out reads name first like In */
  .codecs { position: static; justify-content: flex-start; margin-top: 4px; }
  .air-row, .hear { grid-template-columns: 1fr; }
  .tour { grid-template-columns: 1fr; }
  .tour-tabs { grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); overflow-x: auto; scrollbar-width: none; }
  .tour-tabs span { display: none; }
  .tour-stage { height: auto; aspect-ratio: 4 / 3.2; }
  .tour-cap { display: block; margin-top: -8px; color: var(--text2); font-size: 15px; }
  .hero::before { background: linear-gradient(0deg, rgba(6, 7, 9, .96) 8%, rgba(6, 7, 9, .55) 52%, rgba(6, 7, 9, .1) 80%); }
  .hero { align-items: flex-end; }
  .hero-inner { padding-top: 46svh; padding-bottom: 96px; }
  .scroll-cue { display: none; }
  .rack-top { grid-template-columns: auto 1fr; }
  .readout { grid-column: 1 / -1; justify-content: space-between; }
  .readout .lab { text-align: left; }
}
@media (max-width: 640px) {
  .stages { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stage { min-height: 0; padding: 14px; }
  .stage p { font-size: 13.5px; }
  .presets-row { grid-template-columns: 1fr 1fr; }
  .preset:last-child { grid-column: 1 / -1; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .stat, .stat:first-child, .stat:nth-child(4) { padding: 22px 0 8px; border-right: 0; }
  .stat:nth-child(odd) { padding-right: 14px; border-right: 1px solid var(--line); }
  .stat:nth-child(even) { padding-left: 16px; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stat:last-child { grid-column: 1 / -1; border-right: 0; }
  .branch { grid-template-columns: 1fr; }
  .switch button { padding: 13px 16px; }
  .play { width: 62px; height: 62px; }
  .order-bar .hint { margin-left: 0; width: 100%; }
  .nocard { border-radius: 20px; }
  footer .wrap { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  footer .brand, footer .rights { justify-self: center; text-align: center; }
  .cwin canvas { height: 400px; }
  .seg-names span { white-space: normal; font-size: 9.5px; letter-spacing: calc(.06em * var(--mono-tk)); line-height: 1.25; padding-left: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
