@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-latin-var.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("/fonts/space-grotesk-latin-var.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #05080a;
  --ink-soft: #090e12;
  --ink-raised: #0e151a;
  --paper: #eeeae1;
  --paper-bright: #f8f5ee;
  --text: #f4f0e8;
  --muted: #9aa6ac;
  --dark: #101518;
  --dark-muted: #59646a;
  --ember: #ff6b2c;
  --ember-hot: #ff9c63;
  --ice: #9bcfe0;
  --line: rgba(244, 240, 232, 0.14);
  --line-dark: rgba(16, 21, 24, 0.18);
  --header-height: 76px;
  --ease: cubic-bezier(0.2, 0.72, 0.2, 1);
  --machine: cubic-bezier(0.22, 0.74, 0.22, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--text);
  font: 400 16px/1.62 "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

html.has-custom-cursor,
html.has-custom-cursor body,
html.has-custom-cursor a,
html.has-custom-cursor button,
html.has-custom-cursor input,
html.has-custom-cursor textarea,
html.has-custom-cursor [data-core-hit],
html.has-custom-cursor label,
html.has-custom-cursor .button {
  cursor: none !important;
}

.cursor {
  position: fixed;
  z-index: 400;
  top: 0;
  left: 0;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 220ms ease;
  will-change: transform;
}

html.has-custom-cursor .cursor.is-on {
  opacity: 1;
}

.cursor__wake {
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 120, 40, 0.42), transparent 68%);
  filter: blur(6px);
  opacity: 0.55;
  transform: scale(0.7);
  transition: opacity 160ms ease;
}

.cursor__core {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.cursor__glow {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 160, 70, 0.55), transparent 70%);
  filter: blur(4px);
  opacity: 0.85;
}

.cursor__orbit {
  position: absolute;
  width: 42px;
  height: 42px;
  border: 1px solid transparent;
  border-top-color: rgba(255, 140, 60, 0.95);
  border-right-color: rgba(255, 140, 60, 0.2);
  border-radius: 50%;
  animation: cursor-orbit 2.8s linear infinite;
}

.cursor__cross {
  position: absolute;
  background: rgba(255, 196, 120, 0.85);
  box-shadow: 0 0 8px rgba(255, 107, 44, 0.35);
}

.cursor__cross--h {
  width: 18px;
  height: 1px;
}

.cursor__cross--v {
  width: 1px;
  height: 18px;
}

.cursor__brackets {
  position: absolute;
  width: 28px;
  height: 28px;
  transition: width 220ms var(--ease), height 220ms var(--ease), opacity 180ms ease;
}

.cursor__brackets i {
  position: absolute;
  width: 7px;
  height: 7px;
  border: 1.5px solid rgba(255, 140, 60, 0.55);
  transition: inherit;
}

.cursor__brackets i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.cursor__brackets i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.cursor__brackets i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.cursor__brackets i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }

.cursor__dot {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff4e6;
  box-shadow:
    0 0 0 1px rgba(255, 107, 44, 0.9),
    0 0 14px rgba(255, 107, 44, 0.85);
}

.cursor__label {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  translate: -50% 0;
  min-width: max-content;
  padding: 3px 6px 2px;
  border: 1px solid rgba(255, 107, 44, 0.35);
  background: rgba(5, 8, 10, 0.72);
  color: #ffc088;
  font: 700 8px/1 "Space Grotesk", sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 160ms ease, transform 160ms var(--ease);
}

@keyframes cursor-orbit {
  to { transform: rotate(360deg); }
}

html.has-custom-cursor .cursor.is-hot .cursor__brackets {
  width: 46px;
  height: 46px;
}

html.has-custom-cursor .cursor.is-hot .cursor__brackets i {
  border-color: rgba(255, 180, 90, 0.95);
  width: 9px;
  height: 9px;
}

html.has-custom-cursor .cursor.is-hot .cursor__orbit {
  width: 54px;
  height: 54px;
  animation-duration: 1.4s;
  border-top-color: #ffb45a;
}

html.has-custom-cursor .cursor.is-hot .cursor__glow {
  width: 34px;
  height: 34px;
  opacity: 1;
}

html.has-custom-cursor .cursor.is-hot .cursor__label {
  opacity: 1;
  transform: translateY(0);
}

html.has-custom-cursor .cursor.is-drag .cursor__cross--h {
  width: 26px;
}

html.has-custom-cursor .cursor.is-drag .cursor__cross--v {
  height: 10px;
  opacity: 0.35;
}

html.has-custom-cursor .cursor.is-active .cursor__core {
  transform: scale(0.82);
}

html.has-custom-cursor .cursor.is-active .cursor__wake {
  opacity: 1;
  transform: scale(1.35);
  background: radial-gradient(circle, rgba(255, 160, 60, 0.7), transparent 70%);
}

html.has-custom-cursor .cursor.is-active .cursor__dot {
  background: #fff;
  box-shadow: 0 0 18px rgba(255, 200, 120, 1);
}

img,
picture,
svg,
canvas {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

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

button,
input,
textarea {
  border-radius: 0;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

::selection {
  background: var(--ember);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--ember-hot);
  outline-offset: 4px;
}

.shell {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 11px 15px;
  translate: 0 -180%;
  background: var(--paper-bright);
  color: var(--ink);
  font-weight: 800;
  transition: translate 180ms ease;
}

.skip-link:focus {
  translate: 0;
}

.scroll-progress {
  position: fixed;
  z-index: 300;
  inset: 0 0 auto;
  height: 2px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--ember), var(--ember-hot), var(--ice));
  will-change: transform;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--ember-hot);
  font: 700 10px/1.25 "Space Grotesk", sans-serif;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow-dark {
  color: #8f3512;
}

.site-header {
  position: fixed;
  z-index: 200;
  inset: 0 0 auto;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition: background 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(5, 8, 10, 0.86);
  backdrop-filter: blur(16px) saturate(125%);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 12px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  color: var(--ember);
}

.brand-mark svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.brand-mark path:first-child {
  fill: rgba(255, 107, 44, 0.06);
  stroke: currentColor;
  stroke-width: 1.5;
}

.brand-mark path:last-child {
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-width: 2;
}

.brand-type {
  color: var(--text);
  font: 700 14px/1 "Space Grotesk", sans-serif;
  letter-spacing: 0.16em;
}


.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 42px);
  margin-left: auto;
}

.main-nav a {
  position: relative;
  padding: 12px 0;
  color: #c1c9cd;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 1px;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  background: var(--ember);
  transition: transform 220ms var(--ease);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}




.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  margin-left: 4px;
  padding: 0 10px;
  border: 1px solid rgba(244, 240, 232, 0.18);
  background: rgba(244, 240, 232, 0.04);
  color: var(--text);
}

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 16px;
  height: 12px;
}

.nav-toggle__bars i {
  position: absolute;
  left: 0;
  display: block;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform 200ms var(--ease), top 200ms var(--ease), opacity 160ms ease;
}

.nav-toggle__bars i:first-child { top: 2px; }
.nav-toggle__bars i:last-child { top: 9px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:first-child {
  top: 5.5px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:last-child {
  top: 5.5px;
  transform: rotate(-45deg);
}

.nav-toggle__label {
  font: 800 10px/1 "Space Grotesk", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: #070b0e;
}

.mobile-nav[hidden] {
  display: none !important;
}

.mobile-nav__inner {
  display: grid;
  gap: 4px;
  padding: 14px 0 22px;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 2px;
  font: 700 15px/1.2 "Space Grotesk", sans-serif;
  letter-spacing: 0.04em;
}

.mobile-nav a {
  color: #d7ddd9;
  border-bottom: 1px solid rgba(244, 240, 232, 0.08);
}


.core-story__emblem {
  display: none;
}

/* Persistent Core: a static SVG is always present before the deferred renderer. */
.core-viewport {
  position: fixed;
  z-index: 2;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.core-viewport.is-past-story,
.core-viewport.is-past-hero {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.core-viewport.is-in-capability {
  z-index: 5;
  opacity: 1;
  visibility: visible;
}

.core-viewport canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  opacity: 0;
  transition: opacity 220ms ease;
}

.core-viewport.is-ready canvas {
  opacity: 1;
}

.core-poster {
  position: absolute;
  top: 50%;
  right: 2vw;
  width: min(42vw, 520px);
  height: min(36vw, 420px);
  transform: translateY(-48%) rotate(-10deg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease, transform 800ms var(--machine);
  /* Soft placeholder — no old motherboard photo flash */
  background:
    radial-gradient(ellipse 55% 45% at 50% 48%, rgba(197, 204, 210, 0.14), transparent 70%),
    linear-gradient(120deg, transparent 40%, rgba(255, 107, 44, 0.06) 50%, transparent 60%);
  filter: drop-shadow(0 28px 60px rgba(0, 0, 0, 0.45));
}

.core-poster__photo {
  display: none;
}

.core-ready .core-poster {
  opacity: 0;
}

.core-viewport.has-fallback .core-poster {
  opacity: 0.55;
}

.core-poster svg {
  width: 100%;
  overflow: visible;
}

.core-poster__orbit {
  fill: none;
  stroke: rgba(155, 207, 224, 0.32);
  stroke-width: 2;
  stroke-dasharray: 3 11;
}

.core-poster__plate > rect:first-child {
  fill: rgba(6, 11, 14, 0.92);
  stroke: rgba(244, 240, 232, 0.34);
  stroke-width: 2;
}

.core-poster__trace {
  fill: none;
  stroke: rgba(255, 107, 44, 0.46);
  stroke-width: 2;
}

.core-poster__memory rect {
  fill: #0f282e;
  stroke: rgba(155, 207, 224, 0.48);
}

.core-poster__socket {
  fill: #080b0e;
  stroke: rgba(255, 156, 99, 0.74);
  stroke-width: 4;
}

.core-poster__chip {
  fill: rgba(255, 107, 44, 0.15);
  stroke: var(--ember);
  stroke-width: 6;
}

.core-poster__mark {
  fill: none;
  stroke: var(--ember-hot);
  stroke-width: 9;
}

.core-poster text {
  fill: rgba(244, 240, 232, 0.7);
  font: 700 14px "Space Grotesk", sans-serif;
  letter-spacing: 5px;
}

.core-loader {
  position: absolute;
  right: 32px;
  bottom: 28px;
  opacity: 0;
  color: #7f8b91;
  font: 700 9px/1 "Space Grotesk", sans-serif;
  letter-spacing: 0.13em;
}

.core-viewport.is-loading .core-loader {
  animation: core-loader-delay 1ms 1s both;
}

.core-viewport.is-ready .core-loader,
.core-viewport.has-fallback .core-loader {
  display: none;
}

@keyframes core-loader-delay {
  to { opacity: 1; }
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #05080a;
}

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

.hero-media {
  z-index: 0;
}

.hero-media img {
  object-fit: cover;
  object-position: center;
  opacity: 0.52;
  filter: saturate(0.72) contrast(1.08) brightness(1.08);
}

.hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 8, 10, 0.92) 0%, rgba(5, 8, 10, 0.78) 36%, rgba(5, 8, 10, 0.28) 72%, rgba(5, 8, 10, 0.12) 100%),
    linear-gradient(180deg, rgba(5, 8, 10, 0.08), rgba(5, 8, 10, 0.18) 58%, rgba(5, 8, 10, 0.82) 100%),
    radial-gradient(ellipse 55% 48% at 78% 42%, rgba(255, 107, 44, 0.06), transparent 70%);
}

.hero-shade::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, transparent 0 49.9%, rgba(244, 240, 232, 0.04) 50%, transparent 50.1%);
}

.hero-inner {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(360px, 0.42fr);
  align-items: center;
  min-height: 100svh;
  padding-top: calc(var(--header-height) + 46px);
  padding-bottom: 64px;
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(1000px, 76vw);
}

/* Phone-only runway for the fixed WebGL board under the hero copy */
.hero-stage {
  display: none;
}

.hero-eyebrow {
  margin-bottom: 23px;
}

.hero h1 {
  width: max-content;
  max-width: min(1050px, 88vw);
  margin: 0;
  color: #f7f4ed;
  font: 500 clamp(54px, 5.9vw, 88px) / 0.94 "Space Grotesk", sans-serif;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.hero h1 span {
  display: block;
}

.hero-heat {
  position: relative;
  display: block;
  width: max-content;
}

.hero-heat__source {
  position: absolute;
  z-index: 0;
  right: 4%;
  bottom: -6%;
  width: 42%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 44, 0.16), transparent 70%);
  filter: blur(22px);
  pointer-events: none;
  opacity: 0.55;
}

.hero h1 span:last-child,
.hero h1 [data-heat-line] {
  position: relative;
  z-index: 1;
  white-space: nowrap;
  color: var(--ember-hot);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  filter: none;
  text-shadow: 0 0 28px rgba(255, 107, 44, 0.22);
  animation: none;
}

/* Keep CSS heat — WebGL warp looked like blur, not heat */
body.core-heat-ready .hero h1 [data-heat-line] {
  color: var(--ember-hot);
}

.hero-lead {
  max-width: 630px;
  margin: 30px 0 0;
  color: #b7c0c5;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.58;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 27px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  word-spacing: 0.08em;
  transition: transform 180ms var(--ease), background 180ms ease, color 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  background: var(--ember);
  color: var(--ink);
  box-shadow: 0 14px 34px rgba(255, 83, 20, 0.16);
}

.button-primary:hover {
  background: var(--ember-hot);
}

.button-quiet {
  border-color: rgba(244, 240, 232, 0.22);
  background: rgba(5, 8, 10, 0.3);
  color: var(--text);
}

.button-quiet:hover {
  border-color: rgba(244, 240, 232, 0.46);
  background: rgba(244, 240, 232, 0.07);
}

