:root {
  --forest: #13241d;
  --forest-2: #1b3429;
  --paper: #f3f1eb;
  --paper-2: #e8e5dc;
  --ink: #17201c;
  --muted: #667069;
  --line: rgba(23, 32, 28, 0.16);
  --orange: #f16b3a;
  --orange-dark: #c8461e;
  --green: #8ccf7e;
  --white: #fffef9;
  --shell: min(1180px, calc(100vw - 48px));
  --header-height: 78px;
  --radius: 6px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

section[id] { scroll-margin-top: calc(var(--header-height) + 12px); }

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
}

main { display: flex; flex-direction: column; }
.hero { order: 0; }
.story-section { order: 1; }
.route-section { order: 2; }
.timeline-section { order: 3; }
.action-section { order: 4; }
.risk-section { order: 5; }
.closing-section { order: 6; }

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { display: block; max-width: 100%; }
svg { width: 1.2em; height: 1.2em; stroke-width: 1.8; }

.skip-link {
  position: fixed;
  left: 20px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--white);
  color: var(--ink);
  transition: top 180ms ease;
}

.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 3px solid #f5a383;
  outline-offset: 3px;
}

.page-shell { width: var(--shell); margin-inline: auto; }
.section-pad { padding: 112px 0; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  height: var(--header-height);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.22);
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease;
}

.site-header.scrolled,
.site-header.menu-open {
  color: var(--ink);
  background: rgba(243, 241, 235, .94);
  border-color: var(--line);
  backdrop-filter: blur(16px);
}

.brand { justify-self: start; display: flex; align-items: center; gap: 11px; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid currentColor; border-radius: 50%; }
.brand-mark svg { width: 20px; height: 20px; }
.brand strong, .brand small { display: block; letter-spacing: 0; }
.brand strong { font-family: Arial, sans-serif; font-size: 12px; font-weight: 800; }
.brand small { margin-top: 2px; font-size: 10px; opacity: .72; }

.desktop-nav { display: flex; align-items: center; gap: 34px; font-size: 13px; }
.desktop-nav a { position: relative; padding: 8px 0; opacity: .78; transition: opacity 160ms ease; }
.desktop-nav a::after { content: ""; position: absolute; inset: auto 0 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 180ms ease; }
.desktop-nav a:hover { opacity: 1; }
.desktop-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.header-actions { justify-self: end; display: flex; align-items: center; gap: 14px; }
.phase-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 650; }
.phase-pill > span { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(140,207,126,.14); }
.icon-button { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; color: inherit; border: 1px solid currentColor; border-radius: 50%; background: transparent; cursor: pointer; }
.menu-button { display: none; }
.mobile-nav { display: none; }

.hero {
  position: relative;
  min-height: min(840px, 88svh);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--forest);
}

.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; transform: scale(1.005); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,15,12,.76) 0%, rgba(7,15,12,.48) 42%, rgba(7,15,12,.08) 76%), linear-gradient(0deg, rgba(7,15,12,.7) 0%, transparent 52%); }
.hero-grid { display: none; }

