.hero-sculpture > img,
.brain-current {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.hero-sculpture > img { object-fit: contain; }
.brain-current { visibility: hidden; }

.brain-current path {
  fill: none;
  stroke: #e1faff;
  stroke-width: 5.5;
  stroke-linecap: round;
  stroke-dasharray: 12 120;
  stroke-dashoffset: 14;
}
.brain-ready .brain-current { visibility: visible; }
.brain-ready .brain-current path {
  animation: track-pulse 6.8s linear infinite both;
  animation-delay: var(--phase, 0s);
}
.brain-current path:nth-child(2) { --phase: -4.2s; }
.brain-current path:nth-child(3) { --phase: -1.4s; }
.brain-current path:nth-child(4) { --phase: -5.6s; }
.brain-current path:nth-child(5) { --phase: -2.8s; }
.brain-resting .brain-current path { animation-play-state: paused; }
@keyframes track-pulse {
  0% { stroke-dashoffset: 14; opacity: 0; }
  5% { opacity: .92; }
  32% { opacity: .92; }
  38%, 100% { stroke-dashoffset: -102; opacity: 0; }
}

.brain-toggle {
  position: absolute;
  right: calc(7% - 1rem);
  bottom: calc(11% - 1rem);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid #57708c;
  border-radius: 50%;
  color: #d5e6f6;
  background: #101a29;
  cursor: pointer;
  pointer-events: auto;
}
.brain-toggle[hidden], .brain-ready .reg-d { display: none; }
.brain-toggle:hover, .brain-toggle:focus-visible { border-color: #b5d9ff; background: #192d45; }
.brain-toggle svg { width: 1rem; height: 1rem; fill: currentColor; }
.brain-toggle .play-mark, .brain-toggle[data-paused] .pause-mark { display: none; }
.brain-toggle[data-paused] .play-mark { display: block; }

@media (prefers-reduced-motion: reduce) {
  .brain-ready .brain-current, .brain-toggle { display: none; }
  .brain-ready .reg-d { display: block; }
  .brain-ready .brain-current path { animation: none; }
}
