:root {
  /* Edit colour tokens here. */
  --page-bg: #f5f5f7;
  --surface: #ffffff;
  --surface-soft: rgba(255, 255, 255, 0.74);
  --text: #10233f;
  --text-strong: #07162b;
  --muted: #5b6675;
  --muted-2: #788392;
  --line: #f0782a;
  --line-shadow: rgba(16, 35, 63, 0.2);
  --station-stroke: #10233f;
  --station-fill: #ffffff;
  --border: rgba(16, 35, 63, 0.11);
  --border-strong: rgba(16, 35, 63, 0.18);
  --shadow-soft: 0 18px 46px rgba(16, 35, 63, 0.08);
  --shadow-map: 0 28px 76px rgba(16, 35, 63, 0.15);
  --nav-height: 64px;
  --nav-offset: var(--nav-height);
  --camera-x: 0px;
  --camera-y: 0px;
  --camera-scale: 1;
  --camera-tilt: 0deg;
  --camera-rotate: 0deg;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-offset) + 22px);
  background: var(--page-bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(245, 245, 247, 0.98) 36%),
    var(--page-bg);
}

html.nav-hidden,
body.nav-hidden {
  --nav-offset: 0px;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 20;
  transform: translateY(-150%);
  border-radius: 8px;
  background: var(--text);
  color: #ffffff;
  padding: 10px 12px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(16, 35, 63, 0.08);
  background: rgba(245, 245, 247, 0.78);
  backdrop-filter: blur(18px);
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 180ms ease,
    transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 180ms ease;
  will-change: transform;
}

.site-nav.is-hidden {
  border-bottom-color: rgba(16, 35, 63, 0);
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(-100% - 2px));
}

.site-nav:focus-within {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  min-height: var(--nav-height);
  margin: 0 auto;
}

.nav-brand {
  flex: 0 0 auto;
  color: var(--text-strong);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.nav-links a {
  flex: 0 0 auto;
  border-radius: 8px;
  color: rgba(16, 35, 63, 0.72);
  padding: 8px 10px;
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(255, 255, 255, 0.78);
  color: var(--text-strong);
  outline: none;
}

.route-scene {
  min-height: 245vh;
  padding: 30px 24px 104px;
}

.sticky-stage {
  position: sticky;
  top: var(--nav-offset);
  display: grid;
  grid-template-rows: auto minmax(360px, 1fr) auto;
  gap: 22px;
  place-items: stretch center;
  width: min(1180px, 100%);
  min-height: calc(100vh - var(--nav-offset));
  margin: 0 auto;
  padding: 34px 0 38px;
}

.hero-copy {
  display: grid;
  justify-items: center;
  gap: 12px;
  width: min(980px, 100%);
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.project-kicker,
.map-attribution,
.completion-label,
.section-kicker,
.eyebrow,
.source-note {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 720;
  letter-spacing: 0;
}

.project-kicker,
.section-kicker,
.eyebrow {
  color: var(--line);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 940px;
  color: var(--text-strong);
  font-size: clamp(3.4rem, 8.2vw, 7rem);
  line-height: 0.94;
  font-weight: 790;
  letter-spacing: 0;
}

.hero-tagline,
.subtitle {
  margin: 0;
  max-width: 840px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.9vw, 1.42rem);
  line-height: 1.48;
  font-weight: 520;
}

.hero-copy .project-kicker,
.hero-copy h1,
.hero-tagline {
  opacity: 0;
  transform: translateY(14px);
  animation: hero-copy-in 720ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-copy h1 {
  animation-delay: 110ms;
}

.hero-tagline {
  animation-delay: 230ms;
}

.map-card {
  position: relative;
  align-self: stretch;
  width: 100%;
  min-height: 360px;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--surface);
  box-shadow:
    0 34px 100px rgba(16, 35, 63, 0.16),
    0 10px 36px rgba(240, 120, 42, 0.08);
  isolation: isolate;
  opacity: 0;
  perspective: 1100px;
  transform: translateY(18px) scale(0.985);
  transform-style: preserve-3d;
  animation: hero-map-in 860ms 360ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.map-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("assets/map-background.png");
  background-position: center;
  background-size: cover;
  filter: saturate(0.74) contrast(0.94) brightness(1.05);
  transform: scale(1.03);
}

.map-camera,
.map-plane,
.map-background,
.route-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map-camera {
  z-index: 1;
  transform:
    translate3d(var(--camera-x), var(--camera-y), 0)
    scale(var(--camera-scale));
  transform-origin: center;
  transform-style: preserve-3d;
  will-change: transform;
}

.map-plane {
  transform:
    rotateX(var(--camera-tilt))
    rotateZ(var(--camera-rotate));
  transform-origin: 50% 58%;
  transform-style: preserve-3d;
  will-change: transform;
  backface-visibility: hidden;
}

.map-background {
  object-fit: cover;
  filter: saturate(0.78) contrast(0.96) brightness(1.04);
}

.route-overlay {
  z-index: 2;
}

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

.route-shadow {
  stroke: var(--line-shadow);
  stroke-width: 22;
  opacity: 0.72;
}

/* Edit the main route colour and thickness through --line and stroke-width. */
.route-path {
  stroke: var(--line);
  stroke-width: 12;
}

.station {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transition:
    opacity 320ms ease,
    scale 360ms cubic-bezier(0.2, 0.8, 0.2, 1);
  scale: 0.78;
}

.station.is-visible {
  opacity: 1;
  scale: 1;
}

.station-outer,
.station-inner {
  fill: var(--station-fill);
  stroke: var(--station-stroke);
  vector-effect: non-scaling-stroke;
}

.station-outer {
  stroke-width: 4;
}

.station-inner {
  stroke-width: 5;
}

.station.major .station-inner {
  stroke-width: 4;
}

/* Edit station label styling here. */
.station-label {
  fill: var(--text);
  stroke: rgba(255, 255, 255, 0.96);
  stroke-width: 6px;
  paint-order: stroke fill;
  font-size: 23px;
  font-weight: 780;
  letter-spacing: 0;
  pointer-events: none;
}

.map-attribution {
  position: absolute;
  right: 16px;
  bottom: 14px;
  z-index: 3;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  color: rgba(16, 35, 63, 0.72);
  backdrop-filter: blur(10px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition:
    opacity 320ms ease,
    transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.route-scene.hero-complete .hero-actions {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.hero-scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 0 18px 0 20px;
  border: 1px solid rgba(16, 35, 63, 0.12);
  background: rgba(255, 255, 255, 0.76);
  color: var(--text-strong);
  box-shadow: 0 14px 34px rgba(16, 35, 63, 0.08);
  backdrop-filter: blur(14px);
  font-size: 0.92rem;
  font-weight: 760;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.hero-scroll-cue:hover,
.hero-scroll-cue:focus-visible,
.hero-reference-link:hover,
.hero-reference-link:focus-visible {
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(16, 35, 63, 0.12);
  outline: none;
  transform: translateY(-2px);
}

.hero-reference-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid rgba(16, 35, 63, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: rgba(16, 35, 63, 0.72);
  padding: 0 18px;
  backdrop-filter: blur(14px);
  font-size: 0.92rem;
  font-weight: 760;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.hero-reference-link:hover,
.hero-reference-link:focus-visible {
  color: var(--text-strong);
}

.sticky-scroll-cue {
  --cue-progress: 0%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 84px 18px;
  align-items: center;
  gap: 12px;
  width: min(360px, calc(100% - 24px));
  min-height: 46px;
  border: 1px solid rgba(16, 35, 63, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text-strong);
  padding: 8px 12px 8px 16px;
  box-shadow: 0 18px 42px rgba(16, 35, 63, 0.1);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  text-align: left;
  text-decoration: none;
  transform: translateY(10px);
  transition:
    opacity 220ms ease,
    transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1),
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.sticky-scroll-cue.is-visible {
  opacity: 1;
  transform: translateY(0);
}

a.sticky-scroll-cue.is-visible {
  pointer-events: auto;
}

.sticky-scroll-cue.is-complete {
  opacity: 0.42;
  transform: translateY(2px);
}

.sticky-scroll-cue:hover,
.sticky-scroll-cue:focus-visible {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 52px rgba(16, 35, 63, 0.13);
  outline: none;
  transform: translateY(-2px);
}

.sticky-scroll-cue__copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.sticky-scroll-cue__label {
  color: var(--text-strong);
  font-size: 0.82rem;
  font-weight: 820;
  letter-spacing: 0;
  line-height: 1.1;
  white-space: nowrap;
}

.sticky-scroll-cue__meta {
  overflow: hidden;
  color: rgba(91, 102, 117, 0.88);
  font-size: 0.68rem;
  font-weight: 720;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sticky-scroll-cue__bar {
  position: relative;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(16, 35, 63, 0.12);
}

.sticky-scroll-cue__bar::before {
  position: absolute;
  inset: 0;
  width: var(--cue-progress);
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(240, 120, 42, 0.86), var(--line));
  content: "";
  transition: width 120ms linear;
}

.sticky-scroll-cue__arrow {
  position: relative;
  display: inline-grid;
  width: 18px;
  height: 24px;
  place-items: center;
}

.sticky-scroll-cue__arrow::before {
  width: 1px;
  height: 14px;
  border-radius: 999px;
  background: rgba(16, 35, 63, 0.22);
  content: "";
}

.sticky-scroll-cue__arrow::after {
  position: absolute;
  bottom: 3px;
  width: 7px;
  height: 7px;
  border-right: 2px solid rgba(16, 35, 63, 0.62);
  border-bottom: 2px solid rgba(16, 35, 63, 0.62);
  content: "";
  transform: rotate(45deg);
  animation: sticky-cue-arrow 1.35s ease-in-out infinite;
}

.corridor-scroll-cue,
.works-scroll-cue {
  z-index: 4;
  justify-self: center;
  margin: -2px auto 0;
}

@keyframes sticky-cue-arrow {
  0%,
  100% {
    opacity: 0.46;
    transform: translateY(-2px) rotate(45deg);
  }

  50% {
    opacity: 0.95;
    transform: translateY(3px) rotate(45deg);
  }
}

.hero-scroll-mark {
  position: relative;
  width: 18px;
  height: 24px;
  border: 1px solid rgba(16, 35, 63, 0.18);
  border-radius: 999px;
}

.hero-scroll-mark::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 6px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--line);
  transform: translateX(-50%);
  animation: scroll-dot-pulse 1500ms ease-in-out infinite;
}

.hero-scroll-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 7px;
  height: 7px;
  border-right: 2px solid rgba(16, 35, 63, 0.6);
  border-bottom: 2px solid rgba(16, 35, 63, 0.6);
  transform: translateX(-50%) rotate(45deg);
  animation: scroll-chevron-bounce 1500ms ease-in-out infinite;
}

@keyframes scroll-dot-pulse {
  0%,
  100% {
    opacity: 0.35;
    transform: translate(-50%, 0);
  }

  52% {
    opacity: 1;
    transform: translate(-50%, 8px);
  }
}

@keyframes scroll-chevron-bounce {
  0%,
  100% {
    opacity: 0.38;
    transform: translate(-50%, 0) rotate(45deg);
  }

  52% {
    opacity: 1;
    transform: translate(-50%, 4px) rotate(45deg);
  }
}

@keyframes hero-copy-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-map-in {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.completion-label {
  position: absolute;
  left: 18px;
  bottom: 14px;
  z-index: 3;
  padding: 8px 12px;
  border: 1px solid rgba(240, 120, 42, 0.36);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 260ms ease,
    transform 260ms ease;
  backdrop-filter: blur(10px);
}

.completion-label.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.content-section {
  padding: 104px 24px;
  background: var(--page-bg);
}

.highlights-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 28% 4%, rgba(240, 120, 42, 0.08), transparent 34%),
    linear-gradient(180deg, #f7f7f9 0%, #f1f2f5 100%);
}

.section-white {
  background: #ffffff;
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.section-heading {
  display: grid;
  gap: 14px;
  max-width: 790px;
  margin-bottom: 38px;
}

.section-heading h2,
.precedent-copy h2 {
  margin: 0;
  color: var(--text-strong);
  font-size: clamp(2.35rem, 5vw, 4.6rem);
  line-height: 1.02;
  font-weight: 780;
  letter-spacing: 0;
}

.section-heading p,
.precedent-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.62;
}

.highlights-heading {
  max-width: 860px;
  margin-bottom: 28px;
}

.highlight-carousel {
  position: relative;
}

.highlight-swipe-hint,
.highlight-carousel-dots {
  display: none;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.highlight-card {
  position: relative;
  display: grid;
  align-content: space-between;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(16, 35, 63, 0.1);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9)),
    var(--surface);
  box-shadow:
    0 26px 70px rgba(16, 35, 63, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  padding: 30px;
  isolation: isolate;
}

.highlight-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  background: radial-gradient(circle at 70% 12%, rgba(240, 120, 42, 0.12), transparent 34%);
  opacity: 0.82;
}

.highlight-visual {
  position: relative;
  min-height: 198px;
  color: var(--text-strong);
}

.highlight-copy {
  display: grid;
  gap: 10px;
}

.highlight-copy h3 {
  margin: 0;
  color: var(--text-strong);
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  line-height: 1.04;
  font-weight: 780;
}

.highlight-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.5;
}

