:root {
  --ink: #07110d;
  --ink-soft: #0d1d16;
  --paper: #f3f0e7;
  --paper-2: #e8e3d6;
  --acid: #c9ff42;
  --acid-deep: #93ca14;
  --gold: #e5b24f;
  --max: #ff6a36;
  --grace: #7be0cf;
  --olivia: #b697ff;
  --white: #fffdf4;
  --muted: #8e9d94;
  --line-dark: rgba(255,255,255,.14);
  --line-light: rgba(7,17,13,.16);
  --ease: cubic-bezier(.2,.75,.2,1);
  --section-pad: clamp(5rem, 10vw, 10rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}
button, a { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--acid); color: var(--ink); }

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .055;
  z-index: 50;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}
.cursor-glow {
  width: 26rem;
  height: 26rem;
  border-radius: 50%;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(201,255,66,.09), transparent 68%);
  transition: opacity .3s ease;
}
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,.08);
  z-index: 100;
}
.scroll-progress span { display: block; height: 100%; width: 0; background: var(--acid); }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 82px;
  padding: 0 clamp(1rem, 4vw, 4rem);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  z-index: 90;
  border-bottom: 1px solid rgba(255,255,255,.09);
  background: rgba(7,17,13,.62);
  backdrop-filter: blur(18px);
  transition: height .3s ease, background .3s ease;
}
.site-header.scrolled { height: 66px; background: rgba(7,17,13,.92); }
.brand { display: flex; align-items: center; gap: .8rem; width: max-content; }
.brand-mark {
  width: 38px;
  height: 38px;
  border: 1px solid var(--acid);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -.08em;
  transform: rotate(-3deg);
}
.brand-mark span { color: var(--acid); }
.brand-copy { font-size: 11px; font-weight: 900; letter-spacing: .13em; line-height: 1.2; }
.brand-copy small { display: block; margin-top: .24rem; font-size: 7px; color: var(--muted); letter-spacing: .17em; }
.site-header nav { display: flex; align-items: center; gap: 2rem; }
.site-header nav a { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #b7c0ba; position: relative; }
.site-header nav a::after { content: ""; position: absolute; height: 1px; left: 0; right: 100%; bottom: -.45rem; background: var(--acid); transition: right .25s var(--ease); }
.site-header nav a:hover::after { right: 0; }
.sound-toggle { justify-self: end; display: flex; align-items: end; gap: 3px; background: none; border: 0; cursor: pointer; padding: .6rem; }
.sound-toggle span { display: block; width: 2px; height: 10px; background: var(--acid); animation: meter .8s ease-in-out infinite alternate; animation-play-state: paused; }
.sound-toggle span:nth-child(2) { height: 16px; animation-delay: -.3s; }
.sound-toggle span:nth-child(3) { height: 7px; animation-delay: -.55s; }
.sound-toggle[aria-pressed="true"] span { animation-play-state: running; }
.sound-toggle em { margin-left: .5rem; font-size: 8px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-style: normal; }
@keyframes meter { to { height: 3px; } }

main { position: relative; z-index: 1; }
section { position: relative; overflow: clip; }
.section-dark { background: var(--ink); color: var(--white); }
.section-light { background: var(--paper); color: var(--ink); }
.section-green { background: var(--acid); color: var(--ink); }
.section-number { font-size: 10px; letter-spacing: .16em; font-weight: 900; opacity: .62; }
.eyebrow { margin: 0 0 1.5rem; display: flex; align-items: center; gap: .75rem; font-size: 10px; letter-spacing: .17em; text-transform: uppercase; font-weight: 900; color: var(--acid); }
.eyebrow span { width: 28px; height: 1px; background: currentColor; }
.eyebrow.dark { color: #49614e; }
.section-heading { max-width: 1300px; margin: 0 auto 5rem; padding: 0 clamp(1.2rem, 5vw, 5rem); }
.section-heading .section-number { margin-bottom: 3.5rem; }
.section-heading h2, .manifesto h2, .command h2, .finale h2 {
  margin: 0;
  font-size: clamp(3.1rem, 7.7vw, 8.4rem);
  line-height: .86;
  letter-spacing: -.075em;
  font-weight: 950;
  text-transform: uppercase;
}
.section-heading h2 span, .command h2 span { color: transparent; -webkit-text-stroke: 1.5px currentColor; opacity: .7; }
.section-heading h2 em, .manifesto h2 em, .memory-intro h3 em { color: var(--max); font-style: normal; }

.hero { min-height: 100svh; padding: 10rem clamp(1.2rem, 5vw, 5rem) 5rem; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 4vw; isolation: isolate; }
.hero::before { content: ""; position: absolute; width: 52vw; height: 52vw; left: -21vw; top: 15%; border-radius: 50%; background: radial-gradient(circle, rgba(201,255,66,.11), transparent 66%); filter: blur(10px); z-index: -2; }
.stadium-lines { position: absolute; inset: 0; opacity: .11; z-index: -3; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 6vw 6vw; mask-image: linear-gradient(to bottom, black, transparent 86%); transform: perspective(750px) rotateX(54deg) scale(1.8) translateY(23%); transform-origin: bottom; }
.hero-orbit { position: absolute; border: 1px solid rgba(201,255,66,.11); border-radius: 50%; z-index: -1; }
.orbit-one { width: 72vw; height: 72vw; right: -35vw; top: -29vw; }
.orbit-two { width: 40vw; height: 40vw; left: 22%; bottom: -30vw; }
.hero-content { position: relative; z-index: 4; max-width: 800px; }
.hero h1 { margin: 0; font-size: clamp(4.3rem, 8.1vw, 9rem); line-height: .82; letter-spacing: -.083em; font-weight: 950; }
.hero h1 .stroke { color: transparent; -webkit-text-stroke: 1.5px var(--white); opacity: .78; }
.hero-lede { max-width: 650px; margin: 2rem 0 2.5rem; font-size: clamp(1rem, 1.5vw, 1.25rem); color: #b9c3bc; line-height: 1.65; }
.hero-actions, .finale-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.button { min-height: 52px; padding: 0 1.5rem; border: 1px solid rgba(255,255,255,.2); display: inline-flex; align-items: center; gap: 1.5rem; justify-content: space-between; cursor: pointer; text-transform: uppercase; font-size: 10px; letter-spacing: .13em; font-weight: 900; transition: transform .25s var(--ease), background .25s ease, color .25s ease; }
.button:hover { transform: translateY(-3px); }
.button-primary { border-color: var(--acid); background: var(--acid); color: var(--ink); }
.button-ghost { background: rgba(255,255,255,.03); color: var(--white); }
.button-ghost:hover { background: var(--white); color: var(--ink); }
.hero-system { min-height: 600px; position: relative; display: grid; place-items: center; }
.system-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 128px; height: 128px; border-radius: 50%; background: var(--acid); color: var(--ink); display: grid; place-items: center; align-content: center; box-shadow: 0 0 0 12px rgba(201,255,66,.05), 0 0 80px rgba(201,255,66,.22); z-index: 3; }
.system-core span { font-size: 2rem; font-weight: 950; letter-spacing: -.08em; }
.system-core small { font-size: 6px; letter-spacing: .14em; font-weight: 900; }
.core-pulse { position: absolute; inset: -1px; border-radius: inherit; border: 1px solid var(--acid); animation: pulse-ring 2.4s ease-out infinite; }
@keyframes pulse-ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(2); opacity: 0; } }
.agent-node { position: absolute; width: 132px; height: 132px; border-radius: 50%; border: 1px solid rgba(255,255,255,.28); background: #0c1913; display: grid; place-items: center; align-content: center; cursor: pointer; transition: transform .35s var(--ease), border-color .35s ease, box-shadow .35s ease; z-index: 4; }
.agent-node:hover { transform: scale(1.07); }
.agent-node strong { font-size: 1.2rem; letter-spacing: .02em; }
.agent-node small { font-size: 7px; letter-spacing: .16em; color: var(--muted); }
.node-number { position: absolute; top: 12px; font-size: 7px; opacity: .5; }
.node-max { top: 7%; left: 50%; margin-left: -66px; border-color: rgba(255,106,54,.65); box-shadow: 0 0 42px rgba(255,106,54,.1); }
.node-grace { bottom: 7%; left: 2%; border-color: rgba(123,224,207,.65); box-shadow: 0 0 42px rgba(123,224,207,.1); }
.node-olivia { bottom: 7%; right: 2%; border-color: rgba(182,151,255,.65); box-shadow: 0 0 42px rgba(182,151,255,.1); }
.system-connections { width: min(100%, 600px); height: auto; overflow: visible; }
.system-connections path, .system-connections circle { fill: none; stroke: rgba(255,255,255,.2); stroke-width: 1; stroke-dasharray: 5 8; animation: dash 16s linear infinite; }
.system-connections circle { stroke: rgba(201,255,66,.18); }
@keyframes dash { to { stroke-dashoffset: -200; } }
.hero-footer { position: absolute; left: clamp(1.2rem, 5vw, 5rem); right: clamp(1.2rem, 5vw, 5rem); bottom: 1.25rem; display: flex; justify-content: space-between; gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--line-dark); font-size: 7px; letter-spacing: .14em; color: var(--muted); }
.hero-footer strong { margin-left: .5rem; color: var(--white); }
.live-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 10px var(--acid); margin-right: .4rem; animation: blink 1.5s ease infinite; }
@keyframes blink { 50% { opacity: .25; } }

