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

:root {
  --bg: #050505;
  --panel: #0c0b0a;
  --ink: #e6ded2;
  --muted: #9d9388;
  --dim: #4d463f;
  --red: #f04a2a;
  --gold: #f2a84a;
  --line: rgba(232, 223, 210, 0.16);
  --line-hot: rgba(240, 74, 42, 0.58);
  --font-ui: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-mono: "Space Mono", ui-monospace, monospace;
  --font-tech: "Orbitron", "Space Grotesk", system-ui, sans-serif;
  --font-cinzel: "Orbitron", "Space Grotesk", system-ui, sans-serif;
  --max: 1340px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html {
  background: var(--bg);
  color: var(--ink);
  scroll-behavior: auto;
}
body {
  margin: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(240, 74, 42, 0.12), transparent 38rem),
    linear-gradient(rgba(240, 74, 42, 0.035) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(90deg, rgba(242, 168, 74, 0.025) 1px, transparent 1px) 0 0 / 72px 72px,
    var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
  overflow-x: hidden;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='140'%20height='140'%3E%3Cfilter%20id='n'%3E%3CfeTurbulence%20type='fractalNoise'%20baseFrequency='0.9'%20numOctaves='2'%20stitchTiles='stitch'/%3E%3C/filter%3E%3Crect%20width='140'%20height='140'%20filter='url(%23n)'/%3E%3C/svg%3E");
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 79;
  pointer-events: none;
  opacity: 0.12;
  background: repeating-linear-gradient(0deg, transparent 0 5px, rgba(255, 255, 255, 0.08) 6px);
  mix-blend-mode: overlay;
}
a { color: inherit; text-decoration: none; }
img, canvas { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.webgl-atmosphere {
  position: fixed;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.32;
  mix-blend-mode: screen;
}
.scroll-progress {
  position: fixed;
  left: 2.4rem;
  right: 2.4rem;
  bottom: 1.25rem;
  z-index: 25;
  height: 1px;
  background: rgba(232, 223, 210, 0.16);
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--gold));
  box-shadow: 0 0 18px rgba(201, 68, 45, 0.5);
  transform-origin: left center;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: #030303;
  overflow: hidden;
  transition:
    opacity 0.7s var(--ease),
    visibility 0.7s,
    clip-path 0.85s cubic-bezier(0.76, 0, 0.24, 1);
  clip-path: inset(0 0 0 0);
}
.loader__atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 40% at 50% 42%, rgba(240, 74, 42, 0.16), transparent 70%),
    radial-gradient(ellipse 40% 30% at 70% 70%, rgba(242, 168, 74, 0.08), transparent 65%),
    linear-gradient(rgba(232, 223, 210, 0.035) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(232, 223, 210, 0.028) 1px, transparent 1px) 0 0 / 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 20%, transparent 75%);
  animation: loader-atmosphere 4.5s ease-in-out infinite alternate;
}
@keyframes loader-atmosphere {
  from { opacity: 0.7; transform: scale(1); }
  to { opacity: 1; transform: scale(1.04); }
}
.loader__panel {
  position: relative;
  z-index: 1;
  width: min(380px, calc(100vw - 48px));
  text-align: left;
}
.loader__kicker {
  margin: 0 0 1.1rem;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(10px);
  animation: loader-rise 0.7s var(--ease) 0.08s forwards;
}
.loader__brand {
  margin: 0 0 1.55rem;
  display: flex;
  gap: 0.45rem;
  align-items: baseline;
  font-family: var(--font-tech);
  font-size: clamp(1.55rem, 3.4vw, 2.1rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  opacity: 0;
  transform: translateY(14px);
  animation: loader-rise 0.75s var(--ease) 0.18s forwards;
}
.loader__brand span:first-child { color: var(--ink); }
.loader__brand span:last-child { color: var(--gold); }
.loader__track {
  position: relative;
  height: 1px;
  background: rgba(232, 223, 210, 0.14);
  overflow: visible;
  opacity: 0;
  animation: loader-rise 0.7s var(--ease) 0.32s forwards;
}
.loader__track::after {
  content: "";
  position: absolute;
  inset: -6px 0;
  pointer-events: none;
}
.loader__fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--red), var(--gold));
  box-shadow: 0 0 18px rgba(240, 74, 42, 0.45), 0 0 28px rgba(242, 168, 74, 0.2);
  transform-origin: left center;
  transition: width 0.18s linear;
}
.loader__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-top: 0.95rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0;
  animation: loader-rise 0.7s var(--ease) 0.42s forwards;
}
.loader__status { color: var(--muted); }
.loader__pct {
  margin: 0;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.loader__corners {
  position: absolute;
  inset: clamp(1rem, 3vw, 2rem);
  pointer-events: none;
  opacity: 0.55;
}
.loader__corners i {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(232, 223, 210, 0.28);
}
.loader__corners i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.loader__corners i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.loader__corners i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.loader__corners i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }
@keyframes loader-rise {
  to { opacity: 1; transform: none; }
}
.loader.is-exiting .loader__panel,
.loader.is-exiting .loader__corners,
.loader.is-exiting .loader__atmosphere {
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  clip-path: inset(0 0 100% 0);
}
@media (prefers-reduced-motion: reduce) {
  .loader__atmosphere,
  .loader__kicker,
  .loader__brand,
  .loader__track,
  .loader__meta {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .loader.is-done {
    clip-path: none;
    transition: opacity 0.35s ease, visibility 0.35s;
  }
}

.site-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 2.4rem;
  font-family: var(--font-tech);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: rgba(232, 223, 210, 0.72);
  text-transform: uppercase;
}
.site-nav__center { justify-self: center; }
.site-nav__link { justify-self: end; }
.site-nav__logo, .site-nav__link { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.95rem 2.25rem;
  border: 1px solid var(--line);
  border-radius: 0;
  font-family: var(--font-tech);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: translateX(-120%);
  transition: transform 0.65s var(--ease);
}
.btn--primary {
  background: var(--red);
  border-color: var(--red);
  color: #fff4ec;
  box-shadow: 0 0 32px rgba(240, 74, 42, 0.24);
}
.btn--primary::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 45%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.05) 35%,
    rgba(255, 244, 236, 0.55) 50%,
    rgba(255, 255, 255, 0.08) 65%,
    transparent 100%
  );
  transform: translateX(-160%) skewX(-18deg);
  animation: btn-primary-shimmer 6.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
.btn--primary > * {
  position: relative;
  z-index: 2;
}
@keyframes btn-primary-shimmer {
  0%, 72% {
    transform: translateX(-160%) skewX(-18deg);
  }
  88%, 100% {
    transform: translateX(320%) skewX(-18deg);
  }
}
.btn--ghost {
  background: rgba(5, 5, 5, 0.2);
  color: var(--ink);
}
.btn:hover {
  transform: translateY(-2px);
  border-color: var(--line-hot);
}
.btn:hover::after { transform: translateX(120%); }
[data-scramble] {
  font-variant-numeric: tabular-nums;
}

.scrub-act {
  position: relative;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #050505;
}
.scrub-act::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: calc(0.18 + (var(--progress, 0) * 0.18));
  background:
    linear-gradient(90deg, transparent 0 49.9%, rgba(217, 168, 77, 0.28) 50%, transparent 50.1%),
    linear-gradient(transparent 0 49.9%, rgba(201, 68, 45, 0.18) 50%, transparent 50.1%);
}
.scrub-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background-position: center;
  background-size: cover;
}
.scrub-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    radial-gradient(circle at 50% 48%, rgba(5, 5, 5, 0.04), rgba(5, 5, 5, 0.62) 72%),
    linear-gradient(90deg, rgba(5, 5, 5, 0.82), rgba(5, 5, 5, 0.08) 46%, rgba(5, 5, 5, 0.78)),
    linear-gradient(0deg, rgba(5, 5, 5, 0.86), transparent 24%, transparent 70%, rgba(5, 5, 5, 0.45));
}
.scrub-canvas,
.hero__poster,
.hero__poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.scrub-canvas {
  z-index: 2;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.scrub-canvas.is-active { opacity: 1; }
.hero__poster { z-index: 1; }
.hero__poster.is-hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}
.scrub-act.is-static .scrub-canvas { display: none; }

.scrub-hud {
  position: absolute;
  top: 5.2rem;
  left: 2.4rem;
  right: 2.4rem;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-tech);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  color: rgba(232, 223, 210, 0.62);
  text-transform: uppercase;
}
.frame-counter {
  position: absolute;
  left: 2.4rem;
  bottom: 2.2rem;
  z-index: 5;
  margin: 0;
  color: var(--red);
  font-family: var(--font-tech);
  font-size: 0.72rem;
}
.scrub-progress {
  position: absolute;
  left: 2.4rem;
  right: 2.4rem;
  bottom: 2.2rem;
  z-index: 6;
  height: 1px;
  background: rgba(232, 223, 210, 0.18);
  pointer-events: none;
}
.scrub-progress span {
  display: block;
  width: calc(var(--progress, 0) * 100%);
  height: 100%;
  background: var(--red);
  box-shadow: 0 0 16px rgba(201, 68, 45, 0.55);
}
.scrub-act--hero .scrub-progress {
  left: 8rem;
}