.hero-content { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) 190px; align-items: end; gap: 88px; padding: 176px 0 78px; }
.hero-copy { max-width: 820px; }
.eyebrow, .kicker { margin: 0 0 20px; font-family: Arial, sans-serif; font-size: 11px; font-weight: 750; letter-spacing: 0; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.78); }
.eyebrow span { padding: 0 0 6px; color: var(--white); background: transparent; border-bottom: 1px solid rgba(255,255,255,.64); }
.hero h1 { margin: 0; max-width: 920px; font-family: Georgia, "Songti SC", serif; font-size: 104px; font-weight: 500; line-height: .94; letter-spacing: 0; text-wrap: balance; }
.hero-lead { margin: 28px 0 0; max-width: 540px; color: rgba(255,255,255,.82); font-size: 19px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 18px; border: 1px solid transparent; border-radius: 2px; font-size: 13px; font-weight: 700; transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--ink); background: var(--white); }
.button-primary:hover { background: #f0ede4; }
.button-ghost { color: var(--white); border-color: rgba(255,255,255,.6); background: rgba(7,18,14,.18); backdrop-filter: blur(6px); }
.button-ghost:hover { background: rgba(255,255,255,.12); border-color: white; }

.hero-facts { display: grid; gap: 20px; width: 190px; padding-bottom: 3px; }
.hero-facts div { padding-top: 12px; border-top: 1px solid rgba(255,255,255,.4); }
.hero-facts span, .hero-facts strong { display: block; }
.hero-facts span { font-size: 11px; color: rgba(255,255,255,.64); }
.hero-facts strong { margin-top: 5px; font-family: Arial, sans-serif; font-size: 18px; letter-spacing: 0; }
.scroll-cue { position: absolute; right: max(24px, calc((100vw - 1180px) / 2)); bottom: 22px; z-index: 2; display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.66); font-family: Arial, sans-serif; font-size: 9px; font-weight: 700; letter-spacing: 0; }