.hero-proofline {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  max-width: 680px;
  margin: 27px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.hero-proofline li {
  padding: 0 13px;
  border-left: 1px solid var(--line);
  color: #8d999f;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-proofline li:first-child {
  padding-left: 0;
  border-left: 0;
}

/* Marquee clones are only shown on compact viewports */
.hero-proofline > li[aria-hidden="true"] {
  display: none;
}

.core-hit {
  position: absolute;
  z-index: 6;
  touch-action: pan-y pinch-zoom;
  cursor: grab;
}

.core-hit.is-dragging {
  cursor: grabbing;
}

.core-hit--hero {
  top: 12%;
  right: 0;
  bottom: 8%;
  left: 58%;
}

.core-hit--hero > span {
  display: none;
}

.core-hit--hero > span b {
  margin-right: 9px;
  color: var(--ember-hot);
  font-weight: inherit;
}

.core-hit.has-interacted > span {
  opacity: 0;
}

.hero-scroll {
  position: absolute;
  z-index: 7;
  bottom: 24px;
  left: max(32px, calc((100vw - 1240px) / 2));
  display: flex;
  align-items: center;
  gap: 10px;
  color: #7e8a90;
  font: 700 8px/1 "Space Grotesk", sans-serif;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-scroll span {
  width: 34px;
  height: 1px;
  background: var(--ember);
}

.core-story {
  position: relative;
  /* 100svh sticky stage + pin travel that drives the assemble */
  min-height: 148svh;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #05080a, #070b0e);
}

.core-story__sticky {
  position: sticky;
  top: 0;
  z-index: 6; /* above fixed .core-viewport (z-index: 2) so copy/lines stay readable */
  min-height: 100svh;
  overflow: hidden;
}

.core-story__layout {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(370px, 0.43fr) minmax(0, 0.57fr);
  align-items: center;
  min-height: 100svh;
  padding-top: calc(var(--header-height) + 36px);
  padding-bottom: 80px;
}

.core-story__layout--minimal {
  grid-template-columns: 1fr;
  padding-top: calc(var(--header-height) + 24px);
}

.core-story__layout--minimal .core-inspect {
  justify-self: end;
  width: min(100%, 62%);
  min-height: 70svh;
}

.core-story__layout--showcase {
  grid-template-columns: 1fr;
  grid-template-rows: auto minmax(0, 1fr);
  justify-items: center;
  justify-content: center;
  align-content: start;
  gap: 4px;
  padding-top: calc(var(--header-height) + 20px);
  padding-bottom: 24px;
  text-align: center;
}

.core-story__layout--showcase .core-story__copy {
  width: 100%;
  max-width: 22rem;
  margin: 0 auto;
  position: relative;
  z-index: 8;
  pointer-events: none;
  text-align: center;
}

.core-story__layout--showcase .core-story__copy .eyebrow {
  text-align: center;
}

/* Copy arrives after the board is assembled — nothing gets clipped behind it */
body.core-ready .core-story__layout--showcase .core-story__copy {
  opacity: 0;
  transform: translateY(-14px);
  transition: opacity 720ms var(--ease), transform 720ms var(--ease);
}

body.core-ready .core-story.is-copy-in .core-story__layout--showcase .core-story__copy {
  opacity: 1;
  transform: none;
}

.core-story__layout--showcase .core-story__copy h2 {
  margin: 0.15em auto 0.3em;
  max-width: 16ch;
  font: 500 clamp(28px, 3.8vw, 42px) / 1.08 "Space Grotesk", sans-serif;
  letter-spacing: -0.035em;
  text-align: center;
  text-wrap: balance;
}

.core-story__accent {
  color: var(--ember-hot);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  filter: none;
  text-shadow: 0 0 22px rgba(255, 107, 44, 0.18);
  animation: none;
}

.core-story__lead {
  margin: 0 auto;
  max-width: 34ch;
  color: var(--muted);
  font: 450 14px/1.55 "Manrope", sans-serif;
  text-align: center;
}

.core-callouts {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  transition: opacity 560ms var(--ease);
}

.core-callouts.is-visible {
  opacity: 1;
}

.core-callouts__hints {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.core-callouts__hints g {
  opacity: 0;
  transition: opacity 420ms var(--ease);
}

.core-callouts__hints g.is-on {
  opacity: 1;
}

.core-callouts__hints g[data-hint="ram"] { transition-delay: 80ms; }
.core-callouts__hints g[data-hint="cpu"] { transition-delay: 220ms; }
.core-callouts__hints g[data-hint="storage"] { transition-delay: 360ms; }

.core-callouts__hints line {
  stroke: rgba(255, 107, 44, 0.72);
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  vector-effect: non-scaling-stroke;
}

.core-callouts__hints g.is-on line {
  animation: callout-draw 620ms var(--ease) forwards;
}

.core-callouts__hints g[data-hint="cpu"].is-on line { animation-delay: 140ms; }
.core-callouts__hints g[data-hint="storage"].is-on line { animation-delay: 280ms; }

@keyframes callout-draw {
  to { stroke-dashoffset: 0; }
}

.core-callouts__hints circle {
  fill: rgba(5, 8, 10, 0.85);
  stroke: var(--ember);
  stroke-width: 1.5;
}

.core-callout {
  position: absolute;
  left: 0;
  top: 0;
  max-width: min(11.5rem, 38vw);
  padding: 0 0 0 10px;
  border-left: 2px solid var(--ember);
  color: #c4ced2;
  opacity: 0;
  will-change: transform, opacity;
  transition: opacity 520ms var(--ease);
  background: linear-gradient(90deg, rgba(5, 8, 10, 0.55), rgba(5, 8, 10, 0));
}

.core-callout strong {
  display: block;
  margin-bottom: 3px;
  color: #eef3f5;
  font: 700 9px/1.1 "Space Grotesk", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.core-callout span {
  display: block;
  font: 500 12px/1.35 "Manrope", sans-serif;
  color: #9aa7ad;
  letter-spacing: 0.01em;
}

.core-callout.is-left {
  padding: 0 10px 0 0;
  border-left: 0;
  border-right: 2px solid var(--ember);
  text-align: right;
  background: linear-gradient(270deg, rgba(5, 8, 10, 0.55), rgba(5, 8, 10, 0));
}

.core-callout.is-right {
  text-align: left;
}

.core-callout.is-on {
  opacity: 1;
}

.core-callout[data-core-callout="ram"] { transition-delay: 120ms; }
.core-callout[data-core-callout="cpu"] { transition-delay: 280ms; }
.core-callout[data-core-callout="storage"] { transition-delay: 440ms; }

@media (max-width: 720px) {
  .core-callout {
    max-width: min(9.5rem, 42vw);
  }

  .core-callout span {
    font-size: 11px;
  }
}

@media (max-width: 520px) {
  .core-callouts {
    display: none !important; /* chips below the board instead */
  }
}

.core-legend {
  display: none;
}

.core-story__layout--showcase .core-inspect {
  justify-self: center;
  width: min(100%, 780px);
  min-height: 52svh;
}

.design-stage {
  position: relative;
  z-index: 8;
  min-height: 100svh;
  padding: calc(var(--header-height) + 40px) 0 72px;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 72% 28%, rgba(255, 107, 44, 0.07), transparent 36%),
    linear-gradient(180deg, #070b0e, #05080a 70%);
}

.design-stage__head {
  display: grid;
  justify-items: center;
  gap: 6px;
  text-align: center;
}

.design-stage__head h2 {
  margin: 0.1em 0 0.25em;
  font: 500 clamp(34px, 4.6vw, 60px) / 1.03 "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
}

.design-stage__lead {
  margin: 0;
  max-width: 52ch;
  color: var(--muted);
  font: 450 15px/1.6 "Manrope", sans-serif;
}

/* The request reads like an incoming mail, not a chat widget */
.design-request {
  margin-top: clamp(30px, 4.5vw, 56px);
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

.design-request__meta {
  margin: 0;
  color: #6f7c83;
  font: 700 9px/1 "Space Grotesk", sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.design-request__text {
  margin: 0;
  max-width: 30ch;
  min-height: 2.6em;
  color: #f0ece4;
  font: 450 clamp(21px, 2.5vw, 31px) / 1.35 "Manrope", sans-serif;
  letter-spacing: -0.015em;
}

.design-request__status {
  margin: 8px 0 0;
  color: var(--ember);
  font: 700 9px/1 "Space Grotesk", sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 320ms var(--ease);
}

.design-request__status.is-on {
  opacity: 1;
}

.design-request [data-prompt-caret] {
  display: inline-block;
  width: 8px;
  height: 1.05em;
  margin-left: 3px;
  vertical-align: text-bottom;
  background: var(--ember-hot);
  animation: prompt-caret 0.9s steps(1) infinite;
}

.design-request.is-done [data-prompt-caret] {
  display: none;
}

.design-request__quote {
  color: var(--ember);
}

/* The closing quote only lands once the sentence is finished typing. */
.design-request__quote--end {
  opacity: 0;
  transition: opacity 260ms ease;
}

.design-request.is-done .design-request__quote--end {
  opacity: 1;
}

@keyframes prompt-caret {
  50% { opacity: 0; }
}

.design-flow {
  margin-top: clamp(34px, 5vw, 66px);
}

.design-flow__label {
  margin: 0 0 26px;
  color: #7f8b91;
  font: 700 9px/1 "Space Grotesk", sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.flow-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-node {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 10px;
}

.flow-dot {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, rgba(255, 107, 44, 0.05), rgba(6, 10, 13, 0.9) 70%);
  transition: box-shadow 420ms var(--ease), background 420ms var(--ease);
}

.flow-node.is-active .flow-dot {
  box-shadow: 0 0 0 1px rgba(255, 107, 44, 0.18), 0 0 34px rgba(255, 107, 44, 0.22);
}

.flow-node.is-done .flow-dot {
  background: radial-gradient(circle at 50% 42%, rgba(255, 107, 44, 0.16), rgba(6, 10, 13, 0.92) 72%);
  box-shadow: 0 0 0 1px rgba(255, 107, 44, 0.3), 0 0 42px rgba(255, 107, 44, 0.28);
}

.flow-node.is-active .flow-dot::after {
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(255, 107, 44, 0.34);
  border-radius: 50%;
  content: "";
  animation: flow-halo 1.4s var(--ease) infinite;
}

@keyframes flow-halo {
  0% { opacity: 0.65; transform: scale(0.94); }
  100% { opacity: 0; transform: scale(1.24); }
}

.flow-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  transform: rotate(-90deg);
}

.flow-ring circle {
  fill: none;
  stroke-width: 2;
}

.flow-ring__bg {
  stroke: rgba(244, 240, 232, 0.12);
}

.flow-ring__on {
  stroke: var(--ember-hot);
  stroke-linecap: round;
  stroke-dasharray: 132;
  stroke-dashoffset: 132;
  filter: drop-shadow(0 0 6px rgba(255, 107, 44, 0.5));
}

.flow-node.is-active .flow-ring__on {
  animation: flow-ring 640ms var(--ease) forwards;
}

.flow-node.is-done .flow-ring__on {
  stroke-dashoffset: 0;
}

@keyframes flow-ring {
  from { stroke-dashoffset: 132; }
  to { stroke-dashoffset: 0; }
}

.flow-icon {
  position: relative;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #6f7c83;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 360ms var(--ease);
}

.flow-node.is-active .flow-icon {
  stroke: #d8e2e6;
}

.flow-node.is-done .flow-icon {
  stroke: var(--ember-hot);
}

.flow-node__name {
  max-width: 100%;
  color: #8b969c;
  font: 700 10px/1.3 "Space Grotesk", sans-serif;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
  transition: color 360ms var(--ease);
}

@media (max-width: 1240px) and (min-width: 901px) {
  .flow-node__name {
    font-size: 9px;
    letter-spacing: 0.06em;
  }
}

.flow-node.is-active .flow-node__name,
.flow-node.is-done .flow-node__name {
  color: #f0ece4;
}

.flow-node__time {
  color: #5f6b71;
  font: 450 11px/1 "Manrope", sans-serif;
  letter-spacing: 0.04em;
  transition: color 360ms var(--ease);
}

.flow-node.is-done .flow-node__time {
  color: var(--ember);
}

.flow-link {
  position: absolute;
  top: 29px;
  right: calc(50% + 38px);
  width: calc(100% - 76px);
  height: 1px;
  background: rgba(244, 240, 232, 0.1);
}

.flow-link::after {
  position: absolute;
  inset: -0.5px auto -0.5px 0;
  width: 0;
  content: "";
  background: linear-gradient(90deg, rgba(255, 107, 44, 0.55), var(--ember-hot));
  box-shadow: 0 0 10px rgba(255, 107, 44, 0.45);
  transition: width 620ms var(--ease);
}

.flow-link.is-active::after,
.flow-link.is-done::after {
  width: 100%;
}

.flow-link i {
  position: absolute;
  top: 50%;
  left: 0;
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
  border-radius: 50%;
  background: #ffd0b0;
  box-shadow: 0 0 10px 2px rgba(255, 107, 44, 0.6);
  opacity: 0;
}

.flow-link.is-active i {
  animation: flow-particle 760ms linear infinite;
}

.flow-link i:nth-child(2) { animation-delay: 120ms; }
.flow-link i:nth-child(3) { animation-delay: 240ms; }
.flow-link i:nth-child(4) { animation-delay: 360ms; }
.flow-link i:nth-child(5) { animation-delay: 480ms; }

@keyframes flow-particle {
  0% { left: 0; opacity: 0; transform: scale(0.5); }
  15% { opacity: 1; transform: scale(1); }
  85% { opacity: 1; transform: scale(1); }
  100% { left: 100%; opacity: 0; transform: scale(0.5); }
}

.design-result {
  margin-top: clamp(34px, 5vw, 64px);
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms var(--ease), transform 620ms var(--ease);
}

.design-result.is-on {
  opacity: 1;
  transform: none;
}

.design-result.is-settled .site-mock__nav,
.design-result.is-settled .site-mock__panel.is-on .site-mock__eyebrow,
.design-result.is-settled .site-mock__panel.is-on .site-mock__hero h3,
.design-result.is-settled .site-mock__panel.is-on .site-mock__lead,
.design-result.is-settled .site-mock__panel.is-on .site-mock__cta,
.design-result.is-settled .site-mock__panel.is-on .site-mock__gallery figure,
.design-result.is-settled .site-mock__panel.is-on .boombox-stage,
.design-result.is-settled .site-mock__panel.is-on .track-card {
  animation: none;
  opacity: 1;
  transform: none;
}

.integ-stage {
  display: grid;
  gap: 14px;
  margin-top: clamp(48px, 7vw, 88px);
  padding: clamp(8px, 1.5vw, 16px) 0 8px;
}

.integ-stage__eyebrow {
  margin: 0;
  color: var(--ember-hot);
  font: 700 10px/1 "Space Grotesk", sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.integ-stage__title {
  margin: 0;
  max-width: 22ch;
  color: #f4f0e8;
  font: 500 clamp(28px, 4vw, 48px) / 1.06 "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.integ-stage__lead {
  margin: 0 0 10px;
  max-width: 42ch;
  color: #9aa7ad;
  font: 450 15px/1.55 "Manrope", sans-serif;
}

.integ-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.integ-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px 0 12px;
  border: 1px solid rgba(244, 240, 232, 0.14);
  background: rgba(12, 17, 22, 0.92);
  color: #d7dee2;
  font: 650 13px/1 "Space Grotesk", sans-serif;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms var(--ease);
}

.integ-tag:hover {
  border-color: rgba(255, 107, 44, 0.35);
  color: #f4f0e8;
  transform: translateY(-1px);
}

.integ-tag.is-active {
  border-color: rgba(255, 107, 44, 0.55);
  background: rgba(255, 107, 44, 0.1);
  color: #f4f0e8;
}

.integ-tag__icon {
  flex: 0 0 auto;
  display: block;
}

.integ-example {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.integ-example[hidden] {
  display: none;
}

.integ-example__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
}

.integ-example__badge {
  margin: 0;
  padding: 5px 10px;
  border: 1px solid rgba(255, 107, 44, 0.45);
  background: rgba(255, 107, 44, 0.12);
  color: var(--ember-hot);
  font: 700 10px/1 "Space Grotesk", sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.integ-example__note {
  margin: 0;
  color: #7e8a90;
  font: 500 12px/1.4 "Manrope", sans-serif;
}

.integ-example__panel {
  max-width: 420px;
}

.integ-example__panel .integ-card {
  opacity: 1;
  transform: none;
  animation: none;
  cursor: default;
}

.integ-example__panel .integ-card[hidden] {
  display: none;
}

.integ-stage__board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
  margin-top: 10px;
  perspective: 1200px;
}

.integ-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(244, 240, 232, 0.1);
  background: #0c1116;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
  cursor: default;
}

.integ-card--from-left {
  transform: translateX(-56px) rotateY(4deg);
}

.integ-card--from-right {
  transform: translateX(56px) rotateY(-4deg);
}

.integ-stage.is-on .integ-card {
  animation: integ-slide-in 780ms var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * 140ms + 180ms);
}

.integ-stage.is-settled .integ-card {
  animation: none;
  opacity: 1;
  transform: none;
}

@keyframes integ-slide-in {
  to {
    opacity: 1;
    transform: none;
  }
}

.integ-card.is-focus,
.integ-card:hover {
  border-color: rgba(255, 107, 44, 0.4);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 107, 44, 0.12);
  z-index: 2;
}

.integ-card__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(244, 240, 232, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.integ-card__brand {
  color: #f4f0e8;
  font: 700 13px/1 "Space Grotesk", sans-serif;
  letter-spacing: -0.02em;
}

.integ-card__brand--paypal {
  color: #003087;
  font-weight: 800;
}

.integ-card__brand--paypal span {
  color: #009cde;
}

.integ-card--paypal .integ-card__bar {
  background: #fff;
}

.integ-card--paypal .integ-card__tag {
  color: #5b6b7a;
}

.integ-card__brand--google {
  font-weight: 600;
}

.integ-card__tag {
  color: #7f8b91;
  font: 700 9px/1 "Space Grotesk", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.integ-card__body {
  display: grid;
  gap: 10px;
  padding: 18px 16px 20px;
}

.integ-card__body--center {
  justify-items: stretch;
}

.integ-card__label {
  margin: 0;
  color: #8b969c;
  font: 450 12px/1.3 "Manrope", sans-serif;
}

.integ-card__price {
  margin: 0 0 4px;
  color: #f7f4ed;
  font: 600 28px/1 "Space Grotesk", sans-serif;
  letter-spacing: -0.03em;
}

.integ-card__price span {
  color: #8b969c;
  font-size: 0.55em;
}

.integ-card__price--paypal {
  color: #111;
}

.integ-card--paypal .integ-card__body {
  background: #f5f7fa;
}

.integ-card--paypal .integ-card__label {
  color: #5b6b7a;
}

.integ-card__note {
  margin: 0;
  text-align: center;
  color: #6b7785;
  font: 450 11px/1.3 "Manrope", sans-serif;
}

.integ-field {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid rgba(244, 240, 232, 0.12);
  background: rgba(0, 0, 0, 0.25);
  border-radius: 6px;
}

.integ-field--soft,
.integ-card--paypal .integ-field,
.integ-card--google .integ-field {
  background: #fff;
  border-color: #d7dee5;
}

.integ-card--google .integ-card__body {
  background: #fff;
}

.integ-card--google .integ-card__label {
  color: #3c4043;
  text-align: center;
}

.integ-field span {
  color: #7f8b91;
  font: 450 10px/1 "Manrope", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.integ-card--paypal .integ-field span,
.integ-card--google .integ-field span {
  color: #5f6368;
}

.integ-field b {
  color: #e8eef0;
  font: 600 13px/1.2 "Manrope", sans-serif;
}

.integ-card--paypal .integ-field b,
.integ-card--google .integ-field b {
  color: #202124;
}

.integ-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.integ-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  min-height: 42px;
  border-radius: 6px;
  font: 700 12px/1 "Space Grotesk", sans-serif;
  letter-spacing: 0.04em;
}

.integ-btn--stripe {
  background: #635bff;
  color: #fff;
}

.integ-btn--paypal {
  background: #ffc439;
  color: #003087;
  border-radius: 24px;
  font-weight: 800;
}

.integ-google {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 42px;
  margin: 4px 0 0;
  padding: 0 14px;
  border: 1px solid #dadce0;
  border-radius: 4px;
  background: #fff;
  color: #3c4043;
  font: 500 13px/1 "Manrope", sans-serif;
  cursor: default;
  pointer-events: none;
}

.integ-or {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin: 2px 0;
  color: #80868b;
  font: 450 11px/1 "Manrope", sans-serif;
}

.integ-or i {
  height: 1px;
  background: #dadce0;
}

.integ-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.integ-methods li {
  display: grid;
  gap: 2px;
  padding: 12px 12px;
  border: 1px solid rgba(244, 240, 232, 0.1);
  background: rgba(244, 240, 232, 0.03);
  border-radius: 6px;
  transition: border-color 180ms ease, background 180ms ease;
}

.integ-card.is-focus .integ-methods li,
.integ-card:hover .integ-methods li {
  border-color: rgba(255, 107, 44, 0.28);
  background: rgba(255, 107, 44, 0.06);
}

.integ-methods b {
  color: #f4f0e8;
  font: 700 12px/1.2 "Space Grotesk", sans-serif;
}

.integ-methods span {
  color: #7f8b91;
  font: 450 11px/1 "Manrope", sans-serif;
}

.integ-card--stripe .integ-btn--stripe {
  position: relative;
  overflow: hidden;
}

.design-result.is-on .integ-card.is-focus .integ-btn--stripe::after,
.design-result.is-on .integ-card--stripe:hover .integ-btn--stripe::after,
.integ-stage.is-on .integ-card.is-focus .integ-btn--stripe::after,
.integ-stage.is-on .integ-card--stripe:hover .integ-btn--stripe::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
  animation: integ-sheen 1.8s ease-in-out infinite;
}

@keyframes integ-sheen {
  from { transform: translateX(-120%); }
  to { transform: translateX(120%); }
}

@media (max-width: 900px) {
  .integ-stage__board {
    grid-template-columns: 1fr;
  }

  .integ-card--from-left,
  .integ-card--from-right {
    transform: translateY(28px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .design-result.is-on .integ-card,
  .integ-stage.is-on .integ-card {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .design-result.is-on .integ-card.is-focus .integ-btn--stripe::after,
  .design-result.is-on .integ-card--stripe:hover .integ-btn--stripe::after,
  .integ-stage.is-on .integ-card.is-focus .integ-btn--stripe::after,
  .integ-stage.is-on .integ-card--stripe:hover .integ-btn--stripe::after {
    animation: none;
    display: none;
  }
}

.site-mock {
  overflow: hidden;
  border: 1px solid rgba(244, 240, 232, 0.12);
  background: #080c0f;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5);
}

.site-mock__chrome {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(244, 240, 232, 0.07);
  background: rgba(255, 255, 255, 0.02);
}

.site-mock__chrome i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(244, 240, 232, 0.16);
}

.site-mock__chrome span {
  margin-left: 10px;
  color: #7f8b91;
  font: 450 11px/1 "Manrope", sans-serif;
  letter-spacing: 0.04em;
}

.site-mock__view {
  position: relative;
  overflow: hidden;
  padding: 26px clamp(20px, 3.4vw, 44px) 30px;
  background:
    radial-gradient(ellipse 70% 80% at 72% 42%, rgba(255, 107, 44, 0.08), transparent 68%),
    radial-gradient(ellipse 50% 60% at 8% 90%, rgba(155, 207, 224, 0.07), transparent 60%),
    #0a0f13;
  transition: background 420ms ease;
}

.site-mock.is-playing .site-mock__view {
  background:
    radial-gradient(ellipse 90% 85% at 70% 48%, rgba(255, 107, 44, 0.11), transparent 72%),
    radial-gradient(ellipse 55% 70% at 18% 50%, rgba(255, 130, 70, 0.05), transparent 65%),
    radial-gradient(ellipse 50% 60% at 8% 90%, rgba(155, 207, 224, 0.07), transparent 60%),
    #0a0f13;
}

.site-mock__nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(244, 240, 232, 0.07);
}

.site-mock__nav b {
  color: #f4f0e8;
  font: 700 12px/1 "Space Grotesk", sans-serif;
  letter-spacing: 0.24em;
}

.site-mock__nav button {
  appearance: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: #8b969c;
  font: 450 11px/1 "Manrope", sans-serif;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: color 180ms ease;
}

.site-mock__nav button:hover,
.site-mock__nav button.is-on {
  color: #f4f0e8;
}

.site-mock__nav button.is-on {
  box-shadow: inset 0 -1px 0 var(--ember);
}

.site-mock__nav button[data-mock-tab="booking"] {
  margin-left: auto;
  color: var(--ember);
}

.site-mock__nav button[data-mock-tab="booking"].is-on {
  color: var(--ember-hot);
}

.site-mock__panel {
  position: relative;
  z-index: 2;
  display: none;
}

.site-mock__panel.is-on {
  display: block;
  animation: site-in 520ms var(--ease) both;
}

.site-mock__hero {
  display: grid;
  justify-items: start;
  gap: 12px;
  padding: 34px 0 30px;
}


.site-mock__stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(220px, 0.95fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  padding: 10px 0 8px;
  overflow: visible;
}

.site-mock__stage .site-mock__hero {
  position: relative;
  z-index: 2;
  padding: 28px 0 18px;
}

.sound-filter {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* Full mock viewport — no stage-sized blend rectangle. */
.sound-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 420ms ease;
}

.site-mock.is-playing .sound-canvas,
.site-mock.is-winding .sound-canvas {
  opacity: 1;
}

[data-sound-text] {
  position: relative;
}

/* Distortion on the headline only — filtering the whole hero paints a visible panel. */
.site-mock.is-playing [data-sound-text] h3 {
  overflow: visible;
  filter: url(#sound-distort);
  animation: sound-text-sway 1.1s ease-in-out infinite alternate;
  text-shadow:
    0 0 calc(8px + var(--bass, 0) * 28px) rgba(255, 107, 44, calc(0.14 + var(--bass, 0) * 0.45)),
    calc(var(--bass, 0) * -1px) 0 0 rgba(255, 140, 80, 0.35);
}

.site-mock.is-playing [data-sound-text] .site-mock__eyebrow,
.site-mock.is-playing [data-sound-text] .site-mock__lead {
  text-shadow:
    calc(var(--bass, 0) * -1.4px) 0 0 rgba(255, 107, 44, 0.45),
    calc(var(--bass, 0) * 1.4px) 0 0 rgba(155, 207, 224, 0.3);
  animation: sound-chromatic 0.55s steps(2, end) infinite;
}

.site-mock.is-playing [data-sound-text] .wave-text {
  transform: translateX(calc(var(--bass, 0) * -3px));
}

.site-mock.is-playing [data-sound-text] .site-mock__eyebrow {
  color: color-mix(in srgb, var(--ember) calc(55% + var(--bass, 0) * 45%), #f4f0e8);
}

@keyframes sound-text-sway {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-1.5px, 0.5px, 0); }
}

@keyframes sound-chromatic {
  0% {
    text-shadow:
      -1px 0 0 rgba(255, 107, 44, 0.4),
      1px 0 0 rgba(155, 207, 224, 0.25);
  }
  100% {
    text-shadow:
      1px 0 0 rgba(255, 107, 44, 0.3),
      -1px 0 0 rgba(155, 207, 224, 0.3);
  }
}

.boombox-stage {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  min-height: 240px;
}

.boombox {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 10px;
  width: min(100%, 248px);
  margin: 0;
  padding: 0;
  color: inherit;
  container-type: inline-size;
}

.boombox__svg {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.45));
  transition: transform 280ms var(--ease);
}

.site-mock.is-playing .boombox__svg {
  transform: translateY(-2px) scale(1.01);
}

/* Transport keys: invisible hit targets sitting exactly on the SVG keycaps. */
.boombox__hit {
  position: absolute;
  top: 42.3cqw;
  width: 7cqw;
  height: max(34px, 11cqw);
  transform: translate(-50%, -50%);
  appearance: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: none;
  cursor: pointer;
}

.boombox__hit--prev { left: 39.8%; }
.boombox__hit--play { left: 46.6%; width: 8cqw; z-index: 2; }
.boombox__hit--next { left: 53.4%; }
.boombox__hit--stop { left: 59.8%; }

.boombox__hit--volume {
  left: 50%;
  top: 54.5cqw;
  width: 72%;
  height: max(28px, 10cqw);
  border-radius: 3px;
  z-index: 3;
  touch-action: none;
  cursor: ew-resize;
}

.boombox__hit:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 2px;
}

.boombox__body {
  fill: url(#bb-shell);
  stroke: rgba(244, 240, 232, 0.2);
  stroke-width: 1.5;
}

.boombox__inlay {
  fill: rgba(0, 0, 0, 0.22);
  stroke: rgba(244, 240, 232, 0.06);
  stroke-width: 1;
}

.boombox__grill {
  fill: #0b1015;
  stroke: rgba(244, 240, 232, 0.12);
  stroke-width: 1.2;
}

.boombox__cone {
  fill: url(#bb-cone);
  stroke: rgba(244, 240, 232, 0.16);
  stroke-width: 1;
}

.boombox__ridge {
  fill: none;
  stroke: rgba(244, 240, 232, 0.1);
  stroke-width: 1;
}

.boombox__hub {
  fill: #2a343d;
  transition: fill 120ms linear;
}

/* Cone and hub follow the analyser bass instead of a canned loop. */
.site-mock.is-playing .boombox__hub {
  fill: color-mix(in srgb, var(--ember) calc(45% + var(--bass, 0) * 55%), #2a343d);
}

.site-mock.is-playing .boombox__cone {
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(calc(1 + var(--bass, 0) * 0.07));
  transition: transform 70ms linear;
}

.boombox__window {
  fill: #060a0d;
  stroke: rgba(244, 240, 232, 0.14);
  stroke-width: 1;
}

.boombox__tape {
  stroke: rgba(244, 240, 232, 0.16);
  stroke-width: 2.4;
  stroke-linecap: round;
}

.site-mock.is-playing .boombox__tape {
  stroke: rgba(255, 160, 90, 0.32);
}

.boombox__reel {
  fill: none;
  stroke: rgba(244, 240, 232, 0.22);
  stroke-width: 1.4;
  transform-box: fill-box;
  transform-origin: center;
}

.site-mock.is-playing .boombox__reel {
  stroke: rgba(255, 160, 90, 0.5);
  animation: boom-reel 2.4s linear infinite;
}

@keyframes boom-reel {
  to { transform: rotate(360deg); }
}

.boombox__led {
  fill: #2b343c;
  transition: fill 200ms ease;
}

.site-mock.is-playing .boombox__led {
  fill: #ff8244;
  filter: drop-shadow(0 0 5px rgba(255, 107, 44, 0.85));
  animation: boom-led 1.4s ease-in-out infinite;
}

@keyframes boom-led {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.boombox__plate {
  fill: #0a0f14;
  stroke: rgba(244, 240, 232, 0.1);
  stroke-width: 1;
}

.boombox__key,
.boombox__key-face,
.boombox__key-gloss,
.boombox__key-icon {
  transform-box: fill-box;
  transform-origin: center;
}

.boombox__key-face {
  fill: url(#bb-key);
  stroke: rgba(0, 0, 0, 0.55);
  stroke-width: 0.8;
}

/* Recess the key sits in: stays put while the face travels down. */
.boombox__key-shadow {
  fill: #05080b;
  stroke: rgba(0, 0, 0, 0.8);
  stroke-width: 0.8;
}

.boombox__key-gloss {
  stroke: rgba(244, 240, 232, 0.28);
  stroke-width: 1;
  stroke-linecap: round;
}

.boombox__key-icon {
  fill: #8d99a1;
  transition: fill 200ms ease, opacity 140ms ease;
}

.boombox__key-icon--play {
  fill: var(--ember);
}

.boombox__key-icon--pause {
  fill: #ffd2b5;
  opacity: 0;
}

/* The recess must not move, so only the face, gloss and icon travel. */
.boombox__key-face,
.boombox__key-gloss,
.boombox__key-icon {
  transition: transform 110ms cubic-bezier(0.3, 0.9, 0.35, 1), fill 200ms ease, stroke 200ms ease, opacity 140ms ease;
}

.boombox:has(.boombox__hit--prev:hover) [data-key="prev"] :is(.boombox__key-face, .boombox__key-gloss, .boombox__key-icon),
.boombox:has(.boombox__hit--play:hover) [data-key="play"] :is(.boombox__key-face, .boombox__key-gloss, .boombox__key-icon),
.boombox:has(.boombox__hit--next:hover) [data-key="next"] :is(.boombox__key-face, .boombox__key-gloss, .boombox__key-icon),
.boombox:has(.boombox__hit--stop:hover) [data-key="stop"] :is(.boombox__key-face, .boombox__key-gloss, .boombox__key-icon) {
  transform: translateY(-0.9px);
}

.boombox:has(.boombox__hit--prev:active) [data-key="prev"] :is(.boombox__key-face, .boombox__key-gloss, .boombox__key-icon),
.boombox:has(.boombox__hit--play:active) [data-key="play"] :is(.boombox__key-face, .boombox__key-gloss, .boombox__key-icon),
.boombox:has(.boombox__hit--next:active) [data-key="next"] :is(.boombox__key-face, .boombox__key-gloss, .boombox__key-icon),
.boombox:has(.boombox__hit--stop:active) [data-key="stop"] :is(.boombox__key-face, .boombox__key-gloss, .boombox__key-icon) {
  transform: translateY(3.4px);
  transition-duration: 60ms;
}

.boombox:has(.boombox__hit--prev:active) [data-key="prev"] .boombox__key-face,
.boombox:has(.boombox__hit--play:active) [data-key="play"] .boombox__key-face,
.boombox:has(.boombox__hit--next:active) [data-key="next"] .boombox__key-face,
.boombox:has(.boombox__hit--stop:active) [data-key="stop"] .boombox__key-face {
  fill: #10171d;
}

.boombox:has(.boombox__hit--play:hover) .boombox__key-icon--play {
  fill: var(--ember-hot);
}

/* Play stays latched down while the track runs, like a real deck. */
.site-mock.is-playing .boombox__key--play :is(.boombox__key-face, .boombox__key-gloss, .boombox__key-icon) {
  transform: translateY(3.4px);
}

.site-mock.is-playing .boombox__key--play .boombox__key-face {
  fill: #10171d;
}

.site-mock.is-playing .boombox__key--play .boombox__key-gloss {
  stroke: rgba(244, 240, 232, 0.1);
}

.site-mock.is-playing .boombox__key-icon--play {
  opacity: 0;
}

.site-mock.is-playing .boombox__key-icon--pause {
  opacity: 1;
}

.boombox__handle {
  fill: none;
  stroke: rgba(244, 240, 232, 0.2);
  stroke-width: 3;
}

.boombox__fader-well {
  fill: #0a1015;
  stroke: rgba(244, 240, 232, 0.12);
  stroke-width: 1;
}

.boombox__fader-track {
  fill: #1a2229;
  stroke: rgba(244, 240, 232, 0.08);
  stroke-width: 0.6;
}

.boombox__fader-ticks path {
  stroke: rgba(244, 240, 232, 0.2);
  stroke-width: 1;
  stroke-linecap: round;
}

.site-mock.is-playing .boombox__fader-ticks path {
  stroke: rgba(255, 107, 44, 0.4);
}

.boombox__fader-min,
.boombox__fader-max {
  fill: #6d7880;
  font: 700 4.2px/1 "Space Grotesk", sans-serif;
  letter-spacing: 0.08em;
}

.boombox__fader-thumb-shadow {
  fill: rgba(0, 0, 0, 0.45);
}

.boombox__fader-thumb-body {
  fill: url(#bb-key);
  stroke: rgba(244, 240, 232, 0.28);
  stroke-width: 0.8;
}

.boombox__fader-thumb-grip {
  fill: none;
  stroke: rgba(255, 210, 180, 0.55);
  stroke-width: 0.9;
  stroke-linecap: round;
}

.boombox:has(.boombox__hit--volume:active) .boombox__fader-thumb-body,
.boombox:has(.boombox__hit--volume:focus-visible) .boombox__fader-thumb-body {
  stroke: rgba(255, 107, 44, 0.7);
  fill: #2a343d;
}

.boombox__display {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 10px;
  border: 1px solid rgba(244, 240, 232, 0.1);
  border-radius: 2px;
  background: rgba(6, 10, 13, 0.85);
}

.boombox__display b {
  color: #8d99a1;
  font: 700 9px/1 "Space Grotesk", sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 200ms ease;
}

.site-mock.is-playing .boombox__display b {
  color: #f4f0e8;
}

.boombox__eq {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 10px;
}

.boombox__eq i {
  display: block;
  width: 2px;
  height: 20%;
  background: rgba(244, 240, 232, 0.24);
  transform-origin: bottom;
  transition: height 80ms linear, background 200ms ease;
}

.site-mock.is-playing .boombox__eq i {
  background: var(--ember);
  height: calc(24% + var(--level, 0) * 260%);
  max-height: 100%;
}

.site-mock.is-playing .boombox__eq i:nth-child(2) { height: calc(20% + var(--bass, 0) * 90%); }
.site-mock.is-playing .boombox__eq i:nth-child(3) { height: calc(30% + var(--level, 0) * 200%); }
.site-mock.is-playing .boombox__eq i:nth-child(4) { height: calc(18% + var(--bass, 0) * 70%); }

.boombox__hint {
  color: #7f8b91;
  font: 700 9px/1 "Space Grotesk", sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.boombox__play-cta {
  display: none;
}

.site-mock.is-playing .boombox__hint {
  color: var(--ember-hot);
}

.mic-meter {
  position: absolute;
  right: 6%;
  bottom: 10%;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(244, 240, 232, 0.1);
  background: rgba(8, 12, 15, 0.72);
  backdrop-filter: blur(8px);
}

.mic-meter__icon {
  display: block;
  fill: none;
  stroke: #c4ced2;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-mock.is-playing .mic-meter__icon {
  stroke: var(--ember-hot);
  animation: mic-pulse 1.1s ease-in-out infinite;
}

@keyframes mic-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.06); opacity: 0.85; }
}

.mic-meter__bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 28px;
}

.mic-meter__bars i {
  display: block;
  width: 3px;
  height: 28%;
  background: rgba(244, 240, 232, 0.28);
  border-radius: 1px;
  transform-origin: bottom;
  transition: height 80ms linear, background 200ms ease;
}

.site-mock.is-playing .mic-meter__bars i {
  background: var(--ember);
  max-height: 100%;
}

.site-mock.is-playing .mic-meter__bars i:nth-child(1) { height: calc(20% + var(--bass, 0) * 80%); }
.site-mock.is-playing .mic-meter__bars i:nth-child(2) { height: calc(24% + var(--level, 0) * 220%); }
.site-mock.is-playing .mic-meter__bars i:nth-child(3) { height: calc(30% + var(--bass, 0) * 95%); }
.site-mock.is-playing .mic-meter__bars i:nth-child(4) { height: calc(22% + var(--level, 0) * 260%); }
.site-mock.is-playing .mic-meter__bars i:nth-child(5) { height: calc(18% + var(--bass, 0) * 70%); }

.wave-text {
  display: inline-block;
  padding: 0.06em 0 0.18em;
  overflow: visible;
  line-height: 1.18;
  background: linear-gradient(90deg, var(--ember) 0%, #ffd2b5 35%, var(--ember) 70%, #ff8f55 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.site-mock.is-playing .wave-text {
  animation: wave-shift 1.6s linear infinite;
}

@keyframes wave-shift {
  from { background-position: 0% 50%; }
  to { background-position: 220% 50%; }
}

.track-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-bottom: 8px;
}

.track-card {
  position: relative;
  display: grid;
  justify-items: start;
  gap: 10px;
  margin: 0;
  padding: 16px 14px 14px;
  border: 1px solid rgba(244, 240, 232, 0.08);
  background: rgba(244, 240, 232, 0.025);
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 220ms var(--ease);
}

.track-card:hover {
  transform: translateY(-2px);
}

.track-card:hover,
.track-card.is-on {
  border-color: rgba(255, 107, 44, 0.45);
  background: rgba(255, 107, 44, 0.06);
}

.track-card__play {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(244, 240, 232, 0.18);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 180ms ease, transform 220ms var(--ease), border-color 180ms ease;
}

.track-card:hover .track-card__play,
.track-card.is-on .track-card__play {
  opacity: 1;
  transform: scale(1);
  border-color: var(--ember);
}

.track-card__play i {
  width: 0;
  height: 0;
  margin-left: 2px;
  border-left: 7px solid var(--ember);
  border-top: 4.5px solid transparent;
  border-bottom: 4.5px solid transparent;
}

.track-card.is-live .track-card__play i {
  width: 7px;
  height: 9px;
  margin-left: 0;
  border: 0;
  background: linear-gradient(90deg, var(--ember) 0 2.6px, transparent 2.6px 4.4px, var(--ember) 4.4px 7px);
}

.track-card b {
  color: #f4f0e8;
  font: 700 12px/1.2 "Space Grotesk", sans-serif;
  letter-spacing: 0.04em;
}

.track-card small {
  color: #7f8b91;
  font: 450 11px/1 "Manrope", sans-serif;
}

.track-card__wave {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  width: 100%;
  height: 42px;
}

.track-card__wave i {
  flex: 1;
  height: 35%;
  background: rgba(244, 240, 232, 0.22);
  border-radius: 1px;
  transform-origin: bottom;
}

.track-card:nth-child(1) .track-card__wave i:nth-child(odd) { height: 55%; }
.track-card:nth-child(1) .track-card__wave i:nth-child(3n) { height: 80%; }
.track-card:nth-child(2) .track-card__wave i:nth-child(even) { height: 70%; }
.track-card:nth-child(2) .track-card__wave i:nth-child(5n) { height: 40%; }
.track-card:nth-child(3) .track-card__wave i:nth-child(3n) { height: 90%; }
.track-card:nth-child(3) .track-card__wave i:nth-child(4n) { height: 45%; }

.track-card:hover .track-card__wave i,
.track-card.is-on .track-card__wave i {
  background: var(--ember);
}

/* Only the running track dances, and it dances to the analyser. */
.track-card.is-live .track-card__wave i {
  transform: scaleY(calc(0.6 + var(--level, 0) * 2.4));
  transition: transform 80ms linear;
}

.track-card.is-live .track-card__wave i:nth-child(2n) {
  transform: scaleY(calc(0.5 + var(--bass, 0) * 1.2));
}

.track-card.is-live .track-card__wave i:nth-child(3n) {
  transform: scaleY(calc(0.75 + var(--level, 0) * 2.8));
}

.site-mock__hero--compact {
  padding-top: 28px;
  padding-bottom: 18px;
}

.site-mock__hero--compact h3 {
  font-size: clamp(26px, 3.4vw, 40px);
}

.site-mock__eyebrow {
  margin: 0;
  color: var(--ember-hot);
  font: 700 9px/1 "Space Grotesk", sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.site-mock__hero h3 {
  margin: 0;
  overflow: visible;
  padding-bottom: 0.12em;
  color: #f7f4ed;
  font: 500 clamp(30px, 4.4vw, 56px) / 1.14 "Space Grotesk", sans-serif;
  letter-spacing: -0.045em;
}

.site-mock__hero h3 em {
  color: var(--ember);
  font-style: normal;
}

.site-mock__lead {
  margin: 0;
  max-width: 40ch;
  color: #9aa7ad;
  font: 450 14px/1.55 "Manrope", sans-serif;
}

.site-mock__cta {
  appearance: none;
  display: inline-flex;
  margin-top: 8px;
  padding: 11px 18px;
  border: 0;
  background: var(--ember);
  color: #140803;
  font: 700 10px/1 "Space Grotesk", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.design-result.is-on .site-mock__cta {
  animation: site-cta 2.8s 1.6s var(--ease) infinite;
}

@keyframes site-cta {
  0%, 70%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 44, 0); }
  85% { box-shadow: 0 0 0 8px rgba(255, 107, 44, 0.16); }
}

.site-mock__gallery {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 12px;
}

.site-mock__gallery--grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-mock__gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(244, 240, 232, 0.08);
  background: #0d1317;
}

.site-mock__gallery img {
  display: block;
  width: 100%;
  height: clamp(140px, 18vw, 220px);
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 700ms var(--ease);
}

.site-mock__gallery figure:hover img {
  transform: scale(1.06);
}

.site-mock__gallery figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 18px 14px 12px;
  background: linear-gradient(180deg, transparent, rgba(5, 8, 10, 0.88));
  color: #e8eef0;
  font: 700 10px/1 "Space Grotesk", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.booking {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(240px, 0.95fr);
  gap: clamp(16px, 2.4vw, 28px);
  padding-bottom: 10px;
  align-items: start;
}

.booking__cal {
  padding: 18px;
  border: 1px solid rgba(244, 240, 232, 0.08);
  background: rgba(244, 240, 232, 0.02);
}

.booking__cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
}

.booking__cal-head b {
  color: #f4f0e8;
  font: 700 12px/1 "Space Grotesk", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.booking__legend {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #7f8b91;
  font: 450 10px/1 "Manrope", sans-serif;
}

.booking__legend i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 107, 44, 0.55);
}

.booking__legend i.is-booked {
  margin-left: 6px;
  background: rgba(244, 240, 232, 0.14);
}

.booking__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}

