.route-intro {
  padding-top: clamp(32px, 6vw, 80px);
  padding-bottom: clamp(32px, 6vw, 80px);
  background: linear-gradient(180deg, var(--hero-top), var(--hero-bottom));
  border-bottom: 1px solid var(--border);
}

.route-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
}

.route-intro h1 {
  margin-top: 16px;
}

.route-coverage {
  width: fit-content;
  margin-block: 16px 24px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--bg-panel);
  font-size: var(--fs-small);
  font-weight: 700;
}

.route-plate {
  display: grid;
  justify-items: stretch;
  align-content: center;
  gap: 12px;
  height: auto;
  min-height: 272px;
  padding: clamp(16px, 3vw, 32px);
  color: var(--bg-panel);
}

.route-plate-caption {
  color: var(--bg);
  font-size: var(--fs-small);
  letter-spacing: .08em;
}

.route-drawing {
  display: block;
  width: 100%;
  height: auto;
  max-height: 168px;
}

.route-drawing path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.route-arc-under {
  stroke: var(--cream-16);
  stroke-width: 16;
}

.route-arc-over {
  stroke: var(--cream-70);
  stroke-width: 2;
}

.route-branch {
  stroke: var(--cream-30);
  stroke-width: 1.5;
  stroke-dasharray: 3 7;
}

.route-stop {
  fill: var(--bg-panel);
}

.route-hub {
  fill: var(--coffee);
  stroke: var(--cream-70);
  stroke-width: 2;
}

.route-zones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  text-align: center;
}

.route-zones span {
  padding: 5px 4px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--coffee-2);
  font-size: var(--fs-small);
}

#routes .table-scroll {
  margin-top: 24px;
}

.route-note {
  margin-block: 16px 0;
  color: var(--text-muted);
  font-size: var(--fs-small);
}

.route-type-section {
  background: var(--hero-top);
  border-block: 1px solid var(--border);
}

.route-type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.route-type-card p:last-child,
.route-use-list article p:last-child {
  margin-bottom: 0;
}

.route-path {
  padding: 8px 10px;
  border-radius: var(--r-sm);
  background: var(--bg-panel-2);
  color: var(--text);
  font-size: var(--fs-small);
}

.route-use-list {
  min-width: 0;
}

.route-use-list article + article {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.route-use-list .callout {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .route-type-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .route-intro-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .route-plate {
    min-height: 0;
  }
}