/* ============================================================
   OO DESIGN LAB - styles
   Brand canon: agency-operator/templates/_tokens/oo-2026.json
   Display: Cabinet Grotesk (Fontshare) - Body: DM Sans - Mono: JetBrains Mono
   Sharp corners are canon. Curves only inside Shape Lab (K).
   ============================================================ */

/* fonts: DM Sans + JetBrains Mono via Google; Cabinet Grotesk via Fontshare (loaded in <head>) */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600;9..40,700&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  /* palette (oo-2026 v3 locked) */
  --bg:          #ededed;
  --panel:       #ffffff;
  --blue:        #5374a4;
  --blue-hover:  #3f5d8a;
  --red:         #c62a2b;
  --red-hover:   #a8201f;
  --ink:         #1a1a1f;
  --ink-2:       #4a4a55;
  --ink-3:       #7a7a85;
  --border:      #d6d6d6;
  --grid:        #e0e0e0;
  --success:     #2d8a5e;
  --warning:     #c89020;

  /* tints */
  --blue-08:  rgba(83,116,164,0.08);
  --blue-12:  rgba(83,116,164,0.12);
  --blue-20:  rgba(83,116,164,0.20);
  --red-08:   rgba(198,42,43,0.08);
  --red-12:   rgba(198,42,43,0.12);

  /* fonts */
  --font-display: 'Cabinet Grotesk', 'DM Sans', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  /* motion */
  --ease:  cubic-bezier(0.22, 1, 0.36, 1);
  --dur:   240ms;

  /* layout */
  --container: 1200px;
  --narrow:    920px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body {
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.05; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.5rem, 5.5vw, 4.5rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.6vw, 1.9rem); }
h4 { font-size: 1.15rem; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
a  { color: var(--blue); text-decoration: none; }
strong { color: var(--ink); font-weight: 600; }

/* ---------- layout primitives ---------- */
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: var(--narrow); }

section.lab {
  padding: clamp(56px, 9vw, 120px) 0;
  border-top: 1px solid var(--grid);
  position: relative;
}
section.lab:nth-child(even) { background: var(--panel); }

.kicker {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.kicker::before { content: '//'; color: var(--ink-3); }

.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { margin-bottom: 14px; }
.section-head .lede { font-size: clamp(1rem, 1.6vw, 1.18rem); color: var(--ink-2); }

.faq-answers { font-size: 0.78rem; }

.eyebrow-faq {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
  display: block;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px;
  font-family: var(--font-body);
  font-size: 0.9rem; font-weight: 600;
  border: 1.5px solid transparent;
  cursor: pointer; transition: all var(--dur) var(--ease);
}
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 2px 8px var(--blue-20); }
.btn--primary:hover { background: var(--blue-hover); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(237,237,237,0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.nav__brand { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--ink); letter-spacing: -0.02em; }
.nav__brand span { color: var(--blue); }
.nav__tag { font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-3); padding: 4px 10px; border: 1px solid var(--border); }
.nav__links { display: flex; gap: 22px; }
.nav__links a { font-size: 0.82rem; color: var(--ink-2); font-weight: 500; transition: color var(--dur); }
.nav__links a:hover { color: var(--blue); }
.nav__right { display: flex; align-items: center; gap: 12px; }
.nav__burger { display: none; flex-direction: column; gap: 4px; width: 38px; height: 32px; padding: 7px 6px; background: transparent; border: 1px solid var(--border); cursor: pointer; }
.nav__burger span { display: block; height: 2px; background: var(--ink); transition: transform var(--dur) var(--ease), opacity var(--dur); }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 860px) {
  .nav__burger { display: flex; }
  .nav__links {
    position: absolute; top: 60px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--panel); border-bottom: 1px solid var(--border);
    max-height: 0; overflow: hidden; transition: max-height 320ms var(--ease);
  }
  .nav__links.open { max-height: 360px; }
  .nav__links a { padding: 15px 24px; border-top: 1px solid var(--grid); font-size: 0.95rem; }
}