.hero-copy,
.scrub-copy {
  position: relative;
  z-index: 4;
  width: min(1120px, calc(100vw - 48px));
  text-align: center;
}
.kicker {
  margin: 0 0 1rem;
  color: rgba(232, 223, 210, 0.68);
  font-family: var(--font-tech);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.hero-title {
  margin: 0;
  text-transform: uppercase;
  font-family: var(--font-tech);
  font-size: 6rem;
  line-height: 0.86;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-shadow: 0 0 32px rgba(240, 74, 42, 0.18);
}
.hero-title span { display: block; }
.hero-title span:first-child {
  color: rgba(232, 223, 210, 0.78);
}
.hero-title span:last-child {
  color: transparent;
  -webkit-text-stroke: 1px rgba(232, 223, 210, 0.72);
}
.hero-sub {
  max-width: 44rem;
  margin: 1.2rem auto 0;
  color: rgba(232, 223, 210, 0.72);
  font-size: 1.12rem;
  line-height: 1.55;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.mega-title {
  margin: 0;
  text-transform: uppercase;
  font-family: var(--font-tech);
  font-size: 5.8rem;
  line-height: 0.92;
  font-weight: 900;
  letter-spacing: 0.01em;
  color: rgba(232, 223, 210, 0.84);
}
.scrub-copy--left {
  text-align: left;
  margin-left: clamp(2rem, 6rem, 6rem);
}
.scrub-copy--center { text-align: center; }
.scrub-act--work .kicker {
  margin: 0 0 1.25rem;
  color: rgba(232, 223, 210, 0.82);
  font-size: clamp(1.15rem, 2.4vw, 1.75rem);
  letter-spacing: 0.14em;
  line-height: 1.25;
  text-wrap: balance;
}

/* ---- 006 / Build Stack: cinematic environment routing overlay ---- */
.stack-system {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}
.stack-scan {
  position: absolute;
  top: 7.5rem;
  right: 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: right;
  opacity: 0;
}
.stack-scan span {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(232, 223, 210, 0.38);
}
.stack-routes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.stack-route {
  fill: none;
  stroke: rgba(201, 68, 45, 0.55);
  stroke-width: 0.18;
  vector-effect: non-scaling-stroke;
  opacity: 0;
}
.stack-system.is-routing .stack-route {
  stroke: rgba(240, 74, 42, 0.72);
}
.stack-env {
  position: absolute;
  left: var(--sx);
  top: var(--sy);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  opacity: 0;
  transform: translate(-4px, 8px);
  white-space: nowrap;
}
.stack-env__tick {
  width: 7px;
  height: 7px;
  border: 1px solid rgba(232, 223, 210, 0.45);
  transform: rotate(45deg);
  flex-shrink: 0;
}
.stack-env__label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(232, 223, 210, 0.72);
  padding: 0.2rem 0.45rem 0.2rem 0;
  border-left: 1px solid rgba(157, 147, 136, 0.45);
}
.stack-env__label i {
  font-style: normal;
  color: rgba(157, 147, 136, 0.55);
}
.stack-core {
  position: absolute;
  left: var(--sx);
  top: var(--sy);
  z-index: 3;
  transform: translate(-50%, -50%);
  opacity: 0;
  text-align: center;
}
.stack-core__frame {
  position: relative;
  width: 3.2rem;
  height: 3.2rem;
  margin: 0 auto 0.5rem;
}
.stack-core__frame span {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 1px solid rgba(240, 74, 42, 0.55);
}
.stack-core__frame span:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.stack-core__frame span:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.stack-core__frame span:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.stack-core__frame span:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.stack-core.is-active .stack-core__frame span {
  border-color: rgba(240, 74, 42, 0.88);
}
.stack-core__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  white-space: nowrap;
}
.stack-conversion {
  position: absolute;
  left: 50%;
  bottom: 5.5rem;
  z-index: 4;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  opacity: 0;
  max-width: calc(100vw - 3rem);
}
.stack-stage {
  opacity: 0;
  text-align: center;
  padding: 0.55rem 0.7rem;
  border-top: 1px solid rgba(157, 147, 136, 0.4);
  border-bottom: 1px solid rgba(157, 147, 136, 0.4);
  min-width: 4.8rem;
}
.stack-stage__name {
  display: block;
  font-family: var(--font-tech);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(232, 223, 210, 0.88);
}
.stack-stage__micro {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(157, 147, 136, 0.65);
}
.stack-conversion__sep {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(240, 74, 42, 0.65);
  opacity: 0;
}
.stack-copy {
  z-index: 5;
}
.stack-headline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
}
.stack-headline__line {
  display: block;
}
.stack-support {
  margin: 1.2rem auto 0;
  max-width: 42ch;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(232, 223, 210, 0.68);
}
.stack-deploy {
  margin: 1rem auto 0;
  max-width: 52ch;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.6;
  color: rgba(157, 147, 136, 0.55);
}
.scrub-act--method .scrub-stage::after {
  background:
    radial-gradient(circle at 50% 48%, rgba(5, 5, 5, 0.02), rgba(5, 5, 5, 0.48) 72%),
    linear-gradient(90deg, rgba(5, 5, 5, 0.72), rgba(5, 5, 5, 0.06) 46%, rgba(5, 5, 5, 0.68)),
    linear-gradient(0deg, rgba(5, 5, 5, 0.78), transparent 24%, transparent 70%, rgba(5, 5, 5, 0.38));
}
.stack-system.is-resolved .stack-env,
.stack-system.is-resolved .stack-route,
.stack-system.is-resolved .stack-core {
  opacity: 0 !important;
}
.stack-system.is-resolved .stack-conversion {
  opacity: 1 !important;
}
.stack-system.is-resolved .stack-stage,
.stack-system.is-resolved .stack-conversion__sep {
  opacity: 1 !important;
  transform: none !important;
}
.stack-system.is-static-mode .stack-env {
  opacity: 0.48 !important;
  transform: none !important;
}
.stack-system.is-static-mode .stack-route {
  opacity: 0.22 !important;
  stroke-dashoffset: 0 !important;
}
.stack-system.is-static-mode .stack-core {
  opacity: 0.55 !important;
}
.stack-system.is-static-mode .stack-conversion,
.stack-system.is-static-mode .stack-stage,
.stack-system.is-static-mode .stack-conversion__sep {
  opacity: 1 !important;
  transform: none !important;
}

.scrub-support {
  margin: 1rem 0 0;
  max-width: 38rem;
  font-size: 0.98rem;
  line-height: 1.5;
  color: rgba(232, 223, 210, 0.68);
}
.scrub-copy--center .scrub-support {
  margin-left: auto;
  margin-right: auto;
}
.scrub-stat-row {
  position: absolute;
  left: 3rem;
  right: 3rem;
  bottom: 4rem;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.scrub-stat-row article {
  border-top: 1px solid var(--red);
  padding-top: 0.8rem;
}
.scrub-stat-row strong {
  display: block;
  font-family: var(--font-tech);
  font-size: 2.4rem;
  line-height: 1;
}
.scrub-stat-row span {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.plain-section {
  position: relative;
  z-index: 3;
  padding: 7rem 2.4rem;
  background:
    linear-gradient(rgba(240, 74, 42, 0.028) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(90deg, rgba(242, 168, 74, 0.02) 1px, transparent 1px) 0 0 / 72px 72px,
    var(--bg);
}
.section-meta {
  width: min(var(--max), 100%);
  margin: 0 auto 1.5rem;
  color: var(--red);
  font-family: var(--font-tech);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.section-title {
  width: min(980px, 100%);
  margin: 0 auto 3rem;
  font-family: var(--font-tech);
  font-size: 3.2rem;
  line-height: 1;
  text-transform: uppercase;
}

.plain-section--stats {
  padding-top: 4.2rem;
  padding-bottom: 4.2rem;
}
.stat-strip {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}
.stat-strip article {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}
.stat-strip strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-tech);
  font-size: 4.4rem;
  font-weight: 900;
  line-height: 0.95;
}
.stat-strip article:nth-child(odd) strong { color: var(--red); }
.stat-strip article:first-child strong,
.stat-strip article:nth-child(3) strong {
  color: var(--red);
}
.stat-strip span {
  display: block;
  margin-top: 0.8rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.plain-section--split {
  display: grid;
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 0.6fr);
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}
.plain-section--split .section-meta,
.plain-section--split .split-copy {
  grid-column: 1;
  width: auto;
  margin-left: calc((100vw - min(var(--max), calc(100vw - 4.8rem))) / 2);
}
.split-copy h2 {
  margin: 0;
  font-family: var(--font-tech);
  font-size: 3.2rem;
  line-height: 1.02;
  text-transform: uppercase;
}
.split-copy h2 .glitch {
  position: relative;
  display: inline-block;
  color: var(--red);
}
.split-copy p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}
.diagnostic-grid {
  grid-column: 2;
  width: min(560px, 100%);
  display: grid;
  gap: 1rem;
  margin-right: calc((100vw - min(var(--max), calc(100vw - 4.8rem))) / 2);
}
.diagnostic-grid article,
.proof-grid article,
.method-grid article,
.fit-card,
.apply-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.42);
  padding: 1.4rem;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.diagnostic-grid article::before,
.proof-grid article::before,
.method-grid article::before,
.fit-card::before,
.apply-card::before,
.proof-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(217, 168, 77, 0.16), transparent 34%);
  transition: opacity 0.35s var(--ease);
}
.diagnostic-grid article:hover,
.proof-grid article:hover,
.method-grid article:hover,
.fit-card:hover,
.apply-card:hover {
  transform: translateY(-4px);
  border-color: rgba(217, 168, 77, 0.42);
  background: rgba(16, 13, 11, 0.62);
}
.diagnostic-grid article:hover::before,
.proof-grid article:hover::before,
.method-grid article:hover::before,
.fit-card:hover::before,
.apply-card:hover::before,
.proof-feature:hover::before {
  opacity: 1;
}
.diagnostic-grid span,
.proof-grid span,
.method-grid span,
.fit-card span,
.apply-card span {
  color: var(--red);
  font-family: var(--font-tech);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.diagnostic-grid h3,
.method-grid h3,
.apply-card h3 {
  margin: 0.8rem 0 0.45rem;
  font-family: var(--font-tech);
  font-size: 1.2rem;
}
.diagnostic-grid p,
.method-grid p,
.apply-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.proof-grid,
.method-grid,
.apply-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}
.proof-feature {
  position: relative;
  overflow: hidden;
  width: min(var(--max), 100%);
  margin: 0 auto 1rem;
  padding: 2rem;
  border: 1px solid rgba(217, 168, 77, 0.32);
  background:
    linear-gradient(135deg, rgba(201, 68, 45, 0.15), transparent 36%),
    rgba(5, 5, 5, 0.58);
}
.proof-feature span {
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
}
.proof-feature strong {
  display: block;
  max-width: 760px;
  margin-top: 0.9rem;
  font-family: var(--font-tech);
  font-size: 2.45rem;
  line-height: 1;
  text-transform: uppercase;
}
.proof-feature p {
  max-width: 620px;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}
.proof-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.proof-grid dl {
  display: grid;
  gap: 0.35rem;
  margin: 1rem 0;
}
.proof-grid dt {
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
}
.proof-grid dd {
  margin: 0 0 0.5rem;
  color: var(--muted);
}
.proof-grid p {
  margin: 1.2rem 0;
  font-family: var(--font-tech);
  font-size: 1.1rem;
  line-height: 1.55;
}
.proof-grid small {
  color: var(--muted);
}

