:root {
  color-scheme: dark;
  --ink: #f6f3ee;
  --muted: #b3ada4;
  --dim: #8a857c;
  --black: #080706;
  --panel: #141210;
  --panel-2: #1c1916;
  --line: rgba(246, 243, 238, 0.12);
  --amber: #d7bd97;
  --ember: #c9a06a;
  --green: #72c7a6;
  --steel: #9cb2bf;
  --danger: #ff6c3d;
  --shadow: rgba(0, 0, 0, 0.46);
  --hover-outline: rgba(215, 189, 151, 0.78);
  --hover-glow: 0 0 0 1px rgba(215, 189, 151, 0.42), 0 18px 52px rgba(201, 160, 106, 0.23);
  --hover-glow-soft: 0 0 0 1px rgba(215, 189, 151, 0.32), 0 12px 34px rgba(201, 160, 106, 0.16);
  --octagon-cut: 18px;
  --octagon-frame: polygon(
    var(--octagon-cut) 0,
    calc(100% - var(--octagon-cut)) 0,
    100% var(--octagon-cut),
    100% calc(100% - var(--octagon-cut)),
    calc(100% - var(--octagon-cut)) 100%,
    var(--octagon-cut) 100%,
    0 calc(100% - var(--octagon-cut)),
    0 var(--octagon-cut)
  );
  --display-font: "Jost", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --body-font: "Jost", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: min(1920px, 94vw);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font-family: var(--body-font);
  line-height: 1.5;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 46px);
  background: rgba(9, 8, 7, 0.72);
  border-bottom: 1px solid rgba(244, 239, 232, 0.1);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  font-weight: 400;
}

.brand img {
  width: 116px;
  height: 66px;
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  color: var(--muted);
  font-family: var(--display-font);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-indent: 0.24em;
  text-transform: uppercase;
}

nav a {
  display: inline-flex;
  padding: 8px 0;
  white-space: nowrap;
}

nav a:hover,
nav a:focus-visible {
  color: var(--ink);
}

.sound-toggle {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(215, 189, 151, 0.42);
  border-radius: 999px;
  background: rgba(21, 19, 17, 0.82);
  color: var(--muted);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  backdrop-filter: blur(16px);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.36);
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.sound-toggle:hover,
.sound-toggle:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(215, 189, 151, 0.78);
  color: var(--ink);
}

.sound-toggle.is-playing {
  background: rgba(215, 189, 151, 0.18);
  border-color: rgba(215, 189, 151, 0.84);
  color: #fffaf0;
}

.sound-bars {
  display: inline-grid;
  grid-template-columns: repeat(3, 3px);
  align-items: end;
  gap: 3px;
  width: 15px;
  height: 15px;
}

.sound-bars i {
  display: block;
  width: 3px;
  min-height: 4px;
  border-radius: 999px;
  background: var(--amber);
  animation: sound-meter 760ms ease-in-out infinite;
  animation-play-state: paused;
  opacity: 0.72;
}

.sound-bars i:nth-child(2) {
  animation-delay: 110ms;
}

.sound-bars i:nth-child(3) {
  animation-delay: 220ms;
}

.sound-toggle.is-playing .sound-bars i {
  animation-play-state: running;
  opacity: 1;
}

.page-blast {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 238, 154, 0.76), rgba(255, 111, 45, 0.44) 18%, rgba(9, 8, 7, 0) 54%),
    radial-gradient(circle at 50% 50%, rgba(215, 189, 151, 0.34), rgba(9, 8, 7, 0) 70%),
    rgba(201, 160, 106, 0.04);
}

.page-blast span {
  position: absolute;
  width: 38vmin;
  height: 38vmin;
  border-radius: 45% 55% 49% 51%;
  background:
    radial-gradient(circle at 38% 38%, #fff5bf 0 10%, #ffc66f 24%, #f05c30 52%, rgba(116, 25, 12, 0) 72%);
  filter: blur(1px);
  opacity: 0;
  transform: scale(0.1) rotate(0deg);
  mix-blend-mode: screen;
}

.page-blast span:nth-child(2) {
  width: 58vmin;
  height: 58vmin;
  opacity: 0;
  transform: scale(0.08) rotate(28deg);
}

.page-blast span:nth-child(3) {
  width: 86vmin;
  height: 86vmin;
  border: 2px solid rgba(255, 210, 126, 0.62);
  background: radial-gradient(circle, rgba(215, 189, 151, 0.22), rgba(215, 189, 151, 0) 64%);
  filter: blur(0);
}

.page-blast.is-firing {
  animation: page-blast-fade 1550ms ease-out both;
}

.page-blast.is-firing span {
  animation: page-fireball 1550ms cubic-bezier(0.12, 0.76, 0.13, 1) both;
}

.page-blast.is-firing span:nth-child(2) {
  animation-delay: 44ms;
}

.page-blast.is-firing span:nth-child(3) {
  animation-name: page-ring;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  align-items: center;
  justify-items: center;
  padding: 0 clamp(20px, 6vw, 76px);
  background: #0a0908;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  z-index: -3;
  object-fit: cover;
  object-position: 50% 50%;
  filter: saturate(1.08) contrast(1.06) brightness(1.04);
}

.hero-shade {
  z-index: -2;
  background:
    radial-gradient(circle at 50% 38%, rgba(9, 8, 7, 0.02), rgba(9, 8, 7, 0.38) 54%, rgba(9, 8, 7, 0.72) 100%),
    linear-gradient(180deg, rgba(9, 8, 7, 0.46), rgba(9, 8, 7, 0.1) 42%, rgba(9, 8, 7, 0.58));
}

.hero-copy {
  width: min(100%, 1500px);
  max-width: 1500px;
  margin-top: -2svh;
  padding-top: 84px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 26px;
  color: var(--muted);
  font-family: var(--display-font);
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.5em;
  text-indent: 0.5em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
.button,
.site-footer strong,
.kit-summary strong {
  font-family: var(--display-font);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 30px;
  font-size: clamp(3.8rem, 10.4vw, 10.5rem);
  line-height: 0.94;
  font-weight: 300;
  letter-spacing: -0.006em;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 20px 70px rgba(0, 0, 0, 0.6);
}

.hero-copy p:not(.eyebrow) {
  max-width: 780px;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 44px;
  color: #ece5da;
  font-size: clamp(1.14rem, 1.55vw, 1.5rem);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.012em;
  text-wrap: balance;
  text-shadow: 0 12px 38px rgba(0, 0, 0, 0.84);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.download-status {
  min-height: 20px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 60px;
  padding: 0 38px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--display-font);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  isolation: isolate;
  transition:
    transform 220ms cubic-bezier(0.2, 0.7, 0.2, 1),
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    color 220ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--ink);
  border-color: var(--ink);
  border-radius: 0;
  color: #0b0a09;
  text-shadow: none;
  -webkit-text-stroke: 0;
  box-shadow: none;
}

.button.primary::before {
  content: none;
}

.button.primary:hover,
.button.primary:focus-visible {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
  box-shadow: none;
}

.button.secondary {
  background: transparent;
  border-color: rgba(246, 243, 238, 0.32);
  border-radius: 0;
  color: var(--ink);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
  box-shadow: none;
}

.demo-section,
.ecosystem-section,
.build-section {
  padding: clamp(80px, 9vw, 148px) clamp(20px, 3.5vw, 60px);
}

.section-heading {
  width: min(100%, var(--max));
  margin: 0 auto 46px;
}

.section-heading h2 {
  max-width: 1100px;
  margin-bottom: 22px;
  font-size: clamp(2.2rem, 4.8vw, 4.4rem);
  line-height: 1;
  font-weight: 300;
  letter-spacing: -0.004em;
  text-transform: uppercase;
  text-shadow: 0 16px 50px rgba(0, 0, 0, 0.5);
}

.section-heading p:not(.eyebrow) {
  max-width: 820px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.35vw, 1.22rem);
  line-height: 1.6;
}