.journey-visual {
  display: grid;
  align-content: center;
  gap: 18px;
}

.journey-visual::before {
  content: "";
  position: absolute;
  top: 12px;
  right: 4px;
  width: 128px;
  height: 128px;
  border: 2px solid rgba(16, 35, 63, 0.06);
  border-radius: 50%;
  box-shadow: inset 0 0 0 28px rgba(16, 35, 63, 0.025);
}

.journey-time {
  display: block;
  font-size: clamp(2.55rem, 4vw, 4.45rem);
  line-height: 0.9;
  font-weight: 790;
  letter-spacing: 0;
}

.journey-time-before {
  color: rgba(16, 35, 63, 0.34);
  opacity: 0;
  transform: translateY(10px);
}

.journey-time-after {
  color: var(--line);
  opacity: 0;
  transform: translateY(12px);
}

.journey-route-line {
  display: block;
  position: relative;
  width: min(260px, 82%);
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(16, 35, 63, 0.08);
}

.journey-route-line::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--line);
  transform: translateX(-102%);
}

.journey-arrow {
  position: absolute;
  left: min(274px, 82%);
  top: 84px;
  color: rgba(16, 35, 63, 0.38);
  font-size: 1.8rem;
  font-weight: 760;
  opacity: 0;
  transform: translateX(-8px);
}

.highlight-card.is-highlight-visible .journey-time-before {
  animation: highlight-fade-up 520ms ease forwards;
}

.highlight-card.is-highlight-visible .journey-route-line::after {
  animation: highlight-line-draw 760ms 260ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.highlight-card.is-highlight-visible .journey-arrow {
  animation: highlight-arrow-in 420ms 560ms ease forwards;
}

.highlight-card.is-highlight-visible .journey-time-after {
  animation: highlight-fade-up 560ms 760ms ease forwards;
}

.highlight-card-corridor {
  background:
    radial-gradient(circle at 88% 12%, rgba(240, 120, 42, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 255, 255, 0.9));
}

.highlight-dot-field {
  position: absolute;
  top: 30px;
  right: 28px;
  width: 132px;
  height: 132px;
  opacity: 0.42;
  background-image: radial-gradient(circle, rgba(16, 35, 63, 0.42) 1.7px, transparent 2px);
  background-position: 0 0;
  background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(circle at center, black 48%, transparent 72%);
  mask-image: radial-gradient(circle at center, black 48%, transparent 72%);
}

.corridor-visual {
  display: grid;
  align-content: center;
  gap: 22px;
}

.corridor-visual div {
  display: grid;
  gap: 4px;
}

.corridor-visual strong,
.mode-visual strong {
  display: block;
  color: var(--text-strong);
  font-size: clamp(2.36rem, 3.6vw, 4rem);
  line-height: 0.95;
  font-weight: 790;
}

.corridor-visual span {
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 720;
}

.highlight-card-mode::before {
  background: radial-gradient(circle at 80% 18%, rgba(16, 35, 63, 0.08), transparent 36%);
}

.mode-road {
  position: absolute;
  top: 34px;
  right: 24px;
  left: 24px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  opacity: 0.72;
}

.mode-road span {
  display: block;
  height: 14px;
  border-radius: 999px;
  background: rgba(16, 35, 63, 0.12);
  transform: scaleX(1);
  transform-origin: left center;
}

.highlight-card.is-highlight-visible .mode-road span {
  animation: car-pressure-reduce 680ms ease forwards;
}

.highlight-card.is-highlight-visible .mode-road span:nth-child(2) {
  animation-delay: 80ms;
}

.highlight-card.is-highlight-visible .mode-road span:nth-child(3) {
  animation-delay: 160ms;
}

.highlight-card.is-highlight-visible .mode-road span:nth-child(4) {
  animation-delay: 240ms;
}

.highlight-card.is-highlight-visible .mode-road span:nth-child(5) {
  animation-delay: 320ms;
}

.mode-visual {
  display: grid;
  align-content: center;
  gap: 18px;
}

.highlight-badge {
  justify-self: start;
  border: 1px solid rgba(240, 120, 42, 0.25);
  border-radius: 999px;
  background: rgba(255, 248, 243, 0.88);
  color: #b9551e;
  padding: 8px 11px;
  font-size: 0.78rem;
  font-weight: 760;
}

.mode-visual strong {
  color: var(--line);
}

@keyframes highlight-fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes highlight-line-draw {
  to {
    transform: translateX(0);
  }
}

@keyframes highlight-arrow-in {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes car-pressure-reduce {
  to {
    opacity: 0.24;
    transform: scaleX(0.42);
  }
}

@keyframes swipe-track-glide {
  0%,
  100% {
    transform: translateX(0);
  }

  52% {
    transform: translateX(128%);
  }
}

.stats-grid,
.card-grid,
.metric-grid,
.fact-strip {
  display: grid;
  gap: 16px;
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 18px;
}

.card-grid.three-up,
.fact-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-card,
.info-card,
.metric-card,
.fact-card,
.evidence-card,
.journey-option-card,
.route-choice-panel,
.comparison-card,
.contrast-box,
.reference-card,
.stage-card,
.tradeoff-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.stat-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 178px;
  padding: 22px;
}

.stat-card strong {
  color: var(--text-strong);
  font-size: clamp(1.45rem, 2.8vw, 2.15rem);
  line-height: 1.05;
  font-weight: 780;
}

.stat-card span,
.info-card p,
.contrast-box li,
.fine-print,
.relationship-note,
.reference-list,
.gai-placeholder {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.56;
}

.comparison-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.52fr) minmax(0, 1fr);
  gap: 28px;
  padding: 28px;
}