.method-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.timeline {
  width: min(var(--max), 100%);
  margin: 3rem auto 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line-hot);
}
.timeline li {
  position: relative;
  padding-top: 1.2rem;
  text-align: center;
}
.timeline li::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 9px;
  height: 9px;
  background: var(--gold);
  transform: translateX(-50%);
}
.timeline strong {
  display: block;
  color: var(--gold);
  font-family: var(--font-tech);
  font-size: 0.78rem;
}
.timeline span {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
}

.plain-section--apply {
  min-height: 100dvh;
  display: grid;
  align-content: center;
}

.apply-layout {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
  gap: clamp(2rem, 4.5vw, 4.5rem);
  align-items: start;
}

.apply-copy .section-meta {
  width: auto;
  margin: 0 0 1.5rem;
}

.apply-heading {
  margin: 0 0 1.5rem;
  color: var(--ink);
  font-family: var(--font-tech);
  font-size: clamp(2.8rem, 5.8vw, 7rem);
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
}

.apply-intro {
  margin: 0 0 2.5rem;
  max-width: 42ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.apply-qual__eyebrow {
  display: block;
  margin-bottom: 1rem;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.apply-qual__list {
  display: grid;
  gap: 0.85rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.apply-qual__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: baseline;
  color: var(--muted);
  line-height: 1.5;
}

.apply-qual__num {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.apply-qual__text {
  font-size: 0.95rem;
}

.apply-qual__note {
  margin: 0;
  max-width: 38ch;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.55;
}

.apply-form-wrap {
  min-width: 0;
}

.apply-form-panel {
  border: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.42);
}

.build-request-form {
  display: grid;
  gap: 1.35rem;
  padding: clamp(1.4rem, 3vw, 2rem);
}

.form-field {
  display: grid;
  gap: 0.45rem;
}

.form-field label,
.form-fieldset legend {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.form-field input,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(5, 5, 5, 0.55);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 0.95rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.form-field textarea {
  min-height: 5.5rem;
  max-width: 100%;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--dim);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--line-hot);
  box-shadow: 0 0 0 1px rgba(240, 74, 42, 0.28);
}

.form-field__helper {
  color: var(--dim);
  font-size: 0.78rem;
  line-height: 1.45;
}

.form-field__error,
.form-fieldset .form-field__error {
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}

.form-field.is-invalid input,
.form-field.is-invalid textarea {
  border-color: var(--red);
}

.form-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}

.form-fieldset legend {
  margin: 0;
  padding: 0;
  display: block;
  width: 100%;
}

.form-fieldset.is-invalid .choice-group {
  outline: 1px solid rgba(240, 74, 42, 0.45);
  outline-offset: 4px;
}

.choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.choice-item {
  position: relative;
}

.choice-item input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
}

.choice-item label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.4);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    border-color 0.2s var(--ease),
    color 0.2s var(--ease),
    background 0.2s var(--ease);
}

.choice-item input:checked + label {
  border-color: var(--red);
  color: var(--red);
  background: rgba(240, 74, 42, 0.1);
}

.choice-item input:focus-visible + label {
  outline: 1px solid var(--red);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: no-preference) {
  .choice-item label:hover {
    border-color: rgba(240, 74, 42, 0.45);
    color: var(--ink);
  }
}

.form-form__error {
  margin: 0;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  line-height: 1.5;
}

.btn--submit {
  width: 100%;
  min-height: 52px;
  margin-top: 0.25rem;
  font-size: 0.74rem;
}

.btn__arrow {
  margin-left: 0.35rem;
}

.apply-deadline {
  padding: 1.1rem clamp(1.4rem, 3vw, 2rem) 1.4rem;
  border-top: 1px solid var(--line);
}

