/* ============================================================
   MIND THE GAP — The State of the Kingdom, 2026
   ============================================================ */

:root {
  --navy: #0B1F3A;
  --red: #DC241F;
  --cream: #F4EFE6;
  --gold: #C9A227;
  --ink: #111111;
  --navy-80: rgba(11, 31, 58, 0.8);
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-num: 'Space Grotesk', 'Inter', monospace;
  --nav-h: 76px;
  --side-pad: clamp(20px, 6vw, 96px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: auto;
}

img { max-width: 100%; display: block; }

h1, h2, h3 { font-family: var(--font-head); margin: 0; color: var(--navy); }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; }

.section { position: relative; width: 100%; }

/* ============== LOADER ============== */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
#loader-roundel, #loader-text {
  position: relative;
  z-index: 2;
}
.roundel-ring {
  stroke-dasharray: 540;
  stroke-dashoffset: 540;
  transform-origin: center;
  transform: rotate(-90deg);
}
.roundel-bar {
  transform: scaleX(0);
  transform-origin: center;
}
#loader-text {
  font-family: var(--font-head);
  font-style: italic;
  color: var(--cream);
  font-size: 1.2rem;
  opacity: 0;
  letter-spacing: 0.02em;
}
.loader-door {
  position: fixed;
  top: 0;
  width: 50%;
  height: 100%;
  background: var(--navy);
  z-index: 1;
}
.loader-door-left { left: 0; }
.loader-door-right { right: 0; }

/* ============== CUSTOM CURSOR ============== */
#cursor {
  position: fixed;
  top: 0; left: 0;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--red);
  pointer-events: none;
  z-index: 9990;
  transform: translate(-50%, -50%);
  transition: width 0.25s ease, height 0.25s ease, background 0.25s ease, opacity 0.2s ease;
  mix-blend-mode: normal;
}
#cursor.cursor-grow {
  width: 48px; height: 48px;
  background: rgba(220, 36, 31, 0.25);
  border: 2px solid var(--red);
}
#cursor.cursor-hide { opacity: 0; }

@media (hover: none), (pointer: coarse) {
  #cursor { display: none; }
}

/* ============== PROGRESS BAR ============== */
#progress-track {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(11,31,58,0.12);
  z-index: 900;
}
#progress-fill {
  height: 100%;
  width: 0%;
  background: var(--red);
  transition: width 0.05s linear;
}

/* ============== TRAIN TRANSITION OVERLAY ============== */
#train-overlay {
  position: fixed;
  top: 50%;
  left: -60%;
  width: 60%;
  transform: translateY(-50%);
  z-index: 9500;
  pointer-events: none;
  opacity: 0;
}
#train-overlay svg { width: 100%; height: auto; display: block; }

/* ============== NAV / TUBE LINE ============== */
#tube-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--navy);
  z-index: 800;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.tube-nav-inner {
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--side-pad);
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 48px);
}
.tube-logo { flex-shrink: 0; display: flex; align-items: center; }
.roundel-mini {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 5px solid var(--red);
  position: relative;
  display: block;
}
.roundel-mini::after {
  content: '';
  position: absolute;
  left: -5px; right: -5px;
  top: 50%; height: 8px;
  transform: translateY(-50%);
  background: var(--navy);
  border-top: 2px solid var(--cream);
  border-bottom: 2px solid var(--cream);
}
.tube-line {
  list-style: none;
  display: flex;
  align-items: center;
  margin: 0; padding: 0;
  gap: clamp(10px, 2.4vw, 40px);
  position: relative;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}
.tube-line::-webkit-scrollbar { display: none; }
.tube-line::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 3px;
  background: var(--red);
  transform: translateY(-50%);
  z-index: 0;
}
.tube-line li { position: relative; z-index: 1; }
.tube-line a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--cream);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 8px 4px;
  border-radius: 6px;
}
.tube-line a:focus-visible,
.btn:focus-visible,
.subject-card:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.stop-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--cream);
  border: 3px solid var(--red);
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
  flex-shrink: 0;
}
.tube-line a.active .stop-dot {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.3);
  box-shadow: 0 0 0 4px rgba(201,162,39,0.25);
}
.tube-line a.active .stop-label { color: var(--gold); }
.stop-label { transition: color 0.3s; }
@media (max-width: 700px) {
  .stop-label { display: none; }
}