.booking__dow {
  padding-bottom: 6px;
  color: #6f7b81;
  font: 700 9px/1 "Space Grotesk", sans-serif;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

.booking__day {
  appearance: none;
  aspect-ratio: 1.7;
  min-height: 30px;
  padding: 0;
  border: 1px solid transparent;
  background: rgba(244, 240, 232, 0.035);
  color: #b6c1c6;
  font: 450 11px/1 "Manrope", sans-serif;
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease, color 140ms ease, transform 180ms var(--ease);
}

.site-mock__panel.is-on .booking__day {
  animation: booking-day-in 320ms var(--ease) backwards;
  animation-delay: calc(var(--d, 0) * 8ms);
}

@keyframes booking-day-in {
  from { opacity: 0; transform: translateY(6px) scale(0.94); }
  to { opacity: 1; transform: none; }
}

.booking__day:hover:not(:disabled) {
  border-color: rgba(255, 107, 44, 0.4);
  color: #fff4ec;
  transform: translateY(-1px);
}

.booking__day.is-booked {
  background: repeating-linear-gradient(
    -45deg,
    rgba(244, 240, 232, 0.05) 0 3px,
    transparent 3px 6px
  );
  color: #545e64;
  cursor: not-allowed;
}

.booking__day.is-on {
  border-color: var(--ember);
  background: rgba(255, 107, 44, 0.16);
  color: #fff4ec;
  font-weight: 700;
}

.booking__side {
  display: grid;
  gap: 10px;
}

.booking__label {
  margin: 0;
  color: #6f7b81;
  font: 700 9px/1 "Space Grotesk", sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.booking__rooms {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.booking__rooms button {
  appearance: none;
  padding: 8px 12px;
  border: 1px solid rgba(244, 240, 232, 0.12);
  background: rgba(244, 240, 232, 0.03);
  color: #b6c1c6;
  font: 450 11px/1 "Manrope", sans-serif;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.booking__rooms button:hover,
.booking__rooms button.is-on {
  border-color: rgba(255, 107, 44, 0.55);
  background: rgba(255, 107, 44, 0.1);
  color: #fff4ec;
}

.booking__slots {
  display: grid;
  gap: 6px;
}

.booking__slots button {
  appearance: none;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid rgba(244, 240, 232, 0.12);
  background: rgba(244, 240, 232, 0.03);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 180ms var(--ease);
}

.booking__slots button:hover {
  transform: translateX(2px);
}

.booking__slots button:hover,
.booking__slots button.is-on {
  border-color: rgba(255, 107, 44, 0.55);
  background: rgba(255, 107, 44, 0.1);
}

.booking__slots b {
  color: #e8eef0;
  font: 700 11px/1 "Space Grotesk", sans-serif;
  letter-spacing: 0.06em;
}

.booking__slots span {
  color: #7f8b91;
  font: 450 10px/1 "Manrope", sans-serif;
}

.booking__slots button.is-on b {
  color: #fff4ec;
}

.booking__summary {
  display: grid;
  gap: 8px;
  margin-top: 4px;
  padding: 14px;
  border: 1px solid rgba(244, 240, 232, 0.1);
  background: rgba(8, 12, 15, 0.6);
}

.booking__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.booking__row span {
  color: #7f8b91;
  font: 450 11px/1 "Manrope", sans-serif;
}

.booking__row b {
  color: #e8eef0;
  font: 450 11px/1 "Manrope", sans-serif;
}

.booking__row--total {
  padding-top: 8px;
  border-top: 1px solid rgba(244, 240, 232, 0.08);
}

.booking__row--total b {
  color: var(--ember-hot);
  font: 700 15px/1 "Space Grotesk", sans-serif;
}

/* Every change flashes the summary, so the widget feels wired up. */
.booking.is-updated .booking__row b {
  animation: booking-flash 520ms var(--ease);
}

@keyframes booking-flash {
  0% { color: var(--ember-hot); transform: translateY(-2px); }
  100% { transform: none; }
}

.booking__go {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
  padding: 12px;
  background: var(--ember);
  color: #140803;
  font: 700 10px/1 "Space Grotesk", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.booking__go i {
  width: 14px;
  height: 1px;
  background: #140803;
  transition: width 220ms var(--ease);
}

.booking__go::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, 0.45) 50%, transparent 65%);
  transform: translateX(-120%);
}

.site-mock__panel.is-on .booking__go::after {
  animation: booking-sheen 3.4s 1s ease-in-out infinite;
}

@keyframes booking-sheen {
  0%, 60% { transform: translateX(-120%); }
  85%, 100% { transform: translateX(120%); }
}

.booking__note {
  margin: 0;
  color: #6f7b81;
  font: 450 10px/1.4 "Manrope", sans-serif;
  text-align: center;
}

@media (max-width: 720px) {
  .booking {
    grid-template-columns: minmax(0, 1fr);
  }
}

.design-result:not(.is-on) .site-mock__nav,
.design-result:not(.is-on) .site-mock__eyebrow,
.design-result:not(.is-on) .site-mock__hero h3,
.design-result:not(.is-on) .site-mock__lead,
.design-result:not(.is-on) .site-mock__cta,
.design-result:not(.is-on) .site-mock__gallery figure,
.design-result:not(.is-on) .boombox-stage,
.design-result:not(.is-on) .track-card {
  opacity: 0;
  transform: translateY(14px);
}

.design-result.is-on .site-mock__nav,
.design-result.is-on .site-mock__panel.is-on .site-mock__eyebrow,
.design-result.is-on .site-mock__panel.is-on .site-mock__hero h3,
.design-result.is-on .site-mock__panel.is-on .site-mock__lead,
.design-result.is-on .site-mock__panel.is-on .site-mock__cta,
.design-result.is-on .site-mock__panel.is-on .site-mock__gallery figure,
.design-result.is-on .site-mock__panel.is-on .boombox-stage,
.design-result.is-on .site-mock__panel.is-on .track-card {
  animation: site-in 620ms var(--ease) forwards;
}

.design-result.is-on .site-mock__nav { animation-delay: 120ms; }
.design-result.is-on .site-mock__panel.is-on .site-mock__eyebrow { animation-delay: 280ms; }
.design-result.is-on .site-mock__panel.is-on .site-mock__hero h3 { animation-delay: 380ms; }
.design-result.is-on .site-mock__panel.is-on .site-mock__lead { animation-delay: 500ms; }
.design-result.is-on .site-mock__panel.is-on .site-mock__cta { animation-delay: 620ms; }
.design-result.is-on .site-mock__panel.is-on .site-mock__gallery figure:nth-child(1) { animation-delay: 700ms; }
.design-result.is-on .site-mock__panel.is-on .site-mock__gallery figure:nth-child(2) { animation-delay: 780ms; }
.design-result.is-on .site-mock__panel.is-on .site-mock__gallery figure:nth-child(3) { animation-delay: 860ms; }
.design-result.is-on .site-mock__panel.is-on .boombox-stage { animation-delay: 640ms; }
.design-result.is-on .site-mock__panel.is-on .track-card:nth-child(1) { animation-delay: 700ms; }
.design-result.is-on .site-mock__panel.is-on .track-card:nth-child(2) { animation-delay: 780ms; }
.design-result.is-on .site-mock__panel.is-on .track-card:nth-child(3) { animation-delay: 860ms; }

@keyframes site-in {
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .site-mock.is-playing .boombox__reel,
  .site-mock.is-playing .boombox__led,
  .site-mock.is-playing .boombox__fader-ticks path,
  .site-mock.is-playing .mic-meter__icon,
  .site-mock.is-playing .wave-text,
  .site-mock.is-playing [data-sound-text] h3,
  .site-mock.is-playing [data-sound-text] .site-mock__eyebrow,
  .site-mock.is-playing [data-sound-text] .site-mock__lead,
  .site-mock__panel.is-on .booking__day,
  .site-mock__panel.is-on .booking__go::after,
  .booking.is-updated .booking__row b {
    animation: none !important;
  }

  .site-mock.is-playing [data-sound-text] h3 {
    filter: none;
  }

  .sound-canvas {
    display: none;
  }

  .site-mock.is-playing .mic-meter__bars i,
  .site-mock.is-playing .boombox__eq i {
    height: 55%;
    background: var(--ember);
  }

  .site-mock.is-playing .wave-text {
    filter: none;
  }
}

.contact-stage {
  position: relative;
  z-index: 8;
  padding: 88px 0 108px;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 107, 44, 0.08), transparent 42%),
    linear-gradient(180deg, #070b0e, #05080a);
  text-align: center;
}

.contact-stage__inner {
  display: grid;
  justify-items: center;
  gap: 14px;
}

.contact-stage h2 {
  margin: 0;
  max-width: 16ch;
  font: 500 clamp(34px, 5vw, 64px) / 1.02 "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.contact-stage__lead {
  margin: 0;
  max-width: 42ch;
  color: var(--muted);
  font: 450 15px/1.55 "Manrope", sans-serif;
}

.contact-stage__mail {
  margin-top: 18px;
  color: var(--ember-hot);
  font: 500 clamp(22px, 3.2vw, 36px) / 1.1 "Space Grotesk", sans-serif;
  letter-spacing: -0.03em;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 107, 44, 0.35);
  transition: color 180ms ease, border-color 180ms ease;
}

