.neural-home #hdr {
  top:0;
}
.neural-home #hdr .wrap {
  width:100%; max-width:none; min-height:60px; height:auto;
  padding:6px max(16px,4vw);
  border:0; border-radius:0; border-bottom:1px solid var(--line);
  background:color-mix(in srgb,var(--bg) 94%,transparent);
  box-shadow:none; backdrop-filter:blur(12px);
}
.neural-home #hdr .mark {white-space:nowrap}
.neural-home #hdr .neural-affiliation {
  display:flex; align-items:center; min-height:26px; gap:6px;
}
.neural-home #hdr .parent-brand {justify-content:flex-start}
.neural-home #hdr .affiliation-words {font:10px/1.3 var(--mono); letter-spacing:.02em}
.neural-home #hdr .theme-dots {display:inline-flex; gap:2px; padding:0}
.neural-home #hdr .tdot {
  width:30px; height:38px; display:grid; place-items:center;
  border:0; background:transparent; box-shadow:none;
}
.neural-home #hdr .tdot::before {
  content:''; width:15px; height:15px; border-radius:50%; border:1px solid var(--line-2);
  background:#f4f1e8;
}
.neural-home #hdr .tdot.w::before {background:#fff}
.neural-home #hdr .tdot.d::before {background:#141416}
.neural-home #hdr .tdot[aria-pressed=true]::before {box-shadow:0 0 0 2px var(--bg),0 0 0 3px var(--ink)}
.neural-home #hdr .tools>.btn {display:inline-flex; white-space:nowrap; min-height:38px}
.neural-home #hdr .menu-btn {display:none}
.neural-home #hdr .site-sound {
  display:inline-flex; align-items:center; gap:6px; justify-content:center;
  border:1px solid var(--line-2); border-radius:999px; min-height:38px; min-width:82px; padding:0 11px;
  background:transparent; color:var(--ink); font:11px/1 var(--mono); cursor:pointer;
}
.neural-home #hdr .site-sound[aria-pressed=true] {color:var(--accent-ink); border-color:currentColor}
.neural-home #hdr .site-sound:focus-visible {outline:2px solid var(--accent); outline-offset:2px}
@media (max-width:1060px) {
  .neural-home #hdr .menu-btn {display:inline-grid}
}
@media (max-width:840px) {
  .neural-home #hdr .wrap {
    flex-wrap:wrap; justify-content:center; gap:2px 8px; padding:5px 10px;
  }
  .neural-home #hdr .header-brand-group {width:100%; justify-content:center; min-height:32px}
  .neural-home #hdr .tools {gap:5px}
  .neural-home #hdr .tools>.btn {font-size:12px; padding-inline:12px}
  .neural-home #hdr .menu-btn {width:36px; height:38px}
  .neural-site.neural-home #hero .neural-stage {padding-top:98px}
}


@media (max-width:360px) {
  .neural-home #hdr .header-brand-group {gap:6px}
  .neural-home #hdr .mark {font-size:20px; gap:5px}
  .neural-home #hdr .mark [data-gogo] {width:20px;height:20px}
  .neural-home #hdr .neural-affiliation {display:grid; padding-inline-start:8px; gap:2px}
  .neural-home #hdr .affiliation-words {font-size:9px}
  .neural-home #hdr .tdot {width:26px}
  .neural-home #hdr .site-sound {min-width:71px;padding-inline:7px}
  .neural-home #hdr .tools>.btn {padding-inline:9px}
  .neural-home #hdr .menu-btn {width:32px}
}
/* Reserve space for every script so the brand line stays centered during swaps. */
.neural-home #hdr .mark .g {display:inline-grid; min-width:0; vertical-align:baseline}
.neural-home #hdr .mark .g > :is(i,span) {grid-area:1 / 1; position:static}
@media (min-width:1181px) {
  .neural-home #hdr .wrap {display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}
  .neural-home #hdr .header-brand-group {grid-column:2}
  .neural-home #hdr .tools {grid-column:3; justify-self:end}
}
@media (min-width:841px) and (max-width:1180px) {
  .neural-home #hdr .wrap {flex-wrap:wrap; justify-content:center; gap:2px 8px; padding-block:5px}
  .neural-home #hdr .header-brand-group {width:100%; justify-content:center}
  .neural-site.neural-home #hero .neural-stage {padding-top:98px}
}
@media (max-width:520px) {
  .neural-home #hdr .neural-affiliation {display:grid; padding-inline-start:8px; gap:2px}
  .neural-home #hdr .mark {font-size:20px; gap:5px}
  .neural-home #hdr .mark [data-gogo] {width:21px; height:21px}
}