/* ============== BUTTONS ============== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  border-radius: 999px;
  padding: 16px 32px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn-primary {
  background: var(--red);
  color: var(--cream);
  box-shadow: 0 8px 24px rgba(220,36,31,0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(220,36,31,0.45); }
.btn-secondary {
  background: var(--navy);
  color: var(--cream);
  margin-top: 8px;
}
.btn-secondary:hover { transform: translateY(-3px); background: #12295a; }
.btn-arrow { display: inline-block; transition: transform 0.3s; }
.btn:hover .btn-arrow { transform: translateX(4px); }
#ride-again-btn:hover .btn-arrow { transform: rotate(180deg); }

/* ============== HERO ============== */
.hero {
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,31,58,0.55) 0%, rgba(11,31,58,0.75) 55%, rgba(11,31,58,0.92) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--cream);
  padding: 0 20px;
  max-width: 900px;
}
.eyebrow {
  font-family: var(--font-num);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  color: var(--gold);
  margin-bottom: 18px;
}
.hero-title {
  font-size: clamp(2.6rem, 8vw, 6rem);
  line-height: 1.03;
  font-weight: 900;
  color: var(--cream);
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin: 22px 0 36px;
  color: rgba(244,239,230,0.85);
  font-weight: 500;
}
.big-ben-clock {
  position: absolute;
  bottom: 32px;
  right: 32px;
  z-index: 1;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,0.4));
}
@media (max-width: 640px) {
  .big-ben-clock { display: none; }
}
.scroll-cue {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  width: 26px; height: 42px;
  border: 2px solid rgba(244,239,230,0.6);
  border-radius: 14px;
}
.scroll-cue span {
  position: absolute;
  top: 6px; left: 50%;
  width: 4px; height: 8px;
  background: var(--gold);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollCue 1.6s ease-in-out infinite;
}
@keyframes scrollCue {
  0% { opacity: 1; top: 6px; }
  70% { opacity: 0; top: 22px; }
  100% { opacity: 0; top: 22px; }
}

/* ============== STATIONS (shared layout) ============== */
.station {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.station-media {
  position: relative;
  overflow: hidden;
  min-height: 320px;
}
.station-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
}
.station-body {
  padding: calc(var(--nav-h) + 56px) var(--side-pad) 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--cream);
  position: relative;
}
.station.flip { direction: rtl; }
.station.flip .station-body { direction: ltr; }
.station.flip .station-media { direction: ltr; }

.station-sign {
  position: absolute;
  top: 20px;
  left: var(--side-pad);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: var(--cream);
  padding: 8px 16px;
  border-radius: 6px;
  font-family: var(--font-num);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.sign-index { color: var(--gold); }

.kicker {
  font-family: var(--font-num);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--red);
  font-weight: 600;
  margin: 0 0 10px;
}
.station-body h2 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 22px;
  overflow: hidden;
}
.split-lines .line-inner { display: block; }
.station-text {
  max-width: 60ch;
  color: #2b2b2b;
  font-size: 1.02rem;
  margin-bottom: 30px;
}

/* ============== STAT CARDS ============== */
.stat-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 30px;
  max-width: 560px;
}
.stat-cards-two { grid-template-columns: repeat(2, 1fr); max-width: 480px; }
.stat-card {
  background: #fff;
  border: 1px solid rgba(11,31,58,0.1);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-number, .stat-number-text {
  font-family: var(--font-num);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--navy);
}
.stat-number-text { font-size: clamp(1.1rem, 2vw, 1.4rem); }
.stat-label { font-size: 0.82rem; color: #555; }

/* ============== ECONOMY CHART ============== */
.economy-chart-wrap {
  position: relative;
  margin-top: 28px;
  max-width: 420px;
  height: 160px;
}
#economy-chart { width: 100%; height: 100%; }
#economy-chart-path {
  stroke-dasharray: 620;
  stroke-dashoffset: 620;
}
.chart-burst {
  position: absolute;
  top: -6px; right: 4px;
  width: 10px; height: 10px;
  pointer-events: none;
}
.gold-particle {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  top: 0; left: 0;
}