.comparison-card h3,
.info-card h3,
.contrast-box h3 {
  margin: 0;
  color: var(--text-strong);
  font-size: 1.28rem;
  line-height: 1.2;
  font-weight: 760;
}

.comparison-card h3 {
  margin-top: 8px;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.comparison-explainer {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.58;
}

.journey-table {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(16, 35, 63, 0.1);
  border-radius: 8px;
}

.journey-row {
  display: grid;
  grid-template-columns: 1.25fr 1fr 0.72fr;
  gap: 12px;
  align-items: center;
  border-top: 1px solid rgba(16, 35, 63, 0.08);
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  font-size: 0.96rem;
  font-weight: 650;
}

.journey-head {
  border-top: 0;
  background: rgba(16, 35, 63, 0.05);
  color: var(--muted-2);
  font-size: 0.82rem;
  font-weight: 760;
}

.fine-print {
  grid-column: 2;
  margin: -8px 0 0;
  color: var(--muted-2);
}

.journey-choice-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 8%, rgba(240, 120, 42, 0.09), transparent 30%),
    linear-gradient(180deg, #f6f7f9 0%, #f1f2f5 100%);
}

.journey-choice-heading {
  max-width: 880px;
}

.journey-example {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(16, 35, 63, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  box-shadow: 0 12px 28px rgba(16, 35, 63, 0.06);
  padding: 9px 13px;
  font-size: 0.9rem;
  font-weight: 760;
}

.journey-option-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.journey-option-card {
  position: relative;
  display: grid;
  align-content: space-between;
  gap: 24px;
  min-height: 390px;
  overflow: hidden;
  border-radius: 24px;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 255, 255, 0.92)),
    #ffffff;
  opacity: 0;
  transform: translateY(22px) scale(0.985);
  transition:
    opacity 560ms ease,
    transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.journey-choice-section.is-animated .journey-option-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.journey-choice-section.is-animated .journey-option-card:nth-child(2) {
  transition-delay: 140ms;
}

.journey-choice-section.is-animated .journey-option-card:nth-child(3) {
  transition-delay: 280ms;
}

.journey-option-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 0;
  background: radial-gradient(circle at 82% 12%, rgba(16, 35, 63, 0.07), transparent 34%);
  pointer-events: none;
}

.journey-option-slo::before {
  background: radial-gradient(circle at 82% 12%, rgba(240, 120, 42, 0.14), transparent 34%);
}

.journey-option-visual,
.journey-option-copy {
  position: relative;
  z-index: 1;
}

.journey-option-visual {
  display: grid;
  place-items: center;
  min-height: 118px;
  border-radius: 20px;
  background: rgba(247, 248, 250, 0.72);
}

.journey-option-slo .journey-option-visual {
  background: rgba(255, 247, 241, 0.72);
}

.journey-option-visual svg {
  width: min(210px, 100%);
  height: auto;
  overflow: visible;
}

.mini-route,
.mini-car,
.mini-rail,
.mini-rail-window {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mini-route-drive {
  stroke: #f2c84b;
  stroke-width: 7;
}

.mini-route-public {
  stroke: #2f67c7;
  stroke-width: 7;
}

.mini-route-slo {
  stroke: #e6532f;
  stroke-width: 8;
}

.mini-car,
.mini-rail {
  fill: #ffffff;
  stroke: var(--text-strong);
  stroke-width: 3.4;
}

.mini-wheel {
  fill: var(--text-strong);
}

.mini-interchange {
  fill: #ffffff;
  stroke: #728197;
  stroke-width: 4;
}

.mini-rail-window {
  stroke: rgba(16, 35, 63, 0.42);
  stroke-width: 2.4;
}

.journey-option-slo .journey-option-visual circle {
  fill: #ffffff;
  stroke: var(--text-strong);
  stroke-width: 2.8;
}

.journey-option-copy {
  display: grid;
  gap: 10px;
}

.journey-option-copy h3 {
  margin: 0;
  color: var(--text-strong);
  font-size: clamp(1.25rem, 2vw, 1.58rem);
  line-height: 1.12;
  font-weight: 780;
}

.journey-option-copy strong {
  display: block;
  color: var(--text-strong);
  font-size: clamp(2.25rem, 4.2vw, 4.1rem);
  line-height: 0.96;
  font-weight: 800;
}

.journey-option-slo .journey-option-copy strong {
  color: var(--line);
}

.journey-time-target {
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transition:
    opacity 420ms ease,
    transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: 1680ms;
}

.journey-choice-section.is-animated .journey-time-target {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.journey-option-copy span {
  color: var(--muted-2);
  font-size: 0.86rem;
  font-weight: 780;
}

.journey-option-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.route-choice-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  margin: 22px 0 0;
  overflow: hidden;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(249, 250, 252, 0.94)),
    #ffffff;
  padding: 20px;
  min-height: 560px;
}

.route-choice-sheet {
  position: relative;
  z-index: 3;
  display: grid;
  align-content: start;
  gap: 10px;
  width: 100%;
  min-width: 0;
  overflow-y: visible;
  overscroll-behavior: contain;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow:
    0 26px 72px rgba(16, 35, 63, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  padding: 18px;
  backdrop-filter: blur(24px);
  scrollbar-width: none;
}

.route-choice-sheet::-webkit-scrollbar {
  display: none;
}

.route-choice-sheet h3 {
  margin: 0;
  color: var(--text-strong);
  font-size: clamp(1.34rem, 2.1vw, 1.95rem);
  line-height: 1.04;
  font-weight: 790;
}

.route-choice-sheet p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.44;
}

.route-choice-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  border-radius: 999px;
  background: rgba(16, 35, 63, 0.07);
  padding: 4px;
}

.route-choice-tabs button {
  appearance: none;
  display: grid;
  place-items: center;
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(16, 35, 63, 0.58);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.route-choice-tabs button:hover,
.route-choice-tabs button:focus-visible {
  color: var(--text-strong);
}

.route-choice-tabs button:focus-visible,
.route-choice-list button:focus-visible {
  outline: 3px solid rgba(240, 120, 42, 0.28);
  outline-offset: 2px;
}

.route-choice-tabs .is-active {
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-strong);
  box-shadow: 0 8px 20px rgba(16, 35, 63, 0.08);
}

.route-choice-list {
  display: grid;
  gap: 8px;
  margin-top: 2px;
}

.route-choice-list button {
  appearance: none;
  display: grid;
  width: 100%;
  gap: 3px;
  border: 1px solid rgba(16, 35, 63, 0.08);
  border-radius: 16px;
  background: rgba(247, 248, 250, 0.74);
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  padding: 10px 12px;
  text-align: left;
  font-size: 0.86rem;
  font-weight: 680;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease,
    opacity 180ms ease;
}

