/* =========================================================
   Oslo ⇄ Bergen Trains — "oslobergen"
   Light theme: teal + red accents on white, DM Sans throughout.
   The hero keeps a dark photo scrim (--ink/--snow) for text
   contrast; --amber-deep survives as the mid-elevation accent
   on the station map (paired with teal=low, red=peak).
   ========================================================= */

:root {
  --amber-deep: #E8935A;
  --ink: #0F1826;
  --snow: #F7F9FA;

  --teal: #3EA88E;
  --red-accent: #D93A55;
  --cream: #FBF7F0;
  --ink-dark: #1A1A1A;
  --gray-caption: #6B7280;
  --hair: #EDEAE3;

  --display: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", "Courier New", monospace;

  --maxw: 1120px;
  --header-h: 84px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: #333333;
  -webkit-font-smoothing: antialiased;
  background-color: #FFFFFF;
}

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

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink-dark);
  line-height: 1.08;
  margin: 0 0 0.5em;
  font-weight: 700;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 600; letter-spacing: 0.002em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-top: 0; letter-spacing: 0.01em; font-weight: 600; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-family: var(--sans); font-weight: 700; letter-spacing: 0.05em; color: var(--ink-dark); }

p { margin: 0 0 1em; color: #333333; }
p.lede { color: var(--gray-caption); font-size: 1.05rem; }

a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--teal); color: #fff; padding: 10px 16px; z-index: 1000;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 500;
  background: #FFFFFF;
  border-bottom: 1px solid var(--hair);
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 18px;
  height: var(--header-h);
}
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.logo-img { height: 36px; width: auto; display: block; }
@media (max-width: 480px) { .logo-img { height: 30px; } }

.main-nav { display: flex; justify-content: center; gap: 22px; font-size: 0.8rem; }
.main-nav a {
  font-family: var(--sans); font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase;
  color: #4B5563; text-decoration: none; padding: 4px 0; position: relative; white-space: nowrap;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--teal); transition: right 0.2s ease;
}
.main-nav a:hover { color: var(--ink-dark); }
.main-nav a:hover::after { right: 0; }

.nav-cta {
  background: var(--red-accent);
  color: #fff;
  border: none;
  padding: 11px 22px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
  text-decoration: none;
  white-space: nowrap;
  transition: filter 0.15s ease, transform 0.15s ease;
}
.nav-cta:hover { filter: brightness(1.3); color: #fff; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  background: #F3F1EC; border: 1px solid var(--hair); border-radius: 50%;
  width: 40px; height: 40px; padding: 0; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 18px; height: 2px; background: var(--ink-dark); position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); background: var(--teal); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); background: var(--teal); }

.nav-panel { display: none; }

@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-inner { grid-template-columns: auto 1fr auto auto; gap: 10px; }
  .nav-cta { grid-column: 3; }
  .nav-toggle { grid-column: 4; }
  .nav-panel {
    display: none;
    position: absolute; left: 0; right: 0; top: var(--header-h);
    background: #FFFFFF;
    border-bottom: 1px solid var(--hair);
    padding: 8px 24px 22px;
  }
  .nav-panel.open { display: block; }
  .nav-panel .main-nav {
    display: flex; flex-direction: column; gap: 2px; font-size: 1.1rem;
  }
  .nav-panel .main-nav a { padding: 12px 0 12px 22px; color: var(--ink-dark); position: relative; }
  .nav-panel .main-nav a::before {
    content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid #C9C4B8; background: transparent;
  }
  .nav-panel .main-nav a:hover::before { border-color: var(--teal); background: var(--teal); }
  .nav-panel .main-nav a::after { display: none; }
}

@media (max-width: 480px) {
  .nav-cta { padding: 9px 15px; font-size: 0.8rem; }
}