.apply-deadline__label {
  margin: 0 0 0.35rem;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.apply-deadline__link {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.apply-deadline__link:hover,
.apply-deadline__link:focus-visible {
  color: var(--red);
  outline: none;
}

.apply-success {
  border: 1px solid rgba(217, 168, 77, 0.32);
  background:
    linear-gradient(135deg, rgba(201, 68, 45, 0.12), transparent 40%),
    rgba(5, 5, 5, 0.55);
}

.apply-success__inner {
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.4rem, 3vw, 2rem);
}

.apply-success__eyebrow {
  display: block;
  margin-bottom: 1rem;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.apply-success__heading {
  margin: 0 0 1rem;
  color: var(--ink);
  font-family: var(--font-tech);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.apply-success__heading:focus {
  outline: none;
}

.apply-success__copy {
  margin: 0;
  max-width: 40ch;
  color: var(--muted);
  line-height: 1.6;
}

.apply-page-step {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.4rem, 3vw, 2rem);
}

.apply-page-step__label {
  margin: 0;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.apply-page-step__note {
  margin: -0.35rem 0 0.25rem;
  color: var(--dim);
  font-size: 0.88rem;
  line-height: 1.55;
}

.apply-page-step__btn {
  width: 100%;
  min-height: 52px;
  margin-top: 0.25rem;
  font-size: 0.74rem;
}

.apply-page-step .apply-deadline {
  padding: 1.1rem 0 0;
  margin-top: 0.25rem;
  border-top: 1px solid var(--line);
}

.build-survey__retention {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.55;
}

.build-survey__review {
  display: grid;
  gap: 1rem;
}

.build-survey__review-block {
  border: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.42);
  padding: 1rem 1.1rem;
}

.build-survey__review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.build-survey__review-head h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.build-survey__review-edit {
  border: 0;
  background: transparent;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0.2rem 0;
}

.build-survey__review-edit:hover,
.build-survey__review-edit:focus-visible {
  text-decoration: underline;
  outline: none;
}

.build-survey__review-list {
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.build-survey__review-row {
  display: grid;
  gap: 0.2rem;
}

.build-survey__review-row dt {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.build-survey__review-row dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  white-space: pre-wrap;
}

.apply-cta-panel {
  border: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.42);
  padding: clamp(2rem, 4vw, 3rem) clamp(1.4rem, 3vw, 2rem);
  display: grid;
  gap: 1.25rem;
}

.apply-cta__eyebrow {
  margin: 0;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.apply-cta__copy {
  margin: 0;
  max-width: 38ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.apply-cta__btn {
  width: 100%;
  min-height: 52px;
  font-size: 0.74rem;
}

.apply-cta-panel .apply-deadline {
  padding: 1.1rem 0 0;
  margin-top: 0.25rem;
  border-top: 1px solid var(--line);
}

html.is-survey-open {
  overflow: hidden;
}

html.is-survey-open body {
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
}

.build-survey {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: clamp(0.75rem, 2.5vw, 2rem);
  overscroll-behavior: contain;
}

.build-survey[hidden] {
  display: none !important;
}

.build-survey__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.78);
  backdrop-filter: blur(10px);
}

.build-survey__frame {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(94dvh, 920px);
  display: grid;
  grid-template-rows: auto auto 1fr;
  border: 1px solid rgba(232, 223, 210, 0.16);
  background: #0c0b0a;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  outline: none;
  touch-action: auto;
}

.build-survey__chrome {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.25rem 0.85rem;
  border-bottom: 1px solid rgba(232, 223, 210, 0.1);
  background: linear-gradient(135deg, rgba(240, 74, 42, 0.1), transparent 55%);
}

.build-survey__eyebrow {
  margin: 0 0 0.35rem;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.build-survey__title {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-tech);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
}

.build-survey__close {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.build-survey__close:hover,
.build-survey__close:focus-visible {
  color: var(--red);
  border-color: rgba(240, 74, 42, 0.45);
  outline: none;
}

.build-survey__progress {
  height: 2px;
  background: rgba(232, 223, 210, 0.1);
}

.build-survey__progress-fill {
  display: block;
  height: 100%;
  width: 25%;
  background: var(--red);
  transition: width 0.35s var(--ease);
}

.build-survey__form {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 0;
  height: 100%;
}

.build-survey__form.build-request-form {
  padding: 0;
  gap: 0;
}

.build-survey__body {
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 1.35rem 1.5rem;
  min-height: 0;
  touch-action: pan-y;
}

.build-survey__step {
  display: grid;
  gap: 1.25rem;
}

.build-survey__step[hidden] {
  display: none !important;
}

@media (prefers-reduced-motion: no-preference) {
  .build-survey__step.is-active {
    animation: surveyStepIn 0.28s var(--ease);
  }
}

@keyframes surveyStepIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.build-survey__note {
  margin: 0;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.55;
}

.build-survey__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.55);
}

.build-survey__back {
  min-height: 48px;
  padding: 0.65rem 1rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.build-survey__back:hover,
.build-survey__back:focus-visible {
  color: var(--ink);
  border-color: rgba(232, 223, 210, 0.35);
  outline: none;
}

.build-survey__next,
.build-survey__submit {
  margin-left: auto;
  min-height: 48px;
  min-width: min(100%, 220px);
  font-size: 0.72rem;
}

.build-survey__success {
  padding: clamp(2rem, 5vw, 3rem) clamp(1.25rem, 3vw, 2rem);
}

.build-survey__success-inner {
  display: grid;
  gap: 1rem;
}

.build-survey__done {
  width: 100%;
  min-height: 48px;
  margin-top: 0.5rem;
  font-size: 0.72rem;
}

@media (max-width: 599px) {
  .build-survey {
    padding: 0;
    place-items: stretch;
  }

  .build-survey__frame {
    width: 100%;
    max-height: 100dvh;
    border: 0;
    border-radius: 0;
  }

  .build-survey__footer {
    position: sticky;
    bottom: 0;
    z-index: 2;
  }

  .build-survey__next,
  .build-survey__submit {
    flex: 1;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .build-survey__progress-fill {
    transition: none;
  }

  .build-survey__step.is-active {
    animation: none;
  }
}

.final-title {
  width: min(var(--max), 100%);
  margin: 0 auto 3rem;
  color: var(--ink);
  font-family: var(--font-tech);
  font-size: 7rem;
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
}

.tech-marquee {
  position: relative;
  z-index: 4;
  overflow: hidden;
  border-block: 1px solid rgba(232, 223, 210, 0.12);
  background: rgba(12, 10, 9, 0.92);
  color: rgba(232, 223, 210, 0.78);
  font-family: var(--font-tech);
  font-size: 0.88rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.tech-marquee div {
  display: flex;
  width: max-content;
  padding: 1rem 0;
  animation: marquee 26s linear infinite;
}
/* Two identical groups, no flex gap: each item carries its own spacing so the
   -50% wrap point is seamless (no jump at the loop seam). */
.tech-marquee__group {
  display: flex;
  width: max-content;
}
.tech-marquee__group i,
.tech-marquee__group b {
  font-style: normal;
  padding-right: 2rem;
}
.tech-marquee b {
  color: var(--red);
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---- Award pass: full-viewport plain sections, mega type, drawn SVG ---- */
.plain-section--stats,
.plain-section--split,
.plain-section--method {
  min-height: 100dvh;
  display: grid;
  align-content: center;
}
.plain-section--split { grid-template-columns: minmax(0, 0.4fr) minmax(0, 0.6fr); }
.stat-strip strong { font-size: clamp(4.4rem, 8.5vw, 7.6rem); }
.section-title { font-size: clamp(2.8rem, 4vw, 4.1rem); }
.split-copy h2 { font-size: clamp(2.8rem, 3.8vw, 4rem); }

/* Conversion leak diagnostic — continuous spine, Yes ↓ / No → decisions.
   Default CSS state is fully visible; GSAP scrubs the reveal. */
.leak-diagnostic {
  --leak-spine: 0;
  grid-column: 2;
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-right: calc((100vw - min(var(--max), calc(100vw - 4.8rem))) / 2);
  padding: 0.2rem 0.75rem 0.4rem 0;
  overflow-x: clip;
}
.leak-traffic {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  color: rgba(232, 223, 210, 0.72);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.leak-traffic__tick {
  width: 10px;
  height: 10px;
  margin-left: -4px;
  border: 1px solid rgba(232, 223, 210, 0.55);
  transform: rotate(45deg);
}
.leak-wire {
  width: 1px;
  height: clamp(2.6rem, 5vh, 3.8rem);
  margin: 0;
  background: rgba(157, 147, 136, 0.42);
  transform-origin: top center;
}
.leak-wire--loss1 {
  background: repeating-linear-gradient(180deg, rgba(157, 147, 136, 0.4) 0 7px, transparent 7px 11px);
}
.leak-wire--loss2 {
  background: repeating-linear-gradient(180deg, rgba(157, 147, 136, 0.32) 0 5px, transparent 5px 11px);
}
.leak-wire--loss3 {
  background: repeating-linear-gradient(180deg, rgba(157, 147, 136, 0.24) 0 3px, transparent 3px 11px);
}
.leak-stage {
  position: relative;
  min-width: 0;
}
.leak-stage__body {
  position: relative;
  min-width: 0;
  padding: 1.15rem 1.25rem 1.15rem 1.75rem;
  border-left: 1px solid rgba(157, 147, 136, 0.38);
}
.leak-stage__body::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 14px;
  height: 1px;
  background: rgba(157, 147, 136, 0.45);
}
.leak-stage__label {
  display: block;
  margin-bottom: 0.85rem;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.leak-stage__question {
  margin: 0 0 0.75rem;
  font-family: var(--font-tech);
  font-size: clamp(1.28rem, 2vw, 1.72rem);
  font-weight: 700;
  line-height: 1.08;
  text-transform: uppercase;
  text-wrap: balance;
}
.leak-stage__support {
  margin: 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: clamp(0.92rem, 1.1vw, 1.02rem);
  line-height: 1.62;
}

/* Decision: No → right, then Yes ↓ continue. */
.leak-decision {
  position: relative;
  display: grid;
  grid-template-columns: 1px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 0;
  min-width: 0;
  max-width: 100%;
}
.leak-decision__node {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  z-index: 2;
  width: 5px;
  height: 5px;
  margin-left: -2px;
  margin-top: -2px;
  border: 1px solid rgba(240, 74, 42, 0.8);
  background: #0a0908;
  transform: rotate(45deg);
}
.leak-decision__no {
  grid-column: 1 / -1;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  padding-left: 0;
}
.leak-decision__branch {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 0.4rem;
  width: auto;
  min-width: clamp(5.5rem, 18vw, 12rem);
  max-width: min(18rem, 52%);
  overflow: visible;
  pointer-events: none;
}
.leak-decision__seg {
  flex: 1 1 auto;
  height: 1.35px;
  min-width: 0.75rem;
  background: var(--red);
  opacity: 0.88;
  transform-origin: left center;
}
.leak-decision--2 .leak-decision__seg { opacity: 0.76; }
.leak-decision--3 .leak-decision__seg { opacity: 0.64; }
.leak-decision__mid {
  flex: 0 0 auto;
  padding: 0 0.1rem;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}
.leak-decision__label {
  flex: 0 1 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.35rem;
  min-width: 0;
  max-width: 12rem;
  line-height: 1.25;
}
.leak-decision__label i {
  color: var(--red);
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.leak-decision__label i::after {
  content: " /";
  letter-spacing: 0.08em;
}
.leak-decision__label b {
  color: rgba(240, 74, 42, 0.92);
  font-weight: 400;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.leak-decision__yes {
  grid-column: 1 / -1;
  grid-row: 2;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: clamp(2.8rem, 5vh, 3.8rem);
  padding-top: 0.35rem;
}
.leak-decision__yes .leak-wire {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  height: 100%;
  min-height: inherit;
}
.leak-decision__yes-label {
  position: relative;
  z-index: 1;
  margin: 0.55rem 0 0 0.7rem;
  color: #9dffb8;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-shadow:
    0 0 5px rgba(93, 255, 138, 0.9),
    0 0 12px rgba(46, 220, 110, 0.7),
    0 0 22px rgba(46, 220, 110, 0.4);
}
.leak-decision--3 .leak-decision__yes {
  min-height: clamp(1.15rem, 2.2vh, 1.7rem);
}

/* Schematic terminal — page-centered neon endpoint, not a CTA. */
.plain-section--leak .leak-action {
  grid-column: 1 / -1;
  justify-self: center;
  width: auto;
  max-width: 100%;
  margin-top: calc(clamp(0.35rem, 1vw, 0.75rem) - 65px);
}
.leak-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin: 0.35rem 0 0;
  padding: 0.55rem 1.25rem 0.75rem;
  border: 0;
  background: none;
  box-shadow: none;
  pointer-events: none;
  cursor: default;
  transform-origin: center center;
  overflow: visible;
}
.leak-action__node {
  flex-shrink: 0;
  color: #5dff8a;
  font-family: var(--font-mono);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1;
  text-shadow:
    0 0 6px rgba(93, 255, 138, 0.95),
    0 0 14px rgba(46, 220, 110, 0.85),
    0 0 28px rgba(46, 220, 110, 0.55),
    0 0 48px rgba(46, 220, 110, 0.28);
}
.leak-action__label {
  color: #e8fff0;
  font-family: var(--font-tech);
  font-size: clamp(1.25rem, 2.4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-shadow:
    0 0 8px rgba(93, 255, 138, 0.9),
    0 0 18px rgba(46, 220, 110, 0.75),
    0 0 36px rgba(46, 220, 110, 0.45),
    0 0 64px rgba(46, 220, 110, 0.22);
}

@media (min-width: 1100px) {
  .leak-decision__branch {
    min-width: clamp(8rem, 22vw, 14rem);
    max-width: min(20rem, 58%);
  }
  .leak-decision__label {
    max-width: 14rem;
  }
  .leak-stage__question {
    font-size: clamp(1.42rem, 1.9vw, 1.85rem);
  }
  .leak-stage__support {
    font-size: 1.02rem;
  }
}

/* Timeline progress line that draws across as you scroll. */
.timeline { position: relative; }
.timeline::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(var(--tl-progress, 0));
  transform-origin: left;
}

/* Work scrub CTA breathing room under the mega headline / support line. */
.scrub-copy .btn { margin-top: 1.6rem; }
.scrub-copy .scrub-support + .btn { margin-top: 1.4rem; }

.glitch {
  position: relative;
}
.glitch::before,
.glitch::after {
  content: attr(data-glitch);
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
}
.glitch::before {
  color: var(--red);
  transform: translate(2px, -1px);
}
.glitch::after {
  color: var(--gold);
  transform: translate(-2px, 1px);
}
.glitch:hover::before,
.glitch:hover::after,
.glitch.is-glitching::before,
.glitch.is-glitching::after {
  opacity: 0.62;
  clip-path: inset(42% 0 38% 0);
  animation: glitch-slice 0.34s steps(2, end) infinite;
}
@keyframes glitch-slice {
  0% { clip-path: inset(12% 0 70% 0); }
  25% { clip-path: inset(72% 0 10% 0); }
  50% { clip-path: inset(38% 0 42% 0); }
  75% { clip-path: inset(8% 0 80% 0); }
  100% { clip-path: inset(60% 0 18% 0); }
}
.final-sub {
  width: min(var(--max), 100%);
  margin: -2rem auto 3rem;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.6;
}

.apply-card .btn {
  width: 100%;
  margin-top: 1.2rem;
}

@media (min-width: 1200px) {
  .hero-title { font-size: 8.6rem; }
  .mega-title { font-size: 7.6rem; }
  .section-title { font-size: 4.2rem; }
}

@media (max-width: 899px) {
  .webgl-atmosphere {
    display: none;
  }
  .apply-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .scroll-progress {
    left: max(1.2rem, env(safe-area-inset-left));
    right: max(1.2rem, env(safe-area-inset-right));
    bottom: max(0.8rem, env(safe-area-inset-bottom));
  }
  .site-nav {
    grid-template-columns: 1fr auto;
    padding:
      max(1.1rem, env(safe-area-inset-top))
      max(1.2rem, env(safe-area-inset-right))
      1.1rem
      max(1.2rem, env(safe-area-inset-left));
  }
  .site-nav__center { display: none; }
  .scrub-hud {
    top: calc(4.2rem + env(safe-area-inset-top, 0px));
    left: max(1.2rem, env(safe-area-inset-left));
    right: max(1.2rem, env(safe-area-inset-right));
    font-size: 0.58rem;
    letter-spacing: 0.18em;
  }
  .hero-copy,
  .scrub-copy {
    width: calc(100vw - 2.4rem - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px));
    padding-inline: 0.1rem;
  }
  .hero-copy {
    margin-top: 1.5rem;
  }
  .hero-sub {
    font-size: 1rem;
    line-height: 1.55;
    max-width: 36rem;
  }
  .scrub-act--work .kicker {
    font-size: clamp(1.05rem, 4.6vw, 1.35rem);
    letter-spacing: 0.1em;
  }
  .hero-title {
    font-size: clamp(2.85rem, 11vw, 3.6rem);
  }
  .mega-title,
  .final-title,
  .apply-heading,
  .section-title,
  .split-copy h2 {
    font-size: clamp(2.15rem, 7.5vw, 2.6rem);
  }
  .plain-section {
    padding:
      4.25rem max(1.2rem, env(safe-area-inset-right))
      4.25rem max(1.2rem, env(safe-area-inset-left));
  }
  .stat-strip {
    gap: 1.6rem;
  }
  .stat-strip article:nth-child(even) {
    margin-top: 0;
  }
  .stat-strip strong {
    font-size: clamp(3.4rem, 14vw, 4.8rem);
  }
  .stat-strip,
  .proof-grid,
  .method-grid,
  .apply-layout,
  .scrub-stat-row,
  .timeline,
  .plain-section--split {
    grid-template-columns: 1fr;
    overflow-x: clip;
  }
  .plain-section--split .section-meta,
  .plain-section--split .split-copy,
  .leak-diagnostic,
  .plain-section--leak .leak-action {
    grid-column: auto;
    margin-left: 0;
    margin-right: 0;
  }
  .plain-section--leak .leak-action {
    justify-self: center;
    margin-top: calc(0.65rem - 65px);
  }
  .leak-diagnostic {
    width: 100%;
    max-width: 100%;
    margin-top: 2.2rem;
    padding-right: 0;
    overflow-x: clip;
  }
  .leak-decision__no {
    gap: 0.4rem;
  }
  .leak-decision__branch {
    min-width: 3.5rem;
    max-width: min(7.5rem, 42%);
    gap: 0.28rem;
  }
  .leak-decision__mid {
    font-size: 0.5rem;
    letter-spacing: 0.14em;
  }
  .leak-decision__label {
    max-width: 9.5rem;
  }
  .leak-decision__label i {
    font-size: 0.54rem;
    letter-spacing: 0.12em;
  }
  .leak-decision__label b {
    font-size: 0.56rem;
    letter-spacing: 0.08em;
  }
  .leak-decision__yes {
    min-height: 2.5rem;
  }
  .leak-decision__yes-label {
    margin-left: 0.55rem;
    font-size: 0.52rem;
  }
  .leak-stage__body {
    padding: 1.05rem 0.25rem 1rem 1.1rem;
  }
  .leak-stage__question {
    text-wrap: pretty;
    overflow-wrap: anywhere;
    font-size: clamp(1.1rem, 4.8vw, 1.35rem);
  }
  .leak-stage__support {
    max-width: none;
    font-size: 0.88rem;
  }
  .leak-wire {
    height: 2.2rem;
  }
  .leak-action {
    max-width: 100%;
    padding: 0.65rem 0.75rem;
  }
  .leak-action__label {
    letter-spacing: 0.2em;
    font-size: clamp(1.1rem, 5.5vw, 1.45rem);
  }
  .scrub-copy--left {
    margin-left: 0;
    text-align: center;
  }
  .stack-scan {
    top: calc(5.5rem + env(safe-area-inset-top, 0px));
    right: max(1rem, env(safe-area-inset-right));
  }
  .stack-conversion {
    flex-direction: column;
    bottom: max(4.5rem, calc(3.2rem + env(safe-area-inset-bottom)));
    gap: 0;
    align-items: stretch;
    width: min(12rem, calc(100vw - 2.4rem));
  }
  .stack-conversion__sep {
    display: block;
    text-align: center;
    padding: 0.15rem 0;
    transform: none;
    font-size: 0;
  }
  .stack-conversion__sep::before {
    content: "↓";
    font-size: 0.65rem;
    color: rgba(240, 74, 42, 0.65);
  }
  .stack-stage {
    min-width: 0;
    width: 100%;
  }
  .stack-env {
    font-size: 0.9em;
  }
  .stack-env[data-env="webflow"],
  .stack-env[data-env="framer"],
  .stack-env[data-env="kajabi"],
  .stack-env[data-env="custom"] {
    transform: translate(calc(-100% + 4px), 8px);
  }
  .stack-env[data-env="webflow"] .stack-env__label,
  .stack-env[data-env="framer"] .stack-env__label,
  .stack-env[data-env="kajabi"] .stack-env__label,
  .stack-env[data-env="custom"] .stack-env__label {
    border-left: 0;
    border-right: 1px solid rgba(157, 147, 136, 0.45);
    padding: 0.2rem 0 0.2rem 0.45rem;
  }
  .stack-core {
    left: 50% !important;
    top: 38% !important;
  }
  .stack-headline .mega-title,
  .stack-headline {
    font-size: clamp(2.15rem, 7.5vw, 2.6rem);
  }
  .stack-support {
    max-width: none;
    padding: 0 0.2rem;
  }
  .stack-deploy {
    max-width: none;
    font-size: 0.52rem;
  }
  .frame-counter {
    left: max(1.2rem, env(safe-area-inset-left));
    bottom: max(2rem, calc(1.4rem + env(safe-area-inset-bottom)));
    font-size: 0.62rem;
  }
  .scrub-stat-row {
    left: max(1.2rem, env(safe-area-inset-left));
    right: max(1.2rem, env(safe-area-inset-right));
    bottom: max(2rem, calc(1.4rem + env(safe-area-inset-bottom)));
  }
  .scrub-progress {
    left: max(1.2rem, env(safe-area-inset-left));
    right: max(1.2rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
  }
  .scrub-act--hero .scrub-progress {
    left: max(1.2rem, env(safe-area-inset-left));
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin-top: 1.5rem;
  }
  .btn {
    width: 100%;
    letter-spacing: 0.12em;
  }
  .timeline {
    border-top: 0;
    gap: 0.8rem;
  }
  .timeline li {
    border-left: 1px solid var(--line-hot);
    padding: 0 0 0 1rem;
    text-align: left;
  }
  .timeline li::before {
    top: 0.35rem;
    left: -5px;
    transform: none;
  }
  .proof-feature {
    padding: 1.4rem;
  }
  .proof-feature strong {
    font-size: 2rem;
  }
  .proof-feature-slide__quote {
    font-size: clamp(1.15rem, 5.2vw, 1.55rem);
  }
  .proof-spotlight__lede {
    font-size: 0.98rem;
  }
  .method-card {
    min-height: 0;
    padding: 1.4rem 1.25rem 1.5rem;
  }
  .method-card__index {
    font-size: clamp(4.5rem, 22vw, 7rem);
  }
  .method-card h3 {
    font-size: clamp(1.45rem, 5.5vw, 1.9rem);
  }
  .method-card p {
    font-size: 0.95rem;
  }
  .method-stack {
    gap: 2.5rem;
    padding-bottom: 2rem;
  }
  .faq-item summary {
    gap: 0.85rem;
    padding: 1.25rem 0.1rem;
  }
  .faq-item__q {
    font-size: clamp(1.05rem, 4.4vw, 1.35rem);
  }
  .form-field input,
  .form-field textarea,
  .build-survey input,
  .build-survey textarea,
  .build-survey select {
    font-size: 16px;
  }
  .build-request-form {
    padding: 1.25rem 1.1rem;
  }
  .btn--primary::before {
    animation: none;
  }
}

/* Phone-narrow: reduce chrome, tighten first viewport, flatten roller. */
@media (max-width: 599px) {
  .scrub-hud,
  .frame-counter {
    display: none;
  }
  .scrub-act--hero .scrub-stage::after {
    background:
      radial-gradient(circle at 50% 42%, rgba(5, 5, 5, 0.08), rgba(5, 5, 5, 0.72) 70%),
      linear-gradient(180deg, rgba(5, 5, 5, 0.55), transparent 28%, transparent 52%, rgba(5, 5, 5, 0.9));
  }
  .hero-copy {
    margin-top: 2.4rem;
  }
  .hero-title {
    font-size: clamp(2.55rem, 13.5vw, 3.1rem);
  }
  .kicker {
    font-size: 0.64rem;
    letter-spacing: 0.18em;
  }
  .hero-sub {
    font-size: 0.95rem;
    margin-top: 1rem;
  }
  .plain-section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
  .plain-section--stats {
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
  }
  .stack-headline .mega-title,
  .stack-headline,
  .mega-title {
    font-size: clamp(1.95rem, 9vw, 2.35rem);
    line-height: 1;
  }
  .demo-lightbox__frame {
    width: 100vw;
    height: 100dvh;
    max-width: none;
    border-radius: 0;
  }
  .choice-group {
    flex-direction: column;
  }
  .choice-item label {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
  .tech-marquee div {
    animation: none;
  }
  .glitch::before,
  .glitch::after {
    display: none;
  }
  .scrub-act--method .stack-system {
    opacity: 1;
  }
  .scrub-act--method .stack-system.is-static-mode .stack-env {
    opacity: 0.48 !important;
    transform: none !important;
  }
  .scrub-act--method .stack-system.is-static-mode .stack-route {
    opacity: 0.22 !important;
  }
  .scrub-act--method .stack-system.is-static-mode .stack-core {
    opacity: 0.55 !important;
  }
  .scrub-act--method .stack-conversion,
  .scrub-act--method .stack-stage,
  .scrub-act--method .stack-conversion__sep {
    opacity: 1 !important;
    transform: none !important;
  }
  .scrub-act--method [data-beat] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---- Method: sticky headline left, stacking module cards right ---- */
.plain-section--method { display: block; }
.method-split {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.method-sticky {
  position: sticky;
  top: 14vh;
}
.method-sticky .section-meta { width: auto; margin: 0 0 1.4rem; }
.method-sticky .section-title { width: auto; margin: 0 0 2.4rem; }
.method-title__line { display: block; }
.method-title__line--accent { color: var(--red); }
/* Vertical build timeline under the sticky headline, line draws downward. */
.timeline--vert {
  display: block;
  width: auto;
  margin: 0;
  border-top: 0;
  border-left: 1px solid var(--line-hot);
  padding-left: 1.4rem;
}
.timeline--vert::after {
  top: 0;
  right: auto;
  bottom: 0;
  left: -1px;
  width: 2px;
  height: auto;
  transform: scaleY(var(--tl-progress, 0));
  transform-origin: top;
}
.timeline--vert li {
  padding: 0 0 1.15rem;
  text-align: left;
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
}
.timeline--vert li::before {
  top: 0.35em;
  left: calc(-1.4rem - 4.5px);
  transform: none;
}
.timeline--vert li:last-child { padding-bottom: 0; }
.timeline--vert span { margin-top: 0; }

.method-stack {
  display: flex;
  flex-direction: column;
  gap: 10vh;
  padding-bottom: 6vh;
}
.method-card {
  position: sticky;
  top: 16vh;
  min-height: 46vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: clamp(1.6rem, 3vw, 2.6rem);
  border: 1px solid rgba(217, 168, 77, 0.34);
  background:
    linear-gradient(150deg, rgba(201, 68, 45, 0.14), transparent 42%),
    linear-gradient(rgba(240, 74, 42, 0.03) 1px, transparent 1px) 0 0 / 64px 64px,
    #0b0908;
  box-shadow: 0 -18px 50px rgba(0, 0, 0, 0.55);
  transform-origin: center top;
}
.method-card:nth-child(2) { top: calc(16vh + 14px); }
.method-card:nth-child(3) { top: calc(16vh + 28px); }
.method-card:nth-child(4) { top: calc(16vh + 42px); }
.method-card:nth-child(5) { top: calc(16vh + 56px); }
.method-card:nth-child(6) { top: calc(16vh + 70px); }
.method-card__sys {
  position: absolute;
  top: 1.3rem;
  left: 1.6rem;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.method-card__index {
  position: absolute;
  top: -0.18em;
  right: 0.4rem;
  font-style: normal;
  font-family: var(--font-tech);
  font-weight: 900;
  font-size: clamp(7rem, 13vw, 12rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(217, 168, 77, 0.28);
  pointer-events: none;
}
.method-card h3 {
  margin: 0 0 0.6rem;
  font-family: var(--font-tech);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  text-transform: uppercase;
}
.method-card p {
  margin: 0;
  max-width: 46ch;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

/* ---- FAQ: editorial split with oversized accordion rows ---- */
.plain-section--faq { min-height: 100dvh; display: grid; align-content: center; }
.faq-frame {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.faq-side { position: sticky; top: 16vh; }
.faq-side .section-meta { width: auto; margin: 0 0 1.4rem; }
.faq-side .section-title { width: auto; margin: 0 0 1.4rem; }
.faq-side__note { color: var(--muted); line-height: 1.6; max-width: 34ch; }
.faq-item {
  border-top: 1px solid var(--line);
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.4rem;
  padding: 1.6rem 0.2rem;
  cursor: pointer;
  transition: padding-left 0.35s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { padding-left: 0.8rem; }
.faq-item__num {
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
}
.faq-item__q {
  font-family: var(--font-tech);
  font-size: clamp(1.15rem, 2vw, 1.7rem);
  text-transform: uppercase;
  line-height: 1.15;
}
.faq-item__mark {
  position: relative;
  width: 16px;
  height: 16px;
}
.faq-item__mark::before,
.faq-item__mark::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--gold);
  transition: transform 0.35s var(--ease);
}
.faq-item__mark::before { width: 16px; height: 1.5px; }
.faq-item__mark::after { width: 1.5px; height: 16px; }
.faq-item[open] .faq-item__mark::after { transform: rotate(90deg); }
.faq-item__a { overflow: hidden; }
.faq-item__a p {
  margin: 0;
  padding: 0 0.2rem 1.7rem;
  max-width: 62ch;
  color: var(--muted);
  line-height: 1.7;
}

/* ---- Footer ---- */
.site-footer {
  position: relative;
  z-index: 3;
  border-top: 1px solid rgba(232, 223, 210, 0.12);
  background: rgba(8, 7, 6, 0.96);
  padding: 3.4rem 2.4rem 2.4rem;
}
.site-footer__inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: start;
}
.site-footer__logo {
  font-family: var(--font-tech);
  font-size: 1.2rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.site-footer__brand p {
  margin: 0.7rem 0 0;
  max-width: 40ch;
  color: var(--muted);
  font-size: 0.92rem;
}
.site-footer__links {
  display: flex;
  gap: 1.8rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.site-footer__links a { color: var(--muted); transition: color 0.25s; }
.site-footer__links a:hover { color: var(--gold); }
.site-footer__fine {
  grid-column: 1 / -1;
  margin: 2.2rem 0 0;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(232, 223, 210, 0.08);
  color: rgba(232, 223, 210, 0.4);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

/* ---- Legal page ---- */
.legal-body { background: var(--bg); }
.legal-main {
  width: min(820px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 9rem 0 5rem;
}
.legal-section { margin-bottom: 5rem; }
.legal-section .section-meta { width: auto; margin: 0 0 1rem; }
.legal-section h1 {
  font-family: var(--font-tech);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  text-transform: uppercase;
  margin: 0 0 0.4rem;
}
.legal-updated {
  color: rgba(232, 223, 210, 0.4);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 2.4rem;
}
.legal-section h2 {
  font-family: var(--font-tech);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 2.2rem 0 0.7rem;
}
.legal-section p { color: var(--muted); line-height: 1.75; margin: 0 0 1rem; }
.legal-back { padding-bottom: 3rem; }
.legal-back a {
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (max-width: 899px) {
  .method-split, .faq-frame { grid-template-columns: 1fr; }
  .method-sticky, .faq-side { position: static; }
  .method-card { min-height: 0; position: relative; top: auto; }
  .method-card:nth-child(n) { top: auto; }
  .site-footer__inner { grid-template-columns: 1fr; gap: 1.75rem; }
  .site-footer {
    padding-bottom: max(2.5rem, env(safe-area-inset-bottom));
  }
}

/* ---- Round 2 polish ---- */
/* Method card schematic: faint module glyph so cards never feel empty. */
.method-card__svg {
  position: absolute;
  top: 50%;
  left: clamp(1.2rem, 3vw, 2.4rem);
  width: clamp(110px, 12vw, 170px);
  height: auto;
  transform: translateY(-70%);
  stroke: rgba(242, 168, 74, 0.34);
  stroke-width: 1.2;
  fill: none;
  pointer-events: none;
}

/* Stat strip: editorial data columns instead of four names sitting in a row.
   Left rules, mono indices, staggered baselines, generous spread. */
.stat-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 5rem);
  counter-reset: stat;
}
.stat-strip article {
  border-top: 0;
  border-left: 1px solid var(--line-hot);
  padding: 0.4rem 0 0.4rem clamp(1.1rem, 2vw, 1.8rem);
  counter-increment: stat;
}
.stat-strip article:nth-child(even) { margin-top: clamp(2.5rem, 6vh, 5rem); }
.stat-strip article::before {
  content: "ST.0" counter(stat);
  display: block;
  margin-bottom: 1.1rem;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
}
.stat-strip strong { font-size: clamp(4.6rem, 8vw, 8rem); }
.stat-strip span {
  margin-top: 1rem;
  letter-spacing: 0.18em;
}
/* Method headline sits in the narrower sticky column; cap it lower so no
   Orbitron word ever exceeds the line mask. */
.method-sticky .section-title { font-size: clamp(2.3rem, 2.9vw, 3.3rem); }

/* ---- 005 Studio Bench: centered header stack ---- */
.plain-section--gallery .section-meta,
.plain-section--gallery .section-title,
.plain-section--gallery .gallery-note {
  width: min(980px, 100%);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.gallery-note {
  max-width: 42ch;
  margin: 1.4rem auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.6;
}
/* Studio Bench: horizontal roller — three live previews, silky snap. */
.work-roller {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(0.35rem, 1.2vw, 0.85rem);
  margin-top: clamp(2.5rem, 5vh, 4rem);
}
.work-roller__viewport {
  position: relative;
  overflow: hidden;
  min-width: 0;
  --roller-gap: clamp(0.4rem, 1vw, 0.7rem);
  perspective: 1200px;
  perspective-origin: 50% 50%;
  touch-action: pan-y pinch-zoom;
}
.work-roller__viewport.is-dragging {
  cursor: grabbing;
}
.work-roller__track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--roller-gap);
  width: 100%;
  will-change: transform;
  transform-style: preserve-3d;
  cursor: grab;
  padding-block: 0.25rem;
}
.work-roller__track:active {
  cursor: grabbing;
}
.work-roller__nav {
  position: relative;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: clamp(2.85rem, 5.2vw, 3.65rem);
  height: clamp(2.85rem, 5.2vw, 3.65rem);
  margin: 0;
  padding: 0;
  border: 1px solid rgba(232, 223, 210, 0.14);
  border-radius: 0;
  background:
    linear-gradient(145deg, rgba(201, 68, 45, 0.14), transparent 46%),
    linear-gradient(325deg, rgba(242, 168, 74, 0.1), transparent 42%),
    rgba(8, 14, 12, 0.9);
  color: rgba(232, 223, 210, 0.92);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 10px 28px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  isolation: isolate;
  transition:
    border-color 0.25s var(--ease),
    background 0.25s var(--ease),
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    color 0.25s var(--ease);
}
.work-roller__nav-corners {
  position: absolute;
  inset: 0.28rem;
  pointer-events: none;
}
.work-roller__nav-corners i {
  position: absolute;
  width: 0.55rem;
  height: 0.55rem;
  border: 1px solid rgba(232, 223, 210, 0.22);
  transition: border-color 0.25s var(--ease);
}
.work-roller__nav-corners i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.work-roller__nav-corners i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.work-roller__nav-corners i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.work-roller__nav-corners i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.work-roller__nav-glyph {
  display: grid;
  place-items: center;
  width: 1.15rem;
  height: 1.15rem;
}
.work-roller__nav-glyph svg {
  display: block;
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.work-roller__nav--prev .work-roller__nav-glyph svg {
  transform: translateX(-0.04rem);
}
.work-roller__nav--next .work-roller__nav-glyph svg {
  transform: translateX(0.04rem);
}
.work-roller__nav:hover:not(:disabled) {
  border-color: rgba(242, 168, 74, 0.5);
  color: #fff4ec;
  background:
    linear-gradient(145deg, rgba(201, 68, 45, 0.22), transparent 48%),
    linear-gradient(325deg, rgba(242, 168, 74, 0.16), transparent 44%),
    rgba(12, 18, 16, 0.96);
  box-shadow:
    0 0 0 1px rgba(242, 168, 74, 0.12) inset,
    0 0 24px rgba(201, 68, 45, 0.18),
    0 12px 30px rgba(0, 0, 0, 0.34);
  transform: translateY(-2px);
}
.work-roller__nav:hover:not(:disabled) .work-roller__nav-corners i {
  border-color: rgba(242, 168, 74, 0.62);
}
.work-roller__nav:focus-visible {
  outline: 2px solid rgba(242, 168, 74, 0.75);
  outline-offset: 3px;
}
.work-roller__viewport.is-dragging .work-card,
.work-roller__track:active .work-card {
  transition: none;
}
.work-roller__nav:disabled {
  opacity: 1;
}
.work-card {
  content-visibility: visible;
  contain-intrinsic-size: auto 300px;
  flex: 0 0 25%;
  max-width: 25%;
  margin: 0;
  width: auto;
  min-width: 0;
  transform-origin: center center;
  transform: perspective(1200px) rotateY(0deg) scale(0.9);
  transition:
    transform 0.48s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.48s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.48s cubic-bezier(0.22, 1, 0.36, 1);
  backface-visibility: hidden;
}
.work-card.is-center {
  flex: 0 0 46%;
  max-width: 46%;
  transform: perspective(1200px) rotateY(0deg) scale(1);
  opacity: 1;
  filter: brightness(1);
  z-index: 5;
}
.work-card.is-adjacent.is-left {
  transform: perspective(1200px) rotateY(11deg) scale(0.9);
  opacity: 0.9;
  filter: brightness(0.9);
  z-index: 2;
}
.work-card.is-adjacent.is-right {
  transform: perspective(1200px) rotateY(-11deg) scale(0.9);
  opacity: 0.9;
  filter: brightness(0.9);
  z-index: 2;
}
.work-card.is-off,
.work-card[hidden] {
  display: none !important;
}
@media (max-width: 900px) {
  .work-card {
    flex: 0 0 27%;
    max-width: 27%;
    transform: perspective(1000px) rotateY(0deg) scale(0.88);
  }
  .work-card.is-center {
    flex: 0 0 42%;
    max-width: 42%;
  }
  .work-card.is-adjacent.is-left {
    transform: perspective(1000px) rotateY(9deg) scale(0.88);
  }
  .work-card.is-adjacent.is-right {
    transform: perspective(1000px) rotateY(-9deg) scale(0.88);
  }
  .work-roller {
    gap: 0.25rem;
  }
  .work-roller__nav {
    width: 2.65rem;
    height: 2.65rem;
  }
}
@media (max-width: 599px) {
  .work-roller {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .work-roller__nav {
    position: absolute;
    top: 42%;
    z-index: 6;
    width: 2.4rem;
    height: 2.4rem;
    transform: translateY(-50%);
  }
  .work-roller__nav--prev { left: 0.15rem; }
  .work-roller__nav--next { right: 0.15rem; }
  .work-card,
  .work-card.is-adjacent.is-left,
  .work-card.is-adjacent.is-right {
    flex: 0 0 78%;
    max-width: 78%;
    transform: none;
    opacity: 0.55;
    filter: brightness(0.85);
  }
  .work-card.is-center {
    flex: 0 0 78%;
    max-width: 78%;
    transform: none;
    opacity: 1;
    filter: none;
  }
}
.work-card.is-off .work-card__screen {
  pointer-events: none;
}
.work-card__screen {
  position: relative;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.work-card:hover .work-card__screen {
  border-color: rgba(242, 168, 74, 0.55);
}
.work-card.is-center:hover .work-card__screen {
  border-color: rgba(242, 168, 74, 0.72);
  box-shadow:
    0 0 0 1px rgba(242, 168, 74, 0.38),
    0 0 28px rgba(242, 168, 74, 0.24),
    0 14px 42px rgba(201, 68, 45, 0.14);
}
.ws-chrome {
  display: none !important;
}
.work-card__live {
  display: none !important;
}
.ws-chrome-hidden {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: none;
  gap: 6px;
  padding: 10px 14px;
}
.ws-chrome i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.35;
}
.ws-scene {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  overflow: hidden;
}
.ws-word {
  position: relative;
  z-index: 2;
  font-family: var(--font-tech);
  font-size: clamp(1.9rem, 3vw, 3.1rem);
  letter-spacing: 0.14em;
}
.ws-sub {
  position: relative;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  opacity: 0.62;
}
.work-card figcaption {
  display: grid;
  gap: 0.35rem;
  padding: 1.1rem 0.2rem 0;
}
.work-card figcaption strong {
  font-family: var(--font-tech);
  font-size: 1.02rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.work-card figcaption span {
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.work-card figcaption em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.95rem;
}

/* Scene 01 Aurum: black and gold horology, rotating highlight ring, shine sweep. */
.ws--aurum { background: radial-gradient(circle at 50% 30%, #171008, #060402 70%); color: #e8c688; }
.ws--aurum .ws-word { font-family: var(--font-cinzel); letter-spacing: 0.3em; color: #ecd39d; }
.ws--aurum .ws-ring {
  position: absolute;
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(232, 198, 136, 0.22);
  border-top-color: rgba(236, 211, 157, 0.85);
  animation: ws-spin 7s linear infinite;
}
.ws--aurum .ws-sweep {
  position: absolute;
  top: -20%;
  left: -30%;
  width: 18%;
  height: 140%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(236, 211, 157, 0.12), transparent);
  animation: ws-sweep 5.5s var(--ease) infinite;
}
@keyframes ws-spin { to { transform: rotate(360deg); } }
@keyframes ws-sweep { 60%, 100% { left: 115%; } }

/* Scene 02 Vela: light clinical calm, drifting soft orb, breathing skeleton lines. */
.ws--vela { background: linear-gradient(160deg, #eef4f0, #d9eae1); color: #1e2c26; }
.ws--vela .ws-word { font-family: var(--font-ui); font-weight: 500; letter-spacing: 0.04em; }
.ws--vela .ws-orb {
  position: absolute;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(94, 178, 148, 0.4), transparent 70%);
  filter: blur(6px);
  animation: ws-drift 9s ease-in-out infinite alternate;
}
.ws--vela .ws-bar {
  position: relative;
  z-index: 2;
  height: 4px;
  border-radius: 2px;
  background: rgba(30, 44, 38, 0.2);
  animation: ws-breathe 4s ease-in-out infinite alternate;
}
.ws--vela .ws-bar--a { width: 34%; }
.ws--vela .ws-bar--b { width: 22%; animation-delay: 1.2s; }
@keyframes ws-drift { from { transform: translate(-24%, -12%) scale(1); } to { transform: translate(22%, 14%) scale(1.25); } }
@keyframes ws-breathe { from { opacity: 0.45; } to { opacity: 1; } }

/* Scene 03 Form: paper editorial, giant outline word drifting past, blueprint grid. */
.ws--form { background: #efece4; color: #23211c; }
.ws--form .ws-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(35, 33, 28, 0.07) 1px, transparent 1px) 0 0 / 100% 25%,
    linear-gradient(90deg, rgba(35, 33, 28, 0.07) 1px, transparent 1px) 0 0 / 25% 100%;
}
.ws--form .ws-word--drift {
  white-space: nowrap;
  font-size: clamp(3.4rem, 5.6vw, 5.6rem);
  color: transparent;
  -webkit-text-stroke: 1px rgba(35, 33, 28, 0.8);
  animation: ws-slide 11s linear infinite alternate;
}
@keyframes ws-slide { from { transform: translateX(14%); } to { transform: translateX(-14%); } }

/* Scene 04 Pulse: navy analytics, equalizer columns cycling. */
.ws--pulse { background: linear-gradient(180deg, #0a0f1f, #060913); color: #dbe3ff; }
.ws--pulse .ws-cols {
  position: absolute;
  bottom: 0;
  left: 12%;
  right: 12%;
  height: 34%;
  display: flex;
  align-items: flex-end;
  gap: 8%;
}
.ws--pulse .ws-cols i {
  flex: 1;
  height: 100%;
  transform-origin: bottom;
  background: linear-gradient(180deg, rgba(112, 140, 250, 0.9), rgba(112, 140, 250, 0.1));
  animation: ws-eq 2.6s ease-in-out infinite alternate;
}
.ws--pulse .ws-cols i:nth-child(2) { animation-delay: 0.3s; }
.ws--pulse .ws-cols i:nth-child(3) { animation-delay: 0.7s; }
.ws--pulse .ws-cols i:nth-child(4) { animation-delay: 0.2s; }
.ws--pulse .ws-cols i:nth-child(5) { animation-delay: 0.9s; }
.ws--pulse .ws-cols i:nth-child(6) { animation-delay: 0.5s; }
@keyframes ws-eq { from { transform: scaleY(0.2); } to { transform: scaleY(1); } }

/* Scene 05 Ember: chef's table, pulsing coal glow under an italic serif mark. */
.ws--ember { background: #130806; color: #f2c9a4; }
.ws--ember .ws-word { font-family: var(--font-cinzel); font-style: italic; letter-spacing: 0.1em; color: #f6d2ac; }
.ws--ember .ws-glow {
  position: absolute;
  bottom: -34%;
  width: 90%;
  aspect-ratio: 2 / 1;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 100%, rgba(240, 110, 42, 0.55), transparent 68%);
  filter: blur(10px);
  animation: ws-coal 3.4s ease-in-out infinite alternate;
}
@keyframes ws-coal { from { opacity: 0.55; transform: scale(0.94); } to { opacity: 1; transform: scale(1.06); } }

/* Scene 06 Orbit: violet mastermind, satellites circling a halo. */
.ws--orbit { background: radial-gradient(circle at 50% 45%, #171130, #0a0716 72%); color: #d9d2f4; }
.ws--orbit .ws-halo {
  position: absolute;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(167, 139, 250, 0.3);
}
.ws--orbit .ws-sat {
  position: absolute;
  width: 62%;
  aspect-ratio: 1;
  animation: ws-spin 9s linear infinite;
}
.ws--orbit .ws-sat::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a78bfa;
  box-shadow: 0 0 12px rgba(167, 139, 250, 0.9);
}
.ws--orbit .ws-sat--b { animation-duration: 15s; animation-direction: reverse; opacity: 0.7; }

/* Scene 07 Verde: the clickable live beverage demo, real can floating in its world. */
.work-card__link {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.work-card__live {
  display: none !important;
  position: absolute;
  top: 10px;
  right: 14px;
  z-index: 3;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #fff;
}
.work-card__live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px rgba(240, 74, 42, 0.9);
  animation: ws-live 1.6s ease-in-out infinite;
}
@keyframes ws-live { 50% { opacity: 0.25; } }
/* Studio Bench previews: three live H.264 loops only. */
.ws--embed { background: #06110e; overflow: hidden; }
.ws-embed-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
}
.ws-embed-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  display: block;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.ws-embed-preview.is-playing {
  opacity: 1;
}
.work-card__screen:has(.ws-embed-preview.is-playing) .ws-embed-poster {
  opacity: 0;
  visibility: hidden;
}
html.is-work-focus .ws-embed-preview {
  transform: translateZ(0);
  backface-visibility: hidden;
}
/* Gallery focus: freeze continuous page chrome so preview videos stay silky. */
html.is-work-focus .webgl-atmosphere {
  opacity: 0 !important;
  visibility: hidden !important;
}
html.is-work-focus .tech-marquee__group {
  animation-play-state: paused !important;
}

/* Studio Bench demo lightbox: in-page iframe preview, no new tab. */
.demo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(0.75rem, 2vw, 1.5rem);
}
.demo-lightbox[hidden] {
  display: none !important;
}
.demo-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.82);
  backdrop-filter: blur(10px);
}
.demo-lightbox__frame {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(80vw, 1320px);
  height: min(80vh, 880px);
  border: 1px solid rgba(232, 223, 210, 0.16);
  border-radius: 16px;
  overflow: hidden;
  background: #0a1210;
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  outline: none;
}
.demo-lightbox__chrome {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem 0.85rem 1.1rem;
  border-bottom: 1px solid rgba(232, 223, 210, 0.1);
  background: linear-gradient(180deg, rgba(232, 223, 210, 0.06), rgba(232, 223, 210, 0.02));
}
.demo-lightbox__dots {
  display: inline-flex;
  gap: 0.38rem;
}
.demo-lightbox__dots i {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: rgba(232, 223, 210, 0.28);
}
.demo-lightbox__dots i:first-child { background: #f04a2a; }
.demo-lightbox__dots i:nth-child(2) { background: rgba(232, 223, 210, 0.45); }
.demo-lightbox__dots i:nth-child(3) { background: rgba(232, 223, 210, 0.22); }
.demo-lightbox__title {
  margin: 0;
  font-family: var(--font-tech);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(232, 223, 210, 0.78);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.demo-lightbox__close {
  border: 1px solid rgba(232, 223, 210, 0.18);
  border-radius: 999px;
  padding: 0.42rem 0.85rem;
  background: rgba(5, 5, 5, 0.35);
  color: rgba(232, 223, 210, 0.88);
  font-family: var(--font-tech);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.demo-lightbox__close:hover {
  border-color: rgba(240, 74, 42, 0.55);
  color: #fff;
}
.demo-lightbox__viewport {
  flex: 1;
  min-height: 0;
  background: #061018;
  position: relative;
}
.demo-lightbox__loader {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  background: #050505;
  color: #e8dfd2;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.55s;
}
.demo-lightbox__loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.demo-lightbox__loader-panel {
  width: min(20rem, calc(100% - 3rem));
  text-align: left;
}
.demo-lightbox__loader-brand {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #e8dfd2;
}
.demo-lightbox__loader-brand span {
  color: #f2a84a;
}
.demo-lightbox__loader-track {
  height: 1px;
  background: rgba(232, 223, 210, 0.16);
  overflow: hidden;
}
.demo-lightbox__loader-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #c9442d, #f2a84a);
  box-shadow: 0 0 16px rgba(201, 68, 45, 0.45);
  transition: width 0.12s linear;
}
.demo-lightbox__loader-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.875rem;
  font-size: 0.62rem;
  color: rgba(232, 223, 210, 0.55);
}
.demo-lightbox__loader-pct {
  color: #e8dfd2;
}
.demo-lightbox__iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #061018;
  position: relative;
  z-index: 1;
}
.demo-lightbox__iframe.is-loading {
  opacity: 0;
  pointer-events: none;
}
html.is-demo-open {
  overflow: hidden;
}
html.is-demo-open body {
  overflow: hidden;
  overscroll-behavior: none;
}
html.is-demo-open .webgl-atmosphere,
html.is-demo-open .tech-marquee__group {
  animation-play-state: paused !important;
}
@media (max-width: 720px) {
  .demo-lightbox__frame {
    width: min(94vw, 720px);
    height: min(86vh, 720px);
    border-radius: 12px;
  }
}

.ws-embed-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 400%;
  height: 400%;
  border: 0;
  transform: scale(0.25);
  transform-origin: top left;
  pointer-events: none;
}

/* Scene 08 TOYBOMB: previews the demo cycling the four figures while the
   world recolors to match each one. */
.ws--toybomb { color: #fff; overflow: hidden; background-color: #f4845f; animation: ws-toy-bg 10s ease-in-out infinite; }
.ws--toybomb .ws-ghost {
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  font-family: var(--font-tech);
  font-size: clamp(3.4rem, 7vw, 6rem);
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  pointer-events: none;
}
.ws--toybomb .ws-fig {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 2;
  height: 96%;
  width: auto;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.4));
  opacity: 0;
  animation: ws-toy-fade 10s ease-in-out infinite;
}
.ws--toybomb .ws-fig--1 { animation-delay: 0s; }
.ws--toybomb .ws-fig--2 { animation-delay: -2.5s; }
.ws--toybomb .ws-fig--3 { animation-delay: -5s; }
.ws--toybomb .ws-fig--4 { animation-delay: -7.5s; }
.ws--toybomb .ws-sub {
  position: absolute;
  bottom: 7%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}
@keyframes ws-toy-bg {
  0%, 18% { background-color: #f4845f; }
  25%, 43% { background-color: #6bbf7a; }
  50%, 68% { background-color: #e882b4; }
  75%, 93% { background-color: #6eb5ff; }
  100% { background-color: #f4845f; }
}
@keyframes ws-toy-fade { 0% { opacity: 0; } 3% { opacity: 1; } 22% { opacity: 1; } 25% { opacity: 0; } 100% { opacity: 0; } }

/* Legacy scenic card skin removed when Elowen was replaced by SupaBot. */
.ws-sub--dark { color: rgba(20, 35, 26, 0.7); }

/* ---- 004 Proof: rotating spotlight + supporting strip (centered like 005) ---- */
.plain-section--proof {
  min-height: auto;
  align-content: stretch;
  padding-top: clamp(5rem, 9vh, 8rem);
  padding-bottom: clamp(5rem, 9vh, 8rem);
}
.proof-spotlight {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  gap: clamp(1.75rem, 3vw, 2.5rem);
  justify-items: center;
  text-align: center;
}
.proof-spotlight__head {
  width: min(980px, 100%);
  display: grid;
  justify-items: center;
}
.proof-spotlight__head .section-meta {
  width: auto;
  margin: 0 0 1.1rem;
}
.proof-spotlight__head .section-title {
  width: min(980px, 100%);
  margin: 0 0 1.25rem;
  /* Same type scale as 005 Built On The Bench via global .section-title */
}
.proof-spotlight__line {
  display: block;
}
.proof-spotlight__line--accent {
  color: var(--red);
}
.proof-spotlight__lede {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.6;
  max-width: 48ch;
}
.proof-spotlight__feature {
  position: relative;
  width: 100%;
  min-height: 13.5rem;
  margin: clamp(2.75rem, 5.5vh, 4rem) 0 0;
}
.proof-feature-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
  pointer-events: none;
  text-align: center;
}
.proof-feature-slide.is-active {
  position: relative;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.proof-feature-slide[hidden] {
  display: block !important;
}
.proof-feature-slide__quote {
  margin: 0 0 1.35rem;
  max-width: none;
  color: var(--ink);
  font-size: clamp(1.35rem, 2.5vw, 2.05rem);
  line-height: 1.35;
  font-weight: 500;
  text-align: center;
}
.proof-feature-slide__quote b {
  color: var(--red);
  font-weight: 600;
}
.proof-feature-slide__who {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
}
.proof-feature-slide__who em {
  color: var(--muted);
  font-style: normal;
  font-weight: 400;
  font-size: 0.78rem;
}
.proof-spotlight__dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
}
.proof-spotlight__dots button {
  width: 1.75rem;
  height: 3px;
  border: 0;
  padding: 0;
  background: rgba(230, 222, 210, 0.22);
  cursor: pointer;
  transition: background 0.25s ease, width 0.25s ease;
}
.proof-spotlight__dots button.is-active {
  width: 2.4rem;
  background: var(--red);
}
.proof-spotlight__strip {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.2vw, 1.85rem);
  padding-top: clamp(1.6rem, 2.8vw, 2.25rem);
  border-top: 1px solid var(--line);
  text-align: center;
  align-items: start;
}
.proof-strip-item {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
  transition: opacity 0.35s ease;
}
.proof-strip-item.is-active {
  opacity: 0.28;
}
.proof-strip-item__quote {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.84rem, 0.95vw, 0.92rem);
  line-height: 1.58;
}
.proof-strip-item__quote b {
  color: var(--ink);
  font-weight: 600;
}
.proof-strip-item__who {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
}
.proof-strip-item__who span {
  color: var(--dim);
  font-weight: 400;
  font-size: 0.74rem;
}
.proof-strip-item[hidden] {
  display: none !important;
}
@media (max-width: 780px) {
  .proof-spotlight__strip {
    grid-template-columns: 1fr;
  }
  .proof-spotlight__feature {
    min-height: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .proof-feature-slide {
    transition: none !important;
  }
  .work-rail__track, .ws-scene * { animation: none !important; }
}