.route-choice-list button:hover {
  transform: translateY(-1px);
  border-color: rgba(16, 35, 63, 0.14);
  background: rgba(255, 255, 255, 0.9);
}

.route-choice-list button.is-active {
  border-color: rgba(16, 35, 63, 0.16);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 24px rgba(16, 35, 63, 0.08);
}

.route-choice-list [data-route-choice-item="drive"].is-active {
  border-color: rgba(242, 200, 75, 0.5);
  background: rgba(255, 250, 231, 0.94);
}

.route-choice-list [data-route-choice-item="public"].is-active {
  border-color: rgba(47, 103, 199, 0.28);
  background: rgba(242, 247, 255, 0.94);
}

.route-choice-list strong {
  color: var(--text-strong);
  font-size: 1.1rem;
  line-height: 1;
}

.route-choice-list .is-slo {
  border-color: rgba(240, 120, 42, 0.24);
  background: rgba(255, 247, 241, 0.82);
}

.route-choice-list .is-slo strong {
  color: #e6532f;
}

.route-choice-list .is-slo.is-active {
  border-color: rgba(230, 83, 47, 0.34);
  background: rgba(255, 247, 241, 0.94);
}

.route-choice-map {
  position: relative;
  min-height: 520px;
  min-width: 0;
  overflow: hidden;
  border-radius: 22px;
}

.route-choice-svg {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(247, 249, 246, 0.96), rgba(240, 244, 239, 0.92)),
    #eef4eb;
}

.choice-map-base {
  opacity: 0.98;
}

.choice-park {
  fill: rgba(150, 198, 125, 0.23);
}

.choice-park-south {
  fill: rgba(150, 198, 125, 0.2);
}

.choice-water {
  fill: none;
  stroke: rgba(84, 169, 215, 0.28);
  stroke-width: 18;
  stroke-linecap: round;
}

.choice-minor-roads path {
  fill: none;
  stroke: rgba(162, 170, 178, 0.34);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.choice-minor-roads path:nth-child(2n) {
  stroke: rgba(213, 150, 99, 0.28);
  stroke-width: 3;
}

.choice-rail-context path {
  fill: none;
  stroke: rgba(82, 92, 107, 0.2);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.choice-place {
  fill: rgba(16, 35, 63, 0.42);
  font-size: 22px;
  font-weight: 780;
  letter-spacing: 0;
}

.choice-place-west {
  font-size: 21px;
}

.choice-route {
  fill: none;
  opacity: 0;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition:
    opacity 240ms ease,
    stroke-dashoffset 920ms cubic-bezier(0.4, 0, 0.2, 1);
}

.choice-route-drive {
  stroke: #f2c84b;
  stroke-width: 10;
  transition-delay: 80ms;
}

.choice-route-public {
  stroke: #2f67c7;
  stroke-width: 11;
  transition-delay: 620ms;
}

.choice-route-slo {
  filter: url("#choice-soft-shadow");
  stroke: #e6532f;
  stroke-width: 20;
  transition-delay: 1180ms;
}

.journey-choice-section.is-animated .choice-route {
  opacity: 1;
  stroke-dashoffset: 0 !important;
}

.journey-choice-section.is-animated .route-choice-panel.has-route-focus .choice-route.is-muted {
  opacity: 0.22;
}

.journey-choice-section.is-animated .route-choice-panel.has-route-focus .choice-route.is-focused {
  opacity: 1;
}

.journey-choice-section.is-animated .route-choice-panel.has-route-focus .choice-route-drive.is-focused {
  stroke-width: 13;
}

.journey-choice-section.is-animated .route-choice-panel.has-route-focus .choice-route-public.is-focused {
  stroke-width: 15;
}

.journey-choice-section.is-animated .route-choice-panel.has-route-focus .choice-route-slo.is-focused {
  stroke-width: 24;
}

.journey-option-card.is-route-choice-muted {
  opacity: 0.72;
}

.journey-option-card.is-route-choice-active {
  border-color: rgba(240, 120, 42, 0.28);
  box-shadow: 0 18px 46px rgba(16, 35, 63, 0.1);
}

.journey-option-drive.is-route-choice-active {
  border-color: rgba(242, 200, 75, 0.56);
}

.journey-option-public.is-route-choice-active {
  border-color: rgba(47, 103, 199, 0.34);
}

.journey-option-slo.is-route-choice-active {
  border-color: rgba(230, 83, 47, 0.34);
}

.choice-callout {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 260ms ease,
    transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.choice-callout rect {
  fill: rgba(255, 255, 255, 0.86);
  stroke: rgba(16, 35, 63, 0.1);
  filter: drop-shadow(0 10px 18px rgba(16, 35, 63, 0.12));
}

.choice-callout text {
  fill: var(--text-strong);
  font-size: 17px;
  font-weight: 780;
}

.choice-drive-callout text {
  fill: #9c7612;
}

.choice-public-callout text,
.choice-public-pattern-callout text {
  fill: #2f67c7;
}

.choice-slo-callout text {
  fill: #c94824;
}

.journey-choice-section.is-animated .choice-drive-callout {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 560ms;
}

.journey-choice-section.is-animated .choice-public-callout,
.journey-choice-section.is-animated .choice-public-pattern-callout {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1160ms;
}

.journey-choice-section.is-animated .choice-slo-callout {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1880ms;
}

.choice-interchange {
  opacity: 0;
  transition: opacity 260ms 1120ms ease;
}

.choice-interchange circle {
  fill: #ffffff;
  stroke: #2f67c7;
  stroke-width: 5;
}

.journey-choice-section.is-animated .choice-interchange {
  opacity: 1;
}

.choice-stations {
  opacity: 0;
  transition: opacity 300ms 1980ms ease;
}

.journey-choice-section.is-animated .choice-stations {
  opacity: 1;
}

.choice-stations circle {
  fill: #ffffff;
  stroke: var(--text-strong);
  stroke-width: 5;
}

.choice-stations text {
  fill: var(--text-strong);
  paint-order: stroke;
  stroke: rgba(255, 255, 255, 0.96);
  stroke-width: 7;
  font-size: 17px;
  font-weight: 820;
}

.journey-caveat {
  max-width: 960px;
  margin: 18px auto 0;
  color: var(--muted-2);
  font-size: 0.92rem;
  line-height: 1.5;
  text-align: center;
}

.corridor-evidence-section {
  padding: 0 24px 104px;
  background: #f2f5f4;
}

.corridor-sticky-stage {
  min-height: 185vh;
}

.corridor-sticky-inner {
  position: sticky;
  top: calc(var(--nav-offset) + 18px);
  display: grid;
  align-content: center;
  min-height: calc(100vh - var(--nav-offset) - 36px);
  padding: 54px 0 34px;
}

.corridor-evidence-heading {
  max-width: 880px;
  margin-bottom: 24px;
}

.corridor-evidence-panel {
  display: grid;
  gap: 12px;
  width: min(980px, 100%);
  margin: 0 auto 22px;
}

.heatmap-card {
  position: relative;
  height: clamp(320px, 48vh, 540px);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(16, 35, 63, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(16, 35, 63, 0.04), rgba(114, 145, 115, 0.1)),
    repeating-linear-gradient(0deg, rgba(16, 35, 63, 0.045) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgba(16, 35, 63, 0.035) 0 1px, transparent 1px 34px),
    #edf1ef;
  box-shadow: 0 30px 82px rgba(16, 35, 63, 0.13);
}

.heatmap-card img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.03);
}

.heatmap-hotspots {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.heatmap-hotspot {
  opacity: 0;
  transform: scale(0.94);
  transform-box: fill-box;
  transform-origin: center;
  transition:
    opacity 520ms ease,
    transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.heatmap-hotspot.is-visible {
  opacity: 1;
  transform: scale(1);
}

.hotspot-fill {
  fill: rgba(240, 120, 42, 0.14);
  stroke: rgba(240, 120, 42, 0.18);
  stroke-width: 22px;
}

.hotspot-ring {
  fill: transparent;
  stroke: rgba(222, 54, 24, 0.9);
  stroke-linecap: round;
  stroke-width: 10px;
  filter: drop-shadow(0 7px 14px rgba(16, 35, 63, 0.24));
}

.hotspot-place-name {
  fill: var(--text-strong);
  font-size: 24px;
  font-weight: 820;
  letter-spacing: 0;
  paint-order: stroke;
  stroke: rgba(255, 255, 255, 0.92);
  stroke-linejoin: round;
  stroke-width: 7px;
}

.heatmap-placeholder {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: none;
  place-items: center;
  padding: 28px;
  color: rgba(16, 35, 63, 0.74);
  font-size: clamp(1.5rem, 3.8vw, 2.8rem);
  font-weight: 780;
  text-align: center;
}

.heatmap-card.is-missing img,
.heatmap-card.is-missing .heatmap-hotspots,
.heatmap-card.is-missing .heatmap-overlay {
  display: none;
}

.heatmap-card.is-missing .heatmap-placeholder {
  display: grid;
}

.heatmap-overlay {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3;
  max-width: 430px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 46px rgba(16, 35, 63, 0.12);
  padding: 18px 20px;
  backdrop-filter: blur(16px);
}

.heatmap-overlay p,
.heatmap-caption {
  margin: 0;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.58;
  font-weight: 650;
}

.heatmap-caption {
  display: none;
}

.corridor-evidence-panel .source-note {
  margin: 0;
  color: var(--muted-2);
  font-size: 0.9rem;
  line-height: 1.5;
}

.evidence-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.corridor-evidence-cards {
  margin-top: 24px;
}

.evidence-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 188px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
  padding: 24px;
}

.evidence-card h3 {
  margin: 0;
  color: var(--text-strong);
  font-size: 1.24rem;
  line-height: 1.18;
  font-weight: 760;
}

.evidence-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.56;
}

.works-schematic {
  min-height: 230vh;
  margin: 34px 0 32px;
}

.works-sticky {
  position: sticky;
  top: calc(var(--nav-offset) + 18px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-content: center;
  align-items: center;
  width: min(100%, 1180px);
  min-height: min(760px, calc(100vh - var(--nav-offset) - 44px));
  margin: 0 auto;
}

.works-diagram {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.works-copy {
  display: grid;
  justify-items: center;
  gap: 8px;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 18px;
  text-align: center;
}

.works-copy h3 {
  margin: 0;
  color: var(--text-strong);
  font-size: 2.32rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.works-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.58;
}

.works-step-list {
  display: grid;
  position: relative;
  z-index: 3;
  width: 100%;
  min-width: 0;
  margin: 0;
  transform: none;
}

.works-step-card {
  grid-area: 1 / 1;
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 210px;
  padding: 18px 18px;
  border: 1px solid rgba(16, 35, 63, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 42px rgba(16, 35, 63, 0.08);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.985);
  transition:
    opacity 220ms ease,
    visibility 220ms ease,
    transform 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease;
  visibility: hidden;
}

.works-step-card.is-active {
  border-color: rgba(240, 120, 42, 0.26);
  background: rgba(255, 246, 239, 0.92);
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  visibility: visible;
}

.works-step-card span {
  color: var(--line, #f0782a);
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.works-step-card h4 {
  margin: 0;
  color: var(--text-strong);
  font-size: 1.05rem;
  line-height: 1.2;
}

.works-step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.42;
}

.works-diagram {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 330px);
  align-content: center;
  align-items: center;
  gap: 18px;
  min-width: 0;
  overflow: hidden;
  position: relative;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(16, 35, 63, 0.035), rgba(240, 120, 42, 0.05)),
    #fbfbfc;
}

.works-side-panel {
  display: grid;
  align-content: center;
  gap: 14px;
  min-width: 0;
}

.works-map-panel {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
}

.works-svg {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1000 / 560;
  max-height: min(46vh, 500px);
  min-height: 340px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.9), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(247, 248, 250, 0.92));
}