/* ---------- reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 120ms; }
.reveal.d2 { transition-delay: 240ms; }
.reveal.d3 { transition-delay: 360ms; }

/* ---------- diagram shells ---------- */
.diagram {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: clamp(20px, 3vw, 36px);
  position: relative;
}
section.lab:nth-child(even) .diagram { background: var(--bg); }
.diagram svg { display: block; width: 100%; height: auto; overflow: visible; }

.node-label { font-family: var(--font-body); font-size: 12px; font-weight: 600; fill: var(--ink); }
.node-sub   { font-family: var(--font-mono); font-size: 9px; fill: var(--ink-3); letter-spacing: 0.5px; }
.cap        { font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-3); margin-top: 14px; text-align: center; }

/* ---------- pulse keyframes (signal travel) ---------- */
@keyframes dash-flow { to { stroke-dashoffset: -1000; } }
@keyframes breathe   { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes blink     { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes spin      { to { transform: rotate(360deg); } }

.flow-line { stroke-dasharray: 6 10; animation: dash-flow 9s linear infinite; }
.flow-line.f2 { animation-duration: 6.5s; animation-delay: -1.5s; }  /* fan-out lines run on their own cadence, not synced to the converging lines */

/* ---------- grids ---------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 820px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

/* ---------- cards ---------- */
.tile {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 24px;
  transition: border-color var(--dur), transform var(--dur);
}
section.lab:nth-child(even) .tile { background: var(--bg); }
.tile:hover { border-color: var(--blue); transform: translateY(-2px); }
.tile__num { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; color: var(--blue); line-height: 1; }
.tile__num .unit { font-size: 1rem; color: var(--ink-3); font-weight: 500; }
.tile__label { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-3); margin-top: 10px; }
.tile h4 { margin-bottom: 8px; }
.tile p { font-size: 0.88rem; }

/* ---------- footer ---------- */
.lab-foot { padding: 48px 0 64px; border-top: 1px solid var(--border); background: var(--ink); color: #c9c9d2; }
.lab-foot .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.lab-foot strong { color: #fff; }
.lab-foot .note { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.5px; color: #8a8a96; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   SECTION-SPECIFIC STYLES
   ============================================================ */

/* ---- A · hero ---- */
.hero { padding: clamp(72px, 12vw, 150px) 0 clamp(40px, 6vw, 80px); position: relative; overflow: hidden; }
.hero__inner { max-width: 920px; }
.hero h1 { margin-bottom: 22px; }
.hero__lede { font-size: clamp(1.05rem, 1.8vw, 1.35rem); color: var(--ink-2); max-width: 720px; margin-bottom: 30px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.morph { color: var(--blue); display: inline-block; }
.morph.swap { animation: morphswap 480ms var(--ease); }
@keyframes morphswap { 0% { opacity: 0; filter: blur(8px); transform: translateY(8px); } 100% { opacity: 1; filter: blur(0); transform: none; } }
.hero__constellation { margin-top: 48px; opacity: 0.9; }
.con-nodes circle { fill: #5374a4; animation: blink 4s ease-in-out infinite; }
.con-nodes circle:nth-child(3) { fill: #c62a2b; }
.con-lines path { stroke-dasharray: 4 6; animation: dash-flow 14s linear infinite; }

/* ---- shared diagram pieces ---- */
.hub-label { font-family: var(--font-display); font-weight: 700; font-size: 13px; fill: #fff; }
.hub-sub   { font-family: var(--font-mono); font-size: 8.5px; fill: #dce4f0; letter-spacing: 0.4px; }
.pulse { filter: drop-shadow(0 0 4px rgba(83,116,164,0.6)); }
.hub-halo { animation: breathe 4s ease-in-out infinite; transform-origin: 60px 60px; }
.breathe-ring { animation: breathe 4s ease-in-out infinite; transform-origin: 120px 60px; }
.cn-l { font-family: var(--font-display); font-weight: 700; font-size: 11px; fill: #fff; }
.legend { display: flex; gap: 24px; justify-content: center; margin-top: 16px; font-family: var(--font-mono); font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--ink-3); }
.legend i.dot { display: inline-block; width: 12px; height: 12px; margin-right: 6px; vertical-align: middle; }
.dot--human { background: #5374a4; }
.dot--agent { background: #fff; border: 2px solid #c62a2b; }

/* ---- B4 ticker ---- */
.ticker-wrap { margin-top: 28px; background: var(--ink); border: 1px solid #2a2a33; padding: 18px 22px; }
.ticker__head { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 1px; text-transform: uppercase; color: #8a8a96; display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #2d8a5e; animation: blink 1.6s ease-in-out infinite; }
.ticker__row { display: grid; grid-template-columns: 88px 1fr 18px 1fr 92px; gap: 10px; align-items: center; font-family: var(--font-mono); font-size: 0.75rem; color: #c9c9d2; padding: 7px 0; border-top: 1px solid #2a2a33; animation: tickin 400ms var(--ease); }
@keyframes tickin { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.ticker__t { color: #6f7686; } .ticker__d { color: #8fb0e0; } .ticker__arrow { color: #6f7686; } .ticker__r { color: #fff; }
.ticker__ok { color: #2d8a5e; text-align: right; }
@media (max-width: 620px) { .ticker__row { grid-template-columns: 70px 1fr 70px; } .ticker__arrow, .ticker__r { display: none; } }

/* ---- C3 grounded split ---- */
.split__panel { padding: 26px; border: 1px solid var(--border); background: var(--panel); }
section.lab:nth-child(even) .split__panel { background: var(--bg); }
.split__panel--bad { border-top: 3px solid var(--red); }
.split__panel--good { border-top: 3px solid var(--success); }
.split__tag { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; }
.split__bubble { padding: 16px 18px; border: 1px solid var(--border); margin-bottom: 14px; background: #fff; }
section.lab:nth-child(even) .split__bubble { background: var(--panel); }
.bubble__who { font-family: var(--font-mono); font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--ink-3); display: block; margin-bottom: 6px; }
.split__bubble p { font-size: 0.95rem; color: var(--ink); margin-bottom: 8px; }
.bubble__flag { font-size: 0.75rem; font-weight: 600; color: var(--red); }
.bubble__flag.ok { color: var(--success); }
.bubble--bad { border-left: 3px solid var(--red); }
.bubble--good { border-left: 3px solid var(--success); }
.split__note { font-size: 0.85rem; color: var(--ink-2); }

/* ---- D2 / I flip cards ---- */
.flip { perspective: 1000px; cursor: pointer; min-height: 200px; outline: none; }
.flip:focus-visible .flip__inner { box-shadow: 0 0 0 2px var(--blue); }
.flip__inner { position: relative; width: 100%; height: 100%; min-height: 200px; transition: transform 600ms var(--ease); transform-style: preserve-3d; }
.flip.flipped .flip__inner { transform: rotateY(180deg); }
.flip__face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border: 1px solid var(--border); background: var(--panel); padding: 22px; display: flex; flex-direction: column; }
section.lab:nth-child(even) .flip__face { background: var(--bg); }
.flip__front { justify-content: flex-end; }
.flip__back { transform: rotateY(180deg); justify-content: center; background: var(--ink); border-color: var(--ink); }
.flip__back h4, .flip__back p { color: #fff; }
.flip__back p { font-size: 0.9rem; color: #c9c9d2; }
.flip__back a { color: #8fb0e0; }
.flip__role { font-family: var(--font-mono); font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.5px; padding: 3px 8px; align-self: flex-start; margin-bottom: auto; }
.flip__role.human { background: var(--blue-12); color: var(--blue); }
.flip__role.agent { background: var(--red-12); color: var(--red); }
.flip__front h4 { margin: 0 0 6px; }
.flip__front p { font-size: 0.88rem; }
.flip__hint { font-family: var(--font-mono); font-size: 0.625rem; color: var(--ink-3); margin-top: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.flip__front.obj { justify-content: center; align-items: flex-start; }
.flip__front.obj h4 { font-size: 1.1rem; }

/* ---- E tags ---- */
.tagchips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.tagchip { font-family: var(--font-mono); font-size: 0.75rem; padding: 7px 14px; border: 1px solid var(--border); background: transparent; color: var(--ink-2); cursor: pointer; transition: all var(--dur); }
.tagchip:hover { border-color: var(--blue); color: var(--blue); }
.tagchip.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.threadrow { display: flex; justify-content: space-between; align-items: center; padding: 13px 14px; border: 1px solid var(--border); margin-bottom: 8px; font-size: 0.9rem; color: var(--ink); background: #fff; transition: opacity var(--dur), transform var(--dur), max-height var(--dur); }
section.lab:nth-child(even) .threadrow { background: var(--panel); }
.threadrow.hidden { opacity: 0; transform: translateX(-10px); max-height: 0; padding: 0; margin: 0; border-width: 0; overflow: hidden; }
.trtag { font-family: var(--font-mono); font-size: 0.6875rem; color: var(--blue); }
.tag-side { display: flex; flex-direction: column; gap: 20px; }
.muted { color: var(--ink-3); font-size: 0.88rem; }
.follow-btn.following { background: var(--success); color: #fff; border-color: var(--success); }
.fillbox { margin-top: 16px; display: grid; gap: 8px; max-height: 0; overflow: hidden; transition: max-height 500ms var(--ease); }
.fillbox.filled { max-height: 200px; }
.fillrow { padding: 11px 14px; background: var(--blue-08); border-left: 3px solid var(--blue); font-size: 0.85rem; color: var(--ink); animation: tickin 400ms var(--ease); }
.collapse-row { display: flex; align-items: center; gap: 16px; margin: 16px 0; flex-wrap: wrap; }
.chaos { display: flex; flex-wrap: wrap; gap: 6px; max-width: 60%; }
.chaos span { font-family: var(--font-mono); font-size: 0.7rem; padding: 4px 8px; background: var(--bg); border: 1px dashed var(--ink-3); color: var(--ink-3); }
section.lab:nth-child(even) .chaos span { background: var(--panel); }
.collapse-arrow { color: var(--ink-3); font-size: 1.4rem; }
.one-tag { font-family: var(--font-mono); font-weight: 700; font-size: 1.3rem; color: #fff; background: var(--blue); padding: 12px 20px; }

/* ---- F learning ---- */
.fade-list { display: grid; gap: 8px; margin-top: 12px; }
.fade-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border: 1px solid var(--border); font-size: 0.88rem; }
.fade-row.strong { color: var(--ink); border-left: 3px solid var(--success); }
.fade-row.weak { color: var(--ink-3); border-left: 3px solid var(--border); animation: blink 4s ease-in-out infinite; }
.lock { font-family: var(--font-mono); font-size: 0.6875rem; color: var(--success); }
.fading { font-family: var(--font-mono); font-size: 0.6875rem; color: var(--ink-3); }
.cbar { margin-top: 8px; }
.cbar__track { height: 18px; background: var(--bg); border: 1px solid var(--border); overflow: hidden; }
section.lab:nth-child(even) .cbar__track { background: var(--panel); }
.cbar__fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--red)); transition: width 60ms linear; }
.cbar__meta { font-family: var(--font-mono); font-size: 0.75rem; color: var(--ink-2); margin-top: 8px; }

/* ---- G race ---- */
.race { margin-top: 8px; }
.race__lane { padding: 24px; border: 1px solid var(--border); background: var(--panel); }
section.lab:nth-child(even) .race__lane { background: var(--bg); }
.race__lane--manual { border-top: 3px solid var(--ink-3); }
.race__lane--system { border-top: 3px solid var(--blue); }
.race__tag { font-family: var(--font-mono); font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 1px; color: var(--ink-3); margin-bottom: 14px; }
.race__bar { height: 14px; background: var(--bg); border: 1px solid var(--border); overflow: hidden; margin-bottom: 14px; }
section.lab:nth-child(even) .race__bar { background: var(--panel); }
.race__fill { height: 100%; width: 0; }
.race__fill--slow { background: var(--ink-3); animation: fillslow 6s ease-out infinite; }
.race__fill--fast { background: var(--blue); animation: fillfast 6s ease-out infinite; }
@keyframes fillslow { 0% { width: 0; } 70% { width: 88%; } 100% { width: 92%; } }
@keyframes fillfast { 0% { width: 0; } 12% { width: 96%; } 100% { width: 100%; } }
.race__time { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--ink); }
.race__lane p { font-size: 0.88rem; }

/* ---- H FAQ ---- */
.faq__item { border: 1px solid var(--border); margin-bottom: 10px; background: var(--panel); }
section.lab:nth-child(even) .faq__item { background: var(--bg); }
.faq__q { width: 100%; text-align: left; padding: 18px 20px; background: none; border: none; font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq__pl { color: var(--blue); font-weight: 400; font-size: 1.4rem; transition: transform var(--dur); flex-shrink: 0; }
.faq__item.open .faq__pl { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 360ms var(--ease); }
.faq__a-in { padding: 0 20px 20px; font-size: 0.95rem; color: var(--ink-2); }
.faq__a-in a { font-weight: 600; }
.not-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 28px; }
@media (max-width: 680px) { .not-row { grid-template-columns: 1fr; } }
.not-card { padding: 20px; border: 1px solid var(--border); background: var(--panel); }
section.lab:nth-child(even) .not-card { background: var(--bg); }
.not-card .strike { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: var(--ink-3); text-decoration: line-through; text-decoration-color: var(--red); display: block; margin-bottom: 8px; }
.not-card p { font-size: 0.9rem; }

/* ---- K/L lab strip ---- */
.labstrip { background: var(--ink); }
.labstrip h2, .labstrip .lede { color: #fff; }
.labstrip .lede { color: #c9c9d2; }
.labstrip .kicker { color: #8fb0e0; }
.labstrip .kicker::before { color: #6f7686; }
.lab-tile { background: #23232c !important; border-color: #34343f; }
.lab-tile .cap { color: #8a8a96; }
.blob { animation: blobmorph 8s ease-in-out infinite; transform-origin: center; }
@keyframes blobmorph { 0%,100% { d: path("M50,40 Q100,10 150,40 Q180,80 150,120 Q100,150 50,120 Q20,80 50,40 Z"); } 50% { d: path("M60,50 Q90,20 140,30 Q190,70 160,110 Q110,160 60,130 Q10,90 60,50 Z"); } }
.draw { stroke-dasharray: 400; stroke-dashoffset: 400; animation: drawline 4s var(--ease) infinite; }
@keyframes drawline { 0% { stroke-dashoffset: 400; } 60%,100% { stroke-dashoffset: 0; } }
.scrub { display: flex; gap: 8px; flex-wrap: wrap; }
.scrub__stage { font-family: var(--font-mono); font-size: 0.75rem; padding: 8px 12px; border: 1px solid #34343f; color: #6f7686; transition: all var(--dur); }
.scrub__stage.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.askbar { display: flex; gap: 8px; }
.askbar__in { flex: 1; padding: 13px 16px; background: #1a1a1f; border: 1px solid #34343f; color: #fff; font-family: var(--font-body); font-size: 0.9rem; }
.askbar__in::placeholder { color: #6f7686; }
.askbar__out { margin-top: 14px; font-size: 0.9rem; color: #c9c9d2; max-height: 0; overflow: hidden; transition: max-height 400ms var(--ease); }
.askbar__out.show { max-height: 200px; }
.brainpulse { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 20px 0; }
.brainpulse__core { width: 56px; height: 56px; background: var(--red); animation: breathe 2.6s ease-in-out infinite; }
.brainpulse span { font-family: var(--font-mono); font-size: 0.7rem; color: #8a8a96; text-transform: uppercase; letter-spacing: 1px; }

/* ---- mobile ---- */
@media (max-width: 640px) {
  .hero__cta { flex-direction: column; align-items: flex-start; }
  .btn { width: auto; }
  .collapse-row .chaos { max-width: 100%; }
}
