/* Website selection stays green; the brief circuit background is decorative only. */
header .nav-links > a[aria-current]:not(.button),
.sps-site-header .sps-site-links > a[aria-current="page"] {
  text-decoration: none;
  border-bottom: 0;
}
.sps-nav-circuit-layer {
  position: fixed;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  animation: sps-circuit-reveal 2.05s ease-out both;
}
.sps-nav-circuit-layer svg { display: block; width: 100%; height: 100%; overflow: hidden; }
.sps-nav-circuit-layer :is(path, rect, circle) { vector-effect: non-scaling-stroke; }
.sps-circuit-trace { fill: none; stroke: #0e7153; stroke-width: 1; stroke-opacity: .15; stroke-linejoin: round; }
.sps-circuit-trace.sps-circuit-branch { stroke: #9b7847; stroke-opacity: .13; }
.sps-circuit-node { fill: #f7e3a3; fill-opacity: .14; stroke: #6a874b; stroke-width: 1.1; stroke-opacity: .3; }
.sps-circuit-chip { fill: #e1bc58; fill-opacity: .05; stroke: #ad8832; stroke-width: 1.25; stroke-opacity: .55; }
.sps-circuit-chip-mark { fill: none; stroke: #aa842d; stroke-width: 1; stroke-opacity: .4; }
.sps-circuit-pin { fill: none; stroke: #0e7153; stroke-width: 1.3; stroke-opacity: .35; }
.sps-circuit-current {
  fill: none;
  stroke: #c29832;
  stroke-width: 1.7;
  stroke-opacity: .72;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: .12 1;
  stroke-dashoffset: .12;
  animation: sps-circuit-current 1.55s linear var(--circuit-delay, .08s) both;
}
.sps-circuit-current.sps-circuit-branch { stroke: #268166; stroke-opacity: .6; animation-duration: 1.12s; }
@keyframes sps-circuit-reveal {
  0% { opacity: 0; }
  9%, 78% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes sps-circuit-current {
  from { stroke-dashoffset: .12; }
  to { stroke-dashoffset: -1; }
}
@media (prefers-reduced-motion: reduce) {
  .sps-nav-circuit-layer { display: none; animation: none; }
  .sps-circuit-current { animation: none; }
}
