:root {
  --ink: #050505;
  --muted: #515151;
  --paper: #f8f6f2;
  --surface: #ffffff;
  --panel: #f0eee9;
  --line: rgba(0, 0, 0, 0.12);
  --green: #0f4d3f;
  --green-dark: #050505;
  --blue: #315f79;
  --gold: #9f762e;
  --red: #8d3f34;
  --shadow: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    repeating-linear-gradient(90deg, transparent 0 8.2%, rgba(0, 0, 0, 0.055) 8.25%, transparent 8.35%),
    var(--paper);
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(14px, 2.4vw, 28px);
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
  transition: background 220ms ease, border-color 220ms ease, padding 220ms ease;
}

.site-header.is-scrolled {
  padding-top: 10px;
  padding-bottom: 10px;
  background: rgba(248, 246, 242, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  text-transform: uppercase;
}

.brand-mark {
  display: none;
  width: 34px;
  height: 34px;
  place-items: center;
  color: white;
  background: var(--green);
  border-radius: 7px;
  font-size: 0.82rem;
  letter-spacing: 0;
  box-shadow: inset 0 -10px 18px rgba(0, 0, 0, 0.16);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 28px);
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.site-nav a {
  padding: 0;
  border-radius: 0;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a.active {
  color: white;
  background: var(--ink);
  box-shadow: 0 0 0 3px var(--ink);
}

.site-nav .quantify-link {
  position: relative;
  overflow: hidden;
  padding: 8px 11px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  box-shadow: none;
  transition: color 180ms ease, transform 180ms ease;
}

.site-nav .quantify-link::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(105deg, transparent 28%, rgba(255, 255, 255, 0.8) 48%, transparent 67%);
  transform: translateX(-135%);
  animation: quantify-shine 4s ease-in-out infinite;
}

.site-nav .quantify-link span {
  position: relative;
  display: inline-block;
  margin-left: 3px;
  transition: transform 180ms ease;
}

.site-nav .quantify-link:hover,
.site-nav .quantify-link.active {
  color: var(--ink);
  background: #c7ff3d;
  box-shadow: 0 0 0 3px #c7ff3d;
  transform: translateY(-1px);
}

.site-nav .quantify-link:hover span {
  transform: translate(2px, -2px);
}

@keyframes quantify-shine {
  0%, 60% { transform: translateX(-135%); }
  82%, 100% { transform: translateX(135%); }
}

.quantify-page {
  --ink: #f5f7ed;
  --muted: #a7ac9e;
  --paper: #080a09;
  --surface: #111511;
  --line: rgba(240, 247, 224, 0.16);
  min-height: 100vh;
  color: var(--ink);
  background: radial-gradient(circle at 80% 12%, rgba(147, 210, 38, 0.17), transparent 23%), #080a09;
}

.quantify-page .site-header { background: rgba(8, 10, 9, 0.72); backdrop-filter: blur(14px); }
.quantify-page .site-header.is-scrolled { border-bottom-color: var(--line); }
.quantify-page .site-nav a:hover, .quantify-page .site-nav a.active { background: transparent; color: #c7ff3d; box-shadow: none; }
.quantify-page .site-nav .quantify-link.active { color: #080a09; background: #c7ff3d; box-shadow: 0 0 0 3px #c7ff3d; }

.quantify-main { padding: 108px clamp(18px, 4vw, 64px) 48px; }
.quantify-hero { position: relative; min-height: 68vh; display: grid; align-content: center; border-bottom: 1px solid var(--line); }
.quantify-kicker, .quantify-index { margin: 0; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.quantify-kicker { color: #c7ff3d; }.quantify-kicker span { display: inline-block; width: 8px; height: 8px; margin-right: 7px; background: #c7ff3d; border-radius: 50%; box-shadow: 0 0 16px #c7ff3d; }
.quantify-index { position: absolute; top: 0; right: 0; color: var(--muted); }
.quantify-hero h1 { margin: clamp(40px, 10vh, 110px) 0 20px; max-width: 1000px; font-size: clamp(4.4rem, 12vw, 12rem); line-height: 0.78; letter-spacing: -0.075em; }
.quantify-hero h1 em { color: #c7ff3d; font-style: normal; }
.quantify-intro { max-width: 490px; margin: 0; color: var(--muted); font-size: clamp(1rem, 1.55vw, 1.22rem); font-weight: 600; line-height: 1.5; }
.quantify-cta { display: inline-flex; justify-content: space-between; width: min(100%, 310px); margin-top: 34px; padding: 14px 16px; color: #080a09; background: #c7ff3d; font-size: 0.78rem; font-weight: 900; text-decoration: none; text-transform: uppercase; transition: transform 180ms ease, background 180ms ease; }.quantify-cta:hover { transform: translateX(7px); background: #e4ff9c; }
.quantify-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }.quantify-grid article { min-height: 300px; padding: 28px; border-right: 1px solid var(--line); }.quantify-grid article:last-child { border-right: 0; }.quantify-grid span { color: #c7ff3d; font-size: 0.72rem; font-weight: 900; }.quantify-grid h2 { margin: 78px 0 10px; font-size: clamp(2rem, 4vw, 4.2rem); letter-spacing: -0.06em; }.quantify-grid p { max-width: 260px; margin: 0; color: var(--muted); font-weight: 600; line-height: 1.45; }
.quantify-signal { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(32px, 7vw, 90px) 0 0; }.quantify-signal p { margin: 0 0 8px; color: #c7ff3d; font-size: 0.72rem; font-weight: 900; text-transform: uppercase; }.quantify-signal h2 { max-width: 690px; margin: 0; font-size: clamp(2.3rem, 6vw, 6.4rem); line-height: 0.9; letter-spacing: -0.07em; }.signal-orbit { position: relative; width: min(20vw, 190px); aspect-ratio: 1; border: 1px solid var(--line); border-radius: 50%; animation: orbit-spin 12s linear infinite; }.signal-orbit span, .signal-orbit i { position: absolute; border-radius: 50%; }.signal-orbit span { top: 12%; left: 12%; width: 30%; height: 30%; background: #c7ff3d; box-shadow: 0 0 50px rgba(199, 255, 61, 0.45); }.signal-orbit i { right: -4px; bottom: 22%; width: 14px; height: 14px; background: var(--ink); } @keyframes orbit-spin { to { transform: rotate(360deg); } }

.nav-toggle {
  display: none;
  border: 0;
  border-radius: 0;
  padding: 3px 5px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.72rem;
  text-transform: uppercase;
  font: inherit;
  font-weight: 800;
}

.editorial-home {
  min-height: 100vh;
}

.editorial-hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 92px clamp(14px, 3vw, 42px) 18px;
}

.hero-particles {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-particles canvas {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.56;
}

.hero-title-wrap,
.quant-slot {
  z-index: 1;
}

.editorial-hero.simplified-hero {
  grid-template-rows: 1fr;
}

.simplified-hero .hero-title-wrap {
  align-self: center;
}

.hero-meta {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 22px;
  width: min(760px, calc(68vw - 20px));
  margin-left: min(26vw, 320px);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-title-wrap {
  align-self: center;
  width: min(760px, calc(68vw - 20px));
  margin-left: min(26vw, 320px);
}

.hero-title-wrap h1 {
  display: grid;
  margin: 0 0 24px;
  font-size: clamp(5.2rem, 12vw, 10.4rem);
  line-height: 0.78;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
}

.hero-title-wrap h1 span,
.footer-wordmark {
  white-space: nowrap;
}

.hero-title-wrap p {
  width: min(420px, 100%);
  margin: 0;
  color: var(--ink);
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  font-weight: 700;
  line-height: 1.12;
}

.portfolio-stamp {
  display: inline-block;
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
}

.hero-bottom {
  display: grid;
  grid-template-columns: 1fr repeat(3, auto);
  gap: clamp(14px, 4vw, 56px);
  align-items: end;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-bottom a,
.text-link {
  text-decoration: none;
}

.hero-bottom a:hover,
.text-link:hover,
.index-list a:hover {
  color: var(--paper);
  background: var(--ink);
}

.index-section {
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
  padding: 88px 0;
}

.section-kicker {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  font-size: 0.86rem;
  font-weight: 800;
}

.index-list {
  display: grid;
  border-top: 1px solid var(--ink);
}

.index-list a {
  display: grid;
  grid-template-columns: minmax(320px, 0.64fr) minmax(260px, 1fr);
  gap: clamp(32px, 7vw, 96px);
  padding: 18px 0;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  font-size: clamp(1.35rem, 3vw, 2.7rem);
  font-weight: 800;
  line-height: 0.95;
  text-decoration: none;
  text-transform: uppercase;
}

.index-list a span:last-child {
  color: var(--muted);
  font-size: clamp(0.8rem, 1.5vw, 1rem);
  line-height: 1.25;
  align-self: center;
}

.text-link {
  display: inline-block;
  margin-top: 26px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.index-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.index-actions .text-link {
  margin-top: 0;
}

.hero {
  position: relative;
  min-height: calc(100vh - 67px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.68fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding: clamp(42px, 8vw, 96px) clamp(18px, 6vw, 88px);
  overflow: hidden;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(244, 241, 233, 0.98) 0%, rgba(244, 241, 233, 0.9) 48%, rgba(244, 241, 233, 0.5) 100%),
    linear-gradient(180deg, rgba(14, 51, 44, 0.04), rgba(14, 51, 44, 0.18));
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  overflow-wrap: normal;
  word-break: normal;
}

p {
  overflow-wrap: break-word;
}

h1 {
  margin: 0;
  font-size: clamp(3.6rem, 8vw, 7.8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-copy p:not(.eyebrow),
.page-hero p {
  max-width: 680px;
  color: #31413d;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.7;
}

.hero-actions,
.contact-form .button {
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.primary {
  color: white;
  background: var(--green-dark);
  box-shadow: 0 12px 24px rgba(14, 51, 44, 0.22);
}

.secondary,
.ghost {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
}

.quant-terminal {
  position: relative;
  z-index: 1;
  min-height: 470px;
  padding: 22px;
  color: #dbece5;
  background:
    linear-gradient(135deg, rgba(23, 98, 79, 0.34), transparent 42%),
    #0d211e;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(14, 51, 44, 0.32);
}

.terminal-top,
.terminal-grid,
.terminal-feed li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.terminal-top {
  padding-bottom: 18px;
  color: #f8fbf8;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  font-weight: 800;
}

.terminal-top span:last-child {
  color: #a8c0b6;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.terminal-grid {
  margin: 18px 0;
}

.terminal-grid div {
  flex: 1;
  min-width: 0;
  padding: 15px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
}

.terminal-grid small {
  display: block;
  min-height: 34px;
  color: #9fb7af;
  line-height: 1.35;
}

.terminal-grid strong {
  display: block;
  margin-top: 10px;
  color: #ffffff;
  font-size: 1.8rem;
}

.signal-chart {
  display: flex;
  align-items: end;
  gap: 10px;
  height: 145px;
  padding: 16px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
}

.signal-chart span {
  flex: 1;
  border-radius: 7px 7px 0 0;
  background: #57b998;
}

.signal-chart span:nth-child(1) { height: 38%; }
.signal-chart span:nth-child(2) { height: 72%; background: #d0a64b; }
.signal-chart span:nth-child(3) { height: 54%; background: #6fa6c8; }
.signal-chart span:nth-child(4) { height: 86%; }
.signal-chart span:nth-child(5) { height: 66%; background: #d0a64b; }
.signal-chart span:nth-child(6) { height: 92%; background: #6fa6c8; }

.terminal-feed {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.terminal-feed li {
  padding: 12px 0;
  color: #dbece5;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.terminal-feed span {
  color: #d0a64b;
  font-weight: 800;
}

.ticker-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
  background: var(--green-dark);
  color: white;
}

.ticker-band div {
  padding: 18px clamp(18px, 3vw, 44px);
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  font-weight: 800;
}

.ticker-band div:last-child {
  border-right: 0;
}

.ticker-band span {
  margin-right: 10px;
  color: #d0a64b;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.stats-band div {
  padding: 28px clamp(18px, 4vw, 56px);
  border-right: 1px solid var(--line);
}

.stats-band div:last-child {
  border-right: 0;
}

.stats-band strong {
  display: block;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.stats-band span,
.feature-card p,
.program-card p,
.episode-card p,
.model-card p,
.split-section p,
.timeline p,
.info-panel,
.contact-panel p {
  color: var(--muted);
  line-height: 1.65;
}

.section,
.page-shell {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-heading h2,
.page-hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 1;
}

.feature-grid,
.competition-grid,
.model-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card,
.program-card,
.episode-card,
.model-card,
.info-panel,
.contact-form,
.timeline article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.lab-section {
  padding-top: 96px;
}

.lab-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

.lab-card {
  display: grid;
  align-content: space-between;
  min-height: 265px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.lab-card.wide {
  grid-column: span 2;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 0.65fr);
  gap: 28px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(23, 98, 79, 0.08), transparent 45%),
    var(--surface);
}

.lab-card.accent {
  background: #f8f4ea;
}

.lab-card.dark {
  color: white;
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.lab-card h3 {
  margin: 12px 0 8px;
  font-size: clamp(1.45rem, 3vw, 2.4rem);
  line-height: 1.08;
}

.lab-card p {
  color: var(--muted);
  line-height: 1.65;
}

.lab-card.dark p {
  color: #c1d0ca;
}

.lab-card a {
  width: fit-content;
  color: var(--green);
  font-weight: 800;
}

.lab-card.dark a,
.lab-card.dark .tag {
  color: #d0a64b;
}

.mini-table {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf7;
}

.mini-table span,
.mini-table strong {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.mini-table span {
  color: var(--muted);
  background: #edf4ee;
  font-weight: 800;
}

.mini-table strong {
  font-weight: 700;
}

.feature-card,
.program-card,
.episode-card,
.model-card,
.info-panel,
.contact-form {
  padding: 26px;
}

.icon {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--blue);
  font-size: 2rem;
  font-weight: 800;
}

.page-shell {
  padding: 116px 0 82px;
}

.page-hero {
  padding: 26px 0 48px;
}

.page-hero.compact {
  max-width: 860px;
}

.split-section,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 24px;
  align-items: start;
}

.split-section h2 {
  margin-top: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.check-list {
  margin: 0;
  padding-left: 18px;
}

.check-list li + li {
  margin-top: 12px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.timeline article {
  padding: 24px;
}

.timeline span,
.tag,
.episode-card span {
  color: var(--red);
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
}

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

.program-card h2,
.episode-card h2,
.model-card h2 {
  margin-bottom: 8px;
}

.episode-list {
  display: grid;
  gap: 18px;
}

.episode-card {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
}

.episode-card h2,
.episode-card p {
  margin: 0;
}

.model-card a {
  color: var(--green);
  font-weight: 800;
}

.chart-bars,
.chart-line,
.chart-grid {
  height: 128px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f3f6f2;
}

.chart-bars {
  display: flex;
  align-items: end;
  gap: 12px;
  padding: 18px;
}

.chart-bars span {
  flex: 1;
  background: var(--green);
  border-radius: 6px 6px 0 0;
}

.chart-bars span:nth-child(1) { height: 36%; }
.chart-bars span:nth-child(2) { height: 72%; background: var(--blue); }
.chart-bars span:nth-child(3) { height: 52%; background: var(--gold); }
.chart-bars span:nth-child(4) { height: 88%; }

.chart-line {
  background:
    linear-gradient(140deg, transparent 48%, var(--blue) 49%, var(--blue) 51%, transparent 52%),
    linear-gradient(#dce4dc 1px, transparent 1px),
    linear-gradient(90deg, #dce4dc 1px, transparent 1px);
  background-size: 100% 100%, 28px 28px, 28px 28px;
}

.chart-grid {
  background:
    radial-gradient(circle at 24% 35%, var(--green) 0 8px, transparent 9px),
    radial-gradient(circle at 62% 48%, var(--gold) 0 8px, transparent 9px),
    radial-gradient(circle at 76% 72%, var(--blue) 0 8px, transparent 9px),
    linear-gradient(#dce4dc 1px, transparent 1px),
    linear-gradient(90deg, #dce4dc 1px, transparent 1px);
  background-size: auto, auto, auto, 28px 28px, 28px 28px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  background: #fbfcfa;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

.site-footer {
  display: grid;
  gap: 34px;
  padding: 42px clamp(14px, 3vw, 42px) 20px;
  color: var(--ink);
  border-top: 1px solid var(--ink);
  background:
    repeating-linear-gradient(90deg, transparent 0 8.2%, rgba(0, 0, 0, 0.055) 8.25%, transparent 8.35%),
    var(--paper);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(220px, 1.1fr) minmax(260px, 1fr) minmax(220px, 0.8fr);
  gap: clamp(24px, 6vw, 96px);
  align-items: start;
}

.footer-label,
.footer-contact span {
  display: block;
  margin-bottom: 12px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.site-footer p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 8px;
}

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

.footer-links a,
.footer-contact a {
  width: fit-content;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.about-statement {
  max-width: 1120px;
}

.about-statement p {
  max-width: none;
  color: var(--ink);
  font-size: clamp(1.35rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.12;
}

.challenge-grid,
.analysis-grid,
.email-grid {
  display: grid;
  gap: 18px;
}

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

.challenge-card,
.analysis-tile,
.email-card,
.detail-sections article {
  border: 1px solid var(--ink);
  background: rgba(248, 246, 242, 0.72);
}

.challenge-card {
  min-height: 360px;
  display: grid;
  align-content: space-between;
  padding: clamp(24px, 4vw, 42px);
}

.challenge-card h2 {
  margin: 12px 0;
  font-size: clamp(2.6rem, 6vw, 6rem);
  line-height: 0.9;
}

.challenge-card p {
  max-width: 520px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.35;
}

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

.project-section + .project-section {
  margin-top: clamp(52px, 8vw, 90px);
}

.project-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 14px;
}

.project-heading span {
  font-size: clamp(1.8rem, 4.8vw, 4.8rem);
  font-weight: 900;
  line-height: 0.92;
  text-transform: uppercase;
}

.project-heading p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.25;
}

.big-project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

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

.project-tile {
  min-height: 300px;
}

.project-tile p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.25;
}

.project-tile:hover p {
  color: var(--paper);
}

.big-project-tile {
  min-height: 360px;
}

.big-project-tile p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.25;
}

.big-project-tile:hover p {
  color: var(--paper);
}

.project-report {
  margin-top: clamp(54px, 8vw, 92px);
  padding-top: 26px;
  border-top: 1px solid var(--ink);
}

.report-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: end;
}

.report-intro h2 {
  max-width: 760px;
  margin: 12px 0 10px;
  font-size: clamp(2rem, 4.4vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.report-title-only {
  margin: 0;
  font-size: clamp(2rem, 4.4vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.report-intro p:not(.eyebrow) {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.4;
}

.report-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.report-button {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  min-width: 152px;
  padding: 12px 14px;
  color: var(--paper);
  background: var(--ink);
  font-size: 0.72rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.report-button:hover {
  color: var(--ink);
  background: #c7ff3d;
  transform: translateY(-2px);
}

.report-button-secondary {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
}

.report-button-secondary:hover {
  color: var(--paper);
  background: var(--green);
}

.report-frame {
  width: 100%;
  height: min(86vh, 980px);
  min-height: min(86vh, 980px);
  margin-top: clamp(28px, 5vw, 52px);
  overflow: hidden;
  border: 1px solid var(--ink);
  background: var(--paper);
}

.report-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: min(86vh, 980px);
  border: 0;
}

.report-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.35;
}

.report-intro-text {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
}

.report-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: min(60vh, 640px);
  min-height: min(60vh, 640px);
  margin-top: clamp(28px, 5vw, 52px);
  padding: clamp(24px, 5vw, 48px);
  text-align: center;
  border: 1px dashed var(--ink);
  background: var(--paper);
  color: var(--muted);
}

.report-placeholder strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  font-weight: 800;
}

.report-placeholder span {
  display: block;
  max-width: 420px;
  margin: 0 auto;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
}

.streamlit-embed {
  width: 100%;
  min-height: min(82vh, 980px);
  margin-top: clamp(28px, 5vw, 52px);
  overflow: hidden;
  border: 1px solid var(--ink);
  background: var(--paper);
}

.streamlit-embed iframe {
  display: block;
  width: 100%;
  min-height: min(82vh, 980px);
  border: 0;
}

.streamlit-fallback {
  margin: 0;
  padding: 14px 18px;
  border-top: 1px solid var(--ink);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.streamlit-fallback a {
  color: var(--ink);
}

.analysis-tile {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: end;
  min-height: 230px;
  padding: clamp(22px, 4vw, 42px);
  color: var(--ink);
  text-decoration: none;
}

.analysis-tile:hover {
  color: var(--paper);
  background: var(--ink);
}

.has-motion .reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms cubic-bezier(.2,.8,.2,1);
}

.has-motion .reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.interactive-card {
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 180ms ease, box-shadow 180ms ease;
  will-change: transform;
}

.interactive-card:hover {
  box-shadow: 8px 9px 0 rgba(5, 5, 5, 0.16);
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  width: 42px;
  height: 42px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  font: inherit;
  font-size: 1.25rem;
  font-weight: 900;
  opacity: 0;
  transform: translateY(12px) scale(.9);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease, color 180ms ease;
}

.back-to-top.is-visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.back-to-top:hover { background: #c7ff3d; color: var(--ink); }

.signal-rail {
  position: fixed;
  top: 57px;
  right: 0;
  left: 0;
  z-index: 19;
  height: 25px;
  overflow: hidden;
  border-block: 1px solid var(--ink);
  background: #c7ff3d;
  color: var(--ink);
  white-space: nowrap;
}

.signal-rail div {
  display: inline-flex;
  min-width: max-content;
  gap: 15px;
  align-items: center;
  height: 100%;
  padding-left: 15px;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.055em;
  animation: signal-tape 18s linear infinite;
}

.signal-rail span:nth-child(4n) { color: #0f4d3f; }

@keyframes signal-tape {
  to { transform: translateX(-50%); }
}

.scroll-meter {
  position: fixed;
  top: 50%;
  right: 11px;
  z-index: 18;
  display: grid;
  gap: 8px;
  justify-items: center;
  transform: translateY(-50%);
}

.scroll-meter span {
  display: block;
  width: 3px;
  height: 82px;
  overflow: hidden;
  background: rgba(5, 5, 5, 0.16);
}

.scroll-meter span::after {
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  background: var(--ink);
  transform: scaleY(var(--scroll-progress, 0));
  transform-origin: top;
  transition: transform 80ms linear;
}

.scroll-meter small {
  writing-mode: vertical-rl;
  color: var(--muted);
  font-size: 0.52rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.analysis-tile span,
.email-card span {
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.analysis-tile h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 3.2rem);
  line-height: 0.92;
}

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

.email-card {
  min-height: 180px;
  display: grid;
  align-content: space-between;
  padding: 26px;
}

.email-card-person {
  display: grid;
  gap: 10px;
}

.email-card h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.7rem);
  line-height: 0.95;
}

.email-card a {
  color: var(--ink);
  font-size: clamp(1.05rem, 2vw, 1.6rem);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.detail-sections {
  display: grid;
  gap: 16px;
}

.detail-sections article {
  padding: clamp(22px, 4vw, 38px);
}

.detail-sections h2 {
  margin: 0 0 12px;
  font-size: clamp(1.9rem, 4vw, 4rem);
  line-height: 0.95;
}

.detail-sections p,
.document-page p {
  max-width: 760px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.45;
}

.detail-kicker {
  margin: 0 0 12px;
  color: var(--red) !important;
  font-size: 0.78rem;
  font-weight: 900 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.challenge-facts,
.challenge-goals,
.challenge-timeline,
.report-breakdown,
.winner-grid {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.challenge-facts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
}

.challenge-facts div {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px 16px 0 0;
  border-right: 1px solid var(--line);
}

.challenge-facts div:last-child {
  border-right: 0;
}

.challenge-facts span,
.challenge-goals span,
.challenge-timeline span,
.winner-card span,
.score-list span {
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.challenge-facts strong {
  font-size: 1rem;
  line-height: 1.2;
}

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

.report-breakdown {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.challenge-goals section,
.report-breakdown section,
.challenge-timeline section {
  padding: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.54);
}

.challenge-goals h3,
.report-breakdown h3,
.challenge-timeline h3 {
  margin: 12px 0 8px;
  font-size: clamp(1.35rem, 2.5vw, 2.1rem);
  line-height: 1;
}

.challenge-goals p,
.report-breakdown p,
.challenge-timeline p {
  margin: 0;
}

.challenge-note {
  margin-top: 22px;
}

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

.challenge-timeline section {
  border-top: 3px solid var(--ink);
}

.challenge-rules {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.challenge-rules li {
  padding: 14px 0 14px 24px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
  line-height: 1.45;
  position: relative;
}

.challenge-rules li::before {
  position: absolute;
  left: 0;
  content: "→";
  color: var(--red);
  font-weight: 900;
}

.score-list {
  display: grid;
  max-width: 820px;
  margin-top: 18px;
  border-top: 1px solid var(--ink);
}

.score-list div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.score-list strong {
  font-size: 1rem;
}

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

.winner-card {
  display: grid;
  align-content: space-between;
  min-height: 170px;
  padding: 20px;
  border: 1px solid var(--ink);
  background: rgba(255, 255, 255, 0.54);
}

.winner-card strong {
  font-size: clamp(1.45rem, 3vw, 2.4rem);
  line-height: 0.95;
}

.winner-card-first {
  color: white;
  background: var(--green-dark);
}

.winner-card-first span {
  color: #d0a64b;
}

.winner-card-first strong {
  color: white;
}

.resource-list {
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin-top: 24px;
}

.resource-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--ink);
  color: var(--ink);
  text-decoration: none;
}

.resource-link:last-child {
  border-bottom: 1px solid var(--ink);
}

.resource-link > span:first-child {
  display: grid;
  gap: 6px;
}

.resource-link strong {
  font-size: 1.05rem;
}

.resource-link small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
}

.resource-link > span:last-child {
  font-size: 1.25rem;
  font-weight: 900;
  transition: transform 180ms ease;
}

.resource-link:hover > span:last-child {
  transform: translate(4px, -4px);
}

.document-page h1 {
  font-size: clamp(3rem, 9vw, 8rem);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--paper);
  background: var(--ink);
}

.footer-wordmark {
  width: 100%;
  overflow: visible;
  font-size: clamp(3rem, 10vw, 8.75rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 46px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding: 10px 8px;
  }

  .site-nav a:hover,
  .site-nav a.active {
    box-shadow: none;
  }

  .site-nav .quantify-link {
    width: 100%;
    padding: 10px 8px;
    text-align: left;
  }

  .editorial-hero {
    min-height: 100svh;
    padding-top: 86px;
  }

  .hero-meta,
  .hero-title-wrap {
    margin-left: 0;
  }

  .hero-title-wrap {
    align-self: center;
  }

  .hero-title-wrap h1 {
    font-size: clamp(5rem, 23vw, 8.2rem);
  }

  .hero-bottom {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .index-list a,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .challenge-grid,
  .email-grid,
  .analysis-grid,
  .big-project-grid,
  .project-grid,
  .analysis-tile {
    grid-template-columns: 1fr;
  }

  .challenge-facts,
  .challenge-goals,
  .challenge-timeline,
  .report-breakdown,
  .winner-grid {
    grid-template-columns: 1fr;
  }

  .challenge-facts div {
    padding: 16px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .challenge-facts div:last-child {
    border-bottom: 0;
  }

  .score-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .project-heading {
    display: grid;
    align-items: start;
  }

  .report-intro {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .report-actions {
    justify-content: flex-start;
  }

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

  .quantify-main {
    padding: 92px 18px 30px;
  }

  .quantify-hero {
    min-height: 620px;
  }

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

  .quantify-grid article,
  .quantify-grid article:last-child {
    min-height: 220px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quantify-grid article:last-child {
    border-bottom: 0;
  }

  .quantify-grid h2 {
    margin-top: 42px;
  }

  .quantify-signal {
    align-items: end;
  }

  .signal-orbit {
    width: 110px;
    flex: 0 0 110px;
  }

  .hero {
    min-height: 760px;
    grid-template-columns: 1fr;
    align-items: end;
  }

  .hero::after {
    background: linear-gradient(0deg, rgba(244, 241, 233, 0.99) 0%, rgba(244, 241, 233, 0.9) 58%, rgba(244, 241, 233, 0.35) 100%);
  }

  .quant-terminal {
    min-height: auto;
  }

  .stats-band,
  .ticker-band,
  .feature-grid,
  .competition-grid,
  .model-board,
  .lab-grid,
  .timeline,
  .split-section,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .lab-card.wide {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .stats-band div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .ticker-band div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .episode-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-inline: 14px;
  }

  .brand span:last-child {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .editorial-hero {
    padding-inline: 14px;
  }

  .hero-meta {
    grid-template-columns: 54px 1fr;
    font-size: 0.72rem;
  }

  .hero-title-wrap h1 {
    font-size: clamp(4.6rem, 25vw, 6.5rem);
  }

  .index-section {
    padding-block: 64px;
  }

  .hero {
    padding-inline: 18px;
    min-height: auto;
    padding-block: 56px;
  }

  .hero-actions {
    display: grid;
    gap: 10px;
  }

  .terminal-grid {
    flex-direction: column;
  }

  .terminal-grid div {
    width: 100%;
  }

  .mini-table {
    grid-template-columns: 1fr;
  }

  .mini-table span {
    display: none;
  }

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

  .footer-wordmark {
    font-size: clamp(2.4rem, 12vw, 4.25rem);
    line-height: 1;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

.challenge-year {
  margin: 8px 0 18px;
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
}

.quant-slot {
  position: absolute;
  top: 22vh;
  right: clamp(16px, 3.2vw, 64px);
  width: min(460px, 30vw);
  min-height: 340px;
  display: grid;
  align-content: center;
  gap: 18px;
  padding: clamp(18px, 2.4vw, 30px);
  border: 1px solid var(--ink);
  background: rgba(248, 246, 242, 0.82);
  overflow: visible;
}

.quant-slot::before,
.quant-slot::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.quant-slot::before {
  inset: 10px;
  border: 1px solid rgba(0, 0, 0, 0.18);
}

.quant-slot::after {
  inset: auto 18px 18px 18px;
  height: 1px;
  background: var(--ink);
}

.slot-label {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.slot-reels {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.slot-reel {
  display: grid;
  place-items: center;
  min-height: clamp(68px, 6.6vw, 104px);
  border: 1px solid var(--ink);
  background: var(--paper);
  overflow: hidden;
}

.slot-reel span {
  display: block;
  font-size: clamp(1.25rem, 2.5vw, 2.35rem);
  font-weight: 900;
  line-height: 1;
}

.quant-slot.is-spinning .slot-reel span {
  animation: reelSpin 0.18s linear infinite;
}

.slot-controls {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.slot-controls p {
  max-width: 220px;
  margin: 0;
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.12;
}

.slot-lever {
  position: absolute;
  z-index: 2;
  right: -46px;
  top: 48%;
  width: 58px;
  height: 150px;
  border: 1px solid var(--ink);
  background: var(--paper);
  cursor: pointer;
  transform: translateY(-50%);
}

.slot-lever::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 18px;
  width: 6px;
  height: 76px;
  background: var(--ink);
  transform: translateX(-50%);
  transform-origin: bottom center;
  transition: transform 0.22s ease;
}

.slot-lever span {
  position: absolute;
  left: 15px;
  top: 4px;
  width: 28px;
  height: 28px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--red);
  transform: rotate(0deg);
  transform-origin: 14px 90px;
  transition: transform 0.22s ease;
}

.slot-lever.is-pulled::before {
  transform: translateX(-50%) rotate(22deg);
}

.slot-lever.is-pulled span {
  transform: rotate(22deg);
}

@keyframes reelSpin {
  0% {
    transform: translateY(-120%);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  100% {
    transform: translateY(120%);
    opacity: 0;
  }
}

@media (max-width: 1500px) {
  .editorial-hero.simplified-hero {
    align-content: center;
    gap: 34px;
  }

  .quant-slot {
    position: relative;
    top: auto;
    right: auto;
    width: min(620px, 100%);
    min-height: 300px;
    margin-left: min(26vw, 320px);
  }
}

@media (max-width: 900px) {
  .quant-slot {
    width: 100%;
    min-height: 300px;
    margin-left: 0;
    opacity: 1;
  }

  .slot-lever {
    right: -28px;
  }
}

@media (max-width: 640px) {
  .quant-slot {
    width: 100%;
    min-height: auto;
    margin-top: 28px;
    padding: 18px;
  }

  .slot-label,
  .slot-controls {
    display: grid;
    gap: 8px;
  }

  .slot-reels {
    gap: 6px;
  }

  .slot-reel {
    min-height: clamp(58px, 17vw, 76px);
  }

  .slot-lever {
    position: relative;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    height: 44px;
    margin-top: 4px;
    display: grid;
    place-items: center;
    border: 1px solid var(--ink);
    background: var(--red);
    color: var(--paper);
    transform: none;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
  }

  .slot-lever::before,
  .slot-lever span {
    display: none;
  }

  .slot-lever::after {
    content: "Pull model";
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-particles {
    display: none;
  }

  .quant-slot.is-spinning .slot-reel span {
    animation: none;
  }

  .site-nav .quantify-link::before,
  .signal-orbit {
    animation: none;
  }
}