.demo-section {
  background: #11100e;
}

.demo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  width: min(100%, calc(var(--max) + 96px));
  margin: 0 auto;
}

.demo-stage {
  position: relative;
  min-height: clamp(520px, 58vw, 720px);
  overflow: hidden;
  border: 1px solid rgba(244, 239, 232, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(215, 189, 151, 0.11), rgba(9, 8, 7, 0) 28%),
    #0b0a09;
  box-shadow: 0 24px 80px var(--shadow);
}

.stage-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(244, 239, 232, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 239, 232, 0.08) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(900px) rotateX(62deg) translateY(138px) scale(1.35);
  transform-origin: bottom;
}

.train-movie {
  position: absolute;
  inset: 0 0 154px;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(215, 189, 151, 0.22);
  border-right: 0;
  border-left: 0;
  border-radius: 8px 8px 0 0;
  background: #10100f;
  box-shadow:
    inset 0 0 0 1px rgba(244, 239, 232, 0.05),
    0 24px 80px rgba(0, 0, 0, 0.34);
}

.train-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 62% 28%, rgba(255, 255, 255, 0.22), transparent 14%),
    linear-gradient(180deg, #3a3b38 0 16%, #20211f 16% 38%, #4c4d48 38% 40%, #1a1a18 40% 100%);
  filter: grayscale(1) contrast(1.22) brightness(1.12);
  animation: film-jitter 1400ms steps(2, end) infinite;
}

.train-frame::before {
  position: absolute;
  inset: 0;
  z-index: 5;
  content: "";
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 5px),
    radial-gradient(circle at 50% 50%, transparent 0 42%, rgba(0, 0, 0, 0.64) 100%);
  opacity: 0.64;
  pointer-events: none;
}

.train-frame::after {
  position: absolute;
  inset: -18%;
  z-index: 4;
  content: "";
  background:
    linear-gradient(90deg, transparent 0 22%, rgba(255, 255, 255, 0.05) 24% 25%, transparent 28% 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 30px);
  transform: rotate(-4deg);
}

.train-mountain {
  position: absolute;
  bottom: 36%;
  left: -3%;
  width: 58%;
  height: 44%;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.24), rgba(0, 0, 0, 0.06) 44%),
    #2a2a27;
  clip-path: polygon(0 100%, 12% 42%, 28% 70%, 44% 22%, 62% 82%, 78% 36%, 100% 100%);
}

.train-mountain-b {
  right: -8%;
  left: auto;
  width: 72%;
  height: 48%;
  opacity: 0.78;
  transform: scaleX(-1);
}

.train-track {
  position: absolute;
  right: -10%;
  bottom: 4%;
  left: -8%;
  height: 42%;
  background:
    linear-gradient(100deg, transparent 0 42%, rgba(255, 255, 255, 0.25) 42.5% 43.5%, transparent 44% 100%),
    linear-gradient(80deg, transparent 0 46%, rgba(255, 255, 255, 0.18) 46.5% 47.5%, transparent 48% 100%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.14) 0 2px, transparent 2px 28px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.55));
  clip-path: polygon(39% 0, 61% 0, 94% 100%, 4% 100%);
}

.train-engine {
  position: absolute;
  left: 43%;
  bottom: 22%;
  width: 15%;
  height: 14%;
  border-radius: 2px 2px 9px 9px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(0, 0, 0, 0.44)),
    #121211;
  box-shadow:
    -3vw 3.8vw 0 -2.6vw rgba(255, 255, 255, 0.22),
    3vw 3.8vw 0 -2.6vw rgba(255, 255, 255, 0.22),
    0 2vw 2vw rgba(0, 0, 0, 0.66);
}

.train-engine::before {
  position: absolute;
  right: 14%;
  bottom: 100%;
  width: 24%;
  height: 66%;
  border-radius: 3px 3px 0 0;
  background: #171715;
  content: "";
}

.train-smoke {
  position: absolute;
  left: 44%;
  bottom: 33%;
  width: 15%;
  height: 18%;
  border-radius: 50%;
  background: rgba(230, 230, 220, 0.62);
  filter: blur(8px);
  box-shadow:
    4vw -2vw 0 1.1vw rgba(230, 230, 220, 0.54),
    9vw -3.4vw 0 2vw rgba(230, 230, 220, 0.42),
    -3vw -1vw 0 0.8vw rgba(230, 230, 220, 0.46);
  animation: smoke-billow 3600ms ease-in-out infinite;
}

.train-smoke-b {
  left: 51%;
  bottom: 40%;
  opacity: 0.58;
  transform: scale(1.35);
  animation-delay: 720ms;
}

.train-caption {
  position: absolute;
  inset: 0;
  z-index: 7;
  color: #ffe0a7;
  font-family: var(--display-font);
  font-size: clamp(0.72rem, 1.2vw, 1rem);
  font-weight: 500;
  text-transform: uppercase;
  text-shadow: 2px 2px 0 #000;
  pointer-events: none;
}

.train-caption span {
  position: absolute;
}