/* Edit schematic colours here. */
.national-context-lines path {
  fill: none;
  stroke: rgba(111, 122, 137, 0.4);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.national-context-lines path:nth-child(n + 2) {
  stroke-width: 3.2;
  stroke: rgba(111, 122, 137, 0.28);
}

.context-label {
  fill: rgba(78, 91, 108, 0.78);
  font-size: 22px;
  font-weight: 760;
}

.context-label-end {
  fill: rgba(78, 91, 108, 0.56);
  font-size: 20px;
}

.slo-route {
  fill: none;
  stroke: var(--line, #f0782a);
  stroke-width: 18;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 10px 16px rgba(240, 120, 42, 0.23));
}

.slo-shared-corridor {
  fill: none;
  stroke: rgba(111, 122, 137, 0.38);
  stroke-width: 34;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.22;
  transition:
    opacity 220ms ease,
    stroke 220ms ease,
    stroke-width 220ms ease;
}

.works-schematic.is-shared-corridor .slo-shared-corridor {
  stroke: rgba(111, 122, 137, 0.58);
  stroke-width: 36;
  opacity: 0.58;
}

.slo-station circle {
  fill: #fff;
  stroke: var(--text-strong);
  stroke-width: 5;
  transition:
    fill 200ms ease,
    stroke-width 200ms ease,
    transform 200ms ease,
    opacity 200ms ease;
}

.slo-station text {
  fill: var(--text-strong);
  paint-order: stroke;
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 7;
  font-size: 22px;
  font-weight: 840;
  letter-spacing: 0;
}

.slo-station.is-reached circle:not(.station-outer) {
  fill: #fff9f4;
  stroke-width: 6;
}

.slo-station-key circle {
  stroke-width: 6;
}

.slo-station-join .station-outer {
  fill: none;
}

.works-start-note rect {
  fill: rgba(255, 255, 255, 0.9);
  stroke: rgba(16, 35, 63, 0.1);
}

.works-start-note text {
  fill: var(--text-strong);
  font-size: 17px;
  font-weight: 780;
}

.works-final-label {
  fill: var(--text-strong);
  opacity: 0;
  font-size: 21px;
  font-weight: 780;
  transition: opacity 220ms ease;
}

.works-schematic.is-complete .works-final-label {
  opacity: 1;
}

.shared-corridor-label {
  opacity: 0;
  transition: opacity 220ms ease;
}

.works-schematic.is-shared-corridor .shared-corridor-label {
  opacity: 1;
}

.shared-corridor-label rect {
  fill: rgba(255, 255, 255, 0.92);
  stroke: rgba(111, 122, 137, 0.24);
}

.shared-corridor-label text {
  fill: var(--text-strong);
  font-size: 15px;
  font-weight: 780;
}

.works-legend {
  position: static;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: none;
  gap: 8px;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 720;
  line-height: 1.12;
}

.works-legend span {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  padding: 7px 8px;
  border: 1px solid rgba(16, 35, 63, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 8px 22px rgba(16, 35, 63, 0.07);
  white-space: nowrap;
}

.legend-line {
  display: inline-block;
  position: relative;
  flex: 0 0 24px;
  height: 0;
  border-top: 4px solid rgba(111, 122, 137, 0.4);
  border-radius: 999px;
}

.legend-line-slo {
  border-top-width: 8px;
  border-color: var(--line, #f0782a);
}

.legend-line-shared {
  border-top-width: 10px;
  border-color: rgba(111, 122, 137, 0.5);
}

.legend-line-shared::after {
  content: "";
  position: absolute;
  inset: -7px 0 auto;
  border-top: 4px solid var(--line, #f0782a);
  border-radius: 999px;
}

.legend-node {
  position: relative;
  display: inline-block;
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  border: 3px solid var(--text-strong);
  border-radius: 50%;
  background: #fff;
}

.legend-node-double::after {
  content: "";
  position: absolute;
  inset: -7px;
  border: 2px solid var(--text-strong);
  border-radius: 50%;
}

.info-card {
  min-height: 210px;
  padding: 26px;
}

.info-card h3 {
  margin-bottom: 12px;
}

.info-card p {
  margin: 0;
}

.contrast-box {
  margin-top: 18px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(16, 35, 63, 0.05), rgba(240, 120, 42, 0.06)),
    var(--surface);
}

.contrast-box ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding-left: 20px;
}

.roadmap-section,
.tradeoff-section {
  background:
    radial-gradient(circle at 20% 4%, rgba(240, 120, 42, 0.08), transparent 32%),
    linear-gradient(180deg, #f6f7f9 0%, #f1f2f5 100%);
}

.roadmap-timeline {
  position: relative;
  display: grid;
  gap: 22px;
  max-width: 980px;
  margin: 0 auto;
  padding: 8px 0 0;
  --roadmap-progress: 0%;
}

.timeline-track {
  position: absolute;
  top: 22px;
  bottom: 74px;
  left: 48px;
  width: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(16, 35, 63, 0.08);
}

.timeline-progress {
  display: block;
  width: 100%;
  height: var(--roadmap-progress);
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(240, 120, 42, 0.48), var(--line));
  box-shadow: 0 0 24px rgba(240, 120, 42, 0.28);
  transition: height 640ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.timeline-stage {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.stage-marker {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(240, 120, 42, 0.26);
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 30%, rgba(255, 255, 255, 0.94), rgba(255, 246, 240, 0.92)),
    #ffffff;
  color: var(--line);
  box-shadow:
    0 18px 42px rgba(16, 35, 63, 0.09),
    0 0 0 10px rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  font-weight: 830;
  letter-spacing: 0;
  transform: scale(0.88);
  transition:
    box-shadow 260ms ease,
    transform 360ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.timeline-stage.is-visible .stage-marker {
  box-shadow:
    0 18px 48px rgba(240, 120, 42, 0.16),
    0 0 0 10px rgba(255, 255, 255, 0.82);
  transform: scale(1);
}

.stage-card {
  display: grid;
  gap: 18px;
  min-height: 190px;
  border-radius: 22px;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9)),
    #ffffff;
  transition:
    border-color 240ms ease,
    box-shadow 240ms ease,
    transform 240ms ease;
}

.timeline-stage.is-visible .stage-card {
  border-color: rgba(240, 120, 42, 0.22);
  box-shadow:
    0 26px 68px rgba(16, 35, 63, 0.1),
    0 0 46px rgba(240, 120, 42, 0.06);
}

.stage-card-head {
  display: grid;
  gap: 10px;
}

.stage-time {
  width: fit-content;
  border: 1px solid rgba(240, 120, 42, 0.25);
  border-radius: 999px;
  background: rgba(255, 248, 243, 0.84);
  color: #b9551e;
  padding: 7px 10px;
  font-size: 0.78rem;
  font-weight: 780;
}

.stage-card h3,
.tradeoff-card h3 {
  margin: 0;
  color: var(--text-strong);
  font-size: clamp(1.4rem, 2.3vw, 2rem);
  line-height: 1.08;
  font-weight: 780;
}

.stage-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.46;
}

.roadmap-note {
  margin: 4px 0 0 96px;
  border: 1px solid rgba(16, 35, 63, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted);
  box-shadow: 0 16px 38px rgba(16, 35, 63, 0.07);
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 680;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 360ms ease,
    transform 360ms ease;
}

.roadmap-timeline.is-complete .roadmap-note {
  opacity: 1;
  transform: translateY(0);
}

.tradeoff-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.tradeoff-card {
  position: relative;
  display: grid;
  gap: 20px;
  min-height: 330px;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 12%, rgba(240, 120, 42, 0.1), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 255, 255, 0.92));
  padding: 30px;
  outline: none;
  isolation: isolate;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.tradeoff-card::after {
  content: "";
  position: absolute;
  right: -44px;
  bottom: -54px;
  z-index: -1;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(16, 35, 63, 0.06);
  border-radius: 50%;
}