/* ============== TRANSPORT: POLL ============== */
.poll {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 460px;
  margin-bottom: 30px;
}
.poll-row {
  display: grid;
  grid-template-columns: 70px 1fr 54px;
  align-items: center;
  gap: 12px;
}
.poll-label { font-weight: 600; font-size: 0.9rem; }
.poll-bar-track {
  height: 14px;
  background: rgba(11,31,58,0.08);
  border-radius: 999px;
  overflow: hidden;
}
.poll-bar {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.poll-bar-oppose { background: var(--red); }
.poll-bar-support { background: var(--navy); }
.poll-value { font-family: var(--font-num); font-weight: 700; text-align: right; }

/* ============== TRANSPORT: RIDE ANIMATION ============== */
.ride-wrap {
  position: relative;
  height: 110px;
  margin-top: 20px;
  overflow: hidden;
}
.ride-road {
  position: absolute;
  bottom: 18px; left: 0; right: 0;
  height: 4px;
  background: repeating-linear-gradient(90deg, var(--navy) 0 24px, transparent 24px 40px);
  opacity: 0.4;
}
.ride-car {
  position: absolute;
  bottom: 20px; left: -120px;
  display: flex;
  align-items: center;
}
.radar-pulse {
  position: absolute;
  left: 50%; top: 50%;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  transform: translate(-50%,-50%) scale(0);
  opacity: 0;
}
.ride-counter {
  position: absolute;
  top: 4px; right: 8px;
  font-family: var(--font-num);
  font-weight: 700;
  color: var(--navy);
  opacity: 0;
  font-size: 1rem;
}
.ride-counter span { color: var(--red); font-size: 1.3rem; }

/* ============== PARLIAMENT: DIVISION ============== */
.station-serious .station-text { color: #1a1a1a; }
.division-wrap {
  margin-top: 24px;
  max-width: 340px;
}
.division-bars {
  display: flex;
  align-items: flex-end;
  gap: 40px;
  height: 200px;
}
.division-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  gap: 8px;
  flex: 1;
}
.division-bar {
  width: 56px;
  height: 0%;
  border-radius: 6px 6px 0 0;
  transition: height 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.division-against { background: var(--red); }
.division-for { background: var(--navy); }
.division-value { font-family: var(--font-num); font-weight: 700; font-size: 1.3rem; }
.division-label { font-size: 0.82rem; color: #555; text-transform: uppercase; letter-spacing: 0.06em; }
.division-margin {
  margin-top: 18px;
  text-align: center;
}
.division-margin-line {
  display: block;
  height: 2px;
  width: 0%;
  background: var(--gold);
  margin: 0 auto 8px;
  transition: width 1s ease;
}
.division-margin-label {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0;
  transition: opacity 0.6s ease 0.4s;
}
.division-margin.revealed .division-margin-line { width: 100%; }
.division-margin.revealed .division-margin-label { opacity: 1; }

/* ============== EDUCATION: SUBJECT CARDS ============== */
.subject-cards {
  display: flex;
  gap: 16px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.subject-card {
  background: none;
  border: none;
  padding: 0;
  width: 140px;
  height: 100px;
  perspective: 800px;
}
.subject-card-inner {
  position: relative;
  width: 100%; height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style: preserve-3d;
}
.subject-card:hover .subject-card-inner,
.subject-card:focus-visible .subject-card-inner,
.subject-card.flipped .subject-card-inner {
  transform: rotateY(180deg);
}
.subject-card-front, .subject-card-back {
  position: absolute; inset: 0;
  backface-visibility: hidden;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
}
.subject-card-front {
  background: var(--navy);
  color: var(--cream);
}
.subject-card-back {
  background: var(--gold);
  color: var(--navy);
  transform: rotateY(180deg);
  font-family: var(--font-num);
}

/* ============== EDUCATION: GRADUATE ANIMATION ============== */
.graduate-wrap {
  position: relative;
  height: 160px;
  margin-top: 10px;
  overflow: hidden;
}
.grad-cap, .confetti {
  position: absolute;
  will-change: transform;
}

/* ============== COST OF LIVING: BASKET ============== */
.basket-wrap {
  position: relative;
  height: 190px;
  margin-top: 20px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.basket-items {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100px;
  display: flex;
  justify-content: space-evenly;
}
.basket-item {
  font-size: 2rem;
  opacity: 0;
  position: relative;
}
.basket-icon { position: relative; z-index: 1; }

/* ============== QUIZ CORNER ============== */
.station-quiz.station { grid-template-columns: 1fr; background: var(--cream); }
.quiz-stage {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 56px) var(--side-pad) 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.quiz-intro { max-width: 50ch; margin-left: auto; margin-right: auto; }
.quiz-card {
  width: 100%;
  margin-top: 14px;
  background: #fff;
  border: 1px solid rgba(11,31,58,0.1);
  border-radius: 24px;
  padding: 32px 28px;
  box-shadow: 0 24px 60px rgba(11,31,58,0.12);
  text-align: left;
}
.quiz-progress { height: 6px; background: rgba(11,31,58,0.08); border-radius: 999px; overflow: hidden; margin-bottom: 26px; }
.quiz-progress-fill { height: 100%; width: 0%; background: var(--gold); border-radius: 999px; transition: width 0.4s cubic-bezier(0.22,1,0.36,1); }
.quiz-step { font-family: var(--font-num); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.75rem; color: var(--red); font-weight: 600; margin: 0 0 10px; }
.quiz-prompt { font-size: clamp(1.1rem, 2.6vw, 1.4rem); line-height: 1.35; margin-bottom: 22px; }
.quiz-emoji { margin-right: 8px; }
.quiz-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quiz-option {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  background: var(--cream);
  border: 2px solid rgba(11,31,58,0.12);
  border-radius: 14px;
  padding: 14px 16px;
  cursor: pointer;
  color: var(--navy);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.quiz-option:hover:not(:disabled) { border-color: var(--navy); transform: translateY(-2px); }
.quiz-option:disabled { cursor: default; }
.quiz-option.is-correct { border-color: var(--gold); background: rgba(201,162,39,0.14); }
.quiz-option.is-wrong { border-color: var(--red); background: rgba(220,36,31,0.08); color: var(--red); }
.quiz-option.is-muted { opacity: 0.45; }
.quiz-next-wrap { margin-top: 22px; min-height: 52px; }
.quiz-next-btn { padding: 12px 26px; font-size: 0.92rem; }
.quiz-result { position: relative; text-align: center; padding: 12px 0; }
.quiz-result-emoji { display: inline-block; font-size: 3.2rem; }
.quiz-result-score { font-family: var(--font-num); font-size: 1.3rem; font-weight: 700; color: var(--navy); margin: 14px 0 6px; }
.quiz-result-body { color: #444; max-width: 42ch; margin: 0 auto 22px; }
.quiz-burst { position: absolute; top: -10px; left: 50%; width: 10px; height: 10px; pointer-events: none; }
@media (max-width: 560px) {
  .quiz-options { grid-template-columns: 1fr; }
}

/* ============== MINI GAME: PLATFORM DASH ============== */
.station-game.station {
  grid-template-columns: 1fr;
  background: var(--navy);
}
.game-stage {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 56px) var(--side-pad) 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.station-game .kicker { color: var(--gold); }
.station-game h2 { color: var(--cream); }
.game-intro {
  color: rgba(244, 239, 230, 0.78);
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
}
.game-frame {
  position: relative;
  width: 100%;
  margin-top: 8px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(244, 239, 230, 0.15);
}
#game-canvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 700 / 260;
  touch-action: manipulation;
  cursor: pointer;
  background: var(--navy);
}
.game-hud {
  position: absolute;
  top: 14px; left: 16px; right: 16px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-num);
  color: var(--cream);
  font-size: 0.85rem;
  pointer-events: none;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}
.game-hud strong { color: var(--gold); font-size: 1.05rem; margin-left: 5px; }
.game-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 31, 58, 0.84);
  backdrop-filter: blur(1px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 20px;
  opacity: 1;
  transition: opacity 0.3s ease;
}
.game-overlay.is-hidden { opacity: 0; pointer-events: none; }
.game-overlay-title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3.6vw, 2.1rem);
  color: var(--cream);
  margin: 0;
}
.game-overlay-sub {
  font-family: var(--font-num);
  color: rgba(244, 239, 230, 0.75);
  font-size: 0.9rem;
  margin: 0 0 8px;
}
.game-hint {
  margin-top: 16px;
  font-size: 0.78rem;
  color: rgba(244, 239, 230, 0.5);
}

/* ============== FOOTER ============== */
.footer-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  color: var(--cream);
}
.footer-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.footer-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,31,58,0.88), rgba(11,31,58,0.96));
  z-index: 0;
}
.footer-content {
  position: relative;
  z-index: 1;
  max-width: 880px;
  padding: 120px var(--side-pad) 60px;
  text-align: center;
}
.footer-closing {
  font-family: var(--font-head);
  font-style: italic;
  font-size: clamp(1.2rem, 2.6vw, 1.7rem);
  color: var(--cream);
  max-width: 640px;
  margin: 0 auto 34px;
}
.footer-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  text-align: left;
  margin: 56px auto 0;
  max-width: 700px;
}
.footer-col h3 {
  color: var(--gold);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.footer-col ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(244,239,230,0.75);
}
.footer-credit-line {
  margin-top: 48px;
  font-size: 0.85rem;
  color: rgba(244,239,230,0.6);
}
@media (max-width: 700px) {
  .footer-columns { grid-template-columns: 1fr; text-align: center; }
  .footer-col ul { align-items: center; }
}

/* ============== RESPONSIVE: STATIONS STACK ON MOBILE ============== */
@media (max-width: 900px) {
  .station, .station.flip {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .station-media { min-height: 42vh; order: 1; }
  .station-body { order: 2; padding-top: 40px; }
  .station-sign { position: static; margin: 16px var(--side-pad) 0; align-self: flex-start; }
}

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

/* ============== FOCUS VISIBILITY GLOBAL ============== */
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