.train-caption span:first-child {
  top: clamp(18px, 2.6vw, 30px);
  left: clamp(20px, 3vw, 36px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.train-caption span:first-child::before {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 18px rgba(215, 189, 151, 0.64);
  content: "";
}

.train-caption span:last-child {
  right: clamp(20px, 3vw, 36px);
  bottom: clamp(84px, 8vw, 108px);
}

.impact-ring {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: clamp(210px, 28vw, 276px);
  width: 120px;
  height: 120px;
  border: 2px solid rgba(215, 189, 151, 0.54);
  border-radius: 50%;
  opacity: 0;
  transform: translateX(-50%) scale(0.22);
}

.fireball {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: clamp(230px, 31vw, 306px);
  width: 174px;
  height: 174px;
  opacity: 0;
  transform: translateX(-50%) scale(0.3);
  transform-origin: center;
}

.fireball span {
  position: absolute;
  inset: 0;
  display: block;
  border-radius: 48% 52% 43% 57%;
  background:
    radial-gradient(circle at 42% 42%, #fff2b2 0 12%, #ffb85f 28%, #e64b2a 58%, rgba(111, 27, 14, 0.06) 72%);
  filter: blur(1px);
  mix-blend-mode: screen;
}

.fireball span:nth-child(2) {
  inset: 18px 28px 10px 7px;
  transform: rotate(36deg);
  opacity: 0.72;
}

.fireball span:nth-child(3) {
  inset: 44px 10px 2px 36px;
  transform: rotate(-28deg);
  opacity: 0.52;
}

.spark-field i {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: clamp(290px, 37vw, 366px);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffd48a;
  opacity: 0;
  box-shadow: 0 0 20px rgba(215, 189, 151, 0.82);
}

.spark-field i:nth-child(1) { --x: -210px; --y: -72px; }
.spark-field i:nth-child(2) { --x: -142px; --y: -162px; }
.spark-field i:nth-child(3) { --x: -52px; --y: -214px; }
.spark-field i:nth-child(4) { --x: 80px; --y: -188px; }
.spark-field i:nth-child(5) { --x: 178px; --y: -118px; }
.spark-field i:nth-child(6) { --x: 232px; --y: -28px; }
.spark-field i:nth-child(7) { --x: -248px; --y: 4px; }
.spark-field i:nth-child(8) { --x: 12px; --y: -254px; }

.demo-stage.is-firing .fireball {
  animation: fireball-pop 1180ms cubic-bezier(0.12, 0.76, 0.13, 1) both;
}

.demo-stage.is-firing .impact-ring {
  animation: ring-blast 980ms ease-out both;
}

.demo-stage.is-firing .spark-field i {
  animation: sparks 880ms cubic-bezier(0.1, 0.86, 0.1, 1) both;
}

.demo-stage.is-firing .spark-field i:nth-child(2) { animation-delay: 18ms; }
.demo-stage.is-firing .spark-field i:nth-child(3) { animation-delay: 34ms; }
.demo-stage.is-firing .spark-field i:nth-child(4) { animation-delay: 52ms; }
.demo-stage.is-firing .spark-field i:nth-child(5) { animation-delay: 74ms; }
.demo-stage.is-firing .spark-field i:nth-child(6) { animation-delay: 86ms; }
.demo-stage.is-firing .spark-field i:nth-child(7) { animation-delay: 28ms; }
.demo-stage.is-firing .spark-field i:nth-child(8) { animation-delay: 44ms; }

.cue-readout {
  position: absolute;
  z-index: 6;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.cue-readout > div {
  padding: 14px;
  border: 1px solid rgba(244, 239, 232, 0.12);
  border-radius: 8px;
  background: rgba(21, 19, 17, 0.72);
  backdrop-filter: blur(12px);
}

.cue-readout strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.78rem;
}

.meter {
  display: block;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(244, 239, 232, 0.12);
}

.meter b {
  display: block;
  width: 14%;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
  transition: width 520ms ease;
}

.meter b[data-meter="fan"] {
  background: var(--steel);
}

.meter b[data-meter="light"] {
  background: var(--amber);
}

.demo-stage.is-firing .meter b[data-meter="haptic"] { width: 96%; }
.demo-stage.is-firing .meter b[data-meter="fan"] { width: 82%; }
.demo-stage.is-firing .meter b[data-meter="light"] { width: 100%; }

.cue-panel {
  align-self: stretch;
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr) minmax(190px, 0.28fr);
  gap: 16px;
  align-items: end;
  padding: 22px;
  border: 1px solid rgba(244, 239, 232, 0.12);
  border-radius: 8px;
  background: var(--panel);
}

.cue-panel .eyebrow {
  grid-column: 1;
  margin-bottom: 6px;
}

.cue-panel h3 {
  grid-column: 1;
  margin-bottom: 20px;
  font-size: 1.55rem;
  line-height: 1.05;
}

.cue-panel dl {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

.cue-panel dl div {
  min-height: 116px;
  padding: 14px;
  border: 1px solid rgba(244, 239, 232, 0.1);
  border-radius: 8px;
}

.cue-panel dt {
  color: var(--dim);
  font-size: 0.76rem;
  font-weight: 500;
  text-transform: uppercase;
}

.cue-panel dd {
  margin: 4px 0 0;
  color: var(--ink);
}

.trigger-button {
  grid-column: 3;
  grid-row: 1 / span 2;
  width: 100%;
}

.ecosystem-section {
  background: #0c0b0a;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  width: min(100%, var(--max));
  margin: 0 auto;
}

.ecosystem-grid article {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  padding: 20px;
  border: 1px solid rgba(244, 239, 232, 0.12);
  border-radius: 8px;
  background: var(--panel);
}

.ecosystem-grid article.has-illo {
  min-height: 330px;
  padding-top: 138px;
}

.technical-illo {
  position: absolute;
  top: 18px;
  right: 16px;
  left: 16px;
  width: calc(100% - 32px);
  height: 110px;
  color: rgba(244, 239, 232, 0.86);
  opacity: 0.95;
  pointer-events: none;
}

.technical-illo .wire,
.technical-illo .wire-accent {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.technical-illo .wire {
  stroke-width: 1.35;
}

.technical-illo .wire-accent {
  stroke: rgba(215, 189, 151, 0.82);
  stroke-width: 1.2;
}

.technical-illo circle {
  fill: rgba(9, 8, 7, 0.72);
}

.hub-illo {
  transform: translateY(-2px);
}

.ecosystem-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 40px;
  border: 1px solid rgba(215, 189, 151, 0.36);
  border-radius: 50%;
  color: var(--amber);
  font-size: 0.8rem;
  font-weight: 400;
}

.ecosystem-grid h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  line-height: 1.18;
}

.ecosystem-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.hardware-video {
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  align-items: center;
  justify-items: center;
  padding: clamp(84px, 10vh, 118px) clamp(20px, 6vw, 76px) clamp(48px, 8vh, 78px);
  background: #090807;
  border-top: 1px solid rgba(244, 239, 232, 0.1);
  border-bottom: 1px solid rgba(244, 239, 232, 0.1);
}

.hardware-video-media {
  position: absolute;
  top: -1px;
  right: 0;
  bottom: auto;
  left: 0;
  z-index: -3;
  display: block;
  width: 100%;
  height: calc(100% + 2px);
  border: 0;
  border-radius: 0;
  background: #0b0a09;
  box-shadow: none;
  filter: saturate(1.08) contrast(1.04) brightness(0.88);
  object-fit: cover;
  object-position: center;
}

.hardware-video-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 50% 38%, rgba(9, 8, 7, 0.02), rgba(9, 8, 7, 0.38) 50%, rgba(9, 8, 7, 0.76) 100%),
    linear-gradient(180deg, rgba(9, 8, 7, 0.42), rgba(9, 8, 7, 0.12) 44%, rgba(9, 8, 7, 0.6));
}