.manifesto { padding: var(--section-pad) clamp(1.2rem, 5vw, 5rem); }
.manifesto > .section-number { max-width: 1300px; margin: 0 auto 4rem; }
.manifesto-grid { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: 1.15fr .85fr; gap: 7vw; align-items: end; }
.manifesto h2 { font-size: clamp(3rem, 5.9vw, 6.8rem); }
.manifesto h2 em { color: var(--max); }
.manifesto-copy > p { font-size: clamp(1.15rem, 2vw, 1.55rem); line-height: 1.55; margin: 0 0 2rem; }
.manifesto-rule { padding: 1rem 0; border-top: 1px solid var(--line-light); display: grid; grid-template-columns: 120px 1fr; gap: 1rem; }
.manifesto-rule span { font-size: 8px; letter-spacing: .14em; font-weight: 900; }
.manifesto-rule strong { font-size: .95rem; }
.manifesto-rule.muted strong { font-weight: 600; color: #667269; }
.transformation-console { max-width: 1300px; margin: 7rem auto 0; border: 1px solid var(--ink); }
.console-label { padding: .8rem 1rem; background: var(--ink); color: var(--paper); font-size: 8px; font-weight: 900; letter-spacing: .14em; }
.console-switch { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--ink); }
.console-switch button { min-height: 58px; border: 0; border-right: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; font-weight: 950; font-size: 11px; letter-spacing: .15em; }
.console-switch button:last-child { border-right: 0; }
.console-switch button.active { background: var(--max); }
.console-display { min-height: 420px; display: grid; grid-template-columns: 1fr 1fr; }
.console-visual { position: relative; overflow: hidden; border-right: 1px solid var(--ink); background: #ded8c9; display: grid; place-items: center; }
.road { width: 80%; height: 70%; position: relative; transform: perspective(500px) rotateX(62deg); background: repeating-linear-gradient(90deg, transparent 0 13%, rgba(7,17,13,.09) 13% 13.3%), linear-gradient(#c9c2b2 49.5%, var(--ink) 50%, #c9c2b2 50.5%); transition: transform .6s var(--ease); }
.road i { position: absolute; width: 18px; height: 18px; border-radius: 50%; background: var(--max); box-shadow: 0 0 0 6px rgba(255,106,54,.15); animation: chaos 2.3s ease-in-out infinite alternate; }
.road i:nth-child(1) { left: 10%; top: 25%; }
.road i:nth-child(2) { left: 42%; top: 64%; animation-delay: -.4s; }
.road i:nth-child(3) { left: 76%; top: 18%; animation-delay: -.7s; }
.road i:nth-child(4) { left: 63%; top: 78%; animation-delay: -1s; }
.road i:nth-child(5) { left: 28%; top: 40%; animation-delay: -1.4s; }
@keyframes chaos { to { transform: translate(25px, -18px); } }
.road-accelerator { transform: perspective(500px) rotateX(62deg) rotateZ(0deg); background: repeating-linear-gradient(90deg, transparent 0 13%, rgba(7,17,13,.09) 13% 13.3%), linear-gradient(#c9c2b2 49.5%, var(--acid-deep) 50%, #c9c2b2 50.5%); }
.road-accelerator i { animation: aligned 2.3s ease-in-out infinite; background: var(--acid-deep); box-shadow: 0 0 0 6px rgba(147,202,20,.14); top: 50%; }
.road-accelerator i:nth-child(1) { left: 8%; }
.road-accelerator i:nth-child(2) { left: 26%; }
.road-accelerator i:nth-child(3) { left: 44%; }
.road-accelerator i:nth-child(4) { left: 62%; }
.road-accelerator i:nth-child(5) { left: 80%; }
@keyframes aligned { 50% { transform: translateY(-9px); } }
.console-text { padding: clamp(2rem, 5vw, 5rem); display: flex; flex-direction: column; justify-content: center; }
.console-text small { font-size: 9px; letter-spacing: .16em; font-weight: 900; color: var(--max); }
.console-text h3 { margin: .7rem 0 1.25rem; font-size: clamp(2rem, 4vw, 4.6rem); line-height: .95; letter-spacing: -.055em; text-transform: uppercase; }
.console-text p { font-size: 1.1rem; max-width: 580px; }
.console-text ul { list-style: none; padding: 0; margin: 1.25rem 0 0; border-top: 1px solid var(--line-light); }
.console-text li { padding: .8rem 0; border-bottom: 1px solid var(--line-light); font-weight: 750; }
.console-text li::before { content: "→"; margin-right: .8rem; color: var(--max); }

.team { padding: var(--section-pad) 0; }
.team::before { content: "A3"; position: absolute; right: -4vw; top: 2rem; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.055); font-size: 32vw; line-height: 1; font-weight: 950; letter-spacing: -.12em; }
.agent-selector { max-width: 1300px; margin: 0 auto; padding: 0 clamp(1.2rem, 5vw, 5rem); display: grid; grid-template-columns: repeat(3, 1fr); }
.agent-tab { min-height: 122px; position: relative; border: 1px solid var(--line-dark); border-right: 0; background: transparent; cursor: pointer; display: grid; align-content: center; justify-items: start; padding: 1.2rem 1.5rem; transition: background .3s ease, color .3s ease; }
.agent-tab:last-child { border-right: 1px solid var(--line-dark); }
.agent-tab span { position: absolute; top: .8rem; right: .8rem; font-size: 8px; color: var(--muted); }
.agent-tab strong { font-size: clamp(1.5rem, 2.5vw, 2.4rem); line-height: 1; }
.agent-tab small { font-size: 8px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.agent-tab.max.active { background: var(--max); color: var(--ink); }
.agent-tab.grace.active { background: var(--grace); color: var(--ink); }
.agent-tab.olivia.active { background: var(--olivia); color: var(--ink); }
.agent-tab.active small, .agent-tab.active span { color: rgba(7,17,13,.65); }
.agent-stage { max-width: 1300px; min-height: 720px; margin: 0 auto; padding: 0 clamp(1.2rem, 5vw, 5rem); display: grid; grid-template-columns: .83fr 1.17fr; }
.agent-portrait { position: relative; min-height: 650px; border: 1px solid var(--line-dark); border-top: 0; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at center, rgba(255,106,54,.14), transparent 58%); transition: background .45s ease; }
.agent-stage[data-current="grace"] .agent-portrait { background: radial-gradient(circle at center, rgba(123,224,207,.14), transparent 58%); }
.agent-stage[data-current="olivia"] .agent-portrait { background: radial-gradient(circle at center, rgba(182,151,255,.14), transparent 58%); }
.portrait-grid { position: absolute; inset: 0; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.13) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.13) 1px, transparent 1px); background-size: 40px 40px; }
.portrait-ring { width: min(68%, 380px); aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--max); position: absolute; animation: spin 16s linear infinite; transition: border-color .4s ease; }
.portrait-ring::before, .portrait-ring::after { content: ""; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: currentColor; top: 12%; }
.portrait-ring::before { left: 8%; }
.portrait-ring::after { right: 8%; bottom: 12%; top: auto; }
.agent-stage[data-current="grace"] .portrait-ring { border-color: var(--grace); color: var(--grace); }
.agent-stage[data-current="olivia"] .portrait-ring { border-color: var(--olivia); color: var(--olivia); }
@keyframes spin { to { transform: rotate(360deg); } }
.portrait-monogram { position: relative; z-index: 2; font-size: clamp(10rem, 22vw, 19rem); font-weight: 950; line-height: .7; letter-spacing: -.1em; color: var(--max); text-shadow: 0 0 70px rgba(255,106,54,.2); transition: color .4s ease, transform .45s var(--ease), opacity .25s ease; }
.agent-stage[data-current="grace"] .portrait-monogram { color: var(--grace); }
.agent-stage[data-current="olivia"] .portrait-monogram { color: var(--olivia); }
.portrait-signal { position: absolute; left: 1rem; bottom: 1rem; font-size: 8px; letter-spacing: .14em; color: var(--muted); }
.portrait-signal span { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--acid); margin-right: .4rem; }
.agent-profile { border: 1px solid var(--line-dark); border-left: 0; border-top: 0; padding: clamp(2rem, 5vw, 5rem); transition: opacity .22s ease, transform .35s var(--ease); }
.agent-profile.switching, .portrait-monogram.switching { opacity: 0; transform: translateY(14px); }
.profile-topline { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line-dark); font-size: 8px; letter-spacing: .12em; color: var(--muted); }
.agent-profile h3 { margin: 2rem 0 0; font-size: clamp(5rem, 9vw, 10rem); line-height: .7; letter-spacing: -.09em; color: var(--max); transition: color .4s ease; }
.agent-stage[data-current="grace"] .agent-profile h3 { color: var(--grace); }
.agent-stage[data-current="olivia"] .agent-profile h3 { color: var(--olivia); }
.agent-role { margin: 1.2rem 0 2.5rem; font-size: 10px; font-weight: 900; letter-spacing: .15em; color: var(--muted); }
.agent-profile blockquote { margin: 0; font-size: clamp(1.5rem, 3vw, 2.8rem); line-height: 1.15; letter-spacing: -.04em; font-weight: 780; }
.agent-details { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin: 2.5rem 0; }
.agent-details > div { padding-top: 1rem; border-top: 1px solid var(--line-dark); }
.agent-details small, .agent-plays > small { font-size: 8px; letter-spacing: .14em; color: var(--muted); font-weight: 900; }
.agent-details p { margin: .6rem 0 0; }
.agent-plays > div { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .8rem; }
.agent-plays span { padding: .48rem .65rem; border: 1px solid var(--line-dark); font-size: 8px; letter-spacing: .07em; text-transform: uppercase; }
.red-line { margin-top: 2.4rem; padding: 1rem; border: 1px solid rgba(255,106,54,.45); display: flex; gap: 1rem; align-items: flex-start; }
.red-line span { font-size: 7px; color: var(--max); font-weight: 900; letter-spacing: .14em; white-space: nowrap; }
.red-line p { margin: 0; font-size: .88rem; }