.tradeoff-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(240, 120, 42, 0.18);
  border-radius: 18px;
  background: rgba(255, 247, 241, 0.82);
  color: var(--line);
}

.tradeoff-icon svg {
  width: 34px;
  height: 34px;
}

.tradeoff-icon path,
.tradeoff-icon circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.risk-mitigation {
  display: grid;
  gap: 12px;
}

.risk-mitigation p {
  margin: 0;
  border: 1px solid rgba(16, 35, 63, 0.08);
  border-radius: 16px;
  background: rgba(247, 248, 250, 0.72);
  color: var(--muted);
  padding: 14px 15px;
  font-size: 0.96rem;
  line-height: 1.45;
}

.risk-mitigation p + p {
  border-color: rgba(240, 120, 42, 0.2);
  background: rgba(255, 248, 243, 0.7);
}

.risk-mitigation span {
  display: block;
  margin-bottom: 5px;
  color: var(--text-strong);
  font-size: 0.72rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.risk-mitigation p + p span {
  color: var(--line);
}

.tradeoff-note {
  max-width: 900px;
  margin: 26px auto 0;
  color: var(--text);
  font-size: clamp(1.06rem, 1.7vw, 1.32rem);
  font-weight: 680;
  line-height: 1.5;
  text-align: center;
}

.precedent-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1fr);
  gap: 22px;
  align-items: stretch;
}

.precedent-copy {
  display: grid;
  align-content: center;
  gap: 14px;
}

.source-note {
  color: var(--muted-2);
}

.precedent-visual {
  display: grid;
  place-items: center;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(16, 35, 63, 0.06), rgba(240, 120, 42, 0.08)),
    #f7f8fa;
  box-shadow: var(--shadow-soft);
  padding: 18px;
}

.precedent-visual img,
.precedent-visual svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.precedent-visual svg {
  max-height: 440px;
  overflow: visible;
}