.hardware-video-copy {
  max-width: 980px;
  padding-top: 72px;
  text-align: center;
}

.hardware-video-copy h2 {
  max-width: 860px;
  margin: 0 auto 16px;
  font-size: clamp(3rem, 8vw, 7.4rem);
  line-height: 0.92;
  font-weight: 400;
  text-shadow:
    0 18px 62px rgba(0, 0, 0, 0.74),
    2px 2px 0 #000;
}

.hardware-video-copy > p:not(.eyebrow) {
  max-width: 710px;
  margin: 0 auto 24px;
  color: #f1eae0;
  font-size: clamp(1rem, 1.7vw, 1.24rem);
  text-shadow: 0 12px 38px rgba(0, 0, 0, 0.84);
}

.hardware-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 1020px;
  margin: 0 auto 26px;
  padding: 0;
  list-style: none;
}

.hardware-points li {
  min-height: 118px;
  padding: 16px;
  border: 1px solid rgba(215, 189, 151, 0.2);
  border-radius: 8px;
  background: rgba(9, 8, 7, 0.44);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(12px);
}

.hardware-points strong,
.hardware-points span {
  display: block;
}

.hardware-points strong {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.12;
}

.hardware-points span {
  color: var(--muted);
  font-size: 0.86rem;
}

.motion-showcase {
  padding: clamp(58px, 8vw, 96px) clamp(18px, 5vw, 54px);
  background: #0d0c0b;
}

.motion-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  width: min(100%, calc(var(--max) + 160px));
  margin: 0 auto;
}

.motion-card {
  position: relative;
  min-height: 0;
  aspect-ratio: var(--motion-ratio, 16 / 9);
  overflow: hidden;
  border: 1px solid rgba(244, 239, 232, 0.12);
  border-radius: 8px;
  background: #0b0a09;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

.motion-card-wide {
  --motion-ratio: 832 / 464;
}

.motion-card-standard {
  --motion-ratio: 768 / 512;
}

.motion-card video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: saturate(1.02) contrast(1.04) brightness(1);
}

.motion-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(9, 8, 7, 0), rgba(9, 8, 7, 0.42));
  pointer-events: none;
}

.motion-card h3 {
  position: absolute;
  z-index: 1;
  right: 18px;
  bottom: 16px;
  left: 18px;
  margin: 0;
  color: #fffaf0;
  font-size: 1.02rem;
  line-height: 1.08;
  text-shadow: 0 10px 32px rgba(0, 0, 0, 0.82);
}

.build-section {
  background: #14110f;
}

.kit-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, var(--max));
  margin: 0 auto 18px;
}

.kit-summary > div {
  padding: 18px;
  border: 1px solid rgba(244, 239, 232, 0.12);
  border-radius: 8px;
  background: #1b1714;
}

.kit-summary span,
.assembly-download span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
}

.kit-summary strong {
  display: block;
  margin-top: 8px;
  color: var(--amber);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1;
}

.parts-shell {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(100%, var(--max));
  margin: 0 auto;
}

.parts-column {
  overflow: hidden;
  border: 1px solid rgba(244, 239, 232, 0.12);
  border-radius: 8px;
  background: var(--panel);
}

.parts-column-header {
  position: relative;
  display: grid;
  min-height: 164px;
  align-items: end;
  overflow: hidden;
  padding: 22px;
  border-bottom: 1px solid rgba(244, 239, 232, 0.12);
  background:
    linear-gradient(135deg, rgba(215, 189, 151, 0.16), transparent 46%),
    repeating-linear-gradient(90deg, rgba(215, 189, 151, 0.08) 0 1px, transparent 1px 18px),
    #161310;
  isolation: isolate;
}

.parts-column-header::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 88% 18%, rgba(215, 189, 151, 0.22), transparent 24%),
    linear-gradient(180deg, rgba(9, 8, 7, 0.03), rgba(9, 8, 7, 0.62));
}

.parts-column-header h3 {
  max-width: 420px;
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1;
}

.amazon-grid {
  display: grid;
  gap: 0;
}

.amazon-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 14px;
  min-height: 150px;
  padding: 16px;
  border-top: 1px solid rgba(244, 239, 232, 0.1);
}

.amazon-card:first-child {
  border-top: 0;
}

.amazon-card img,
.part-image {
  width: 132px;
  height: 118px;
  border: 1px solid rgba(244, 239, 232, 0.1);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 42%, rgba(215, 189, 151, 0.16), transparent 42%),
    linear-gradient(135deg, rgba(244, 239, 232, 0.07), rgba(244, 239, 232, 0.01)),
    repeating-linear-gradient(0deg, rgba(244, 239, 232, 0.035) 0 1px, transparent 1px 12px),
    #0b0a09;
}

.part-image {
  position: relative;
  display: block;
  overflow: hidden;
  box-shadow: inset 0 0 28px rgba(0, 0, 0, 0.42);
}

.part-image::before,
.part-image::after {
  position: absolute;
  content: "";
}

.part-transducer::before {
  inset: 18px 25px 22px;
  border: 2px solid rgba(244, 239, 232, 0.18);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(244, 239, 232, 0.24) 0 12%, transparent 13% 24%, rgba(215, 189, 151, 0.25) 25% 28%, transparent 29%),
    radial-gradient(circle, #282723 0 44%, #0f0f0d 45% 100%);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.52);
}

.part-transducer::after {
  right: 38px;
  bottom: 18px;
  left: 38px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(215, 189, 151, 0.7), transparent);
}