.contact-stage__mail:hover {
  color: #ffd0b0;
  border-color: rgba(255, 208, 176, 0.55);
}

@media (max-width: 900px) {
  .design-stage__head,
  .design-request {
    justify-items: start;
    text-align: left;
  }

  .design-request__text {
    max-width: none;
  }

  .site-mock__gallery--grid {
    grid-template-columns: 1fr;
  }

  .site-mock__stage {
    grid-template-columns: 1fr;
  }

  .boombox-stage {
    min-height: 200px;
    order: -1;
  }

  /* Taller thumb targets; keep widths under key spacing so they never overlap */
  .boombox__hit {
    width: max(18px, 5cqw);
    height: max(48px, 15cqw);
    z-index: 1;
  }

  .boombox__hit--play {
    width: max(22px, 6cqw);
    z-index: 3;
  }

  .boombox__play-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    margin-top: 12px;
    border: 1px solid rgba(255, 107, 44, 0.45);
    background: rgba(255, 107, 44, 0.14);
    color: #ffd2b5;
    font: 600 13px/1 "Space Grotesk", sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
  }

  .site-mock.is-playing .boombox__play-cta {
    display: none;
  }

  .boombox__hit--volume {
    height: max(40px, 12cqw);
  }

  /* SVG distortion + chromatic pulse are heavy on phones and make waves feel late. */
  .site-mock.is-playing [data-sound-text] h3 {
    filter: none;
    animation: none;
    text-shadow: 0 0 calc(6px + var(--bass, 0) * 16px) rgba(255, 107, 44, calc(0.1 + var(--bass, 0) * 0.3));
  }

  .site-mock.is-playing [data-sound-text] .site-mock__eyebrow,
  .site-mock.is-playing [data-sound-text] .site-mock__lead {
    animation: none;
  }

  /* The meter would sit on top of the track display at this width. */
  .mic-meter {
    display: none;
  }

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

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


  .flow-track {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    gap: 30px;
    justify-items: start;
  }

  .flow-node {
    grid-template-columns: 58px auto;
    grid-template-rows: auto auto;
    justify-items: start;
    align-items: center;
    gap: 2px 16px;
  }

  .flow-dot {
    grid-row: span 2;
  }

  .flow-link {
    top: auto;
    right: auto;
    bottom: calc(100% + 8px);
    left: 29px;
    width: 1px;
    height: 22px;
  }

  .flow-link::after {
    inset: 0 -0.5px auto -0.5px;
    width: auto;
    height: 0;
    background: linear-gradient(180deg, rgba(255, 107, 44, 0.55), var(--ember-hot));
    transition: height 620ms var(--ease);
  }

  .flow-link.is-active::after,
  .flow-link.is-done::after {
    width: auto;
    height: 100%;
  }

  .flow-link i {
    top: 0;
    left: 50%;
  }

  .flow-link.is-active i {
    animation-name: flow-particle-y;
  }

  @keyframes flow-particle-y {
    0% { top: 0; opacity: 0; transform: scale(0.5); }
    15% { opacity: 1; transform: scale(1); }
    85% { opacity: 1; transform: scale(1); }
    100% { top: 100%; opacity: 0; transform: scale(0.5); }
  }
}

