/* HEAT CHECK landing page */

:root {
  --bg: #0b0a0d;
  --bg-2: #121016;
  --panel: #18151d;
  --panel-2: #1f1b25;
  --line: rgba(255, 236, 214, 0.1);
  --line-2: rgba(255, 236, 214, 0.18);
  --ink: #f7efe6;
  --ink-2: #cfc4b8;
  --muted: #a89d92;
  --flame: #ff6a1a;
  --flame-hot: #ff3d1f;
  --gold: #ffc23a;
  --cool: #3fe0ff;
  --fire-grad: linear-gradient(180deg, #ffe05a 0%, #ffb02a 30%, #ff6a1a 65%, #ff3d1f 100%);
  --font-display: "Anton", "Impact", "Haettenschweiler", "Arial Narrow Bold", sans-serif;
  --font-label: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 10px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--flame); color: #160700; }
strong { font-weight: 700; color: #fff; }
code, pre { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
h1, h2, h3 { margin: 0; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--gold); color: #160700; padding: 10px 16px; border-radius: 6px;
  font: 700 1rem var(--font-label); text-transform: uppercase; letter-spacing: .06em; text-decoration: none;
}
.skip:focus { top: 12px; }
.muted { color: var(--muted); }

.fire-text {
  white-space: nowrap;
  background: var(--fire-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 18px rgba(255, 106, 26, .35));
}
@media (forced-colors: active) { .fire-text { color: CanvasText; -webkit-text-fill-color: currentColor; background: none; } }

/* ---------- labels ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  margin: 0 0 14px;
  font: 700 .95rem/1 var(--font-label);
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--flame);
}
.eyebrow::before {
  content: ""; width: 28px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--flame-hot), var(--gold));
  transform: skewX(-24deg);
}
.eyebrow--hero::before { display: none; }
.eyebrow .dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--flame-hot);
  box-shadow: 0 0 0 0 rgba(255, 61, 31, .7);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 61, 31, .7); }
  70% { box-shadow: 0 0 0 10px rgba(255, 61, 31, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 61, 31, 0); }
}

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 10, 13, .78);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-head::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--flame) 20%, var(--gold) 50%, var(--flame) 80%, transparent);
  opacity: .55;
}
.nav { display: flex; align-items: center; gap: 20px; height: 62px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink);
  font: 400 1.4rem/1 var(--font-display); letter-spacing: .03em; text-transform: uppercase;
}
.brand img { width: 32px; height: 32px; }
.nav-links { display: flex; gap: 4px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.nav-links a {
  display: block; padding: 8px 12px; border-radius: 6px;
  color: var(--ink-2); text-decoration: none;
  font: 700 1rem/1 var(--font-label); letter-spacing: .08em; text-transform: uppercase;
  transition: color .2s, background-color .2s;
}
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav-play {
  flex: none;
  display: inline-flex; align-items: center; gap: .35em;
  padding: 10px 18px; border-radius: 6px;
  background: var(--fire-grad); color: #1a0800; text-decoration: none;
  font: 400 1.05rem/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase;
  box-shadow: 0 3px 0 #8f2b06, 0 0 22px rgba(255, 106, 26, .35);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease);
}
.nav-play:hover { color: #1a0800; transform: translateY(-1px); box-shadow: 0 4px 0 #8f2b06, 0 0 30px rgba(255, 106, 26, .55); }
.nav-play:active { transform: translateY(2px); box-shadow: 0 1px 0 #8f2b06; }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-play { margin-left: auto; }
}
@media (max-width: 420px) { .hide-sm { display: none; } }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: min(100svh - 62px, 980px);
  display: flex; align-items: center;
  padding: clamp(40px, 8vh, 96px) 0 clamp(48px, 9vh, 110px);
  overflow: hidden;
  text-align: center;
}
.hero-media { position: absolute; inset: 0; z-index: -3; background: #160d08; }
.hero-poster, .hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06);
}
.hero-video { opacity: 0; transition: opacity 1.2s ease; }
.hero-video.is-playing { opacity: 1; }
.hero-fx { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.hero-fx::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 42%, rgba(11, 10, 13, .35) 0%, rgba(11, 10, 13, .78) 70%, rgba(11, 10, 13, .95) 100%),
    linear-gradient(180deg, rgba(11, 10, 13, .82) 0%, rgba(11, 10, 13, .3) 38%, rgba(11, 10, 13, .85) 85%, var(--bg) 100%);
}
.hero-fx::after {
  /* CRT scanlines */
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(180deg, rgba(0, 0, 0, 0) 0 2px, rgba(0, 0, 0, .28) 2px 3px);
  mix-blend-mode: multiply; opacity: .7;
}
.hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.hero-logo { width: min(760px, 100%); margin: -6px 0 6px; line-height: 0; }
.hero-logo img {
  width: 100%;
  filter: drop-shadow(0 16px 40px rgba(0, 0, 0, .65)) drop-shadow(0 0 60px rgba(255, 106, 26, .28));
  animation: logo-in 1.1s var(--ease) both, logo-float 6s ease-in-out 1.1s infinite;
}
@keyframes logo-in { from { opacity: 0; transform: scale(.86) translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes logo-float { 50% { transform: translateY(-6px); } }
.tagline {
  max-width: 40ch; margin: 0 0 30px;
  font: 600 clamp(1.15rem, 2.4vw, 1.55rem)/1.35 var(--font-body);
  color: var(--ink); text-wrap: balance;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .8);
}
.tagline .fire-text { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: .03em; font-size: 1.15em; }

.cta-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 22px; }
.btn-play {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .62em 1.15em .58em;
  border-radius: 12px;
  border: 3px solid #fff1c9;
  background: var(--fire-grad);
  color: #1a0800; text-decoration: none;
  font: 400 clamp(1.45rem, 4.4vw, 2.5rem)/1 var(--font-display);
  letter-spacing: .04em; text-transform: uppercase;
  box-shadow: 0 7px 0 #8f2b06, 0 12px 30px rgba(0, 0, 0, .5), 0 0 60px rgba(255, 106, 26, .45);
  transform: skewX(-6deg);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.btn-play > * { transform: skewX(6deg); }
.btn-play__icon { width: .9em; height: .9em; fill: currentColor; flex: none; }
.btn-play::after {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: -40%; width: 30%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent);
  transform: skewX(-20deg) translateX(-120%);
  animation: shine 4.5s ease-in-out 1.5s infinite;
}
@keyframes shine { 0%, 70% { transform: skewX(-20deg) translateX(-120%); } 100% { transform: skewX(-20deg) translateX(560%); } }
.btn-play:hover { color: #1a0800; transform: skewX(-6deg) translateY(-3px); box-shadow: 0 10px 0 #8f2b06, 0 16px 36px rgba(0, 0, 0, .5), 0 0 80px rgba(255, 106, 26, .7); }
.btn-play:active { transform: skewX(-6deg) translateY(4px); box-shadow: 0 3px 0 #8f2b06, 0 6px 16px rgba(0, 0, 0, .5); }
.btn-play:focus-visible { outline: 4px solid #fff; outline-offset: 5px; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: .5em;
  padding: 12px 18px; border-radius: 8px;
  border: 2px solid var(--line-2);
  background: rgba(11, 10, 13, .55);
  color: var(--ink); text-decoration: none;
  font: 700 1.1rem/1 var(--font-label); letter-spacing: .08em; text-transform: uppercase;
  transition: border-color .2s, background-color .2s, color .2s;
}
.btn-ghost svg { width: 20px; height: 20px; fill: currentColor; }
.btn-ghost:hover { color: #fff; border-color: var(--gold); background: rgba(255, 194, 58, .1); }

.hero-meta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0;
  margin: 30px 0 0; padding: 0; list-style: none;
  font: 700 .95rem/1 var(--font-label); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2);
}
.hero-meta li { padding: 0 14px; }
.hero-meta li + li { border-left: 2px solid var(--flame); }
@media (max-width: 520px) {
  .hero-meta { gap: 8px; }
  .hero-meta li { padding: 7px 10px; border: 1px solid var(--line-2) !important; border-radius: 999px; background: rgba(11, 10, 13, .55); font-size: .82rem; }
}
.touch-note {
  display: none; align-items: flex-start; gap: 10px; text-align: left;
  max-width: 440px; margin: 22px 0 0; padding: 12px 14px;
  border: 1px solid rgba(255, 194, 58, .4); border-radius: 8px;
  background: rgba(255, 194, 58, .08); color: var(--ink);
  font-size: .95rem; line-height: 1.45;
}
.touch-note svg { width: 26px; height: 26px; flex: none; fill: var(--gold); margin-top: -1px; }
.touch-note--center { justify-content: center; text-align: center; margin-inline: auto; }
@media (hover: none) and (pointer: coarse), (max-width: 640px) { .touch-note { display: flex; } }
.port-note {
  max-width: 56ch; margin: 26px 0 0; color: var(--muted); font-size: .92rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .9);
}
.port-note a { color: var(--ink-2); }

/* ---------- LED ribbon ---------- */
.ribbon {
  position: relative; overflow: hidden;
  border-block: 2px solid #2a1a10;
  background: #070506;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, .9), 0 0 40px rgba(255, 106, 26, .12);
}
.ribbon::after {
  /* LED dot-matrix mask */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle at center, transparent 1.1px, #070506 1.7px);
  background-size: 4px 4px;
}
.ribbon__track {
  display: flex; width: max-content;
  animation: marquee 48s linear infinite;
}
.ribbon__track span {
  padding: 12px 26px;
  font: 400 clamp(1.4rem, 3vw, 2rem)/1 var(--font-display);
  letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
  color: #ffb02a;
  text-shadow: 0 0 8px rgba(255, 140, 26, .9), 0 0 22px rgba(255, 80, 26, .6);
}
.ribbon__track span:nth-child(3n+2) { color: #ff5a2a; text-shadow: 0 0 8px rgba(255, 70, 30, .9), 0 0 22px rgba(255, 40, 20, .6); }
.ribbon__track span:nth-child(5n+3) { color: #6ff0ff; text-shadow: 0 0 8px rgba(63, 224, 255, .8), 0 0 22px rgba(63, 224, 255, .4); }
.ribbon__track span::after { content: "\2605"; margin-left: 52px; color: #ff6a1a; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(72px, 11vw, 140px) 0; }
.section--alt {
  background:
    radial-gradient(ellipse 60% 40% at 85% 0%, rgba(255, 106, 26, .09), transparent 70%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(63, 224, 255, .05), transparent 70%),
    var(--bg-2);
  border-block: 1px solid var(--line);
}
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2, .final h2 {
  font: 400 clamp(2.5rem, 7vw, 5rem)/.98 var(--font-display);
  text-transform: uppercase; letter-spacing: .01em;
  margin-bottom: 22px;
  text-wrap: balance;
}
.lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-2); max-width: 62ch; }
.lede strong { color: var(--ink); }

/* showcase */
.showcase {
  display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px);
  align-items: center; margin-bottom: clamp(40px, 6vw, 72px);
}
.showcase__media {
  margin: 0; position: relative; border-radius: var(--radius); overflow: hidden;
  border: 2px solid #3a2416;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .55), 0 0 0 6px rgba(255, 106, 26, .08);
  transform: rotate(-1.2deg);
}
.showcase__media img { width: 100%; }
.showcase__copy { color: var(--ink-2); font-size: 1.1rem; }
.callout {
  margin: 0 0 12px;
  font: 400 clamp(2.6rem, 6vw, 4.6rem)/.9 var(--font-display); text-transform: uppercase;
  color: #ffd35a;
  -webkit-text-stroke: 1px #3a1504;
  text-shadow: 0 4px 0 #b8400c, 0 8px 0 #5a1c05, 0 0 40px rgba(255, 106, 26, .5);
  transform: rotate(-4deg); transform-origin: left center;
}
@media (max-width: 760px) {
  .showcase { grid-template-columns: 1fr; }
  .showcase__media { transform: none; }
}

/* features */
.features {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
}
.feature {
  position: relative; overflow: hidden;
  padding: 24px 22px 22px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.feature::before {
  content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--flame-hot), var(--gold));
  transform: scaleX(.18); transform-origin: left; transition: transform .35s var(--ease);
}
.feature:hover { transform: translateY(-4px); border-color: rgba(255, 140, 26, .45); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.feature:hover::before { transform: scaleX(1); }
.feature h3 { font: 400 clamp(1.7rem, 2.6vw, 2.1rem)/1 var(--font-display); text-transform: uppercase; margin: 0 0 10px; }
.feature p { margin: 0; color: var(--ink-2); font-size: 1rem; line-height: 1.55; }
.feature__tag {
  display: inline-block; margin-bottom: 14px;
  font: 700 .8rem/1 var(--font-label); letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold);
}
.feature--fire {
  grid-column: span 2; grid-row: span 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 320px;
  border-color: rgba(255, 106, 26, .5);
  background:
    radial-gradient(ellipse 120% 80% at 50% 120%, rgba(255, 61, 31, .55), transparent 60%),
    radial-gradient(ellipse 80% 60% at 50% 110%, rgba(255, 194, 58, .35), transparent 60%),
    linear-gradient(180deg, #1e130f, #1a0f0b);
}
.feature--fire::after {
  /* rising embers */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(2px 2px at 20% 80%, #ffd35a, transparent),
    radial-gradient(2px 2px at 60% 90%, #ff8a2a, transparent),
    radial-gradient(1.5px 1.5px at 80% 70%, #ffe7a0, transparent),
    radial-gradient(2px 2px at 40% 95%, #ff6a1a, transparent),
    radial-gradient(1.5px 1.5px at 90% 85%, #ffd35a, transparent);
  background-size: 100% 100%;
  animation: embers 3.2s linear infinite;
  opacity: .9;
}
@keyframes embers { from { transform: translateY(0); opacity: .9; } to { transform: translateY(-60%); opacity: 0; } }
.fire-meter { position: relative; z-index: 1; display: flex; gap: 10px; margin: 0 0 auto; padding-bottom: 28px; }
.pip { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; }
.pip b {
  display: grid; place-items: center; width: 100%; max-width: 96px; aspect-ratio: 1.6;
  border-radius: 8px; border: 2px solid rgba(255, 255, 255, .14);
  background: #120c0a; color: var(--muted);
  font: 400 clamp(1.6rem, 3vw, 2.4rem)/1 var(--font-display);
}
.pip i { font: 700 .74rem/1 var(--font-label); font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pip--warm b { color: #ffc23a; border-color: rgba(255, 194, 58, .55); box-shadow: 0 0 18px rgba(255, 194, 58, .25); }
.pip--warm i { color: #ffc23a; }
.pip--hot b {
  color: #1a0800; border-color: #fff1c9; background: var(--fire-grad);
  box-shadow: 0 0 30px rgba(255, 106, 26, .7);
  animation: flicker 1.8s ease-in-out infinite;
}
.pip--hot i { color: #ff8a3a; }
@keyframes flicker { 0%, 100% { box-shadow: 0 0 24px rgba(255, 106, 26, .6); } 40% { box-shadow: 0 0 40px rgba(255, 140, 26, .9); } 60% { box-shadow: 0 0 20px rgba(255, 61, 31, .55); } }
.feature--fire h3 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.feature--fire p { font-size: 1.08rem; color: var(--ink); max-width: 52ch; position: relative; z-index: 1; }
.feature--fire::before { transform: scaleX(1); }
@media (max-width: 1040px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } .feature--fire { grid-row: auto; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } .feature--fire { grid-column: auto; min-height: 0; } }

/* callout note */
.callout-box {
  margin: 0 0 26px; padding: 16px 20px;
  border-left: 5px solid var(--flame);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(255, 106, 26, .08);
  color: var(--ink-2); max-width: 820px;
}
.fine { color: var(--muted); font-size: .92rem; margin-top: 12px; }

/* controls table */
.table-wrap {
  border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden;
  background: var(--panel);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}
.controls { width: 100%; border-collapse: collapse; }
.controls th, .controls td { padding: 14px 18px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); }
.controls tbody tr:last-child > * { border-bottom: 0; }
.controls thead th {
  background: #241a16;
  font: 700 1rem/1.1 var(--font-label); letter-spacing: .1em; text-transform: uppercase; color: var(--gold);
  border-bottom: 2px solid var(--flame);
}
.controls thead small, .controls tbody th small {
  display: block; font: 600 .78rem/1.2 var(--font-label); letter-spacing: .08em; color: var(--muted); text-transform: uppercase; margin-top: 3px;
}
.controls tbody th { font: 700 1.15rem/1.15 var(--font-label); text-transform: uppercase; letter-spacing: .04em; width: 26%; }
.controls tbody tr:hover { background: rgba(255, 255, 255, .025); }
.or { color: var(--muted); font-size: .85rem; margin: 0 4px; }
kbd {
  display: inline-block; min-width: 2em; margin: 2px 3px 2px 0; padding: 5px 8px 4px;
  border-radius: 6px; border: 1px solid #4a3f37; border-bottom-width: 3px;
  background: linear-gradient(180deg, #2e2722, #221c18);
  color: #fff; text-align: center;
  font: 700 .9rem/1 var(--font-label); letter-spacing: .04em; text-transform: uppercase;
  white-space: nowrap;
}
kbd.pad { border-radius: 999px; padding-inline: 11px; border-color: #5a3a22; background: linear-gradient(180deg, #3a2518, #26180f); color: #ffd9a8; }
@media (max-width: 760px) {
  .table-wrap { background: transparent; border: 0; box-shadow: none; overflow: visible; }
  .controls thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .controls, .controls tbody, .controls tr, .controls th, .controls td { display: block; width: auto; }
  .controls tr {
    margin-bottom: 12px; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden;
    background: var(--panel);
  }
  .controls tbody th { width: auto; background: #241a16; color: var(--gold); border-bottom: 2px solid var(--flame); padding: 12px 14px; }
  .controls td { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 10px 14px; }
  .controls td::before {
    content: attr(data-label); flex: 0 0 7.4em;
    font: 700 .78rem/1.2 var(--font-label); letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  }
  .controls tbody tr:last-child > * { border-bottom: 1px solid var(--line); }
  .controls tbody tr > :last-child { border-bottom: 0 !important; }
}

/* combos */
.combos { margin-top: clamp(40px, 6vw, 64px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.combo { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .02); transition: border-color .2s, background-color .2s; }
.combo:hover { border-color: rgba(255, 194, 58, .4); background: rgba(255, 194, 58, .04); }
.combo h3 { font: 400 1.6rem/1.05 var(--font-display); text-transform: uppercase; margin: 0 0 8px; }
.combo p { color: var(--ink-2); margin: 0; font-size: 1rem; }
.combo .combo__keys {
  margin: 0 0 12px; color: var(--muted);
  font: 700 .95rem/1 var(--font-label); letter-spacing: .08em; text-transform: uppercase;
}
.combo__keys span { display: inline-block; padding: 5px 9px; border-radius: 5px; background: #2b1a10; color: #ffb878; border: 1px solid #5a3a22; }
@media (max-width: 960px) { .combos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .combos { grid-template-columns: 1fr; } }

/* rules */
.rules { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rule {
  position: relative; padding: 24px 22px 22px 22px;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--panel);
}
.rule h3 { font: 400 1.7rem/1.05 var(--font-display); text-transform: uppercase; margin: 0 0 10px; padding-right: 64px; }
.rule p { margin: 0; color: var(--ink-2); }
.rule__num {
  position: absolute; top: 16px; right: 18px; margin: 0 !important;
  font: 400 2.4rem/1 var(--font-display); letter-spacing: .04em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 140, 26, .55);
}
.rule ul { margin: 12px 0 0; padding-left: 1.1em; color: var(--ink-2); }
.rule ul li { margin: 4px 0; }
.rule ul li::marker { color: var(--flame); }
.rule--fire {
  border-color: rgba(255, 106, 26, .5);
  background: radial-gradient(ellipse 120% 70% at 50% 120%, rgba(255, 61, 31, .3), transparent 65%), #1c130f;
}
@media (max-width: 960px) { .rules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .rules { grid-template-columns: 1fr; } }

.modes {
  margin-top: 28px; padding: 26px 24px;
  border-radius: var(--radius);
  border: 2px solid #2a1a10;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 64px),
    #0f0c0e;
}
.modes__title { font: 400 1.9rem/1 var(--font-display); text-transform: uppercase; margin: 0 0 18px; color: var(--gold); }
.modes__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 28px; }
.modes__list li { color: var(--ink-2); padding-left: 14px; border-left: 3px solid var(--flame); font-size: 1rem; line-height: 1.45; }
.modes__list strong { display: block; font: 700 1.1rem/1.2 var(--font-label); letter-spacing: .06em; text-transform: uppercase; color: #fff; }
@media (max-width: 860px) { .modes__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .modes__list { grid-template-columns: 1fr; } }

/* teams */
.teams { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.team {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  border-top: 5px solid var(--team);
  background:
    radial-gradient(ellipse 90% 55% at 20% 0%, color-mix(in srgb, var(--team) 26%, transparent), transparent 70%),
    var(--panel);
  padding: 20px 20px 22px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.team:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(0, 0, 0, .5), 0 0 0 1px color-mix(in srgb, var(--team-ink) 45%, transparent); }
.team__head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.team__badge {
  width: 96px; height: 96px; flex: none;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .55));
  transition: transform .35s var(--ease);
}
.team:hover .team__badge { transform: rotate(-6deg) scale(1.06); }
.team__city {
  margin: 0 0 2px;
  font: 700 1rem/1.1 var(--font-label); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2);
}
.team__abbr {
  display: inline-block; margin-left: 6px; padding: 2px 6px 1px; border-radius: 4px;
  font-size: .78rem; letter-spacing: .1em;
  background: rgba(255, 255, 255, .08); color: var(--ink);
}
.team__name {
  font: 400 clamp(2.1rem, 3.4vw, 2.7rem)/1 var(--font-display); text-transform: uppercase; letter-spacing: .01em;
  color: var(--team-ink);
  text-shadow: 0 0 24px color-mix(in srgb, var(--team-ink) 35%, transparent);
}
.team__colors { display: flex; gap: 5px; margin: 10px 0 0; }
.team__colors span { width: 22px; height: 8px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .22); }
.team__players { display: grid; gap: 14px; }
.player { padding-top: 14px; border-top: 1px dashed var(--line-2); }
.player__name { margin: 0; font: 700 1.25rem/1.1 var(--font-label); text-transform: uppercase; letter-spacing: .04em; }
.player__num { color: var(--team-ink); margin-right: 4px; }
.player__nick { margin: 2px 0 10px; color: var(--muted); font: 600 .9rem/1.2 var(--font-label); text-transform: uppercase; letter-spacing: .08em; }
.ratings { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 14px; }
.ratings li { display: grid; grid-template-columns: 2.3em 1fr 1.2em; align-items: center; gap: 6px; }
.ratings abbr {
  text-decoration: none; cursor: help;
  font: 700 .74rem/1 var(--font-label); letter-spacing: .06em; color: var(--muted);
}
.ratings .bar { position: relative; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .09); overflow: hidden; }
.ratings .bar::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  width: calc(var(--v) * 10%);
  background: var(--team-ink);
  transform-origin: left; transition: transform .9s var(--ease) .15s;
}
.js .team:not(.in) .ratings .bar::after { transform: scaleX(0); }
.ratings .val { font: 700 .8rem/1 var(--font-label); color: var(--ink-2); text-align: right; }
@media (max-width: 1040px) { .teams { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 660px) { .teams { grid-template-columns: 1fr; } }
@media (max-width: 380px) { .ratings { gap: 6px 10px; } .team__badge { width: 80px; height: 80px; } }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.shot { margin: 0; grid-column: span 2; }
.shot--video { grid-column: span 3; }
.shot__frame {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--line-2);
  background: #000; aspect-ratio: 16 / 9;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .4);
}
.shot__frame--light { background: #7d828a; }
.shot__frame picture { display: block; width: 100%; height: 100%; }
.shot__frame img, .shot__frame video { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), filter .3s; }
.shot__frame--light img { object-fit: contain; }
a.shot__frame:hover img { transform: scale(1.04); }
a.shot__frame::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(180deg, transparent 0 2px, rgba(0, 0, 0, .16) 2px 3px);
  opacity: 0; transition: opacity .3s;
}
a.shot__frame:hover::after, a.shot__frame:focus-visible::after { opacity: 1; }
a.shot__frame:focus-visible { outline-offset: 4px; }
.shot figcaption { margin-top: 10px; color: var(--muted); font-size: .95rem; line-height: 1.45; }
.shot figcaption strong { color: var(--ink); font-family: var(--font-label); text-transform: uppercase; letter-spacing: .06em; font-size: 1.05rem; }
.shot__expand {
  position: absolute; right: 10px; bottom: 10px;
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 8px; border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(11, 10, 13, .7); color: #fff; cursor: pointer;
  transition: background-color .2s, transform .2s;
}
.shot__expand svg { width: 22px; height: 22px; fill: currentColor; }
.shot__expand:hover { background: var(--flame); color: #160700; transform: scale(1.06); }
.shot--video .shot__frame::before {
  content: "DESKTOP BUILD"; position: absolute; left: 10px; top: 10px; z-index: 1;
  padding: 4px 7px 3px; border-radius: 4px;
  background: rgba(11, 10, 13, .72); color: var(--gold);
  font: 700 .7rem/1 var(--font-label); letter-spacing: .14em;
}
.shot--web .shot__frame { border-color: rgba(63, 224, 255, .45); }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } .shot, .shot--video { grid-column: auto; } .shot--video { grid-column: 1 / -1; } }
@media (max-width: 560px) { .gallery { grid-template-columns: minmax(0, 1fr); } }

/* built from code */
.pipeline {
  list-style: none; margin: 0 0 clamp(40px, 6vw, 64px); padding: 0;
  display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 34px;
  counter-reset: none;
}
.pipe, .pipe__branch {
  position: relative; padding: 20px;
  border: 1px solid var(--line-2); border-radius: var(--radius);
  background: var(--panel);
}
.pipe--split { padding: 0; border: 0; background: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pipe__branch--web { border-color: rgba(63, 224, 255, .4); background: linear-gradient(180deg, rgba(63, 224, 255, .07), transparent), var(--panel); }
.pipe:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: -30px; width: 26px; height: 14px;
  background: linear-gradient(90deg, var(--flame-hot), var(--gold));
  clip-path: polygon(0 35%, 60% 35%, 60% 0, 100% 50%, 60% 100%, 60% 65%, 0 65%);
  transform: translateY(-50%);
}
.pipe__step { margin: 0 0 6px; font: 700 .8rem/1 var(--font-label); letter-spacing: .16em; text-transform: uppercase; color: var(--flame); }
.pipe__branch--web .pipe__step { color: var(--cool); }
.pipe h3 { font: 400 1.45rem/1.05 var(--font-display); text-transform: uppercase; margin: 0 0 8px; }
.pipe p:not(.pipe__step) { color: var(--ink-2); font-size: .97rem; line-height: 1.5; margin: 0 0 12px; }
.pipe code { font-size: .82rem; color: var(--gold); background: rgba(255, 194, 58, .08); padding: 3px 6px; border-radius: 4px; }
.pipe__branch--web code { color: var(--cool); background: rgba(63, 224, 255, .08); }
@media (max-width: 1000px) {
  .pipeline { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .pipe:not(:last-child)::after { top: auto; bottom: -24px; right: auto; left: 32px; transform: rotate(90deg); }
}
@media (max-width: 560px) { .pipe--split { grid-template-columns: 1fr; } }

.stats {
  margin: 0 0 clamp(40px, 6vw, 64px);
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  border-radius: var(--radius); overflow: hidden;
  border: 2px solid #2a1a10; background: #070506;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, .9);
}
.stat { padding: 20px 14px 18px; text-align: center; border-right: 1px solid #1e1410; position: relative; display: flex; flex-direction: column-reverse; }
.stat:last-child { border-right: 0; }
.stat dt { font: 700 .8rem/1.2 var(--font-label); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.stat dd {
  margin: 0; position: relative;
  font: 400 clamp(2rem, 3.6vw, 2.9rem)/1 var(--font-display); letter-spacing: .04em;
  color: #ffb02a; text-shadow: 0 0 10px rgba(255, 140, 26, .8), 0 0 26px rgba(255, 80, 26, .45);
  font-variant-numeric: tabular-nums;
}
.stat dd::after {
  content: ""; position: absolute; inset: -4px 0; pointer-events: none;
  background-image: radial-gradient(circle at center, transparent 1px, rgba(7, 5, 6, .85) 1.6px);
  background-size: 3px 3px;
}
@media (max-width: 900px) { .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } .stat:nth-child(3n) { border-right: 0; } .stat:nth-child(-n+3) { border-bottom: 1px solid #1e1410; } }
@media (max-width: 480px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat { border-right: 1px solid #1e1410 !important; border-bottom: 1px solid #1e1410; } .stat:nth-child(2n) { border-right: 0 !important; } .stat:nth-last-child(-n+2) { border-bottom: 0; } }

.built-figs { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 18px; margin-bottom: clamp(32px, 5vw, 56px); }
.built-fig { margin: 0; }
.built-fig figcaption { margin-top: 10px; color: var(--muted); font-size: .95rem; line-height: 1.45; }
.built-fig code, .rebuild code:not(pre code) { color: var(--gold); font-size: .88em; }
.rebuild {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center;
  padding: clamp(20px, 3vw, 32px); border-radius: var(--radius); border: 1px solid var(--line-2);
  background: linear-gradient(135deg, rgba(255, 106, 26, .07), transparent 60%), var(--panel);
}
.rebuild h3 { font: 400 2rem/1 var(--font-display); text-transform: uppercase; margin: 0 0 12px; }
.rebuild p { color: var(--ink-2); }
.rebuild p:last-child { margin-bottom: 0; }
.rebuild pre {
  margin: 0; padding: 16px 18px; overflow-x: auto;
  border-radius: var(--radius); border: 1px solid var(--line-2);
  background: #08070a; color: #ffe2c2; font-size: .9rem; line-height: 1.6;
}
.rebuild pre .c { color: #8c8178; }
.link-arrow { font: 700 1.05rem/1 var(--font-label); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.link-arrow::after { content: " \2192"; display: inline-block; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
@media (max-width: 860px) {
  .built-figs, .rebuild { grid-template-columns: minmax(0, 1fr); }
}

/* final */
.final {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(80px, 12vw, 150px) 0;
  background:
    radial-gradient(ellipse 60% 70% at 50% 110%, rgba(255, 61, 31, .45), transparent 70%),
    radial-gradient(ellipse 40% 50% at 50% 115%, rgba(255, 194, 58, .4), transparent 70%),
    var(--bg);
}
.final::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(180deg, transparent 0 2px, rgba(0, 0, 0, .22) 2px 3px);
}
.final__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.final .eyebrow::before { display: none; }
.final h2 { font-size: clamp(3rem, 10vw, 7rem); }
.final .lede { margin-inline: auto; margin-bottom: 34px; }
.cta-row--center { justify-content: center; }

/* footer */
.site-foot { border-top: 1px solid var(--line); background: #070608; padding: 48px 0 30px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; }
.foot__brand { max-width: 420px; }
.foot__brand img { width: 180px; margin-bottom: 14px; }
.foot__brand p { color: var(--muted); font-size: .95rem; margin: 0; }
.foot__nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot__nav a { color: var(--ink-2); text-decoration: none; font: 700 1rem/1.2 var(--font-label); letter-spacing: .08em; text-transform: uppercase; }
.foot__nav a:hover { color: var(--gold); }
.foot__fine { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }

/* lightbox */
.lightbox {
  width: min(1280px, 94vw); max-height: 92vh; padding: 0; border: 0;
  background: transparent; color: var(--ink); overflow: visible;
}
.lightbox::backdrop { background: rgba(5, 4, 6, .9); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.lightbox__stage { display: grid; place-items: center; }
.lightbox__stage img, .lightbox__stage video {
  width: auto; max-width: 100%; max-height: 82vh; object-fit: contain;
  border-radius: var(--radius); background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, .7);
}
.lightbox__caption { margin: 12px 0 0; color: var(--ink-2); text-align: center; font-size: .95rem; }
.lightbox__close-form { position: absolute; top: -52px; right: 0; margin: 0; }
.lightbox__close {
  width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer;
  border-radius: 8px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(20, 18, 24, .9); color: #fff;
}
.lightbox__close svg { width: 24px; height: 24px; fill: currentColor; }
.lightbox__close:hover { background: var(--flame); color: #160700; }
.lightbox[open] { animation: lb-in .25s var(--ease); }
@keyframes lb-in { from { opacity: 0; transform: scale(.97); } }

/* scroll reveal (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .feature.reveal.in:hover, .js .team.reveal.in:hover { transform: translateY(-4px); }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .ribbon__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .ribbon__track span:nth-child(n+11) { display: none; }
  .btn-play::after, .feature--fire::after { display: none; }
  .hero-poster, .hero-video { transform: none; }
  .feature:hover, .team:hover, .btn-play:hover { transform: none; }
  .btn-play:hover { transform: skewX(-6deg); }
}
@media (min-width: 861px) { .built-fig:not(.built-fig--wide) .shot__frame { aspect-ratio: 8 / 9; } }