/* ---------- hero ---------- */
.hero { padding: 28px 0 40px; }
.hero .container { max-width: none; padding: 0; }
.hero-card {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  display: flex;
  align-items: center;
}
.hero-photo { position: absolute; inset: 0; z-index: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(11,20,34,0.9) 0%, rgba(11,20,34,0.74) 34%, rgba(11,20,34,0.3) 64%, rgba(11,20,34,0.08) 100%);
}
.hero-card-content { position: relative; z-index: 2; padding: 64px 60px; max-width: 660px; }
.hero-logo { height: 27px; width: auto; margin-bottom: 22px; }
.hero-card-content .eyebrow { color: rgba(255,255,255,0.92); font-family: var(--sans); font-weight: 600; letter-spacing: 0.1em; }
.hero h1 { margin: 0 0 0.4em; font-family: var(--display); font-weight: 600; font-size: clamp(2.2rem, 4vw, 3rem); text-transform: none; color: #fff; }
.hero .hl-line1, .hero .hl-line2 { display: block; }
.hero .hl-accent { color: #30A28F; }
.hero-sub { font-size: 1.02rem; color: rgba(255,255,255,0.82); max-width: 56ch; margin-top: 12px; }
.hero-sub strong { color: var(--snow); font-weight: 700; }

.hero-actions { margin-top: 26px; }
.hero-cta {
  background: var(--red-accent);
  color: #fff;
  font-family: var(--sans); font-weight: 700; letter-spacing: 0.02em; font-size: 1rem;
  padding: 16px 36px; border-radius: 999px; text-decoration: none; display: inline-block;
  border: none;
  transition: filter 0.15s ease, transform 0.15s ease;
}
.hero-cta:hover { filter: brightness(1.08); color: #fff; transform: translateY(-1px); }

.hero-more { position: absolute; right: 0; bottom: 28px; z-index: 3; width: min(430px, 42%); display: block; text-decoration: none; transition: transform 0.2s ease; }
.hero-more:hover { transform: translateX(-4px); }
.hero-more img { width: 100%; height: auto; display: block; }

@media (max-width: 900px) {
  .hero-card { min-height: 720px; }
  .hero-card-content { padding: 48px 32px; }
  .hero-more { width: min(320px, 60%); bottom: 20px; }
}
@media (max-width: 700px) {
  .hero-card-content { padding: 40px 24px 190px; max-width: 100%; }
  .hero-more { width: 78%; left: 50%; right: auto; transform: translateX(-50%); bottom: 20px; }
  .hero-more:hover { transform: translateX(-50%); }
}

.widget-wrap { padding: 20px 24px 40px; max-width: 1400px; }
.widget-wrap .widget-frame { background: var(--cream); border-radius: 20px; padding: 24px; }
.widget-frame h2 { margin: 0; }

/* ---------- quick facts ---------- */
.quickfacts { background: #FFFFFF; padding: 0; }
.quickfacts .container {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  padding-top: 32px; padding-bottom: 40px;
}
.fact { text-align: center; padding: 0 10px; border-left: 1px solid var(--hair); display: flex; flex-direction: column; gap: 6px; }
.fact:first-child { border-left: none; }
.fact .label {
  font-family: var(--sans); font-weight: 500; font-size: 0.92rem; color: var(--gray-caption); text-transform: none; letter-spacing: 0; order: -1;
  line-height: 1.3; min-height: 2.08em;
  display: flex; align-items: center; justify-content: center;
}
.fact .num {
  font-family: var(--sans); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700;
  color: var(--teal); display: block; font-variant-numeric: tabular-nums;
}
@media (max-width: 860px) {
  .quickfacts .container { grid-template-columns: repeat(3, 1fr); gap: 18px 0; }
  .fact { border-left: none; padding: 4px 8px; }
  .fact .label { min-height: 0; }
}
@media (max-width: 480px) {
  .quickfacts .container { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- section shell ---------- */
section { padding: 66px 0; scroll-margin-top: var(--header-h); }
section > .container > .section-head { max-width: 68ch; margin-bottom: 34px; }
.section-head h4 { margin-bottom: 8px; }
.eyebrow {
  font-family: var(--display); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal); display: block; margin-bottom: 10px;
}
.alt-bg { background: var(--cream); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }

/* ---------- route section (light, flat, edge-to-edge) ---------- */
.route-map { padding: 0; background: #FFFFFF; }
.route-head { padding: 80px 24px 64px; max-width: 720px; text-align: center; }
.route-head h2 { color: var(--ink-dark); text-transform: none; font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.route-head .lede { color: var(--gray-caption); max-width: 62ch; margin: 0 auto; }

.note { font-size: 0.92rem; color: var(--gray-caption); margin-top: 16px; }

/* full-width photo block */
.route-photo-block { position: relative; margin: 0; width: 100%; min-height: 560px; overflow: hidden; }
.route-photo-block picture { position: absolute; inset: 0; z-index: 0; }
.route-photo-block img { width: 100%; height: 100%; object-fit: cover; display: block; }
.route-photo-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.78) 30%, rgba(0,0,0,0.4) 55%, rgba(0,0,0,0) 88%);
}
.route-photo-text { position: absolute; left: 0; bottom: 0; z-index: 2; padding: 32px 48px 44px; max-width: 680px; }
.route-photo-text h3 { color: #fff; font-size: clamp(1.4rem, 3vw, 2rem); text-transform: none; margin-bottom: 0.5em; }
.route-photo-text p { color: rgba(255,255,255,0.88); font-size: 0.98rem; }
.route-photo-text p.note { color: rgba(255,255,255,0.62); font-size: 0.82rem; margin-top: 10px; }
@media (max-width: 700px) {
  .route-photo-block { min-height: 660px; }
  .route-photo-text { padding: 24px 24px 32px; max-width: 100%; }
}

/* two-column Finse block */
.finse-split { display: grid; grid-template-columns: 1fr 1fr; }
.finse-split-photo { min-height: 460px; }
.finse-split-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.finse-split-text { background: #EFEFED; display: flex; flex-direction: column; justify-content: center; padding: 64px; }
.finse-split-text .eyebrow { color: var(--teal); margin-bottom: 14px; }
.finse-split-text h3 { color: var(--ink-dark); font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.18; margin-bottom: 18px; }
.finse-split-text p { color: #333333; max-width: 46ch; }
@media (max-width: 860px) {
  .finse-split { grid-template-columns: 1fr; }
  .finse-split-photo { min-height: 320px; }
  .finse-split-text { padding: 44px 28px; }
}

/* ---------- compare train classes ---------- */
.classes-compare { background: #FFFFFF; padding: 72px 0; }
.classes-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.classes-head h2 { color: var(--ink-dark); text-transform: none; }
.classes-head .lede { color: var(--gray-caption); margin: 0 auto; }

.classes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.class-card { position: relative; border: 1px solid var(--hair); border-radius: 6px; background: #fff; overflow: hidden; display: flex; flex-direction: column; }
.class-card--featured { border: 2px solid var(--teal); margin-top: -12px; }
.class-media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--hair); }
.class-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.class-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--teal); color: #fff; font-family: var(--sans); font-weight: 700; font-size: 0.68rem;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; white-space: nowrap;
}
.class-card-body { padding: 22px 20px 26px; display: flex; flex-direction: column; flex: 1; }
.class-card-body h3 { color: var(--ink-dark); font-size: 1.2rem; text-transform: none; margin-bottom: 16px; }
.class-card-body h3 .class-sub {
  display: block; font-size: 0.76rem; font-weight: 500; color: var(--gray-caption);
  text-transform: uppercase; letter-spacing: 0.05em; margin-top: 3px;
}
.class-rows { margin: 0 0 20px; padding: 0; }
.class-row { padding: 12px 0; border-top: 1px solid var(--hair); }
.class-row:first-child { border-top: none; padding-top: 0; }
.class-row dt { font-family: var(--sans); font-weight: 600; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gray-caption); margin-bottom: 4px; }
.class-row dd { margin: 0; color: #333333; font-size: 0.88rem; line-height: 1.45; }
.class-row:first-child dd { color: var(--teal); font-weight: 700; }

.class-cta {
  display: block; text-align: center; margin-top: auto;
  background: var(--red-accent); color: #fff; font-family: var(--sans); font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.78rem;
  padding: 12px 16px; border-radius: 999px; text-decoration: none;
  transition: filter 0.15s ease, transform 0.15s ease;
}
.class-cta:hover { filter: brightness(1.08); color: #fff; transform: translateY(-1px); }

.classes-note { text-align: center; color: var(--gray-caption); font-size: 0.85rem; margin: 36px auto 0; }

@media (max-width: 960px) {
  .classes-grid { grid-template-columns: repeat(2, 1fr); }
  .class-card--featured { margin-top: 0; }
}
@media (max-width: 640px) {
  .classes-grid { grid-template-columns: 1fr; }
}

/* ---------- interactive station map ---------- */
.station-map-section { background: #FFFFFF; padding: 72px 0 64px; }
.station-map-section .classes-head { margin-bottom: 40px; }

/* self-drawn elevation-profile route diagram: an SVG line plots the real
   Oslo-Bergen elevation curve, station dots sit on it at their true
   distance/elevation coordinates, so markers are pixel-exact by
   construction (no image to misalign against) */
.elevation-map {
  position: relative; width: 100%; max-width: 1400px; margin: 0 auto;
  aspect-ratio: 1600 / 700; overflow: visible;
  background: #fff; border: 1px solid var(--hair); border-radius: 16px;
}
.elevation-map-svg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; }
.elevation-map-sealevel { stroke: var(--hair); stroke-width: 2; stroke-dasharray: 6 6; }
.elevation-map-area { fill: url(#elevAreaGrad); stroke: none; }
.elevation-map-line { fill: none; stroke: url(#elevLineGrad); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.elevation-map-sealevel-label {
  position: absolute; left: 12px; top: 82%; transform: translateY(-100%);
  font-family: var(--sans); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--gray-caption); background: #fff; padding: 2px 6px; z-index: 1;
}

.map-pin {
  position: absolute; z-index: 3; transform: translate(-50%, -50%);
  width: 34px; height: 34px; padding: 0; margin: 0; border: none; background: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
/* always-on ring around the artwork's own marker, so the hoverable spot is
   discoverable before interaction — brightens and gets a glow on hover/focus */
.map-pin-dot {
  width: 30px; height: 30px; border-radius: 50%; background: rgba(62,168,142,0.14);
  border: 2px solid rgba(62,168,142,0.55);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.55);
  opacity: 1; transform: scale(0.82);
  animation: mapPinPulse 2.6s ease-in-out infinite;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.map-pin.band-amber .map-pin-dot { background: rgba(232,147,90,0.16); border-color: rgba(232,147,90,0.6); }
.map-pin.band-peak .map-pin-dot { background: rgba(216,67,74,0.16); border-color: rgba(216,67,74,0.6); }
.map-pin:hover .map-pin-dot, .map-pin:focus .map-pin-dot, .map-pin:focus-within .map-pin-dot {
  transform: scale(1); background: rgba(62,168,142,0.22); border-color: var(--teal);
  box-shadow: 0 0 0 6px rgba(62,168,142,0.22); animation-play-state: paused;
}
.map-pin.band-amber:hover .map-pin-dot, .map-pin.band-amber:focus .map-pin-dot, .map-pin.band-amber:focus-within .map-pin-dot {
  background: rgba(232,147,90,0.24); border-color: var(--amber-deep); box-shadow: 0 0 0 6px rgba(232,147,90,0.26);
}
.map-pin.band-peak:hover .map-pin-dot, .map-pin.band-peak:focus .map-pin-dot, .map-pin.band-peak:focus-within .map-pin-dot {
  background: rgba(216,67,74,0.24); border-color: var(--red-accent); box-shadow: 0 0 0 6px rgba(216,67,74,0.26);
}
.map-pin:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; border-radius: 50%; }
@media (prefers-reduced-motion: reduce) { .map-pin-dot { animation: none; } }
@keyframes mapPinPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(255,255,255,0.55); }
  50% { box-shadow: 0 0 0 7px rgba(255,255,255,0.28); }
}

/* always-visible station name — the diagram is legible without hovering;
   hover/focus only adds the elevation + description via .station-tip */
.map-pin-label {
  position: absolute; left: 50%; transform: translateX(-50%);
  white-space: nowrap; font-family: var(--sans); font-weight: 700; font-size: 0.8rem;
  color: var(--ink-dark); background: #fff; padding: 2px 7px; border-radius: 6px;
  z-index: 4; pointer-events: none;
}
.map-pin.label-above .map-pin-label { bottom: calc(100% + 8px); }
.map-pin.label-below .map-pin-label { top: calc(100% + 8px); }
.map-pin.label-edge-left .map-pin-label { left: 0; transform: none; }
.map-pin.label-edge-right .map-pin-label { left: auto; right: 0; transform: none; }

.map-highlight {
  position: absolute; z-index: 6; transform: translate(-50%, -100%) translateY(-26px);
  background: var(--ink-dark); color: #fff; padding: 10px 16px; border-radius: 8px; text-align: center;
  pointer-events: none; white-space: nowrap;
}
.map-highlight-label { display: block; font-family: var(--sans); font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.62); }
.map-highlight-name { display: block; font-family: var(--display); font-weight: 700; font-size: 1.05rem; }
.map-highlight-elev { display: block; font-family: var(--sans); font-weight: 700; font-size: 1.15rem; color: var(--teal); }

/* per-pin tooltip: pure CSS hover/focus, nested inside the pin button */
.station-tip {
  position: absolute; left: 50%;
  width: max-content; max-width: min(220px, 60vw);
  background: #fff; border: 1px solid var(--hair); border-radius: 10px; padding: 14px;
  box-shadow: 0 14px 32px -12px rgba(0,0,0,0.28);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateX(-50%) translateY(4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
  text-align: left; z-index: 20;
}
.map-pin:hover .station-tip,
.map-pin:focus .station-tip,
.map-pin:focus-within .station-tip { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.map-pin.tip-above .station-tip { bottom: calc(100% + 14px); }
.map-pin.tip-below .station-tip { top: calc(100% + 14px); }
.map-pin.tip-edge-left .station-tip { left: 0; transform: none; }
.map-pin.tip-edge-right .station-tip { left: auto; right: 0; margin-left: 0; transform: none; }
.map-pin.tip-edge-left:hover .station-tip, .map-pin.tip-edge-left:focus .station-tip, .map-pin.tip-edge-left:focus-within .station-tip,
.map-pin.tip-edge-right:hover .station-tip, .map-pin.tip-edge-right:focus .station-tip, .map-pin.tip-edge-right:focus-within .station-tip { transform: none; }

/* caret pointing from the tooltip back to the pin that opened it */
.station-tip::before {
  content: ""; position: absolute; width: 16px; height: 16px; background: #fff;
  border-left: 1px solid var(--hair); border-top: 1px solid var(--hair);
  box-shadow: -2px -2px 6px -3px rgba(0,0,0,0.18);
  left: 50%; transform: translateX(-50%) rotate(45deg);
}
.map-pin.tip-below .station-tip::before { top: -8px; border-bottom: none; border-right: none; }
.map-pin.tip-above .station-tip::before { bottom: -8px; transform: translateX(-50%) rotate(225deg); }
.map-pin.tip-edge-left .station-tip::before { left: 11px; transform: rotate(45deg); }
.map-pin.tip-edge-left.tip-above .station-tip::before { transform: rotate(225deg); }
.map-pin.tip-edge-right .station-tip::before { left: auto; right: 11px; transform: rotate(45deg); }
.map-pin.tip-edge-right.tip-above .station-tip::before { transform: rotate(225deg); }

.station-tip-thumb {
  width: 40px; height: 40px; border-radius: 50%; background: var(--teal); color: #fff;
  display: flex; align-items: center; justify-content: center; margin-bottom: 8px;
}
.station-tip-thumb svg { width: 20px; height: 20px; }
.station-tip-thumb.band-amber { background: var(--amber-deep); }
.station-tip-thumb.band-peak { background: var(--red-accent); }
.station-tip strong { display: block; font-family: var(--display); font-weight: 700; font-size: 1.02rem; color: var(--ink-dark); }
.station-tip .tip-elev { display: block; font-family: var(--sans); font-weight: 700; font-size: 0.8rem; color: var(--teal); margin: 2px 0 8px; }
.map-pin.band-amber .tip-elev { color: var(--amber-deep); }
.map-pin.band-peak .tip-elev { color: var(--red-accent); }
.station-tip .tip-desc { display: block; margin: 0; font-size: 0.82rem; color: #555555; line-height: 1.4; }

.station-map-note { text-align: center; margin: 32px auto 0; }

@media (max-width: 760px) {
  /* 9 always-visible labels need more room than a phone screen has —
     scroll horizontally instead of shrinking text until it overlaps */
  .elevation-map-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 0 16px 6px; }
  .elevation-map { min-width: 920px; border-radius: 12px; }
  .map-pin { width: 26px; height: 26px; }
  .map-pin-dot { width: 24px; height: 24px; }
  .map-pin-label { font-size: 0.74rem; }
  .map-highlight { transform: translate(-50%, -100%) translateY(-24px); padding: 7px 11px; }
  .map-highlight-name { font-size: 0.92rem; }
  .map-highlight-elev { font-size: 1rem; }
  .station-tip { max-width: 240px; padding: 11px; }
}

/* ---------- top things to do ---------- */
.things-to-do { background: #FFFFFF; padding: 72px 0; }
.things-to-do h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.things-city-label { font-family: var(--display); font-weight: 600; font-size: 1.3rem; color: var(--ink-dark); letter-spacing: 0.02em; margin: 40px 0 20px; }
.things-city-label:first-of-type { margin-top: 8px; }
.things-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.thing-card { border: 1px solid var(--hair); border-radius: 6px; overflow: hidden; background: #fff; }
.thing-media { aspect-ratio: 1 / 1; overflow: hidden; background: var(--hair); }
.thing-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thing-body { padding: 18px 20px 22px; }
.thing-body h4 { font-family: var(--display); font-weight: 600; font-size: 1.25rem; color: var(--ink-dark); text-transform: none; letter-spacing: 0; margin-bottom: 8px; }
.thing-body p { color: #333333; font-size: 0.9rem; line-height: 1.5; margin: 0; }
.things-note { margin: 36px auto 0; max-width: 68ch; text-align: center; color: var(--gray-caption); font-size: 0.95rem; }
@media (max-width: 860px) { .things-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .things-grid { grid-template-columns: 1fr; } }

/* ---------- journey details ---------- */
.details-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-bottom: 36px; }
.detail-card { background: #fff; border: 1px solid var(--hair); border-radius: 12px; padding: 20px; }
.detail-card h4 { color: var(--teal); text-transform: none; letter-spacing: 0; font-family: var(--display); font-weight: 600; font-size: 1.3rem; margin-bottom: 8px; }
.detail-card p { color: #333333; font-size: 0.93rem; margin: 0; }
@media (max-width: 860px) { .details-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .details-grid { grid-template-columns: 1fr; } }

.zones-list { list-style: none; margin: 0; padding: 0; counter-reset: zone; display: grid; gap: 10px; }
.zones-list li {
  counter-increment: zone;
  background: #fff; border: 1px solid var(--hair); border-radius: 12px;
  padding: 14px 16px 14px 54px; position: relative; color: #333333; font-size: 0.94rem;
}
.zones-list li::before {
  content: counter(zone);
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--teal); color: #fff; font-family: var(--mono); font-weight: 700; font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
}
.zones-list strong { color: var(--ink-dark); }

/* ---------- fares ---------- */
.fare-quick-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.fare-quick-list li { display: flex; justify-content: space-between; gap: 12px; background: #fff; border: 1px solid var(--hair); border-radius: 12px; padding: 12px 16px; color: #333333; }
.fare-quick-list .t { font-weight: 700; color: var(--ink-dark); }
.fare-quick-list .p { font-family: var(--mono); color: var(--teal); }
@media (max-width: 560px) { .fare-quick-list { grid-template-columns: 1fr; } }

.cta-band {
  background: linear-gradient(120deg, rgba(62,168,142,0.08), rgba(62,168,142,0.14)); border: 1px solid rgba(62,168,142,0.25); border-radius: 18px; padding: 32px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
}
.cta-band h3 { color: var(--ink-dark); margin-bottom: 4px; letter-spacing: 0.02em; }
.cta-band p { color: var(--gray-caption); margin: 0; max-width: 46ch; }
.cta-band a {
  background: var(--red-accent); color: #fff; font-family: var(--display); font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; font-size: 0.98rem;
  padding: 14px 30px; border-radius: 999px; text-decoration: none; white-space: nowrap;
  transition: filter 0.15s ease, transform 0.15s ease;
}
.cta-band a:hover { filter: brightness(1.1); color: #fff; transform: translateY(-1px); }

/* ---------- alternatives ---------- */
.alt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.alt-card { border: 1px solid var(--hair); border-radius: 12px; padding: 20px; background: #fff; }
.alt-card h4 { color: var(--teal); text-transform: none; letter-spacing: 0; font-family: var(--display); font-weight: 600; font-size: 1.3rem; }
.alt-card ul { margin: 0; padding-left: 18px; color: #333333; font-size: 0.92rem; }
.alt-card li { margin-bottom: 4px; }
@media (max-width: 860px) { .alt-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 10px; max-width: 78ch; margin: 0 auto; }
.faq-item { border: 1px solid var(--hair); border-radius: 12px; background: #fff; overflow: hidden; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 16px 20px; font-family: var(--display); color: var(--ink-dark);
  font-weight: 600; font-size: 1.2rem; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary h3 {
  margin: 0; font-family: inherit; font-weight: inherit; font-size: inherit; color: inherit; line-height: inherit;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-family: var(--sans); font-size: 1.1rem; color: #fff; background: var(--teal);
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-a { padding: 0 20px 18px; color: #333333; }
.faq-cta { text-align: center; margin-top: 28px; }

/* ---------- footer ---------- */
.site-footer { background: #FFFFFF; color: var(--gray-caption); padding: 44px 0 0; margin-top: 20px; border-top: 1px solid var(--hair); }
.site-footer .container { max-width: var(--maxw); }
.site-footer p { color: var(--gray-caption); font-size: 0.9rem; max-width: 78ch; }
.site-footer p.footer-disclosure { max-width: none; }
.site-footer a { color: var(--teal); }
.site-footer a:hover { color: var(--ink-dark); }
.footer-bottom { margin-top: 28px; background: var(--cream); border-top: 1px solid var(--hair); padding: 16px 0; }
.footer-bottom .container { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.82rem; color: var(--gray-caption); }

/* ---------- count-up numbers ---------- */
[data-countup] { display: inline-block; }

.affiliate-clk { }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- privacy page ---------- */
.legal { padding: 48px 0 80px; }
.legal .container { max-width: 76ch; }
.legal h1 { margin-bottom: 0.6em; text-transform: none; }
.legal h2 { font-size: 1.5rem; margin-top: 1.6em; letter-spacing: 0.02em; }