.core-hit--story {
  inset: 4% 4% 8%;
}

.core-story__copy {
  position: relative;
  z-index: 5;
}

.core-story h2,
.capability h2,
.interaction-lab h2,
.contact h2 {
  margin: 0;
  font: 620 clamp(42px, 4.6vw, 66px) / 1.08 "Space Grotesk", sans-serif;
  letter-spacing: -0.038em;
  text-wrap: balance;
}

.core-story h2 {
  max-width: 14ch;
}

.core-chapters {
  display: grid;
  width: min(480px, 100%);
  margin: 40px 0 0;
  padding: 0;
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.core-chapters button {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 3px 14px;
  width: 100%;
  min-height: 72px;
  padding: 12px 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: #7f8b91;
  text-align: left;
  opacity: 0.52;
  transition: color 240ms ease, opacity 240ms ease, padding 240ms var(--ease), border-color 240ms ease;
}

.core-chapters button::before {
  position: absolute;
  width: 2px;
  height: 0;
  background: var(--ember);
  content: "";
  transition: height 240ms var(--ease);
}

.core-chapters button:hover,
.core-chapters button.is-active {
  padding-left: 12px;
  border-color: rgba(255, 156, 99, 0.48);
  color: var(--text);
  opacity: 1;
}

.core-chapters button.is-active::before {
  height: 55px;
}

.core-chapters button > span {
  grid-row: 1 / 3;
  padding-top: 4px;
  color: var(--ember-hot);
  font: 700 9px/1 "Space Grotesk", sans-serif;
  letter-spacing: 0.12em;
}

.core-chapters b {
  font: 620 20px/1.1 "Space Grotesk", sans-serif;
  letter-spacing: -0.03em;
}

.core-chapters small {
  max-width: 43ch;
  color: #89959b;
  font-size: 11px;
  line-height: 1.45;
}

.core-inspect {
  position: relative;
  align-self: stretch;
}

.core-labels span {
  position: absolute;
  z-index: 7;
  padding: 7px 9px;
  border-left: 2px solid var(--ember);
  background: rgba(5, 8, 10, 0.7);
  color: #bdc6ca;
  font: 700 8px/1 "Space Grotesk", sans-serif;
  letter-spacing: 0.12em;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 220ms ease, transform 220ms var(--ease);
  pointer-events: none;
}

.core-labels span::after {
  position: absolute;
  top: 50%;
  width: 52px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 107, 44, 0.66), transparent);
  content: "";
}