.line-15-route-halo,
.line-15-route-track {
  opacity: 0;
  stroke-dasharray: var(--line-15-length, 2400);
  stroke-dashoffset: var(--line-15-length, 2400);
  transition:
    opacity 180ms ease,
    stroke-dashoffset 1100ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line-15-route-track {
  transition-delay: 130ms;
}

.line-15-station-node {
  opacity: 0;
  transform: scale(0.45);
  transform-box: fill-box;
  transform-origin: center;
  transition:
    opacity 220ms ease,
    transform 420ms cubic-bezier(0.2, 0.9, 0.2, 1.2);
}

.line-15-labels,
.line-15-transfers,
.line-15-note,
.line-15-brand,
.line-15-context {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 420ms ease,
    transform 420ms ease;
}

.precedent-visual.is-animated .line-15-route-halo,
.precedent-visual.is-animated .line-15-route-track {
  opacity: 1;
  stroke-dashoffset: 0;
}

.precedent-visual.is-animated .line-15-station-node {
  opacity: 1;
  transform: scale(1);
}

.precedent-visual.is-animated .line-15-labels,
.precedent-visual.is-animated .line-15-transfers,
.precedent-visual.is-animated .line-15-note,
.precedent-visual.is-animated .line-15-brand,
.precedent-visual.is-animated .line-15-context {
  opacity: 1;
  transform: translateY(0);
}

.precedent-visual.is-animated .line-15-brand {
  transition-delay: 80ms;
}

.precedent-visual.is-animated .line-15-context {
  transition-delay: 160ms;
}

.precedent-visual.is-animated .line-15-labels {
  transition-delay: 1420ms;
}

.precedent-visual.is-animated .line-15-transfers {
  transition-delay: 1540ms;
}

.precedent-visual.is-animated .line-15-note {
  transition-delay: 1680ms;
}

.precedent-visual.is-reduced-motion * {
  transition: none !important;
}

.precedent-placeholder {
  display: grid;
  place-items: center;
  min-height: 360px;
  padding: 28px;
  color: rgba(16, 35, 63, 0.72);
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  font-weight: 780;
  text-align: center;
}

.fact-strip {
  grid-column: 1 / -1;
}

.fact-card,
.metric-card {
  display: grid;
  place-items: center;
  min-height: 112px;
  padding: 20px;
  color: var(--text-strong);
  font-size: 1.08rem;
  font-weight: 760;
  text-align: center;
}

.relationship-note {
  max-width: 780px;
  margin: 24px 0 0;
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 650;
}

.references-section {
  padding-bottom: 124px;
}

.references-heading {
  max-width: 860px;
}

.qr-note,
.qr-copy {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(16, 35, 63, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  padding: 9px 12px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 720;
}

.qr-copy {
  color: var(--line);
}

.references-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 18px;
  align-items: stretch;
}

.reference-card {
  min-width: 0;
  padding: 28px;
}

.reference-main {
  grid-row: span 2;
}

.reference-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.reference-card h3 {
  margin: 7px 0 0;
  color: var(--text-strong);
  font-size: 1.35rem;
  line-height: 1.2;
}

.copy-button {
  flex: 0 0 auto;
  border: 1px solid rgba(240, 120, 42, 0.32);
  border-radius: 8px;
  background: rgba(240, 120, 42, 0.08);
  color: var(--text-strong);
  cursor: pointer;
  padding: 10px 12px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 760;
}

.copy-button:hover,
.copy-button:focus-visible {
  border-color: rgba(240, 120, 42, 0.52);
  background: rgba(240, 120, 42, 0.14);
  outline: none;
}

.reference-list,
.reference-text {
  display: grid;
  gap: 10px;
  margin: 0;
}

.reference-text {
  min-width: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: var(--muted);
  font: inherit;
  font-size: 0.98rem;
  line-height: 1.65;
}

.gai-placeholder {
  margin: 24px 0 0;
  color: var(--text);
  font-weight: 650;
}

.reveal,
.reveal-card {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 620ms ease,
    transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-card {
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible,
.reveal-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (hover: hover) and (pointer: fine) {
  .stat-card,
  .highlight-card,
  .info-card,
  .metric-card,
  .fact-card,
  .evidence-card,
  .comparison-card,
  .contrast-box,
  .reference-card,
  .journey-option-card,
  .route-choice-panel,
  .tradeoff-card {
    transition:
      transform 180ms ease,
      box-shadow 180ms ease,
      border-color 180ms ease;
  }

  .stat-card:hover,
  .highlight-card:hover,
  .info-card:hover,
  .metric-card:hover,
  .fact-card:hover,
  .evidence-card:hover,
  .comparison-card:hover,
  .contrast-box:hover,
  .reference-card:hover,
  .journey-option-card:hover,
  .route-choice-panel:hover,
  .tradeoff-card:hover,
  .tradeoff-card:focus-visible {
    transform: translateY(-4px);
    border-color: var(--border-strong);
    box-shadow: 0 22px 58px rgba(16, 35, 63, 0.11);
  }

  .tradeoff-card:hover .risk-mitigation p + p,
  .tradeoff-card:focus-visible .risk-mitigation p + p {
    border-color: rgba(240, 120, 42, 0.34);
    background: rgba(255, 246, 239, 0.95);
  }
}

@media (max-width: 980px) {
  .stats-grid,
  .card-grid.three-up,
  .metric-grid,
  .fact-strip,
  .evidence-card-grid,
  .precedent-layout,
  .tradeoff-grid,
  .references-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .highlights-section {
    padding-right: 0;
    padding-left: 18px;
  }

  .highlights-heading {
    padding-right: 18px;
    margin-bottom: 16px;
  }

  .highlight-carousel::after {
    content: "";
    position: absolute;
    top: 58px;
    right: 0;
    bottom: 38px;
    z-index: 3;
    width: 74px;
    background: linear-gradient(90deg, rgba(241, 242, 245, 0), #f1f2f5 82%);
    opacity: 1;
    pointer-events: none;
    transition: opacity 220ms ease;
  }

  .highlight-carousel.has-user-scrolled::after {
    opacity: 0.24;
  }

  .highlight-swipe-hint {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 18px 12px 0;
    border: 1px solid rgba(16, 35, 63, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.74);
    color: rgba(16, 35, 63, 0.62);
    padding: 8px 11px 8px 12px;
    backdrop-filter: blur(12px);
    font-size: 0.76rem;
    font-weight: 760;
    transition:
      opacity 220ms ease,
      transform 220ms ease;
  }

  .highlight-carousel.has-user-scrolled .highlight-swipe-hint {
    opacity: 0.38;
    transform: translateY(-2px);
  }

  .swipe-track {
    position: relative;
    display: block;
    width: 38px;
    height: 5px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(16, 35, 63, 0.1);
  }

  .swipe-track::after {
    content: "";
    position: absolute;
    inset: 0;
    width: 44%;
    border-radius: inherit;
    background: var(--line);
    animation: swipe-track-glide 1600ms ease-in-out infinite;
  }

  .highlight-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: 0 18px 8px 0;
    scroll-padding-left: 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .highlight-card {
    flex: 0 0 min(76vw, 420px);
    min-height: 410px;
    scroll-snap-align: start;
  }

  .highlight-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    padding: 12px 18px 0 0;
  }

  .highlight-carousel-dots span {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(16, 35, 63, 0.18);
    transition:
      background-color 180ms ease,
      width 180ms ease;
  }

  .highlight-carousel-dots span.is-active {
    width: 18px;
    background: var(--line);
  }

  .comparison-card {
    grid-template-columns: 1fr;
  }

  .fine-print,
  .fact-strip {
    grid-column: auto;
  }

  .roadmap-timeline {
    max-width: 860px;
  }

  .works-schematic {
    min-height: 185vh;
  }

  .works-sticky {
    position: sticky;
    top: calc(var(--nav-offset) + 12px);
    display: grid;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 12px;
    min-height: auto;
  }

  .works-copy {
    padding: 0 18px;
  }

  .works-copy h3 {
    font-size: 2.35rem;
  }

  .works-diagram {
    grid-template-columns: 1fr;
    position: relative;
    top: auto;
    padding: 14px;
  }

  .works-side-panel {
    display: grid;
    gap: 10px;
  }

  .works-step-list {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
  }

  .works-step-card {
    max-width: none;
    min-height: auto;
    margin-left: 0;
    padding: 14px 16px;
  }

  .works-legend {
    position: static;
    display: flex;
    flex-wrap: wrap;
    max-width: none;
    gap: 6px;
    justify-content: flex-start;
    font-size: 0.62rem;
  }

  .route-choice-panel {
    min-height: 520px;
  }
}

@media (max-width: 820px) {
  :root {
    --nav-height: 58px;
  }

  .nav-inner {
    width: min(100% - 24px, 1180px);
    gap: 12px;
  }

  .nav-brand {
    font-size: 0.78rem;
  }

  .nav-links a {
    padding: 8px;
    font-size: 0.78rem;
  }

  .route-scene {
    min-height: 230vh;
    padding: 18px 14px 72px;
  }

  .sticky-stage {
    grid-template-rows: auto minmax(500px, 1fr) auto;
    gap: 14px;
    padding: 20px 0 28px;
  }

  h1 {
    font-size: clamp(3rem, 13vw, 4.6rem);
    line-height: 0.96;
  }

  .hero-tagline,
  .subtitle {
    font-size: 1rem;
    line-height: 1.42;
  }

  .map-card {
    min-height: 500px;
    border-radius: 22px;
  }

  .station-label {
    font-size: 27px;
    stroke-width: 7px;
  }

  .map-attribution,
  .completion-label {
    max-width: calc(100% - 28px);
    font-size: 0.72rem;
  }

  .map-attribution {
    right: 14px;
    bottom: 12px;
    max-width: min(520px, calc(100% - 28px));
    text-align: right;
  }

  .completion-label {
    bottom: 50px;
  }

  .content-section {
    padding: 76px 18px;
  }

  .corridor-evidence-section {
    padding: 0 18px 76px;
  }

  .corridor-sticky-stage {
    min-height: 185vh;
  }

  .corridor-sticky-inner {
    top: calc(var(--nav-offset) + 12px);
    min-height: calc(100vh - var(--nav-offset) - 24px);
    padding: 32px 0 24px;
  }

  .section-heading {
    margin-bottom: 26px;
  }

  .section-heading p,
  .precedent-copy p {
    font-size: 1rem;
  }

  .journey-option-grid {
    grid-template-columns: 1fr;
  }

  .journey-option-card {
    min-height: auto;
    border-radius: 22px;
  }

  .journey-option-visual {
    min-height: 104px;
  }

  .route-choice-panel {
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: auto;
    border-radius: 22px;
    padding: 12px;
  }

  .route-choice-sheet {
    margin: 0;
  }

  .route-choice-map {
    height: 360px;
    min-height: 0;
  }

  .route-choice-svg {
    height: 100%;
    min-height: 0;
  }
}

@media (max-width: 680px) {
  :root {
    --nav-height: 94px;
  }

  .site-nav {
    overflow: hidden;
  }

  .nav-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    min-height: auto;
    padding: 10px 0;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-start;
    overflow-x: visible;
    width: 100%;
  }

  .route-scene {
    padding-top: 8px;
  }

  .highlights-section {
    padding-left: 16px;
  }

  .highlight-card {
    flex-basis: min(86vw, 390px);
    min-height: 390px;
    border-radius: 22px;
    padding: 24px;
  }

  .highlight-visual {
    min-height: 174px;
  }

  .journey-time {
    font-size: clamp(2.3rem, 11vw, 3.4rem);
  }

  .corridor-visual strong,
  .mode-visual strong {
    font-size: clamp(2.15rem, 10vw, 3.18rem);
  }

  .hero-actions {
    gap: 8px;
  }

  .hero-scroll-cue,
  .hero-reference-link {
    min-height: 44px;
    padding: 0 17px;
    font-size: 0.9rem;
  }

  .sticky-scroll-cue {
    grid-template-columns: minmax(0, 1fr) 62px 16px;
    gap: 8px;
    width: min(318px, calc(100vw - 36px));
    min-height: 42px;
    padding: 7px 10px 7px 13px;
  }

  .sticky-scroll-cue__label {
    font-size: 0.76rem;
  }

  .sticky-scroll-cue__meta {
    font-size: 0.62rem;
  }

  .sticky-scroll-cue__bar {
    height: 3px;
  }

  .stats-grid,
  .card-grid.three-up,
  .metric-grid,
  .fact-strip,
  .precedent-layout,
  .references-grid {
    grid-template-columns: 1fr;
  }

  .reference-main {
    grid-row: auto;
  }

  .roadmap-timeline {
    gap: 16px;
  }

  .timeline-track {
    left: 34px;
  }

  .timeline-stage {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 14px;
  }

  .stage-marker {
    width: 54px;
    height: 54px;
    font-size: 0.82rem;
  }

  .stage-card {
    min-height: auto;
    border-radius: 18px;
    padding: 22px;
  }

  .stage-card ul {
    font-size: 0.94rem;
  }

  .roadmap-note {
    margin-left: 70px;
    border-radius: 18px;
  }

  .reference-card-head {
    flex-direction: column;
  }

  .stat-card,
  .info-card,
  .metric-card,
  .fact-card,
  .evidence-card {
    min-height: auto;
  }

  .corridor-evidence-panel {
    width: 100%;
  }

  .heatmap-card {
    height: clamp(300px, 72vw, 380px);
  }

  .heatmap-overlay {
    display: none;
  }

  .heatmap-caption {
    display: block;
  }

  .heatmap-card.is-missing .heatmap-placeholder {
    display: grid;
  }

  .evidence-card-grid {
    grid-template-columns: 1fr;
  }

  .journey-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .journey-head {
    display: none;
  }

  .journey-row:not(.journey-head) span {
    display: flex;
    justify-content: space-between;
    gap: 14px;
  }

  .journey-row:not(.journey-head) span::before {
    content: attr(data-label);
    flex: 0 1 auto;
    color: var(--muted-2);
    font-size: 0.78rem;
    font-weight: 760;
  }

  .precedent-visual,
  .precedent-placeholder {
    min-height: 260px;
  }

  .works-schematic {
    min-height: 182vh;
    margin: 24px 0;
  }

  .works-sticky {
    top: calc(var(--nav-offset) + 16px);
    gap: 10px;
  }

  .works-copy .section-kicker {
    display: none;
  }

  .works-copy h3 {
    font-size: 1.72rem;
    line-height: 1.08;
  }

  .works-diagram {
    padding: 10px;
  }

  .works-svg {
    max-height: none;
    min-height: 300px;
  }

  .works-legend {
    max-width: none;
    gap: 4px;
    font-size: 0.56rem;
  }

  .works-step-card {
    min-height: auto;
    padding: 14px;
  }

  .works-step-list {
    width: 100%;
  }

  .context-label {
    font-size: 18px;
  }

  .context-label-end {
    font-size: 17px;
  }

  .slo-station text {
    font-size: 18px;
    stroke-width: 6;
  }

  .works-start-note text,
  .works-final-label {
    font-size: 17px;
  }

  .journey-choice-section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .journey-choice-heading {
    margin-bottom: 20px;
  }

  .journey-option-grid {
    gap: 14px;
  }

  .journey-option-card {
    padding: 22px;
  }

  .journey-option-copy strong {
    font-size: clamp(2.18rem, 11vw, 3.2rem);
  }

  .journey-time-target {
    font-size: clamp(1.9rem, 9vw, 2.7rem) !important;
  }

  .route-choice-panel {
    margin-top: 16px;
  }

  .route-choice-sheet {
    border-radius: 18px;
    padding: 16px;
  }

  .route-choice-sheet h3 {
    font-size: 1.42rem;
  }

  .route-choice-map {
    height: 340px;
  }

  .choice-callout text {
    font-size: 14px;
  }

  .choice-stations text {
    font-size: 14px;
    stroke-width: 5;
  }

  .tradeoff-grid {
    grid-template-columns: 1fr;
  }

  .tradeoff-card {
    min-height: auto;
    border-radius: 20px;
    padding: 24px;
  }

  .risk-mitigation p {
    font-size: 0.94rem;
  }
}

@media (max-width: 520px) {
  .route-scene {
    min-height: 232vh;
  }

  .project-kicker,
  .map-attribution,
  .completion-label,
  .section-kicker,
  .eyebrow {
    font-size: 0.72rem;
  }

  .sticky-stage {
    grid-template-rows: auto minmax(390px, 1fr) auto;
  }

  h1 {
    font-size: clamp(2.62rem, 12.8vw, 3.35rem);
  }

  .hero-tagline {
    font-size: 0.98rem;
  }

  .map-card {
    min-height: 390px;
  }

  .map-attribution {
    left: 12px;
    right: 12px;
    text-align: center;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: min(100%, 320px);
  }

  .station-label {
    font-size: 34px;
    stroke-width: 8px;
  }

  .route-path {
    stroke-width: 15;
  }

  .route-shadow {
    stroke-width: 26;
  }

  .works-svg {
    min-height: 260px;
  }

  .works-step-card {
    min-height: 132px;
    padding: 10px 11px;
  }

  .works-step-card span {
    font-size: 0.68rem;
  }

  .works-step-card h4 {
    font-size: 0.96rem;
  }

  .works-step-card p {
    font-size: 0.8rem;
    line-height: 1.34;
  }

  .works-legend {
    max-width: none;
    flex-wrap: nowrap;
    gap: 4px;
    justify-content: center;
  }

  .works-legend span {
    justify-content: center;
    width: 27px;
    height: 25px;
    padding: 4px;
    font-size: 0;
  }

  .works-legend .legend-line {
    flex-basis: 18px;
  }

  .works-legend .legend-node {
    flex-basis: 12px;
    width: 12px;
    height: 12px;
    border-width: 3px;
  }

  .works-legend .legend-node-double::after {
    inset: -6px;
  }

  .journey-example {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .route-choice-map {
    height: 330px;
  }

  .route-choice-tabs button {
    min-height: 30px;
    font-size: 0.72rem;
  }

  .route-choice-list {
    display: none;
  }

  .choice-drive-callout,
  .choice-public-pattern-callout {
    display: none;
  }

  .choice-callout text {
    font-size: 12px;
  }

  .choice-stations text {
    font-size: 12px;
    stroke-width: 5;
  }

  .journey-caveat {
    text-align: left;
  }

  .roadmap-section,
  .tradeoff-section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .timeline-track {
    left: 25px;
    bottom: 96px;
  }

  .timeline-stage {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 10px;
  }

  .stage-marker {
    width: 42px;
    height: 42px;
    box-shadow:
      0 12px 30px rgba(16, 35, 63, 0.08),
      0 0 0 7px rgba(255, 255, 255, 0.8);
    font-size: 0.72rem;
  }

  .stage-card {
    padding: 18px;
  }

  .stage-card h3,
  .tradeoff-card h3 {
    font-size: 1.32rem;
  }

  .roadmap-note {
    margin-left: 50px;
    padding: 12px 14px;
    font-size: 0.86rem;
  }

  .tradeoff-icon {
    width: 52px;
    height: 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }

  .route-scene {
    min-height: 100vh;
  }

  .works-schematic {
    min-height: auto;
  }

  .works-sticky {
    position: static;
  }

  .map-camera,
  .map-plane {
    transform: none !important;
  }

  .reveal,
  .reveal-card {
    opacity: 1;
    transform: none;
  }

  .works-final-label {
    opacity: 1;
  }

  .roadmap-timeline {
    --roadmap-progress: 100%;
  }

  .roadmap-note {
    opacity: 1;
    transform: none;
  }

  .stage-marker {
    transform: none;
  }

  .highlight-card,
  .journey-time-before,
  .journey-time-after,
  .journey-arrow {
    opacity: 1;
    transform: none;
  }

  .journey-route-line::after {
    transform: translateX(0);
  }

  .journey-choice-section .journey-option-card,
  .journey-choice-section .journey-time-target,
  .choice-route,
  .choice-interchange,
  .choice-stations {
    opacity: 1;
    transform: none;
  }

  .choice-route {
    stroke-dashoffset: 0 !important;
  }

  .mode-road span {
    opacity: 0.24;
    transform: scaleX(0.42);
  }

  .hero-scroll-mark::before,
  .hero-scroll-mark::after,
  .sticky-scroll-cue__arrow::after,
  .swipe-track::after {
    animation: none;
  }
}
