site-route-scene {
  display: block;
}

.site-route-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  isolation: isolate;
}

.site-route-gradient,
.site-route-grid,
.site-route-wash,
.site-route-scan,
.site-route-orb,
.site-route-map {
  position: absolute;
}

.site-route-gradient,
.site-route-grid,
.site-route-wash,
.site-route-scan {
  inset: 0;
}

.site-route-gradient {
  background:
    linear-gradient(180deg, #030611 0%, #0a1730 32%, #103453 60%, #090f1f 100%);
}

.site-route-grid {
  background-image:
    linear-gradient(rgba(70, 228, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(70, 228, 255, 0.08) 1px, transparent 1px);
  background-size: 62px 62px;
  opacity: 0.42;
  transform: translate3d(0, -6vh, 0);
}

.site-route-wash {
  background:
    radial-gradient(circle at 22% 24%, rgba(90, 250, 179, 0.22), transparent 24%),
    radial-gradient(circle at 78% 14%, rgba(70, 228, 255, 0.22), transparent 28%),
    radial-gradient(circle at 50% 76%, rgba(255, 243, 143, 0.12), transparent 20%);
  opacity: 0.82;
}

.site-route-scan {
  top: 24vh;
  height: 22vh;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(70, 228, 255, 0.14) 48%,
    rgba(255, 255, 255, 0) 100%
  );
  mix-blend-mode: screen;
  opacity: 0.28;
  animation: site-route-sweep 12s ease-in-out infinite;
}

.site-route-orb {
  width: 22rem;
  aspect-ratio: 1;
  border-radius: 999px;
  filter: blur(22px);
  opacity: 0.22;
}

.site-route-orb-one {
  top: 14vh;
  right: 24vw;
  background: radial-gradient(circle, rgba(70, 228, 255, 0.7), transparent 68%);
}

.site-route-orb-two {
  bottom: 14vh;
  left: 26vw;
  background: radial-gradient(circle, rgba(90, 250, 179, 0.6), transparent 68%);
}

.site-route-map {
  top: clamp(5.5rem, 10vh, 8rem);
  left: clamp(0.8rem, 3vw, 2.5rem);
  right: clamp(0.8rem, 3vw, 2.5rem);
  bottom: clamp(1rem, 4vh, 2.5rem);
}

.site-route-svg {
  width: 100%;
  height: 100%;
}

.site-route-halo,
.site-route-base,
.site-route-progress,
.site-route-flow {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-route-halo {
  stroke: rgba(70, 228, 255, 0.34);
  stroke-width: 22;
}

.site-route-base {
  stroke: rgba(236, 247, 255, 0.24);
  stroke-width: 5;
  stroke-dasharray: 4 16;
}

.site-route-progress {
  stroke: url(#siteRouteGlow);
  stroke-width: 7;
  filter: drop-shadow(0 0 26px rgba(90, 250, 179, 0.52));
}

.site-route-flow {
  stroke: rgba(255, 243, 143, 0.92);
  stroke-width: 2.6;
  stroke-dasharray: 28 32;
  opacity: 0.78;
  animation: site-route-flow 9s linear infinite;
}

.site-route-node {
  fill: #46e4ff;
  filter: drop-shadow(0 0 14px rgba(70, 228, 255, 0.55));
}

.site-route-node-end {
  fill: #5afab3;
  filter: drop-shadow(0 0 14px rgba(90, 250, 179, 0.52));
}

.site-route-stop {
  position: absolute;
  padding: 0.46rem 0.72rem;
  border: 1px solid rgba(70, 228, 255, 0.16);
  border-radius: 999px;
  background: rgba(5, 12, 24, 0.48);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
  color: rgba(236, 247, 255, 0.72);
  font-family: "Bahnschrift", "Franklin Gothic Medium", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-route-stop-live {
  top: 77%;
  left: 8%;
}

.site-route-stop-upgrade {
  top: 50%;
  left: 39%;
}

.site-route-stop-efficiency {
  top: 21%;
  left: 69%;
}

.site-route-stop-response {
  top: 8%;
  left: 84%;
}

@keyframes site-route-sweep {
  0%,
  100% {
    transform: translate3d(0, -18vh, 0);
    opacity: 0;
  }

  20%,
  80% {
    opacity: 0.28;
  }

  50% {
    transform: translate3d(0, 48vh, 0);
    opacity: 0.34;
  }
}

@keyframes site-route-flow {
  from {
    stroke-dashoffset: 0;
  }

  to {
    stroke-dashoffset: -240;
  }
}

@media (max-width: 980px) {
  .site-route-map {
    left: -8vw;
    right: -8vw;
    bottom: 4.5rem;
  }
}

@media (max-width: 720px) {
  .site-route-map {
    left: -18vw;
    right: -18vw;
    bottom: 5rem;
  }

  .site-route-stop {
    padding: 0.4rem 0.6rem;
    font-size: 0.6rem;
  }
}

@media (max-width: 560px) {
  .site-route-grid {
    opacity: 0.28;
  }

  .site-route-map {
    left: -28vw;
    right: -28vw;
    bottom: 5.5rem;
  }

  .site-route-stop {
    opacity: 0.72;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-route-scan,
  .site-route-flow {
    animation: none;
  }
}