:root.mode-dark:has(.neural-home) {
  --bg:#0b1016; --soft:#101820; --surface:#16202a; --card:#111a22;
  --ink:#f4eee5; --ink-2:#b5c0c8; --ink-3:#95a5b0; --line:#253440; --line-2:#3c4d58;
  --accent:#ff864e; --accent-ink:#ffab7c; --accent-wash:#2b1c17; --on-ink:#0b1016;
}
.neural-home {
  --wide:1210px; --orb-glow:#e5844133;
}
.neural-home #hero {
  padding: 0;
  background: radial-gradient(ellipse at 73% 38%, var(--orb-glow), transparent 44%), var(--bg);
}
.neural-home .neural-stage {
  width: min(1210px, 92vw); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center; gap: clamp(26px, 4vw, 72px); padding-block: clamp(40px, 6vw, 86px) 20px;
}
.neural-home .neural-copy { position: relative; }
.neural-home .neural-affiliation { color: var(--accent-ink); font: 12px/1.6 Consolas, monospace; letter-spacing: .14em; text-transform: uppercase; }
.neural-home #h-home {
  font: 400 clamp(54px, 7.2vw, 115px)/.88 var(--serif); margin: 16px 0 0;
  letter-spacing: -.045em; text-wrap: normal;
}
.neural-home #h-home em { color: var(--accent-ink); font-style: italic; }
.neural-home .neural-copy .lede { margin-top: 21px; font-size: clamp(16px, 1.6vw, 20px); }
.neural-home .neural-copy .ctas { justify-content: flex-start; }
.neural-home .neural-copy .fine { margin-top: 11px; }
.neural-home .neural-copy .btn-solid { background: var(--accent-ink); border-color: var(--accent-ink); color: #fff7eb; }
.mode-dark .neural-home .neural-copy .btn-solid { color: #24140c; }
.neural-home .brain-figure { margin: 0; min-width: 0; position: relative; }
.neural-home .brain-canvas { display: block; width: 100%; aspect-ratio: 1.25; height: auto; }
.neural-home .brain-caption { width: min(100%, 440px); margin: -8px auto 0; }
.neural-home .brain-tabs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; }
.neural-home .brain-tabs button {
  font: 11px var(--sans); color: var(--ink-2); min-height: 42px;
  border: 1px solid var(--line-2); border-radius: 30px; background: var(--card); padding: 5px 7px;
}
.neural-home .brain-tabs button[aria-pressed="true"] { border-color: var(--accent-ink); color: var(--accent-ink); }
.neural-home .brain-caption p { font-size: 13px; color: var(--ink-2); padding: 9px 3px 0; min-height: 49px; }
.neural-home .neural-moments {
  width: min(1210px, 92vw); margin: 19px auto 33px;
  display: grid; grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 0 15px;
}
.neural-home .neural-moments .moment {
  display: block; position: static; width: auto; min-width: 0;
  transform: none; translate: none; animation: none; border-radius: 0; border: 0;
  border-top: 1px solid var(--line-2); padding: 13px 0 0; background: transparent; box-shadow: none;
  rotate: none; opacity: 1;
}
.neural-home .neural-moments .moment .ph { display: none; }
.neural-home .neural-moments .moment .cap { margin: 0; }
.neural-home .neural-moments .moment .cap b { white-space: normal; }
.neural-home .hero-foot { padding-inline: 18px; }
.neural-home main .sh h2, .neural-home main .section-end h2 { font-family: var(--serif); }
.neural-home main .sh .label { color: var(--accent-ink); }
@media (max-width: 760px) {
  .neural-home .neural-stage { width:min(92vw,540px); grid-template-columns: minmax(0,1fr); gap: 15px; padding-block: 33px 6px; }
  .neural-home #h-home { font-size: clamp(49px,12vw,76px); }
  .neural-home .neural-copy .ctas { margin-top: 18px; row-gap: 7px; }
  .neural-home .brain-figure { width: min(100%, 460px); justify-self: center; }
  .neural-home .brain-canvas { aspect-ratio: 1.5; }
  .neural-home .neural-moments { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
}

.neural-site.neural-home #hero .brain-figure { z-index:auto; }
.neural-home .brain-hotspot {
  position:absolute; z-index:3; display:grid; place-items:center; width:44px; height:44px;
  transform:translate(-50%,-50%); padding:0; border:0; border-radius:50%;
  background:none; color:var(--accent-ink); cursor:pointer; pointer-events:auto; touch-action:manipulation;
}
.neural-home .brain-hotspot::after {
  content:""; width:13px; height:13px; border-radius:50%; border:1px solid currentColor; opacity:.65;
}
.neural-home .brain-hotspot[aria-pressed="true"]::after { width:18px; height:18px; opacity:.85; }
.neural-home .brain-hotspot:hover::after, .neural-home .brain-hotspot:focus-visible::after { opacity:1; }
.neural-home .brain-hotspot:not([style]) { visibility:hidden; }
.neural-home .brain-caption { z-index:3; text-align:center; }
.neural-home .brain-caption [role="status"] { min-height:48px; margin:0; line-height:1.35; }
.neural-home .brain-play {
  min-height:32px; padding:4px 10px; border:0; border-radius:6px; color:var(--accent-ink);
  background:transparent; font:500 12px var(--sans); text-decoration:underline; text-underline-offset:4px;
  cursor:pointer;
}
.neural-home .brain-play:hover { color:var(--ink); }
.neural-home .brain-play:focus-visible, .neural-home .brain-hotspot:focus-visible { outline:2px solid var(--accent-ink); outline-offset:2px; }
.neural-home .brain-tabs button { cursor:pointer; }
@media (max-width:760px) {
  .neural-home .brain-caption [role="status"] { min-height:50px; }
  .neural-home .brain-play { min-height:40px; }
}

.neural-home .brain-figure[data-formation="growing"] .brain-hotspot { visibility:hidden; }

.mode-dark .neural-site.neural-home {
  --bg:#0b0e13; --soft:#10151d; --surface:#151d27; --card:#121922;
  --line:#273643; --line-2:#3b5162;
  --accent:#ff8b41; --accent-ink:#ffb46f; --orb-glow:#b95b3025;
}
.mode-dark .neural-home .neural-current .cool {stroke:#5daeda}
.mode-dark .neural-home .neural-current .current-pulse {fill:#ffd8a1}
.neural-home .brain-origin-orb {
  position:absolute; z-index:1; border:0; pointer-events:none; opacity:0;
  transform-origin:top left;
  mix-blend-mode:screen;
  mask-image:radial-gradient(ellipse closest-side,#000 62%,transparent 100%);
  transition:opacity .30s ease;
}
@media (prefers-reduced-motion:reduce) { .brain-origin-orb { display:none; } }