.part-amp::before {
  inset: 30px 19px 28px;
  border: 1px solid rgba(244, 239, 232, 0.16);
  border-radius: 7px;
  background:
    linear-gradient(180deg, #292722, #10100e),
    #171512;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.5);
}

.part-amp::after {
  right: 29px;
  bottom: 38px;
  left: 29px;
  height: 14px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 18% 50%, #f25535 0 5px, transparent 6px),
    radial-gradient(circle at 48% 50%, #cfc6b8 0 4px, transparent 5px),
    radial-gradient(circle at 76% 50%, #ffb35c 0 4px, transparent 5px),
    linear-gradient(90deg, rgba(244, 239, 232, 0.08), rgba(244, 239, 232, 0.02));
}

.part-controller::before {
  inset: 25px 25px 24px;
  border: 1px solid rgba(114, 199, 166, 0.56);
  border-radius: 6px;
  background:
    radial-gradient(circle at 24% 24%, rgba(114, 199, 166, 0.78) 0 3px, transparent 4px),
    radial-gradient(circle at 78% 74%, rgba(215, 189, 151, 0.78) 0 3px, transparent 4px),
    repeating-linear-gradient(90deg, transparent 0 8px, rgba(244, 239, 232, 0.18) 8px 10px),
    linear-gradient(135deg, #17392e, #07130f);
  box-shadow: 0 0 24px rgba(114, 199, 166, 0.18);
}

.part-controller::after {
  top: 41px;
  left: 48px;
  width: 36px;
  height: 26px;
  border-radius: 3px;
  background: #111917;
  box-shadow:
    0 0 0 1px rgba(244, 239, 232, 0.18),
    34px 19px 0 -4px #111917;
}

.part-power::before,
.part-fan-power::before {
  top: 34px;
  left: 27px;
  width: 62px;
  height: 42px;
  border: 1px solid rgba(244, 239, 232, 0.14);
  border-radius: 8px;
  background: linear-gradient(145deg, #2b2924, #0d0d0c);
  box-shadow: 18px 16px 28px rgba(0, 0, 0, 0.44);
}

.part-power::after,
.part-fan-power::after {
  top: 56px;
  left: 84px;
  width: 34px;
  height: 19px;
  border-top: 3px solid rgba(215, 189, 151, 0.72);
  border-right: 3px solid rgba(215, 189, 151, 0.72);
  border-radius: 0 999px 0 0;
}

.part-fan-power::before {
  width: 72px;
  height: 48px;
}

.part-wire::before {
  inset: 25px 30px 22px;
  border: 8px solid rgba(244, 239, 232, 0.22);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 8px rgba(9, 8, 7, 0.88),
    inset 0 0 0 13px rgba(215, 189, 151, 0.56),
    0 12px 28px rgba(0, 0, 0, 0.42);
}

.part-wire::after {
  right: 20px;
  bottom: 22px;
  width: 42px;
  height: 18px;
  border-bottom: 4px solid rgba(215, 189, 151, 0.82);
  border-radius: 0 0 999px 999px;
}

.part-mount::before {
  right: 18px;
  bottom: 28px;
  left: 18px;
  height: 44px;
  border: 1px solid rgba(244, 239, 232, 0.16);
  border-radius: 6px;
  background:
    radial-gradient(circle at 22% 50%, rgba(9, 8, 7, 0.8) 0 5px, transparent 6px),
    radial-gradient(circle at 78% 50%, rgba(9, 8, 7, 0.8) 0 5px, transparent 6px),
    linear-gradient(145deg, #4a4740, #171614);
  transform: perspective(180px) rotateX(58deg);
}

.part-mount::after {
  left: 35px;
  bottom: 24px;
  width: 62px;
  height: 8px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 12% 50%, #1a1917 0 4px, transparent 5px),
    radial-gradient(circle at 88% 50%, #1a1917 0 4px, transparent 5px),
    rgba(215, 189, 151, 0.54);
}

.part-fan::before {
  inset: 22px 29px 22px;
  border: 3px solid rgba(244, 239, 232, 0.2);
  border-radius: 50%;
  background:
    radial-gradient(circle, #0b0a09 0 10%, rgba(244, 239, 232, 0.72) 11% 16%, transparent 17%),
    conic-gradient(from 12deg, rgba(215, 189, 151, 0.15), rgba(244, 239, 232, 0.46), rgba(9, 8, 7, 0.04), rgba(244, 239, 232, 0.48), rgba(215, 189, 151, 0.15));
  box-shadow: 0 0 24px rgba(156, 178, 191, 0.16);
}

.part-fan::after {
  inset: 38px 45px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffb35c 0 12%, #161412 13% 100%);
}

.part-duct::before {
  top: 13px;
  bottom: 15px;
  left: 42px;
  width: 49px;
  border: 1px solid rgba(244, 239, 232, 0.14);
  border-radius: 999px;
  background:
    linear-gradient(90deg, #080807, #34302a 24%, #11100f 52%, #464038 78%, #0a0908),
    #171512;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.52);
}

.part-duct::after {
  right: 31px;
  bottom: 18px;
  left: 31px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(215, 189, 151, 0.62), rgba(9, 8, 7, 0.2));
}

.part-driver::before {
  inset: 31px 20px 27px;
  border: 1px solid rgba(114, 199, 166, 0.46);
  border-radius: 7px;
  background:
    linear-gradient(90deg, transparent 0 18%, rgba(244, 239, 232, 0.16) 18% 21%, transparent 21% 100%),
    linear-gradient(145deg, #173127, #09100d);
}

.part-driver::after {
  top: 39px;
  left: 34px;
  width: 22px;
  height: 36px;
  border-radius: 3px;
  background: #0c0d0c;
  box-shadow:
    32px 8px 0 -3px #0c0d0c,
    58px 15px 0 -7px #ffb35c;
}

.part-grille::before {
  inset: 20px 25px;
  border: 2px solid rgba(244, 239, 232, 0.24);
  border-radius: 50%;
  background:
    repeating-linear-gradient(0deg, transparent 0 8px, rgba(244, 239, 232, 0.28) 8px 10px),
    repeating-linear-gradient(90deg, transparent 0 8px, rgba(244, 239, 232, 0.2) 8px 10px);
}

.part-grille::after {
  inset: 38px 43px;
  border: 1px solid rgba(215, 189, 151, 0.56);
  border-radius: 50%;
}

.part-led::before {
  right: 18px;
  bottom: 34px;
  left: 18px;
  height: 14px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 12% 50%, #ffe0a7 0 4px, transparent 5px),
    radial-gradient(circle at 30% 50%, #ffb35c 0 4px, transparent 5px),
    radial-gradient(circle at 48% 50%, #ffe0a7 0 4px, transparent 5px),
    radial-gradient(circle at 66% 50%, #ffb35c 0 4px, transparent 5px),
    radial-gradient(circle at 84% 50%, #ffe0a7 0 4px, transparent 5px),
    rgba(215, 189, 151, 0.16);
  box-shadow: 0 0 24px rgba(215, 189, 151, 0.38);
}

.part-led::after {
  top: 32px;
  left: 23px;
  width: 86px;
  height: 34px;
  border-top: 3px solid rgba(244, 239, 232, 0.18);
  border-left: 3px solid rgba(244, 239, 232, 0.18);
  border-radius: 10px 0 0;
}

.amazon-card h4 {
  margin: 0 0 5px;
  font-size: 1rem;
  line-height: 1.18;
}

.amazon-card p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.amazon-card strong {
  display: inline-flex;
  margin-right: 8px;
  color: var(--green);
  font-size: 1rem;
}

.amazon-card a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 11px;
  border: 1px solid rgba(215, 189, 151, 0.36);
  border-radius: 8px;
  color: var(--amber);
  font-size: 0.84rem;
  font-weight: 500;
}

.amazon-card a:hover,
.amazon-card a:focus-visible,
.source-strip a:hover,
.source-strip a:focus-visible {
  border-color: rgba(215, 189, 151, 0.75);
  color: var(--ink);
}

.assembly-guide {
  width: min(100%, var(--max));
  margin: 22px auto 0;
  padding: 24px;
  border: 1px solid rgba(244, 239, 232, 0.12);
  border-radius: 8px;
  background: #1b1714;
}

.section-heading.compact {
  width: 100%;
  margin-bottom: 18px;
}

.section-heading.compact h2 {
  max-width: 720px;
  font-size: clamp(1.9rem, 4vw, 3.25rem);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  min-height: 185px;
  padding: 54px 16px 16px;
  border: 1px solid rgba(244, 239, 232, 0.1);
  border-radius: 8px;
  background: rgba(9, 8, 7, 0.36);
  counter-increment: step;
}

.steps li::before {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--amber);
  color: #160e08;
  content: counter(step);
  font-size: 0.82rem;
  font-weight: 400;
}

.steps strong,
.steps span {
  display: block;
}

.steps strong {
  margin-bottom: 8px;
  font-size: 1rem;
  line-height: 1.15;
}

.steps span {
  color: var(--muted);
  font-size: 0.92rem;
}

.assembly-download {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(244, 239, 232, 0.1);
}

.build-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(100%, var(--max));
  margin: 0 auto;
}

.build-card {
  overflow: hidden;
  border: 1px solid rgba(244, 239, 232, 0.12);
  border-radius: 8px;
  background: var(--panel);
}

.build-card > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid rgba(244, 239, 232, 0.12);
}

.build-card-body {
  padding: 22px;
}

.build-card-title {
  margin-bottom: 18px;
}

.build-card-title h3 {
  margin-bottom: 0;
  font-size: clamp(1.42rem, 2.6vw, 2rem);
  line-height: 1.05;
}

.parts-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.parts-list li {
  display: grid;
  grid-template-columns: minmax(120px, 0.35fr) minmax(0, 1fr);
  gap: 14px;
  padding: 13px 0;
  border-top: 1px solid rgba(244, 239, 232, 0.1);
}

.parts-list strong {
  color: var(--ink);
  font-size: 0.92rem;
}

.parts-list span {
  color: var(--muted);
  font-size: 0.95rem;
}

.source-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: min(100%, var(--max));
  margin: 20px auto 0;
  padding: 18px;
  border: 1px solid rgba(244, 239, 232, 0.12);
  border-radius: 8px;
  background: #1b1714;
}

.source-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.source-strip div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.source-strip a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(215, 189, 151, 0.34);
  border-radius: 8px;
  color: var(--amber);
  font-weight: 500;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  justify-content: space-between;
  padding: 28px clamp(18px, 5vw, 54px);
  color: var(--muted);
  background: #090807;
  border-top: 1px solid rgba(244, 239, 232, 0.1);
}

.site-footer strong {
  color: var(--ink);
}

.site-footer a {
  color: var(--amber);
  font-family: var(--display-font);
  font-weight: 500;
  text-transform: uppercase;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #fff;
  text-shadow:
    2px 2px 0 #000,
    0 0 18px rgba(215, 189, 151, 0.56);
}

.site-header,
.hero,
.hero-copy,
.hardware-video-copy,
.section-heading,
.demo-stage,
.cue-panel,
.cue-readout div,
.ecosystem-grid article,
.hardware-video,
.hardware-video-media,
.hardware-points li,
.motion-showcase,
.motion-card,
.kit-summary > div,
.parts-column,
.parts-column-header,
.amazon-card,
.amazon-card img,
.part-image,
.assembly-guide,
.steps li,
.assembly-download,
.source-strip,
.source-strip a,
.build-card,
.parts-list li,
.meter,
.download-status,
.site-footer,
.site-footer a,
.brand,
nav a,
.button,
.sound-toggle {
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    clip-path 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    text-shadow 180ms ease,
    filter 180ms ease,
    opacity 180ms ease;
}

.hero-image,
.technical-illo,
.hardware-video-media,
.motion-card video,
.part-image {
  transition:
    transform 220ms ease,
    filter 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    opacity 220ms ease;
}

h1,
h2,
h3,
h4,
.eyebrow,
p,
dt,
dd,
.steps strong,
.steps span,
.hardware-points strong,
.hardware-points span,
.kit-summary span,
.kit-summary strong,
.amazon-card strong,
.site-footer span {
  transition:
    transform 180ms ease,
    color 180ms ease,
    text-shadow 180ms ease;
}

  .hero:hover {
    --octagon-cut: 26px;
    clip-path: var(--octagon-frame);
    box-shadow:
      inset 0 0 0 1px rgba(215, 189, 151, 0.42),
      inset 0 0 70px rgba(201, 160, 106, 0.16);
    filter:
      drop-shadow(0 0 1px rgba(215, 189, 151, 0.9))
      drop-shadow(0 0 22px rgba(201, 160, 106, 0.2));
  }

  .hardware-video:hover {
    --octagon-cut: 26px;
    clip-path: var(--octagon-frame);
    box-shadow:
      inset 0 0 0 1px rgba(215, 189, 151, 0.42),
      inset 0 0 70px rgba(201, 160, 106, 0.18);
    filter:
      drop-shadow(0 0 1px rgba(215, 189, 151, 0.9))
      drop-shadow(0 0 22px rgba(201, 160, 106, 0.2));
  }

  .hero:hover .hero-image {
    transform: scale(1.018);
    filter: saturate(1.12) contrast(1.08) brightness(1.1) drop-shadow(0 0 22px rgba(215, 189, 151, 0.18));
  }

  .site-header:hover,
  .hero-copy:hover,
  .section-heading:hover,
  .demo-stage:hover,
  .cue-panel:hover,
  .ecosystem-grid article:hover,
  .motion-showcase:hover,
  .motion-card:hover,
  .kit-summary > div:hover,
  .parts-column:hover,
  .assembly-guide:hover,
  .assembly-download:hover,
  .source-strip:hover,
  .build-card:hover,
  .site-footer:hover {
    border-color: var(--hover-outline);
    clip-path: var(--octagon-frame);
    box-shadow:
      inset 0 0 0 1px rgba(215, 189, 151, 0.58),
      0 18px 52px rgba(201, 160, 106, 0.23);
    filter:
      drop-shadow(0 0 1px rgba(215, 189, 151, 0.92))
      drop-shadow(0 0 22px rgba(201, 160, 106, 0.28));
    transform: translateY(-4px);
  }

  .cue-readout div:hover,
  .hardware-points li:hover,
  .parts-column-header:hover,
  .amazon-card:hover,
  .steps li:hover,
  .parts-list li:hover,
  .meter:hover,
  .download-status:hover {
    --octagon-cut: 14px;
    border-color: var(--hover-outline);
    clip-path: var(--octagon-frame);
    box-shadow:
      inset 0 0 0 1px rgba(215, 189, 151, 0.48),
      0 12px 34px rgba(201, 160, 106, 0.16);
    filter:
      drop-shadow(0 0 1px rgba(215, 189, 151, 0.82))
      drop-shadow(0 0 16px rgba(201, 160, 106, 0.22));
    transform: translateY(-3px) translateX(2px);
  }

  .brand:hover,
  nav a:hover,
  .button:hover,
  .sound-toggle:hover,
  .amazon-card a:hover,
  .source-strip a:hover {
    --octagon-cut: 12px;
    clip-path: var(--octagon-frame);
    box-shadow:
      inset 0 0 0 1px rgba(215, 189, 151, 0.56),
      0 10px 30px rgba(201, 160, 106, 0.24);
    filter:
      drop-shadow(0 0 1px rgba(215, 189, 151, 0.92))
      drop-shadow(0 0 14px rgba(201, 160, 106, 0.24));
    transform: translateY(-2px);
  }

  .button.primary:hover,
  .button.primary:focus-visible {
    clip-path: none;
    box-shadow: none;
    filter:
      drop-shadow(0 0 1px rgba(215, 189, 151, 0.95))
      drop-shadow(0 0 18px rgba(201, 160, 106, 0.28));
  }

  .amazon-card:hover img,
  .amazon-card:hover .part-image {
    --octagon-cut: 14px;
    border-color: rgba(215, 189, 151, 0.78);
    clip-path: var(--octagon-frame);
    box-shadow:
      inset 0 0 0 1px rgba(215, 189, 151, 0.46),
      0 14px 34px rgba(201, 160, 106, 0.18);
    transform: scale(1.035);
  }

  .parts-column:hover .parts-column-header {
    background-color: #201710;
    border-color: rgba(215, 189, 151, 0.62);
  }

  .ecosystem-grid article:hover .technical-illo {
    filter: drop-shadow(0 0 18px rgba(215, 189, 151, 0.36));
    transform: translateY(-5px);
  }

  .ecosystem-grid article:hover .hub-illo {
    transform: translateY(-7px);
  }

  .hardware-video:hover .hardware-video-media,
  .hardware-video-media:hover {
    border-color: transparent;
    box-shadow: none;
    filter: saturate(1.12) contrast(1.08) brightness(0.96) drop-shadow(0 0 22px rgba(215, 189, 151, 0.16));
    transform: none;
  }

  .motion-card:hover video {
    filter: saturate(1.06) contrast(1.08) brightness(0.96) drop-shadow(0 0 18px rgba(215, 189, 151, 0.18));
    transform: none;
  }

  .cue-readout div:hover .meter b,
  .meter:hover b {
    filter: drop-shadow(0 0 12px rgba(215, 189, 151, 0.8));
  }

  h1:hover,
  h2:hover,
  h3:hover,
  h4:hover,
  .eyebrow:hover {
    color: #fffaf0;
    text-shadow: 0 0 20px rgba(215, 189, 151, 0.52), 2px 2px 0 #000;
    transform: translateX(3px);
  }

  p:hover,
  dt:hover,
  dd:hover,
  .steps strong:hover,
  .steps span:hover,
  .kit-summary span:hover,
  .kit-summary strong:hover,
  .amazon-card strong:hover,
  .site-footer span:hover {
    color: var(--ink);
    text-shadow: 0 0 16px rgba(215, 189, 151, 0.38);
    transform: translateX(2px);
  }

a:focus-visible,
button:focus-visible,
.amazon-card:focus-within,
.parts-column:focus-within,
.assembly-guide:focus-within,
.source-strip:focus-within {
  --octagon-cut: 14px;
  outline: none;
  clip-path: var(--octagon-frame);
  box-shadow:
    inset 0 0 0 1px rgba(215, 189, 151, 0.62),
    0 18px 52px rgba(201, 160, 106, 0.23);
  filter:
    drop-shadow(0 0 1px rgba(215, 189, 151, 0.94))
    drop-shadow(0 0 20px rgba(201, 160, 106, 0.26));
}

@keyframes page-blast-fade {
  0% {
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  54% {
    opacity: 0.96;
  }
  100% {
    opacity: 0;
  }
}

@keyframes page-fireball {
  0% {
    opacity: 0;
    transform: scale(0.08) rotate(-10deg);
  }
  18% {
    opacity: 1;
  }
  48% {
    opacity: 0.94;
    transform: scale(1.35) rotate(16deg);
    filter: blur(5px);
  }
  100% {
    opacity: 0;
    transform: scale(2.6) rotate(42deg);
    filter: blur(22px);
  }
}

@keyframes page-ring {
  0% {
    opacity: 0;
    transform: scale(0.08);
  }
  14% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: scale(2.4);
  }
}

@keyframes film-jitter {
  0%,
  100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(0.6px, -0.4px);
  }
  50% {
    transform: translate(-0.8px, 0.5px);
  }
  75% {
    transform: translate(0.3px, 0.8px);
  }
}

@keyframes smoke-billow {
  0%,
  100% {
    opacity: 0.52;
    transform: translateX(0) scale(1);
  }
  50% {
    opacity: 0.76;
    transform: translateX(12px) translateY(-10px) scale(1.14);
  }
}

@keyframes fireball-pop {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(36px) scale(0.16);
    filter: blur(0);
  }
  12% {
    opacity: 1;
  }
  32% {
    opacity: 1;
    transform: translateX(-50%) translateY(-22px) scale(1.22);
    filter: blur(0);
  }
  64% {
    opacity: 0.86;
    transform: translateX(-50%) translateY(-58px) scale(1.95);
    filter: blur(8px);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(-100px) scale(2.6);
    filter: blur(18px);
  }
}

@keyframes sound-meter {
  0%,
  100% {
    height: 5px;
  }
  50% {
    height: 15px;
  }
}

@keyframes ring-blast {
  0% {
    opacity: 0.9;
    transform: translateX(-50%) scale(0.1);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) scale(6.2);
  }
}

@keyframes sparks {
  0% {
    opacity: 0;
    transform: translate(-50%, 0) scale(0.3);
  }
  12% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--x)), var(--y)) scale(0.1);
  }
}

