/* Interactive route map */
.routemap-stage {
  display: grid;
  min-height: 74vh;
  grid-template-columns: minmax(280px, 0.58fr) minmax(320px, 1fr);
  gap: clamp(24px, 6vw, 78px);
  align-items: center;
  overflow: hidden;
  padding: 32px max(16px, calc((100vw - 1180px) / 2));
}

.routemap-panel {
  overflow: hidden;
  border: 1px solid rgba(17, 19, 21, 0.15);
  border-radius: 8px;
  background:
    linear-gradient(rgba(17, 19, 21, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 19, 21, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 32px 32px;
  box-shadow: 0 28px 76px rgba(17, 19, 21, 0.14);
  padding: clamp(12px, 3vw, 24px);
}

.routemap-svg {
  display: block;
  width: 100%;
  min-height: 440px;
}

.routemap-district {
  fill: rgba(255, 255, 255, 0.62);
  stroke: rgba(17, 19, 21, 0.12);
  stroke-width: 1;
}

.routemap-path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 12;
  will-change: stroke-dashoffset, opacity;
}

.routemap-path[data-route="north"] {
  stroke: var(--cyan);
}

.routemap-path[data-route="south"] {
  stroke: var(--coral);
}

.routemap-ghost {
  fill: none;
  stroke: rgba(17, 19, 21, 0.08);
  stroke-width: 18;
  stroke-linecap: round;
}

.routemap-node {
  fill: var(--paper);
  stroke: var(--ink);
  stroke-width: 5;
  filter: drop-shadow(0 10px 16px rgba(17, 19, 21, 0.18));
  will-change: transform, opacity;
}

.routemap-node[data-route="north"] {
  fill: var(--cyan);
}

.routemap-node[data-route="south"] {
  fill: var(--coral);
}

.routemap-label {
  fill: var(--ink);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
}

@media (max-width: 840px) {
  .routemap-stage {
    grid-template-columns: 1fr;
  }

  .routemap-svg {
    min-height: 360px;
  }
}