[data-core-label="compute"] { top: 34%; left: 48%; }
[data-core-label="compute"]::after { right: 100%; transform: rotate(12deg); transform-origin: right; }
[data-core-label="memory"] { top: 28%; right: 2%; }
[data-core-label="memory"]::after { right: 100%; }
[data-core-label="storage"] { right: 18%; bottom: 24%; }
[data-core-label="storage"]::after { right: 100%; transform: rotate(-18deg); transform-origin: right; }
[data-core-label="edge"] { top: 18%; left: 8%; border-color: var(--ice); }
[data-core-label="edge"]::after { left: 100%; right: auto; background: linear-gradient(90deg, rgba(155, 207, 224, 0.7), transparent); }

.core-story[data-core-state="overview"] [data-core-label="compute"],
.core-story[data-core-state="overview"] [data-core-label="memory"],
.core-story[data-core-state="overview"] [data-core-label="storage"],
.core-story[data-core-state="explode"] [data-core-label="compute"],
.core-story[data-core-state="explode"] [data-core-label="memory"],
.core-story[data-core-state="explode"] [data-core-label="storage"],
.core-story[data-core-state="cpu"] [data-core-label="compute"],
.core-story[data-core-state="ram"] [data-core-label="memory"],
.core-story[data-core-state="storage"] [data-core-label="storage"],
.core-story[data-core-state="running"] [data-core-label="compute"],
.core-story[data-core-state="running"] [data-core-label="memory"],
.core-story[data-core-state="running"] [data-core-label="storage"],
.core-story[data-core-state="running"] [data-core-label="edge"] {
  opacity: 1;
  transform: none;
}

.core-spec-rail {
  position: absolute;
  z-index: 6;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  min-height: 44px;
  border-top: 1px solid var(--line);
  background: rgba(5, 8, 10, 0.72);
}

.core-spec-rail span {
  display: grid;
  place-items: center;
  border-left: 1px solid var(--line);
  color: #74838b;
  font: 700 7px/1 "Space Grotesk", sans-serif;
  letter-spacing: 0.16em;
}

.core-spec-rail span:first-child {
  border-left: 0;
  color: var(--ember-hot);
}

.capability {
  position: relative;
  z-index: auto;
  padding: clamp(78px, 8vw, 112px) 0;
  border-top: 1px solid var(--line-dark);
  background: transparent;
  color: var(--dark);
}

.capability-heading {
  position: relative;
  z-index: 6;
  margin-bottom: clamp(42px, 5vw, 68px);
  padding: 8px 0 4px;
  background: linear-gradient(180deg, var(--paper-bright), var(--paper));
}

.capability h2 {
  color: #111619;
}

.capability-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.84fr) minmax(480px, 1.16fr);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.offer-compact {
  position: relative;
  z-index: 6;
  margin: 0;
  padding: 0;
  border-right: 1px solid var(--line-dark);
  list-style: none;
  background: linear-gradient(180deg, var(--paper-bright), var(--paper));
}

.capability-dock {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: end;
  min-height: min(58vh, 520px);
  margin: 0;
  padding: 28px clamp(24px, 3vw, 42px);
  background: transparent;
  color: var(--text);
  overflow: hidden;
}

.capability-dock__frame {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(155, 207, 224, 0.16);
  pointer-events: none;
}

.capability-dock__tag {
  position: relative;
  z-index: 2;
  margin: 0 0 10px;
  color: var(--ember-hot);
  font: 700 9px/1 "Space Grotesk", sans-serif;
  letter-spacing: 0.14em;
}

.capability-dock__note {
  position: relative;
  z-index: 2;
  max-width: 34ch;
  margin: 0;
  color: rgba(245, 242, 235, 0.72);
  font-size: 13px;
  line-height: 1.45;
}

.offer-compact li {
  display: grid;
  align-content: center;
  min-height: 166px;
  padding: 24px clamp(28px, 4vw, 52px) 27px 0;
  border-top: 1px solid var(--line-dark);
}

.offer-compact li:first-child {
  border-top: 0;
}

.offer-compact span,
.reference-proof > div > span {
  margin-bottom: 12px;
  color: #8d3513;
  font: 700 9px/1 "Space Grotesk", sans-serif;
  letter-spacing: 0.13em;
}

.offer-compact strong {
  max-width: 19ch;
  color: #12181b;
  font: 620 clamp(22px, 2vw, 29px) / 1.03 "Space Grotesk", sans-serif;
  letter-spacing: -0.043em;
}

.offer-compact p {
  max-width: 42ch;
  margin: 10px 0 0;
  color: var(--dark-muted);
  font-size: 12px;
  line-height: 1.48;
}

.hardware-evidence {
  display: grid;
  grid-template-rows: minmax(340px, 1fr) auto auto;
  min-width: 0;
  margin: 0;
  padding-left: clamp(24px, 3vw, 42px);
}

.hardware-evidence__media {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  background: #080b0e;
}

.hardware-evidence__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  opacity: 0;
  filter: saturate(0.75) contrast(1.04);
  transform: scale(1.018);
  transition: opacity 260ms ease, transform 800ms var(--machine);
}

.hardware-evidence__media img.is-active {
  opacity: 1;
  transform: scale(1);
}

.hardware-evidence__media > span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 8px 9px;
  border: 1px solid rgba(244, 240, 232, 0.18);
  background: rgba(5, 8, 10, 0.72);
  color: #d1d8db;
  font: 700 7px/1 "Space Grotesk", sans-serif;
  letter-spacing: 0.14em;
}

.hardware-evidence__controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line-dark);
  border-top: 0;
}

.hardware-evidence__controls button {
  min-height: 50px;
  border: 0;
  border-left: 1px solid var(--line-dark);
  background: transparent;
  color: #58636a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease;
}

.hardware-evidence__controls button:first-child {
  border-left: 0;
}

.hardware-evidence__controls button span {
  margin-right: 7px;
  color: #963b16;
  font-size: 8px;
}

.hardware-evidence__controls button:hover,
.hardware-evidence__controls button.is-active {
  background: var(--dark);
  color: var(--text);
}

.hardware-evidence__controls button:hover span,
.hardware-evidence__controls button.is-active span {
  color: var(--ember-hot);
}

.hardware-evidence figcaption {
  min-height: 52px;
  padding: 12px 2px 0;
  color: #5b666c;
  font-size: 11px;
  line-height: 1.45;
}

.reference-proof {
  position: relative;
  z-index: 6;
  display: grid;
  grid-template-columns: minmax(190px, 0.55fr) minmax(250px, 1fr) auto auto;
  align-items: center;
  gap: clamp(22px, 4vw, 48px);
  margin-top: 38px;
  padding: 26px 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  background: linear-gradient(180deg, var(--paper-bright), var(--paper));
}

.reference-proof > div > span {
  display: block;
  margin-bottom: 7px;
}

.reference-proof h3 {
  margin: 0;
  color: #111619;
  font: 620 25px/1 "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
}

.reference-proof > p {
  margin: 0;
  color: var(--dark-muted);
  font-size: 12px;
}

.reference-proof ul {
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reference-proof li {
  padding: 6px 8px;
  border: 1px solid var(--line-dark);
  color: #555f64;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reference-proof > a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid #1b252a;
  color: #111619;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
  transition: background 180ms ease, color 180ms ease;
}

.reference-proof > a:hover {
  background: var(--dark);
  color: var(--text);
}

.interaction-lab {
  position: relative;
  z-index: 10;
  padding: clamp(78px, 8vw, 108px) 0;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 107, 44, 0.085), transparent 28%),
    #06090c;
}

.lab-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: clamp(34px, 7vw, 96px);
  margin-bottom: 40px;
}

.lab-heading > p {
  max-width: 42ch;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 13px;
}

.lab-lead-mobile {
  display: none;
}

.lab-console {
  overflow: hidden;
  border: 1px solid rgba(244, 240, 232, 0.16);
  background: #080c0f;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.26);
}

.lab-track {
  position: relative;
  height: 280vh;
  margin-top: 8px;
}

.lab-track__sticky {
  position: sticky;
  top: 8vh;
  z-index: 2;
  padding-bottom: 24px;
}

.lab-demo__copy {
  max-width: 36ch;
  margin: 10px 0 0;
  color: rgba(245, 242, 235, 0.7);
  font-size: 13px;
  line-height: 1.45;
}

.lab-demo h3 {
  margin: 0;
}