@keyframes caution-border-oscillate {
  0% {
    background-position: 0 0;
    transform: translateX(-4px) rotate(-0.35deg);
  }
  50% {
    background-position: 18px 0;
    transform: translateX(4px) rotate(0.35deg);
  }
  100% {
    background-position: 36px 0;
    transform: translateX(-4px) rotate(-0.35deg);
  }
}

@media (max-width: 980px) {
  .demo-layout,
  .build-grid,
  .source-strip,
  .kit-summary,
  .parts-shell,
  .steps {
    grid-template-columns: 1fr;
  }

  .hardware-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .motion-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ecosystem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .source-strip div {
    justify-content: flex-start;
  }

  .cue-panel {
    grid-template-columns: 1fr;
  }

  .cue-panel .eyebrow,
  .cue-panel h3,
  .cue-panel dl,
  .trigger-button {
    grid-column: 1;
    grid-row: auto;
  }

  .cue-panel dl {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: absolute;
    flex-wrap: wrap;
    align-items: flex-start;
    min-height: 0;
  }

  nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 14px;
    font-size: 0.74rem;
  }

  .brand img {
    width: 86px;
    height: 49px;
  }

  .hero {
    height: 100vh;
    min-height: 100svh;
    height: 100svh;
    padding: 0 20px;
  }

  .hero-image {
    object-position: 43% 50%;
  }

  .hero-shade {
    background:
      radial-gradient(circle at 50% 38%, rgba(9, 8, 7, 0.04), rgba(9, 8, 7, 0.42) 48%, rgba(9, 8, 7, 0.76) 100%),
      linear-gradient(180deg, rgba(9, 8, 7, 0.48), rgba(9, 8, 7, 0.12) 46%, rgba(9, 8, 7, 0.62));
  }

  .hero-copy {
    margin-top: -6svh;
    padding-top: 76px;
  }

  .hardware-video {
    min-height: 100svh;
    padding: 96px 20px 54px;
  }

  .hardware-video-copy {
    padding-top: 0;
  }

  .hardware-video-copy h2 {
    font-size: clamp(2.7rem, 13vw, 4.7rem);
  }

  .hardware-points {
    grid-template-columns: 1fr;
  }

  .motion-grid {
    grid-template-columns: 1fr;
  }

  .hardware-points li {
    min-height: 0;
    padding: 14px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .demo-stage {
    min-height: 480px;
  }

  .train-movie {
    inset: 0 0 242px;
    border-radius: 8px 8px 0 0;
  }

  .train-caption {
    font-size: 0.64rem;
  }

  .train-caption span:first-child {
    top: 14px;
    left: 14px;
    gap: 7px;
  }

  .train-caption span:first-child::before {
    width: 8px;
    height: 8px;
  }

  .train-caption span:last-child {
    right: 14px;
    bottom: 76px;
  }

  .impact-ring {
    bottom: 228px;
    width: 92px;
    height: 92px;
  }

  .fireball {
    bottom: 250px;
    width: 128px;
    height: 128px;
  }

  .spark-field i {
    bottom: 302px;
  }

  .cue-readout {
    grid-template-columns: 1fr;
  }

  .ecosystem-grid {
    grid-template-columns: 1fr;
  }

  .ecosystem-grid article {
    min-height: 0;
  }

  .ecosystem-grid span {
    margin-bottom: 24px;
  }

  .parts-column-header {
    min-height: 150px;
  }

  .amazon-card {
    grid-template-columns: 104px minmax(0, 1fr);
    min-height: 132px;
    padding: 14px;
  }

  .amazon-card img,
  .part-image {
    width: 104px;
    height: 104px;
  }

  .amazon-card h4 {
    font-size: 0.95rem;
  }

  .amazon-card p,
  .amazon-card strong {
    font-size: 0.86rem;
  }

  .assembly-guide {
    padding: 18px;
  }

  .steps li {
    min-height: 0;
  }

  .parts-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

/* ===== Real DIY product photos ===== */
.amazon-card .part-image {
  background: #0b0a09 !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  box-shadow: inset 0 0 0 1px rgba(244, 239, 232, 0.08) !important;
}
.amazon-card .part-image::before,
.amazon-card .part-image::after {
  content: none !important;
  display: none !important;
}
.amazon-card .part-transducer { background-image: url("assets/part-transducer.png") !important; }
.amazon-card .part-amp        { background-image: url("assets/part-amp.png") !important; }
.amazon-card .part-controller { background-image: url("assets/part-controller.png") !important; }
.amazon-card .part-power      { background-image: url("assets/part-power.png") !important; }
.amazon-card .part-wire       { background-image: url("assets/part-wire.png") !important; }
.amazon-card .part-mount      { background-image: url("assets/part-mount.png") !important; }
.amazon-card .part-fan        { background-image: url("assets/part-fan.png") !important; }
.amazon-card .part-duct       { background-image: url("assets/part-duct.png") !important; }
.amazon-card .part-driver     { background-image: url("assets/part-driver.png") !important; }
.amazon-card .part-fan-power  { background-image: url("assets/part-fan-power.png") !important; }
.amazon-card .part-grille     { background-image: url("assets/part-grille.png") !important; }
.amazon-card .part-led        { background-image: url("assets/part-led.png") !important; }

/* ===== Action-sync demo: real autoplaying film + fallback ===== */
.train-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: transparent;
  filter: contrast(1.05) saturate(1.06);
}
/* the CSS cartoon only shows through until/if the video paints */
.train-frame-fallback { z-index: 0; }
.train-caption { z-index: 2; }

/* Demo scene sound control */
.video-sound-btn {
  position: absolute;
  z-index: 3;
  right: 12px;
  top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid rgba(244, 239, 232, 0.25);
  background: rgba(9, 8, 7, 0.55);
  color: #f4efe8;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.video-sound-btn:hover { background: rgba(215, 189, 151, 0.3); }