.kicker { color: var(--orange-dark); }
.kicker.light { color: #f5a383; }
.two-column-heading, .section-heading { display: flex; align-items: end; justify-content: space-between; gap: 48px; margin-bottom: 54px; }
.two-column-heading > div, .section-heading > div { max-width: 650px; }
.two-column-heading > p, .timeline-note { max-width: 430px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.two-column-heading h2, .section-heading h2, .risk-copy h2, .closing-content h2 { margin: 0; font-family: Georgia, "Songti SC", serif; font-size: clamp(34px, 4vw, 58px); font-weight: 500; line-height: 1.12; letter-spacing: 0; }

.story-section { position: relative; padding: 136px 0 124px; overflow: hidden; background: #f6f3ec; }
.story-shell { position: relative; }
.story-index { position: absolute; top: -88px; right: -8px; color: rgba(23,32,28,.045); font-family: Georgia, serif; font-size: 220px; line-height: 1; pointer-events: none; }
.story-layout { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr); gap: 100px; align-items: end; }
.story-heading h2 { max-width: 690px; margin: 0; font-family: Georgia, "Songti SC", serif; font-size: 64px; font-weight: 500; line-height: 1.17; }
.story-copy { max-width: 520px; padding-bottom: 6px; }
.story-copy p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.9; }
.story-copy .story-intro { margin-bottom: 18px; color: var(--ink); font-family: Georgia, "Songti SC", serif; font-size: 21px; line-height: 1.65; }
.story-copy a { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; color: var(--orange-dark); font-size: 12px; font-weight: 750; }
.place-line { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; margin: 92px 0 0; padding: 32px 0 0; border-top: 1px solid var(--line); list-style: none; }
.place-line::before { content: ""; position: absolute; top: -2px; left: 0; width: 72%; height: 3px; background: var(--orange); }
.place-line li { position: relative; min-width: 0; padding-right: 24px; }
.place-line li::before { content: ""; position: absolute; top: -37px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: #f6f3ec; border: 2px solid var(--orange-dark); }
.place-line span, .place-line strong, .place-line small { display: block; }
.place-line span { color: var(--orange-dark); font-size: 9px; font-weight: 800; }
.place-line strong { margin-top: 7px; font-family: Georgia, "Songti SC", serif; font-size: 20px; font-weight: 600; }
.place-line small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.story-quote { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 64px; margin: 96px 0 0; padding: 54px 0 0; border-top: 1px solid var(--line); }
.story-quote p { max-width: 880px; margin: 0; font-family: Georgia, "Songti SC", serif; font-size: 34px; font-weight: 500; line-height: 1.5; }
.story-quote cite { padding-bottom: 8px; color: var(--muted); font-size: 10px; font-style: normal; font-weight: 750; white-space: nowrap; }

.action-section { color: var(--white); background: #151f1b; }
.action-heading { display: flex; align-items: end; justify-content: space-between; gap: 56px; margin-bottom: 42px; }
.action-heading > div { max-width: 660px; }
.action-heading h2 { margin: 0; font-family: Georgia, "Songti SC", serif; font-size: clamp(36px, 4.5vw, 64px); font-weight: 500; line-height: 1.08; letter-spacing: 0; }
.action-heading > p { max-width: 470px; margin: 0; color: rgba(255,255,255,.58); font-size: 13px; line-height: 1.8; }
.action-lead { min-height: 98px; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 18px; margin-bottom: 24px; padding: 22px 0; color: var(--white); background: transparent; border-top: 1px solid rgba(255,255,255,.22); border-bottom: 1px solid rgba(255,255,255,.22); }
.action-lead > div { min-width: 0; }
.action-lead-icon { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.32); border-radius: 50%; }
.action-lead small, .action-lead strong { display: block; }
.action-lead small { color: rgba(255,255,255,.52); font-size: 9px; font-weight: 800; }
.action-lead strong { margin-top: 4px; overflow-wrap: anywhere; font-family: Georgia, "Songti SC", serif; font-size: 18px; font-weight: 600; line-height: 1.4; }
.action-lead a { min-height: 42px; display: inline-flex; align-items: center; gap: 7px; padding: 0 14px; color: var(--ink); background: var(--white); font-size: 10px; font-weight: 750; white-space: nowrap; }
.action-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; border: 0; background: transparent; }
.action-lane { min-width: 0; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.16); }
.action-lane > header { min-height: 116px; display: flex; align-items: center; gap: 15px; padding: 22px; border-bottom: 1px solid rgba(255,255,255,.16); }
.lane-icon { width: 46px; height: 46px; display: grid; place-items: center; flex: 0 0 46px; border: 1px solid rgba(255,255,255,.26); border-radius: 50%; }
.lane-codex .lane-icon { color: #a9d39c; }
.lane-external .lane-icon { color: #f3be67; }
.lane-user .lane-icon { color: #f5a383; }
.action-lane header p { margin: 0; color: rgba(255,255,255,.42); font-family: Arial, sans-serif; font-size: 9px; font-weight: 800; }
.action-lane header h3 { margin: 4px 0 0; font-family: Georgia, "Songti SC", serif; font-size: 21px; font-weight: 500; letter-spacing: 0; }
.action-row { min-height: 106px; display: grid; grid-template-columns: 24px minmax(0, 1fr) 18px; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid rgba(255,255,255,.12); transition: background 160ms ease; }
.action-row:last-child { border-bottom: 0; }
.action-row:hover { background: rgba(255,255,255,.06); }
.action-row > svg:first-child { color: rgba(255,255,255,.48); }
.action-row > svg:last-child { width: 16px; height: 16px; color: rgba(255,255,255,.26); }
.action-row strong, .action-row small { display: block; }
.action-row strong { font-size: 13px; }
.action-row small { margin-top: 6px; color: rgba(255,255,255,.48); font-size: 10px; line-height: 1.6; }

.route-section { background: var(--paper-2); }
.route-heading h2 { max-width: 760px; font-size: 60px; }
.route-heading > p { max-width: 540px; color: var(--muted); }
.route-rationale { margin-bottom: 48px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rationale-heading { display: grid; grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr); gap: 64px; padding: 34px 0 40px; }
.rationale-heading h3 { max-width: 520px; margin: 8px 0 0; font-family: Georgia, "Songti SC", serif; font-size: 32px; font-weight: 500; line-height: 1.3; letter-spacing: 0; }
.rationale-summary { align-self: end; }
.rationale-summary p { max-width: 610px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.85; }
.rationale-summary a { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--orange-dark); font-size: 12px; font-weight: 750; }
.rationale-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.rationale-item { min-width: 0; min-height: 238px; padding: 26px 24px 28px; border-left: 1px solid var(--line); }
.rationale-item:first-child { border-left: 0; }
.rationale-item-top { display: flex; align-items: center; justify-content: space-between; color: var(--orange-dark); }
.rationale-item-top span { font-family: Arial, sans-serif; font-size: 10px; font-weight: 800; }
.rationale-item-top svg { width: 21px; height: 21px; }
.rationale-item h4 { margin: 42px 0 0; font-family: Georgia, "Songti SC", serif; font-size: 19px; font-weight: 600; line-height: 1.35; }
.rationale-item p { margin: 10px 0 0; color: var(--muted); font-size: 12px; line-height: 1.75; }
.rationale-comparison { display: grid; grid-template-columns: 1fr 44px 1fr; align-items: center; gap: 22px; padding: 24px 28px; color: rgba(255,255,255,.62); background: var(--forest); }
.rationale-comparison > div { min-width: 0; }
.rationale-comparison > svg { justify-self: center; color: rgba(255,255,255,.34); }
.rationale-comparison span, .rationale-comparison strong, .rationale-comparison small { display: block; }
.rationale-comparison span { font-size: 10px; font-weight: 750; }
.rationale-comparison strong { margin-top: 4px; color: var(--white); font-family: Arial, sans-serif; font-size: 20px; letter-spacing: 0; }
.rationale-comparison small { margin-top: 4px; font-size: 11px; }
.rationale-comparison .recommended { padding-left: 24px; border-left: 2px solid var(--orange); }
.rationale-comparison .recommended span { color: #f5a383; }
.route-tool { overflow: hidden; border: 1px solid rgba(19,36,29,.22); background: var(--white); }
.plan-choice { min-height: 104px; display: grid; grid-template-columns: auto minmax(280px, 1fr); align-items: center; gap: 36px; padding: 18px 24px; color: var(--white); background: var(--forest); border-bottom: 1px solid rgba(255,255,255,.16); }
.plan-choice > div { display: flex; align-items: center; gap: 16px; }
.plan-choice-label { color: rgba(255,255,255,.56); font-size: 10px; font-weight: 750; white-space: nowrap; }
.plan-choice p { max-width: 640px; margin: 0 0 0 auto; color: rgba(255,255,255,.66); font-size: 11px; line-height: 1.65; }
.plan-segmented { grid-template-columns: repeat(3, minmax(136px, 1fr)); background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.14); }
.plan-segmented button { min-width: 146px; color: rgba(255,255,255,.68); }
.plan-segmented button.active { color: var(--ink); }
.route-toolbar { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 18px 16px 24px; border-bottom: 1px solid var(--line); }
.route-summary { display: flex; align-items: stretch; }
.route-summary > div { min-width: 118px; padding: 1px 24px; border-left: 1px solid var(--line); }
.route-summary > div:first-child { padding-left: 0; border-left: 0; }
.route-summary span, .route-summary strong { display: block; }
.route-summary span { color: var(--muted); font-size: 10px; }
.route-summary strong { margin-top: 2px; font-family: Arial, sans-serif; font-size: 18px; letter-spacing: 0; }
.route-toolbar-actions { display: flex; align-items: center; gap: 9px; }
.segmented-control { display: inline-grid; grid-template-columns: repeat(3, 1fr); min-height: 44px; padding: 3px; background: #e6e3da; border: 1px solid rgba(19,36,29,.1); }
.segmented-control button { min-width: 58px; padding: 0 12px; color: #58625c; border: 0; background: transparent; font-size: 11px; font-weight: 700; cursor: pointer; }
.segmented-control button.active { color: var(--ink); background: var(--white); box-shadow: 0 1px 4px rgba(19,36,29,.12); }
.segmented-control button:disabled { opacity: .38; cursor: not-allowed; }
.map-icon-button, .segment-download, .segment-mode-icon { width: 44px; height: 44px; display: grid; place-items: center; flex: 0 0 44px; padding: 0; color: var(--ink); border: 1px solid var(--line); background: var(--white); }
.map-icon-button { cursor: pointer; }
.route-download { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 14px; color: var(--white); background: var(--forest); font-size: 11px; font-weight: 750; }
.map-icon-button:hover, .segment-download:hover { color: var(--orange-dark); border-color: var(--orange); }
.route-download:hover { background: var(--forest-2); }

.route-map-layout { height: 650px; display: grid; grid-template-columns: minmax(0, 1fr) 340px; }
.map-stage { position: relative; min-width: 0; min-height: 0; height: 100%; overflow: hidden; border-right: 1px solid var(--line); background-color: #d8ded6; background-image: linear-gradient(rgba(19,36,29,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(19,36,29,.08) 1px, transparent 1px); background-size: 52px 52px; }
#route-map { position: absolute; inset: 0; z-index: 1; background: transparent; }
.leaflet-container { font-family: inherit; }
.leaflet-control-zoom { border: 0 !important; box-shadow: 0 5px 16px rgba(19,36,29,.18) !important; }
.leaflet-control-zoom a { width: 44px !important; height: 44px !important; line-height: 44px !important; color: var(--ink) !important; border-color: var(--line) !important; }
.leaflet-control-attribution { color: #4d5751; background: rgba(255,255,255,.86) !important; font-size: 9px !important; }
.map-status { position: absolute; top: 14px; left: 50%; z-index: 500; display: none; max-width: calc(100% - 32px); margin: 0; padding: 9px 12px; transform: translateX(-50%); color: var(--ink); background: rgba(255,254,249,.94); border: 1px solid var(--line); font-size: 11px; box-shadow: 0 6px 18px rgba(19,36,29,.12); }
.map-status.visible, .map-status.error { display: block; }
.map-status.warning, .map-status.error { color: #8e3218; border-color: rgba(200,70,30,.35); }
.map-legend { position: absolute; left: 14px; bottom: 14px; z-index: 500; display: grid; gap: 7px; padding: 10px 12px; color: #344039; background: rgba(255,254,249,.92); border: 1px solid rgba(19,36,29,.15); font-size: 10px; box-shadow: 0 5px 16px rgba(19,36,29,.12); pointer-events: none; }
.map-legend span { display: flex; align-items: center; gap: 8px; }
.map-legend span[hidden] { display: none; }
.legend-line { width: 25px; height: 0; display: inline-block; border-top: 4px solid var(--orange); }
.cycling-line { border-image: linear-gradient(90deg, #d94f2b, #007a70, #315ca8) 1; }
.rail-line { border-top-color: var(--forest); border-top-style: dashed; }

.route-browser { min-width: 0; min-height: 0; height: 100%; display: flex; flex-direction: column; overflow: hidden; background: #f6f4ee; }
.route-browser-head { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.route-browser-head span, .route-browser-head strong { display: block; }
.route-browser-head > div > span { color: var(--orange-dark); font-family: Arial, sans-serif; font-size: 9px; font-weight: 800; }
.route-browser-head > div > strong { margin-top: 3px; font-family: Georgia, "Songti SC", serif; font-size: 17px; font-weight: 600; }
.draft-badge { padding: 5px 7px; color: #8e3218; background: #f7d8cc; font-size: 9px; font-weight: 750; white-space: nowrap; }
.selected-route { min-height: 116px; padding: 18px; color: var(--white); background: var(--forest); }
.selected-route span, .selected-route strong { display: block; }
.selected-route span { color: #f5a383; font-family: Arial, sans-serif; font-size: 9px; font-weight: 800; }
.selected-route strong { margin-top: 5px; font-family: Georgia, "Songti SC", serif; font-size: 20px; font-weight: 500; }
.selected-route p { margin: 8px 0 0; color: rgba(255,255,255,.6); font-size: 10px; }
.route-list { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.route-list-row { display: grid; grid-template-columns: minmax(0, 1fr) 44px; align-items: center; min-height: 74px; border-bottom: 1px solid var(--line); }
.route-list-row.selected { background: var(--white); box-shadow: inset 3px 0 var(--orange); }
.route-list-button { min-width: 0; min-height: 73px; display: grid; grid-template-columns: 26px minmax(0, 1fr); align-items: center; gap: 8px; padding: 10px 8px 10px 14px; text-align: left; color: inherit; border: 0; background: transparent; cursor: pointer; }
.route-list-button:hover { background: rgba(255,255,255,.65); }
.route-swatch { width: 20px; height: 5px; background: var(--route-color); }
.route-swatch.rail { height: 0; border-top: 4px dashed var(--route-color); background: transparent; }
.route-list-copy { min-width: 0; display: block; }
.route-list-copy small, .route-list-copy strong, .route-list-copy > span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.route-list-copy small { color: var(--muted); font-size: 8px; font-weight: 750; }
.route-list-copy strong { margin-top: 2px; font-size: 12px; }
.route-list-copy > span { margin-top: 2px; color: var(--muted); font-size: 9px; }
.segment-download, .segment-mode-icon { margin-right: 10px; width: 34px; height: 34px; flex-basis: 34px; background: transparent; }
.segment-mode-icon { color: var(--muted); }
.route-tool-footer { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 13px 18px 13px 24px; border-top: 1px solid var(--line); }
.route-tool-footer p { min-width: 0; display: flex; align-items: flex-start; gap: 8px; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.route-tool-footer p svg { flex: 0 0 auto; color: var(--orange-dark); }
.route-tool-footer a { display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; color: var(--ink); font-size: 10px; font-weight: 750; }

.timeline-section { background: var(--paper); }
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 42px; }
.timeline::before { content: ""; position: absolute; top: 11px; left: 7px; right: 7px; height: 1px; background: var(--line); }
.timeline-item { position: relative; padding-right: 28px; }
.timeline-dot { position: absolute; top: -38px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: #a8aea9; box-shadow: 0 0 0 6px var(--paper); }
.timeline-item.active .timeline-dot { background: var(--orange); }
.timeline-item.active .timeline-dot::after { content: ""; position: absolute; inset: -6px; border: 1px solid var(--orange); border-radius: 50%; }
.timeline-item p { margin: 0 0 8px; color: var(--orange-dark); font-family: Arial, sans-serif; font-size: 10px; font-weight: 800; }
.timeline-item h3 { margin: 0; font-family: Georgia, "Songti SC", serif; font-size: 20px; font-weight: 600; }
.timeline-item > span:last-child { display: block; margin-top: 6px; color: var(--muted); font-size: 11px; }

.risk-section { color: var(--white); background: #1c2d27; }
.risk-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 96px; align-items: center; }
.risk-copy > p:not(.kicker) { max-width: 500px; margin: 22px 0 30px; color: rgba(255,255,255,.58); line-height: 1.8; }
.button-outline { color: var(--white); border-color: rgba(255,255,255,.34); }
.button-outline:hover { background: rgba(255,255,255,.08); border-color: white; }
.risk-list { border-top: 1px solid rgba(255,255,255,.18); }
.risk-list > div { display: grid; grid-template-columns: 14px minmax(0,1fr) auto; align-items: center; gap: 15px; min-height: 72px; border-bottom: 1px solid rgba(255,255,255,.18); }
.risk-list strong { font-family: Georgia, "Songti SC", serif; font-size: 17px; font-weight: 500; }
.risk-list small { color: rgba(255,255,255,.48); font-size: 10px; }
.risk-rank { width: 7px; height: 7px; border-radius: 50%; background: #b9b29f; }
.risk-rank.high { background: var(--orange); box-shadow: 0 0 0 5px rgba(241,107,58,.12); }
.risk-rank.medium { background: #d6b45c; }

.closing-section { padding: 128px 0; text-align: center; background: #d9a15e; }
.closing-content { display: flex; flex-direction: column; align-items: center; }
.closing-content .kicker { color: #315b42; }
.closing-content h2 { max-width: 820px; }
.closing-content > p:not(.kicker) { margin: 20px 0 30px; color: #463726; }
.button-dark { color: var(--white); background: var(--forest); }
.button-dark:hover { background: #263d33; }

footer { padding: 30px 0; color: rgba(255,255,255,.58); background: #0d1813; }
.footer-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; font-size: 10px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--white); font-family: Arial, sans-serif; font-weight: 800; }
.footer-grid p { margin: 0; }
.footer-grid > a { justify-self: end; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1000px) {
  :root { --shell: min(100% - 40px, 900px); }
  .desktop-nav { display: none; }
  .site-header { grid-template-columns: 1fr auto; padding-inline: 20px; }
  .menu-button { display: grid; }
  .mobile-nav { position: absolute; top: var(--header-height); left: 0; right: 0; display: grid; padding: 8px 20px 22px; color: var(--ink); background: rgba(243,241,235,.98); border-bottom: 1px solid var(--line); transform: translateY(-130%); opacity: 0; visibility: hidden; transition: transform 200ms ease, opacity 200ms ease, visibility 200ms; }
  .site-header.menu-open .mobile-nav { transform: translateY(0); opacity: 1; visibility: visible; }
  .mobile-nav a { display: flex; justify-content: space-between; align-items: center; min-height: 48px; border-bottom: 1px solid var(--line); }
  .hero-content { grid-template-columns: 1fr; gap: 40px; padding-top: 150px; }
  .hero-facts { grid-template-columns: repeat(3, 1fr); width: min(100%, 620px); gap: 20px; }
  .story-layout { grid-template-columns: 1fr; gap: 38px; }
  .story-copy { max-width: 680px; }
  .story-quote { grid-template-columns: 1fr; gap: 20px; }
  .action-board { grid-template-columns: 1fr; }
  .action-lane > header { min-height: 96px; }
  .route-map-layout { grid-template-columns: minmax(0, 1fr) 310px; }
  .rationale-heading { grid-template-columns: 1fr; gap: 20px; }
  .rationale-summary { align-self: start; }
  .rationale-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rationale-item:nth-child(odd) { border-left: 0; }
  .rationale-item:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .plan-choice { grid-template-columns: 1fr; gap: 12px; }
  .plan-choice p { margin-left: 0; }
  .route-summary > div { min-width: 104px; padding-inline: 16px; }
  .risk-layout { gap: 48px; }
}

@media (max-width: 720px) {
  :root { --shell: calc(100vw - 32px); --header-height: 68px; }
  .section-pad { padding: 78px 0; }
  .phase-pill { display: none; }
  .brand-mark { width: 34px; height: 34px; }
  .hero { min-height: 720px; }
  .hero-image { object-position: 62% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(5,16,12,.82) 0%, rgba(5,16,12,.28) 74%), linear-gradient(90deg, rgba(5,16,12,.56), transparent); }
  .hero-grid { background-size: 50% 100%, 50% 100%; }
  .hero-content { display: block; padding: 128px 0 74px; }
  .hero h1 { max-width: 360px; font-size: 52px; line-height: 1.03; }
  .hero-lead { max-width: 340px; font-size: 15px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; width: min(100%, 300px); }
  .hero-facts { grid-template-columns: repeat(3, 1fr); width: 100%; margin-top: 48px; }
  .hero-facts strong { font-size: 14px; }
  .scroll-cue { display: none; }
  .story-section { padding: 88px 0 82px; }
  .story-index { top: -42px; right: -4px; font-size: 128px; }
  .story-layout { gap: 30px; }
  .story-heading h2 { font-size: 42px; line-height: 1.22; }
  .story-copy .story-intro { font-size: 19px; }
  .story-copy p { font-size: 14px; }
  .place-line { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 18px; margin-top: 66px; padding-top: 26px; }
  .place-line::before { width: 52%; }
  .place-line li { padding-right: 8px; }
  .place-line li::before { top: -31px; }
  .place-line strong { font-size: 18px; }
  .story-quote { margin-top: 72px; padding-top: 40px; }
  .story-quote p { font-size: 26px; line-height: 1.55; }
  .action-heading { align-items: flex-start; flex-direction: column; gap: 18px; margin-bottom: 32px; }
  .action-heading h2 { font-size: 38px; }
  .action-lead { grid-template-columns: 42px minmax(0, 1fr); padding: 18px; }
  .action-lead a { grid-column: 1 / -1; justify-content: center; }
  .two-column-heading, .section-heading { align-items: flex-start; flex-direction: column; gap: 22px; margin-bottom: 38px; }
  .two-column-heading h2, .section-heading h2, .risk-copy h2, .closing-content h2 { font-size: 36px; }
  .action-row { min-height: 100px; }
  .route-rationale { margin-bottom: 32px; }
  .rationale-heading { padding: 26px 0 30px; }
  .rationale-heading h3 { font-size: 26px; }
  .rationale-summary p { font-size: 13px; }
  .rationale-grid { grid-template-columns: 1fr; }
  .rationale-item { min-height: 0; padding: 24px 0 26px; border-top: 1px solid var(--line); border-left: 0; }
  .rationale-item:first-child { border-top: 0; }
  .rationale-item h4 { margin-top: 26px; }
  .rationale-comparison { grid-template-columns: 1fr; gap: 16px; padding: 24px 20px; }
  .rationale-comparison > svg { justify-self: start; transform: rotate(90deg); }
  .rationale-comparison .recommended { padding: 18px 0 0; border-top: 2px solid var(--orange); border-left: 0; }
  .plan-choice { padding: 16px; }
  .plan-choice > div { align-items: stretch; flex-direction: column; gap: 8px; }
  .plan-segmented { width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .plan-segmented button { min-width: 0; padding-inline: 8px; }
  .route-toolbar { align-items: stretch; flex-direction: column; padding: 16px; }
  .route-summary { display: grid; grid-template-columns: repeat(3, 1fr); }
  .route-summary > div { min-width: 0; padding-inline: 12px; }
  .route-summary strong { font-size: 15px; }
  .route-toolbar-actions { display: grid; grid-template-columns: minmax(0, 1fr) 44px auto; }
  .segmented-control button { min-width: 0; padding-inline: 7px; }
  .route-map-layout { height: auto; grid-template-columns: 1fr; }
  .map-stage { height: 520px; min-height: 520px; border-right: 0; border-bottom: 1px solid var(--line); }
  .route-browser { height: 560px; max-height: 560px; }
  .map-legend { left: 8px; bottom: 8px; }
  .route-tool-footer { align-items: flex-start; flex-direction: column; gap: 10px; padding: 16px; }
  .timeline { grid-template-columns: 1fr; gap: 0; padding-top: 0; padding-left: 30px; }
  .timeline::before { top: 8px; bottom: 8px; left: 4px; right: auto; width: 1px; height: auto; }
  .timeline-item { min-height: 128px; padding: 0 0 30px 8px; }
  .timeline-dot { top: 4px; left: -30px; }
  .risk-layout { grid-template-columns: 1fr; }
  .risk-list > div { grid-template-columns: 14px minmax(0,1fr); padding: 14px 0; }
  .risk-list small { grid-column: 2; }
  .closing-section { padding: 82px 0; }
  .footer-grid { grid-template-columns: 1fr; justify-items: start; gap: 12px; }
  .footer-grid > a { justify-self: start; }
}

@media (max-width: 480px) {
  .plan-segmented { grid-template-columns: 1fr; }
  .plan-segmented button { min-height: 44px; }
  .route-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .route-summary > div:nth-child(3) { grid-column: 1 / -1; margin-top: 10px; padding: 12px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .route-toolbar-actions { grid-template-columns: minmax(0, 1fr) 44px; }
  .route-download { grid-column: 1 / -1; min-height: 44px; justify-content: center; }
}

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