.modes { padding: var(--section-pad) 0; }
.modes .section-heading h2 span { -webkit-text-stroke-color: var(--ink); }
.mode-control { max-width: 1300px; margin: 0 auto; padding: 0 clamp(1.2rem, 5vw, 5rem); display: grid; grid-template-columns: .42fr 1fr; }
.mode-rail { border: 1px solid var(--ink); }
.mode-rail button { width: 100%; min-height: 88px; padding: 1rem 1.3rem; border: 0; border-bottom: 1px solid var(--ink); background: transparent; color: var(--ink); display: flex; align-items: center; gap: 1.2rem; cursor: pointer; text-align: left; text-transform: uppercase; font-weight: 900; font-size: 11px; letter-spacing: .08em; transition: background .25s ease, color .25s ease; }
.mode-rail button:last-child { border-bottom: 0; }
.mode-rail button span { font-size: 8px; opacity: .55; }
.mode-rail button.active { background: var(--ink); color: var(--acid); }
.mode-screen { min-height: 470px; border: 1px solid var(--ink); border-left: 0; padding: clamp(2rem, 5vw, 5rem); position: relative; background: rgba(255,255,255,.11); }
.mode-screen.switching { animation: mode-flash .42s ease; }
@keyframes mode-flash { 0% { opacity: .55; transform: translateX(8px); } 100% { opacity: 1; transform: none; } }
.mode-status { display: flex; gap: .5rem; align-items: center; font-size: 8px; letter-spacing: .15em; font-weight: 900; }
.mode-status span { width: 6px; height: 6px; background: var(--ink); border-radius: 50%; animation: blink 1.4s ease infinite; }
.mode-code { position: absolute; right: 1.5rem; top: 1.5rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 8px; letter-spacing: .1em; }
.mode-screen h3 { margin: 3rem 0 1.25rem; font-size: clamp(3rem, 6vw, 7rem); line-height: .8; letter-spacing: -.075em; }
.mode-screen > p { max-width: 760px; font-size: clamp(1.1rem, 2vw, 1.5rem); }
.mode-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 3rem; }
.mode-columns > div { border-top: 1px solid var(--ink); padding-top: 1rem; }
.mode-columns small { font-size: 8px; letter-spacing: .13em; font-weight: 900; }
.mode-columns p { margin: .6rem 0 0; }
.mode-team { margin-top: 2.5rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.mode-team span { border: 1px solid var(--ink); padding: .55rem .7rem; font-size: 8px; font-weight: 900; letter-spacing: .09em; }

.handoff { padding: var(--section-pad) 0; }
.handoff-lab { max-width: 1300px; margin: 0 auto; padding: 0 clamp(1.2rem, 5vw, 5rem); display: grid; grid-template-columns: .35fr 1fr; gap: 1rem; }
.scenario-picker { border: 1px solid var(--ink); padding: 1.1rem; display: flex; flex-direction: column; gap: .6rem; }
.scenario-picker > small { font-size: 8px; font-weight: 900; letter-spacing: .13em; margin-bottom: .8rem; }
.scenario-picker button { min-height: 70px; border: 1px solid var(--line-light); background: transparent; color: var(--ink); text-align: left; padding: 1rem; cursor: pointer; font-weight: 800; line-height: 1.25; transition: background .25s ease, color .25s ease; }
.scenario-picker button.active { background: var(--ink); color: var(--white); }
.handoff-board { min-height: 580px; border: 1px solid var(--ink); position: relative; overflow: hidden; background-image: linear-gradient(rgba(7,17,13,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(7,17,13,.07) 1px, transparent 1px); background-size: 44px 44px; }
.handoff-agent { position: absolute; width: 112px; text-align: center; z-index: 2; }
.handoff-agent > span { width: 72px; height: 72px; margin: 0 auto .55rem; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--ink); font-weight: 950; font-size: 1.5rem; }
.handoff-agent strong, .handoff-agent small { display: block; }
.handoff-agent strong { font-size: .84rem; }
.handoff-agent small { font-size: 7px; letter-spacing: .13em; text-transform: uppercase; color: #677169; }
.ha-max { left: 8%; top: 12%; }
.ha-grace { left: 8%; bottom: 24%; }
.ha-olivia { right: 8%; bottom: 24%; }
.ha-antoinette { right: 8%; top: 12%; }
.ha-max > span { border-color: var(--max); }
.ha-grace > span { border-color: #279985; }
.ha-olivia > span { border-color: #7955ce; }
.ha-antoinette > span { background: var(--acid); }
.handoff-track { position: absolute; left: 16%; right: 16%; top: 27%; bottom: 35%; border: 1px dashed rgba(7,17,13,.4); border-radius: 50%; }
.handoff-track i { position: absolute; inset: 50% -8%; height: 1px; background: rgba(7,17,13,.25); }
.handoff-packet { position: absolute; left: 22%; top: 37%; width: 180px; min-height: 112px; background: var(--ink); color: var(--white); padding: 1rem; z-index: 4; box-shadow: 12px 12px 0 var(--acid); animation: packet-lead 3.5s var(--ease) infinite; }
.handoff-packet span, .handoff-packet small { display: block; font-size: 7px; letter-spacing: .14em; color: var(--muted); }
.handoff-packet strong { display: block; margin: .8rem 0; font-size: .9rem; }
@keyframes packet-lead { 0%, 15% { transform: translate(0,0); } 45%, 65% { transform: translate(0, 180px); } 85%,100% { transform: translate(0,0); } }
.handoff-board[data-route="complaint"] .handoff-packet { animation-name: packet-complaint; }
@keyframes packet-complaint { 0%,15% { transform: translate(0,180px); } 48%,65% { transform: translate(425px,180px); } 85%,100% { transform: translate(425px,0); } }
.handoff-board[data-route="drift"] .handoff-packet { animation-name: packet-drift; }
@keyframes packet-drift { 0%,20% { transform: translate(0,0); } 55%,72% { transform: translate(425px,180px); } 100% { transform: translate(425px,180px); } }
.handoff-caption { position: absolute; left: 1.4rem; right: 1.4rem; bottom: 1.2rem; display: flex; justify-content: space-between; gap: 1.5rem; align-items: end; border-top: 1px solid var(--line-light); padding-top: 1rem; }
.handoff-caption p { margin: 0; max-width: 700px; font-size: .9rem; }
.replay-button { border: 0; background: none; color: var(--ink); cursor: pointer; font-size: 8px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }

.approval { padding: var(--section-pad) 0; }
.approval-console { max-width: 1300px; margin: 0 auto; padding: 0 clamp(1.2rem, 5vw, 5rem); display: grid; grid-template-columns: 1fr .75fr; }
.approval-steps { display: grid; grid-template-columns: 1fr 1fr; }
.approval-steps button { min-height: 160px; background: transparent; border: 1px solid var(--line-dark); border-right: 0; color: var(--white); padding: 1.3rem; text-align: left; cursor: pointer; position: relative; transition: background .25s ease, color .25s ease; }
.approval-steps button:nth-child(3), .approval-steps button:nth-child(4) { border-top: 0; }
.approval-steps button span { position: absolute; top: .8rem; right: .8rem; font-size: 8px; color: var(--muted); }
.approval-steps button strong, .approval-steps button small { display: block; }
.approval-steps button strong { font-size: 1.4rem; margin-top: 2rem; }
.approval-steps button small { font-size: 8px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.approval-steps button.active { background: var(--acid); color: var(--ink); }
.approval-steps button.active small, .approval-steps button.active span { color: rgba(7,17,13,.55); }
.approval-detail { border: 1px solid var(--line-dark); padding: clamp(2rem, 4vw, 4rem); display: flex; flex-direction: column; justify-content: center; position: relative; }
.approval-lock { width: 72px; height: 62px; border: 2px solid var(--acid); position: relative; margin-bottom: 2rem; }
.approval-lock::before { content: ""; position: absolute; width: 36px; height: 34px; border: 2px solid var(--acid); border-bottom: 0; border-radius: 30px 30px 0 0; left: 16px; top: -30px; transform-origin: bottom right; transition: transform .45s var(--ease); }
.approval-lock.open::before { transform: rotate(46deg) translate(5px, 1px); }
.approval-lock i { position: absolute; width: 7px; height: 18px; border-radius: 5px; background: var(--acid); left: 31px; top: 23px; }
.approval-detail > small { font-size: 8px; color: var(--acid); font-weight: 900; letter-spacing: .14em; }
.approval-detail h3 { margin: .6rem 0 1rem; font-size: clamp(3rem, 5vw, 5.5rem); line-height: .85; letter-spacing: -.06em; }
.approval-detail > p { color: #bbc4be; font-size: 1.06rem; }
.approval-rule { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line-dark); }
.approval-rule span { display: block; font-size: 7px; color: var(--max); letter-spacing: .14em; font-weight: 900; }
.approval-rule strong { display: block; margin-top: .5rem; }
.authority-map { max-width: 1300px; margin: 5rem auto 0; padding: 0 clamp(1.2rem, 5vw, 5rem); display: grid; grid-template-columns: repeat(5, 1fr); }
.authority-map article { min-height: 210px; padding: 1.2rem; border: 1px solid var(--line-dark); border-right: 0; }
.authority-map article:last-child { border-right: 1px solid var(--line-dark); }
.authority-map article > span { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--acid); color: var(--acid); font-weight: 900; font-size: .8rem; }
.authority-map h3 { margin: 2rem 0 .6rem; font-size: .9rem; }
.authority-map p { margin: 0; color: #9eaaa2; font-size: .82rem; }

.playbook { padding: var(--section-pad) 0; }
.playbook-runner { max-width: 1300px; margin: 0 auto; padding: 0 clamp(1.2rem, 5vw, 5rem); display: grid; grid-template-columns: .65fr .85fr 1fr; min-height: 620px; }
.playbook-wheel { border: 1px solid var(--ink); display: grid; place-items: center; position: relative; overflow: hidden; }
.wheel-core { width: 154px; height: 154px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; align-content: center; font-weight: 950; font-size: 1.6rem; line-height: .82; letter-spacing: -.05em; position: relative; z-index: 2; }
.wheel-core span { color: var(--acid); font-size: .72rem; letter-spacing: .1em; }
.wheel-ring { position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; border: 1px dashed var(--ink); animation: spin 16s linear infinite; }
.wheel-ring::before, .wheel-ring::after { content: ""; position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--max); }
.wheel-ring::before { left: 8%; top: 20%; }
.wheel-ring::after { right: 8%; bottom: 20%; background: var(--acid-deep); }
.playbook-steps { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.playbook-steps button { width: 100%; min-height: 76px; border: 0; border-bottom: 1px solid var(--ink); background: transparent; color: var(--ink); padding: .8rem 1rem; cursor: pointer; display: grid; grid-template-columns: 30px 1fr; text-align: left; transition: background .2s ease, color .2s ease; }
.playbook-steps button:last-child { border-bottom: 0; }
.playbook-steps button > span { grid-row: span 2; font-size: 8px; opacity: .5; align-self: center; }
.playbook-steps button strong { font-size: .9rem; }
.playbook-steps button small { font-size: 7px; letter-spacing: .08em; text-transform: uppercase; opacity: .62; }
.playbook-steps button.active { background: var(--ink); color: var(--acid); }
.playbook-detail { border: 1px solid var(--ink); border-left: 0; padding: clamp(2rem, 4vw, 4rem); display: flex; flex-direction: column; justify-content: center; }
.playbook-detail > small { font-size: 8px; letter-spacing: .13em; font-weight: 900; color: var(--max); }
.playbook-detail h3 { margin: 1rem 0; font-size: clamp(2.2rem, 4.5vw, 5rem); line-height: .87; letter-spacing: -.06em; }
.playbook-detail > p { font-size: 1.08rem; }
.step-check { margin-top: 2rem; padding: 1rem; border: 1px solid var(--line-light); font-size: .8rem; font-weight: 800; }
.memory-system { max-width: 1300px; margin: 8rem auto 0; padding: 0 clamp(1.2rem, 5vw, 5rem); display: grid; grid-template-columns: .8fr 1.2fr; gap: 6vw; align-items: end; }
.memory-intro h3 { margin: 0 0 1.5rem; font-size: clamp(2.2rem, 4.2vw, 4.8rem); line-height: .92; letter-spacing: -.055em; }
.memory-intro p:last-child { max-width: 600px; font-size: 1.05rem; }
.memory-lanes { display: grid; grid-template-columns: 1fr 1fr; }
.memory-lanes article { min-height: 190px; border: 1px solid var(--ink); border-right: 0; border-bottom: 0; padding: 1.2rem; transition: background .25s ease, color .25s ease, transform .25s var(--ease); }
.memory-lanes article:nth-child(even) { border-right: 1px solid var(--ink); }
.memory-lanes article:nth-child(3), .memory-lanes article:nth-child(4) { border-bottom: 1px solid var(--ink); }
.memory-lanes article:hover { background: var(--ink); color: var(--paper); transform: translateY(-4px); }
.memory-lanes span { font-size: 8px; opacity: .6; }
.memory-lanes h4 { margin: 2rem 0 .5rem; }
.memory-lanes p { margin: 0; font-size: .84rem; opacity: .75; }

.command { padding: var(--section-pad) clamp(1.2rem, 5vw, 5rem); }
.command-grid { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: 1fr .8fr; gap: 7vw; align-items: start; }
.command-copy .section-number { margin-bottom: 4rem; }
.command h2 { font-size: clamp(3.1rem, 5.8vw, 6.7rem); }
.command-copy > p { max-width: 680px; font-size: 1.15rem; margin: 2rem 0 3rem; }
.command-principles { border-top: 1px solid var(--ink); }
.command-principles > div { display: grid; grid-template-columns: 48px 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(7,17,13,.4); align-items: center; }
.command-principles span { font-size: 8px; font-weight: 900; }
.command-principles p { margin: 0; font-weight: 760; }
.decision-deck { position: sticky; top: 90px; }
.deck-header { display: flex; justify-content: space-between; align-items: center; background: var(--ink); color: var(--white); padding: .9rem 1rem; font-size: 8px; letter-spacing: .13em; font-weight: 900; }
.deck-header i { color: var(--max); font-style: normal; }
.decision-card { background: var(--paper); border: 1px solid var(--ink); border-top: 0; color: var(--ink); padding: 1.5rem; transition: transform .3s var(--ease); }
.decision-card:nth-child(3) { transform: translateX(8px); }
.decision-card:nth-child(4) { transform: translateX(16px); }
.decision-card:hover { transform: translateX(-5px); }
.decision-card small { color: var(--max); font-size: 7px; font-weight: 900; letter-spacing: .13em; }
.decision-card h3 { margin: .8rem 0; font-size: 1.4rem; line-height: 1.05; }
.decision-card p { font-size: .85rem; color: #546057; }
.decision-card > div { margin-top: .8rem; padding-top: .7rem; border-top: 1px solid var(--line-light); }
.decision-card > div span { display: block; font-size: 7px; font-weight: 900; letter-spacing: .1em; }
.decision-card > div strong { display: block; margin-top: .25rem; font-size: .75rem; }
.decision-card.locked { background: var(--ink); color: var(--white); }
.decision-card.locked p { color: #a9b4ad; }

.finale { min-height: 92svh; padding: var(--section-pad) clamp(1.2rem, 5vw, 5rem); display: flex; flex-direction: column; justify-content: center; }
.finale-lines { position: absolute; inset: 0; opacity: .15; background: repeating-radial-gradient(circle at 80% 50%, transparent 0 80px, rgba(201,255,66,.15) 81px 82px); }
.finale-content { max-width: 1200px; position: relative; z-index: 2; }
.finale h2 { font-size: clamp(3.2rem, 7vw, 8rem); }
.finale-content > p:not(.eyebrow) { margin: 2rem 0; color: #b2bdb5; font-size: 1.2rem; }
.finale-scoreboard { position: relative; z-index: 2; margin-top: 6rem; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.finale-scoreboard > div { padding: 1.5rem; border-right: 1px solid var(--line-dark); }
.finale-scoreboard > div:last-child { border-right: 0; }
.finale-scoreboard strong { display: block; color: var(--acid); font-size: clamp(2.2rem, 4vw, 4.5rem); line-height: 1; }
.finale-scoreboard span { font-size: 7px; letter-spacing: .13em; color: var(--muted); }

footer { min-height: 110px; background: #030806; border-top: 1px solid var(--line-dark); padding: 2rem clamp(1.2rem, 5vw, 5rem); display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
footer > span { color: var(--white); font-weight: 900; }

.tour-dialog { width: min(760px, calc(100% - 2rem)); padding: 0; border: 1px solid var(--acid); background: var(--ink); color: var(--white); box-shadow: 0 30px 110px rgba(0,0,0,.65); }
.tour-dialog::backdrop { background: rgba(1,5,3,.84); backdrop-filter: blur(8px); }
.dialog-close { position: absolute; right: 1rem; top: .8rem; z-index: 3; border: 0; background: none; font-size: 2rem; cursor: pointer; color: var(--white); }
.tour-progress { height: 4px; background: rgba(255,255,255,.1); }
.tour-progress span { display: block; height: 100%; width: 20%; background: var(--acid); transition: width .35s var(--ease); }
.tour-slide { min-height: 430px; padding: clamp(3rem, 8vw, 6rem); display: none; flex-direction: column; justify-content: center; }
.tour-slide.active { display: flex; animation: tour-in .45s var(--ease); }
@keyframes tour-in { from { opacity: 0; transform: translateY(16px); } }
.tour-slide small { color: var(--acid); font-size: 8px; letter-spacing: .14em; font-weight: 900; }
.tour-slide h2 { margin: 1rem 0; font-size: clamp(3rem, 8vw, 6.5rem); line-height: .83; letter-spacing: -.07em; }
.tour-slide p { max-width: 580px; font-size: 1.15rem; color: #b7c1ba; }
.tour-controls { border-top: 1px solid var(--line-dark); min-height: 64px; padding: 0 1rem; display: flex; align-items: center; justify-content: space-between; }
.tour-controls button { border: 0; background: none; color: var(--white); cursor: pointer; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; font-weight: 900; }
.tour-controls button:disabled { opacity: .25; cursor: not-allowed; }
.tour-controls span { font-size: 8px; color: var(--muted); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1040px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 9rem; }
  .hero-system { min-height: 520px; }
  .hero-footer { position: relative; left: auto; right: auto; bottom: auto; grid-column: 1; margin-top: 2rem; }
  .manifesto-grid, .memory-system, .command-grid { grid-template-columns: 1fr; }
  .manifesto-copy { max-width: 720px; }
  .agent-stage { grid-template-columns: .75fr 1.25fr; }
  .agent-portrait { min-height: 580px; }
  .handoff-lab { grid-template-columns: 1fr; }
  .scenario-picker { flex-direction: row; flex-wrap: wrap; }
  .scenario-picker > small { width: 100%; }
  .scenario-picker button { flex: 1 1 210px; }
  .authority-map { grid-template-columns: 1fr 1fr; }
  .authority-map article { border-right: 1px solid var(--line-dark); }
  .playbook-runner { grid-template-columns: .65fr 1fr; }
  .playbook-detail { grid-column: 1 / -1; border-left: 1px solid var(--ink); border-top: 0; min-height: 330px; }
  .decision-deck { position: relative; top: auto; }
}

@media (max-width: 760px) {
  .cursor-glow { display: none; }
  .site-header { height: 66px; padding: 0 1rem; }
  .brand-copy small, .sound-toggle em { display: none; }
  .hero { min-height: auto; padding: 8.5rem 1rem 4rem; }
  .hero-content { width: 100%; min-width: 0; }
  .hero h1 { font-size: clamp(3rem, 13vw, 4.6rem); letter-spacing: -.07em; }
  .hero-lede { width: 100%; max-width: 100%; overflow-wrap: anywhere; }
  .hero-system { min-height: 420px; transform: scale(.88); margin: -1rem; }
  .agent-node { width: 100px; height: 100px; }
  .node-max { margin-left: -50px; }
  .hero-footer { flex-direction: column; }
  .manifesto, .command, .finale { padding-left: 1rem; padding-right: 1rem; }
  .section-heading, .agent-selector, .agent-stage, .mode-control, .handoff-lab, .approval-console, .authority-map, .playbook-runner, .memory-system { padding-left: 1rem; padding-right: 1rem; }
  .console-display { grid-template-columns: 1fr; }
  .console-visual { min-height: 300px; border-right: 0; border-bottom: 1px solid var(--ink); }
  .agent-selector { grid-template-columns: 1fr; }
  .agent-tab { min-height: 84px; border-right: 1px solid var(--line-dark); border-bottom: 0; }
  .agent-tab:last-child { border-bottom: 1px solid var(--line-dark); }
  .agent-stage { grid-template-columns: 1fr; }
  .agent-portrait { min-height: 430px; }
  .agent-profile { border-left: 1px solid var(--line-dark); }
  .agent-details { grid-template-columns: 1fr; }
  .mode-control { grid-template-columns: 1fr; }
  .mode-rail { display: grid; grid-template-columns: 1fr 1fr; }
  .mode-rail button { border-right: 1px solid var(--ink); }
  .mode-rail button:nth-child(2) { border-right: 0; }
  .mode-rail button:nth-child(3) { border-bottom: 0; }
  .mode-rail button:nth-child(4) { border-right: 0; border-bottom: 0; }
  .mode-screen { border-left: 1px solid var(--ink); border-top: 0; }
  .mode-columns { grid-template-columns: 1fr; gap: 1rem; }
  .handoff-board { min-height: 650px; }
  .ha-max, .ha-grace { left: 2%; }
  .ha-olivia, .ha-antoinette { right: 2%; }
  .handoff-track { left: 14%; right: 14%; }
  .handoff-packet { left: 25%; top: 35%; transform: scale(.8); animation: none !important; }
  .handoff-caption { display: block; }
  .replay-button { margin-top: 1rem; }
  .approval-console { grid-template-columns: 1fr; }
  .approval-steps button { min-height: 130px; }
  .approval-detail { min-height: 400px; }
  .authority-map { grid-template-columns: 1fr; }
  .authority-map article { min-height: auto; }
  .playbook-runner { grid-template-columns: 1fr; }
  .playbook-wheel { min-height: 360px; }
  .playbook-detail { grid-column: auto; }
  .memory-lanes { grid-template-columns: 1fr; }
  .memory-lanes article { border-right: 1px solid var(--ink); border-bottom: 0; }
  .memory-lanes article:last-child { border-bottom: 1px solid var(--ink); }
  .finale-scoreboard { grid-template-columns: 1fr 1fr; }
  .finale-scoreboard > div:nth-child(2) { border-right: 0; }
  .finale-scoreboard > div:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); }
  footer { flex-direction: column; text-align: center; gap: .7rem; }
}

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

@media print {
  .site-header, .scroll-progress, .cursor-glow, .noise, .hero-actions, .finale-actions, .sound-toggle, .tour-dialog { display: none !important; }
  body, section, .section-dark, .section-green, .section-light { background: white !important; color: black !important; }
  section { min-height: auto !important; break-inside: avoid; padding: 2rem !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero-system, .console-visual, .agent-portrait, .handoff-board, .playbook-wheel, .finale-lines { display: none !important; }
  .hero, .manifesto-grid, .agent-stage, .mode-control, .handoff-lab, .approval-console, .memory-system, .command-grid { display: block !important; }
  .agent-profile, .mode-screen, .approval-detail, .playbook-detail { border: 1px solid black !important; }
}