.lab-stage {
  position: relative;
  display: grid;
  min-height: min(56vh, 510px);
  overflow: hidden;
  place-items: center;
  background:
    linear-gradient(rgba(155, 207, 224, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(155, 207, 224, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(255, 107, 44, 0.07), transparent 32%),
    #080c0f;
  background-size: 38px 38px, 38px 38px, auto, auto;
  touch-action: pan-y pinch-zoom;
}

.lab-stage::before,
.lab-stage::after {
  position: absolute;
  z-index: 1;
  content: "";
  pointer-events: none;
}

.lab-stage::before {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(transparent, rgba(255, 107, 44, 0.22), transparent);
}

.lab-stage::after {
  top: 50%;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(155, 207, 224, 0.16), transparent);
}

.lab-stage canvas {
  position: absolute;
  z-index: 4;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  pointer-events: none;
}

.lab-coordinate,
.lab-pointer-hint {
  position: absolute;
  z-index: 5;
  color: #66737a;
  font: 700 7px/1 "Space Grotesk", sans-serif;
  letter-spacing: 0.16em;
  pointer-events: none;
}

.lab-coordinate--top { top: 16px; left: 17px; }
.lab-coordinate--bottom { right: 17px; bottom: 16px; }

.lab-pointer-hint {
  top: 16px;
  right: 17px;
  padding-left: 28px;
  transition: opacity 180ms ease;
}

.lab-pointer-hint::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 19px;
  height: 1px;
  background: var(--ember);
  content: "";
}

.lab-stage.has-interacted .lab-pointer-hint {
  opacity: 0;
}

.lab-demo {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: center;
  text-align: center;
}

.lab-demo__mark {
  position: relative;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 156, 99, 0.7);
  background: rgba(255, 107, 44, 0.055);
}

.lab-demo__mark i {
  position: absolute;
  display: block;
  background: var(--ember);
}

.lab-demo__mark i:nth-child(1),
.lab-demo__mark i:nth-child(2) {
  top: 13px;
  width: 4px;
  height: 26px;
}

.lab-demo__mark i:nth-child(1) { left: 15px; }
.lab-demo__mark i:nth-child(2) { right: 15px; }
.lab-demo__mark i:nth-child(3) { top: 24px; left: 15px; width: 22px; height: 4px; }

.lab-demo > p {
  margin: 0 0 10px;
  color: var(--ember-hot);
  font: 700 8px/1 "Space Grotesk", sans-serif;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.lab-demo h3 {
  margin: 0;
  color: var(--text);
  font: 620 clamp(34px, 4.3vw, 58px) / 0.94 "Space Grotesk", sans-serif;
  letter-spacing: -0.055em;
}

.lab-demo__actions {
  display: flex;
  gap: 9px;
  margin-top: 27px;
}

.lab-demo__actions [data-magnetic-target] {
  transform: translate(var(--magnet-x, 0), var(--magnet-y, 0));
  transition: transform 110ms var(--ease), background 180ms ease, color 180ms ease, border-color 180ms ease;
  will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
  .lab-stage[data-lab-mode="lens"],
  .lab-stage[data-lab-mode="trail"] {
    cursor: none;
  }
}

.lab-modebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.34fr);
  border-top: 1px solid var(--line);
}

.lab-modes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.lab-modes button {
  min-height: 64px;
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
  color: #87949a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease;
}

.lab-modes button:first-child {
  border-left: 0;
}

.lab-modes button span {
  margin-right: 7px;
  color: var(--ember-hot);
  font-size: 8px;
}

.lab-modes button:hover,
.lab-modes button.is-active,
.lab-modes button[aria-pressed="true"] {
  background: rgba(255, 107, 44, 0.075);
  color: var(--text);
}

.lab-modes button[aria-pressed="true"] {
  box-shadow: inset 0 -2px var(--ember);
}

.lab-modes button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

.lab-modebar > p {
  display: grid;
  align-content: center;
  min-height: 64px;
  margin: 0;
  padding: 12px 18px;
  border-left: 1px solid var(--line);
  color: #7f8b91;
  font-size: 9px;
  line-height: 1.45;
}

.contact {
  position: relative;
  z-index: 10;
  padding: clamp(72px, 7vw, 96px) 0;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 85% 100%, rgba(255, 107, 44, 0.19), transparent 30%),
    #080c0f;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(420px, 1.2fr);
  align-items: center;
  gap: clamp(50px, 8vw, 120px);
}

.contact h2 {
  max-width: 12ch;
}

.contact-action {
  display: grid;
  gap: 17px;
}

.contact-action > p {
  max-width: 48ch;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.contact-email {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: #fff4ec;
  font: 620 clamp(18px, 2vw, 26px) / 1.2 "Space Grotesk", sans-serif;
  letter-spacing: -0.032em;
  transition: padding 200ms var(--ease), color 180ms ease;
}

.contact-email:hover {
  padding-right: 6px;
  padding-left: 6px;
  color: var(--ember-hot);
}

.mailto-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.mailto-form label {
  display: grid;
  gap: 6px;
  color: #7f8b91;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mailto-form label:has(textarea),
.mailto-form button {
  grid-column: 1 / -1;
}

.mailto-form input,
.mailto-form textarea {
  width: 100%;
  border: 1px solid rgba(244, 240, 232, 0.16);
  background: rgba(5, 8, 10, 0.58);
  color: var(--text);
  font: 500 13px/1.45 "Manrope", sans-serif;
}

.mailto-form input {
  min-height: 40px;
  padding: 0 11px;
}

.mailto-form textarea {
  min-height: 76px;
  padding: 10px 11px;
  resize: vertical;
}

.mailto-form input:focus,
.mailto-form textarea:focus {
  outline: 2px solid rgba(255, 156, 99, 0.72);
  outline-offset: 2px;
  border-color: var(--ember);
}

.mailto-form button {
  justify-self: start;
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid #ffb187;
  background: #ffb187;
  color: #000;
  font-size: 11px;
  font-weight: 800;
  transition: background 180ms ease, transform 180ms var(--ease);
}

.mailto-form button:hover {
  transform: translateY(-1px);
  background: #ffc7ac;
}

.contact-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 40px;
}

.copy-email {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(255, 156, 99, 0.36);
  background: rgba(255, 107, 44, 0.05);
  color: #dce2e4;
  font-size: 10px;
  font-weight: 800;
  transition: background 180ms ease, color 180ms ease;
}

.copy-email svg {
  width: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.copy-email:hover,
.copy-email.is-copied {
  background: var(--ember);
  color: var(--ink);
}

.copy-status {
  color: var(--ember-hot);
  font-size: 10px;
}

.site-footer {
  position: relative;
  z-index: 10;
  padding: 23px 0;
  border-top: 1px solid var(--line);
  background: #040607;
}

.footer-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 13px 26px;
  color: #77838a;
  font-size: 10px;
}

.footer-brand {
  color: var(--text);
  font: 700 12px/1 "Space Grotesk", sans-serif;
  letter-spacing: 0.16em;
}

.footer-inner p {
  margin: 0 auto 0 0;
}

.footer-inner nav {
  display: flex;
  gap: 16px;
}

.footer-inner a:hover {
  color: var(--ember-hot);
}

.lang-switch {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lang-switch a[aria-current="page"] {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--ember);
  text-underline-offset: 4px;
}

.motion-ready [data-reveal] {
  opacity: 0.76;
  transform: translateY(8px);
  transition: opacity 460ms var(--machine), transform 460ms var(--machine);
  transition-delay: var(--reveal-delay, 0ms);
}

.motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Legal pages share the same restrained shell. */
.legal-body {
  background:
    radial-gradient(circle at 10% 5%, rgba(255, 107, 44, 0.065), transparent 28%),
    var(--ink);
}

.legal-page {
  min-height: calc(100vh - 88px);
  padding: calc(var(--header-height) + 76px) 0 90px;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.55fr) minmax(0, 1.45fr);
  align-items: start;
  gap: clamp(48px, 9vw, 132px);
}

.legal-title {
  position: sticky;
  top: calc(var(--header-height) + 36px);
}

.legal-title h1 {
  margin: 0;
  font: 620 clamp(44px, 5.5vw, 70px) / 0.96 "Space Grotesk", sans-serif;
  letter-spacing: -0.055em;
}

.legal-title > p:last-child {
  max-width: 30ch;
  margin: 19px 0 0;
  color: var(--muted);
}

.legal-content {
  border-top: 1px solid var(--line);
}

.legal-content section {
  display: grid;
  grid-template-columns: minmax(140px, 0.34fr) minmax(0, 1fr);
  gap: 24px;
  padding: 25px 0 28px;
  border-bottom: 1px solid var(--line);
}

.legal-content h2 {
  margin: 0;
  color: var(--ember-hot);
  font: 700 10px/1.45 "Space Grotesk", sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-content p {
  margin: 0;
  color: #b5bec2;
  font-size: 13px;
  line-height: 1.75;
}

.legal-content p + p {
  grid-column: 2;
  margin-top: -11px;
}

.legal-content a {
  color: #f4c2a2;
  text-decoration: underline;
  text-decoration-color: rgba(255, 156, 99, 0.45);
  text-underline-offset: 3px;
}

@media (max-width: 1080px) {
  .main-nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .mobile-nav:not([hidden]) {
    position: fixed;
    z-index: 210;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-top: 1px solid var(--line);
    background: #070b0e;
  }

  .site-header.is-nav-open {
    z-index: 220;
    border-bottom-color: var(--line);
    background: rgba(5, 8, 10, 0.98);
  }

  .hero h1 {
    font-size: clamp(48px, 6.5vw, 72px);
  }

  .core-story__layout {
    grid-template-columns: minmax(340px, 0.46fr) minmax(0, 0.54fr);
  }

  .capability-grid {
    grid-template-columns: minmax(300px, 0.82fr) minmax(390px, 1.18fr);
  }

  .reference-proof {
    grid-template-columns: minmax(180px, 0.55fr) minmax(240px, 1fr) auto;
  }

  .reference-proof ul {
    display: none;
  }
}

/* —— Mobile composition: calm, readable, no desktop ghosts —— */
@media (max-width: 820px) {
  :root {
    --header-height: 60px;
  }

  .shell {
    width: min(100% - 40px, 1240px);
  }

  .eyebrow {
    margin-bottom: 12px;
    font-size: 11px;
    letter-spacing: 0.14em;
  }

  /* Mobile: keep rotate hit + callouts; hide chrome that fights the layout */
  .core-loader,
  .hero-scroll,
  .core-spec-rail,
  .core-labels {
    display: none !important;
  }

  /*
    Critical stacking: canvas above hero stage; when traveling, above hero copy too.
    Order at rest: shade/media < stage < canvas (z:5) < copy (z:6) < header.
    Traveling: copy fades, canvas rises to z:8 over the text.
  */
  .core-viewport {
    display: block;
    z-index: 5;
    pointer-events: none;
  }

  body.is-board-travel .core-viewport {
    /* Stay under hero copy — board travels behind the text */
    z-index: 5;
  }

  .core-viewport .core-callouts {
    display: none !important; /* chips in .core-legend instead */
  }

  .core-viewport.is-in-story {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .core-viewport.is-ready canvas {
    opacity: 1;
  }

  .hero-copy,
  .hero-proofline,
  .hero-proofline-marquee,
  .hero-actions {
    transition: opacity 560ms ease, transform 560ms ease;
    opacity: calc(1 - var(--hero-travel-fade, 0));
    transform: translateY(calc(var(--hero-travel-fade, 0) * 12px));
  }

  /* Avoid double-fading the track inside the marquee wrapper */
  .hero-proofline-marquee .hero-proofline {
    opacity: 1;
    transform: none;
  }

  body.is-hero-faded .hero-copy,
  body.is-hero-faded .hero-proofline,
  body.is-hero-faded .hero-proofline-marquee,
  body.is-hero-faded .hero-actions {
    pointer-events: none;
  }

  /* Soft placeholder only — never a motherboard photo flash before WebGL */
  .core-viewport:not(.is-ready) .core-poster,
  .core-viewport.has-fallback .core-poster {
    top: calc(var(--header-height) + 8px);
    right: 50%;
    bottom: auto;
    width: min(72vw, 280px);
    height: min(32svh, 220px);
    transform: translateX(50%);
    opacity: 0.35;
    background:
      radial-gradient(ellipse 55% 45% at 50% 48%, rgba(197, 204, 210, 0.14), transparent 70%),
      linear-gradient(120deg, transparent 40%, rgba(255, 107, 44, 0.05) 50%, transparent 60%);
  }

  body.core-ready .core-viewport:not(.has-fallback) .core-poster {
    opacity: 0;
  }

  body.core-ready .core-story__emblem {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-bottom: 0;
  }

  .hero-inner {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    /* Do not elevate the whole inner above the fixed canvas */
    z-index: auto;
    min-height: auto;
    padding-top: calc(var(--header-height) + 6px);
    padding-bottom: 24px;
  }

  .hero-copy {
    position: relative;
    z-index: 6;
    width: 100%;
    max-width: 36rem;
    /* Sit below the board stage so the CPU is centered above the headline */
    margin-top: 8px;
  }

  .hero-stage {
    display: block;
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    width: 100%;
    /* Room for the board above the copy on first paint */
    height: min(40svh, 320px);
    margin: 0;
  }

  .core-hit--hero {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: auto;
    touch-action: pan-y pinch-zoom;
  }

  .hero-lead {
    max-width: none;
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.5;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 18px;
  }

  .hero-media img {
    opacity: 0.22;
    object-position: 70% center;
    filter: saturate(0.55) contrast(1.04) brightness(0.92);
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(5, 8, 10, 0.55) 0%, rgba(5, 8, 10, 0.78) 42%, #05080a 100%),
      linear-gradient(90deg, rgba(5, 8, 10, 0.82), rgba(5, 8, 10, 0.55));
  }

  .hero-shade::after {
    display: none;
  }

  .cursor {
    display: none !important;
  }

  .hero h1 {
    max-width: 100%;
    overflow: visible;
    padding-bottom: 0.1em;
    font-size: clamp(36px, 9.2vw, 48px);
    line-height: 1.14;
    letter-spacing: -0.04em;
  }

  .hero h1 span {
    display: inline;
  }

  .hero h1 span:last-child {
    max-width: none;
    white-space: normal;
  }

  body.core-heat-ready .hero h1 [data-heat-line],
  .hero h1 [data-heat-line] {
    color: var(--ember-hot);
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    filter: none;
    text-shadow: 0 0 22px rgba(255, 107, 44, 0.18);
    animation: none;
  }

  .button {
    width: 100%;
    min-height: 52px;
    font-size: 14px;
    letter-spacing: 0.03em;
    word-spacing: 0.06em;
  }

  .hero-proofline {
    position: relative;
    z-index: 6;
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    max-width: none;
    margin-top: 0;
    padding: 0;
    border-top: 0;
    overflow: visible;
    width: max-content;
    animation: hero-proofline-marquee 26s linear infinite;
  }

  .hero-proofline-marquee {
    position: relative;
    z-index: 6;
    margin-top: 20px;
    padding: 12px 0 0;
    border-top: 1px solid var(--line);
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  }

  .hero-proofline-marquee:hover .hero-proofline,
  .hero-proofline-marquee:focus-within .hero-proofline {
    animation-play-state: paused;
  }

  @keyframes hero-proofline-marquee {
    from {
      transform: translate3d(0, 0, 0);
    }
    to {
      transform: translate3d(-50%, 0, 0);
    }
  }

  .hero-proofline li {
    flex: 0 0 auto;
    padding: 0 18px;
    border-left: 1px solid var(--line);
    color: #b0babf;
    font-size: 11px;
    letter-spacing: 0.06em;
    white-space: nowrap;
  }

  /* Seamless loop: keep a divider on every item, including the first */
  .hero-proofline-marquee .hero-proofline li:first-child {
    padding-left: 18px;
    border-left: 1px solid var(--line);
  }

  .hero-proofline-marquee.is-active .hero-proofline > li[aria-hidden="true"] {
    display: list-item;
  }

  .core-story {
    min-height: auto;
    border-top: 1px solid var(--line);
    background: transparent;
  }

  /* Hide the section rule while the board is locked over the page — it read as a “stuck” line. */
  body.is-board-travel .core-story {
    border-top-color: transparent;
  }

  .core-story__sticky {
    /* No long pin travel on phones — awkward empty scroll */
    position: relative;
    top: auto;
    z-index: auto;
    min-height: auto;
    padding-top: 0;
    overflow: visible;
  }

  .core-story__layout {
    display: block;
    min-height: auto;
    padding-top: 0;
    padding-bottom: 28px;
    background: transparent;
  }

  /* Mobile showcase: shorter board stage so scroll into place is quicker */
  .core-story__layout--showcase {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(30svh, 34svh) auto auto;
    justify-items: center;
    align-content: start;
    gap: 10px;
    min-height: auto;
    padding-top: calc(var(--header-height) + 6px);
    padding-bottom: 20px;
    text-align: center;
  }

  .core-story__layout--showcase .core-inspect {
    display: block !important;
    position: relative;
    z-index: 1;
    order: 1;
    width: 100%;
    min-height: 30svh;
    height: 100%;
    margin: 0;
    background: transparent;
    pointer-events: auto;
  }

  .core-hit--story {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: auto;
    touch-action: pan-y pinch-zoom;
  }

  /* Always show system copy on phones — never leave a blank black stage */
  body.core-ready .core-story__layout--showcase .core-story__copy,
  body.core-ready .core-story.is-copy-in .core-story__layout--showcase .core-story__copy {
    opacity: 1;
    transform: none;
  }

  .core-story__layout--showcase .core-story__copy {
    position: relative;
    z-index: 6;
    order: 2;
    max-width: 20rem;
    margin-top: 0;
    padding: 16px 16px 18px;
    border: 1px solid rgba(244, 240, 232, 0.1);
    background: rgba(8, 12, 15, 0.82);
    backdrop-filter: blur(10px);
  }

  .core-legend {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    order: 3;
    width: min(100%, 22rem);
    margin: 2px 0 0;
    padding: 0;
    list-style: none;
  }

  .core-legend li {
    display: grid;
    gap: 4px;
    padding: 12px 6px;
    border: 1px solid rgba(244, 240, 232, 0.12);
    background: rgba(8, 12, 15, 0.78);
    text-align: center;
  }

  .core-legend b {
    color: var(--ember-hot);
    font: 700 10px/1 "Space Grotesk", sans-serif;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .core-legend span {
    color: #c4ced3;
    font: 500 11px/1.3 "Manrope", sans-serif;
  }

  .core-story__layout--showcase .core-story__copy h2 {
    font-size: clamp(24px, 7vw, 32px);
  }

  .core-story__layout::before {
    display: none;
  }

  .core-story__emblem {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin: 0 0 20px;
    border: 1px solid rgba(255, 156, 99, 0.4);
    background: rgba(255, 107, 44, 0.08);
  }

  .core-story__emblem svg {
    width: 48px;
    height: 48px;
  }

  .core-story__emblem rect:first-child {
    fill: rgba(6, 11, 14, 0.9);
    stroke: rgba(244, 240, 232, 0.25);
    stroke-width: 3;
  }

  .core-story__emblem path:first-of-type {
    fill: none;
    stroke: rgba(255, 107, 44, 0.55);
    stroke-width: 3;
  }

  .core-story__emblem rect:last-of-type {
    fill: rgba(255, 107, 44, 0.16);
    stroke: var(--ember);
    stroke-width: 4;
  }

  .core-story__emblem path:last-of-type {
    fill: none;
    stroke: var(--ember-hot);
    stroke-width: 5;
  }

  .core-story__copy {
    position: relative;
    z-index: 5;
    margin: 0 -4px;
    padding: 14px 14px 12px;
    border-radius: 16px;
    background: rgba(4, 8, 12, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  }

  .core-story__chapter {
    min-height: auto;
    padding: 0.25rem 0 2.25rem;
  }

  .core-story h2 {
    max-width: none;
  }

  .core-story h2,
  .capability h2,
  .interaction-lab h2,
  .contact h2 {
    font-size: clamp(26px, 6.8vw, 34px);
    line-height: 1.08;
    letter-spacing: -0.035em;
  }

  .core-chapters {
    width: 100%;
    margin-top: 16px;
  }

  .core-chapters button {
    grid-template-columns: 32px 1fr;
    gap: 1px 10px;
    min-height: 0;
    padding: 12px 0;
    opacity: 1;
    color: var(--text);
  }

  .core-chapters button:hover,
  .core-chapters button.is-active {
    padding-left: 0;
  }

  .core-chapters button::before {
    display: none;
  }

  .core-chapters button.is-active {
    border-color: rgba(255, 156, 99, 0.35);
  }

  .core-chapters button > span {
    font-size: 10px;
  }

  .core-chapters b {
    font-size: 17px;
    color: var(--text);
  }

  .core-chapters small {
    max-width: none;
    color: #9aa6ac;
    font-size: 12px;
    line-height: 1.4;
  }

  .capability,
  .interaction-lab,
  .contact {
    padding: 56px 0;
  }

  .capability-heading {
    margin-bottom: 28px;
  }

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

  .capability-dock {
    min-height: min(42vh, 360px);
    order: -1;
  }

  .lab-track {
    height: 220vh;
  }

  .lab-track__sticky {
    top: 6vh;
  }

  .lab-heading {
    grid-template-columns: 1fr;
    margin-bottom: 24px;
  }

  .offer-compact {
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .offer-compact li {
    min-height: 0;
    padding: 22px 0;
  }

  .offer-compact span,
  .reference-proof > div > span {
    margin-bottom: 8px;
    font-size: 11px;
  }

  .offer-compact strong {
    max-width: none;
    font-size: clamp(22px, 6vw, 28px);
    line-height: 1.15;
    letter-spacing: -0.03em;
  }

  .offer-compact p {
    max-width: none;
    margin-top: 8px;
    font-size: 15px;
    line-height: 1.5;
  }

  .hardware-evidence {
    min-height: 0;
    padding: 28px 0 0;
  }

  .hardware-evidence__media {
    min-height: 200px;
    aspect-ratio: 16 / 10;
  }

  .hardware-evidence__media > span {
    font-size: 9px;
    letter-spacing: 0.1em;
  }

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

  .hardware-evidence__controls button {
    min-height: 52px;
    border-left: 0;
    border-top: 1px solid var(--line-dark);
    font-size: 13px;
  }

  .hardware-evidence__controls button:first-child {
    border-top: 0;
  }

  .hardware-evidence__controls button span {
    font-size: 11px;
  }

  .hardware-evidence figcaption {
    min-height: 0;
    font-size: 14px;
    line-height: 1.45;
  }

  .reference-proof {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 28px;
    padding: 24px 0;
  }

  .reference-proof h3 {
    font-size: 24px;
  }

  .reference-proof > p {
    font-size: 15px;
    line-height: 1.5;
  }

  .reference-proof ul {
    display: flex;
    flex-wrap: wrap;
  }

  .reference-proof li {
    font-size: 11px;
  }

  .reference-proof > a {
    width: fit-content;
    min-height: 48px;
    font-size: 13px;
  }

  .lab-heading {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 24px;
  }

  .lab-heading > p {
    max-width: none;
    font-size: 15px;
    line-height: 1.5;
  }

  .lab-lead-desktop {
    display: none;
  }

  .lab-lead-mobile {
    display: block;
    margin: 0;
    color: var(--muted);
  }

  /* Lab: drop pointer theater on touch phones */
  .lab-coordinate,
  .lab-pointer-hint,
  .lab-stage canvas,
  .lab-modebar {
    display: none !important;
  }

  .lab-console {
    border: 1px solid var(--line);
  }

  .lab-stage {
    min-height: 0;
    padding: 32px 22px 36px;
    background: #080c0f;
  }

  .lab-stage::before,
  .lab-stage::after {
    display: none;
  }

  .lab-demo {
    justify-items: start;
    text-align: left;
  }

  .lab-demo__mark {
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
  }

  .lab-demo__mark i:nth-child(1),
  .lab-demo__mark i:nth-child(2) {
    top: 9px;
    height: 20px;
  }

  .lab-demo__mark i:nth-child(1) { left: 11px; }
  .lab-demo__mark i:nth-child(2) { right: 11px; }
  .lab-demo__mark i:nth-child(3) { top: 18px; left: 11px; width: 18px; }

  .lab-demo > p {
    font-size: 11px;
  }

  .lab-demo h3 {
    font-size: clamp(28px, 7.5vw, 36px);
    line-height: 1.08;
    letter-spacing: -0.035em;
  }

  .lab-demo__actions {
    display: grid;
    width: 100%;
    gap: 10px;
    margin-top: 24px;
  }

  .contact-grid,
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-action > p {
    font-size: 15px;
    line-height: 1.5;
  }

  .contact-email {
    align-items: flex-start;
    margin-top: 18px;
    margin-bottom: 8px;
    overflow-wrap: anywhere;
    font-size: 17px;
    line-height: 1.35;
  }

  .mailto-form {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 22px;
  }

  .mailto-form label,
  .mailto-form button {
    grid-column: 1;
  }

  .mailto-form label {
    font-size: 12px;
  }

  .mailto-form input,
  .mailto-form textarea {
    border-color: rgba(244, 240, 232, 0.22);
    background: rgba(244, 240, 232, 0.04);
    font-size: 16px;
  }

  .mailto-form input {
    min-height: 50px;
  }

  .mailto-form textarea {
    min-height: 96px;
  }

  .mailto-form button {
    justify-self: stretch;
    min-height: 52px;
    margin-top: 4px;
  }

  .copy-email {
    min-height: 46px;
  }

  .legal-title {
    position: static;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .footer-inner p {
    margin-right: 0;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 36px, 1240px);
  }

  .brand {
    gap: 9px;
    min-width: 0;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .brand-type {
    font-size: 12px;
    letter-spacing: 0.14em;
  }

  .nav-toggle {
    min-width: 44px;
    min-height: 44px;
  }

  .nav-toggle__label {
    display: none;
  }

  .hero-inner {
    padding-top: calc(var(--header-height) + 6px);
  }

  .hero-stage {
    height: min(36svh, 280px);
  }

  .hero h1 {
    font-size: clamp(34px, 9vw, 42px);
  }

  .hero-lead {
    font-size: 15px;
  }

  .core-story__layout--showcase {
    grid-template-rows: minmax(28svh, 32svh) auto auto;
    padding-top: calc(var(--header-height) + 6px);
    padding-bottom: 20px;
  }

  .core-story__layout--showcase .core-inspect {
    min-height: 28svh;
  }

  .core-story__emblem {
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
  }

  .core-story__emblem svg {
    width: 42px;
    height: 42px;
  }

  .capability,
  .interaction-lab,
  .contact {
    padding: 48px 0;
  }

  .lab-stage {
    padding: 28px 18px 32px;
  }

  .legal-page {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 56px;
  }

  .legal-content section {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px 0 22px;
  }

  .legal-content p + p {
    grid-column: 1;
    margin-top: 4px;
  }
}

body.is-nav-locked {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .core-viewport canvas {
    display: none;
  }

  .core-poster {
    opacity: 0.4;
  }

  .core-story {
    min-height: auto;
  }

  .core-story__sticky {
    position: relative;
  }

  .motion-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .hero-proofline-marquee .hero-proofline {
    animation: none !important;
    transform: none !important;
  }

  .hero-proofline-marquee {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero-proofline-marquee::-webkit-scrollbar {
    display: none;
  }
}

@media (forced-colors: active) {
  .hero-media,
  .hero-shade,
  .core-viewport,
  .lab-stage canvas {
    display: none;
  }

  .button,
  .lab-console,
  .hardware-evidence,
  .reference-proof {
    border: 1px solid CanvasText;
  }
}
