:root {
  --pine: #173c32;
  --pine-2: #245a48;
  --ink: #17231f;
  --cream: #f5f0e5;
  --paper: #fbf8f1;
  --gold: #d6a654;
  --rust: #b9643b;
  --muted: #68736c;
  --line: rgba(23, 60, 50, .16);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, serif;
  --sans: "LXGW WenKai", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.72; }
a { color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -80px; z-index: 100; background: #fff; padding: .7rem 1rem; border-radius: 999px; }
.skip-link:focus { top: 1rem; }

.hero { position: relative; min-height: 94vh; color: #fff; display: flex; flex-direction: column; overflow: hidden; background: var(--pine); }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { background: linear-gradient(90deg, rgba(8,28,23,.80), rgba(8,28,23,.44) 48%, rgba(8,28,23,.05) 78%), linear-gradient(0deg, rgba(8,28,23,.83), transparent 40%); }
.topbar { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; padding: 28px clamp(22px,5vw,78px); }
.wordmark { text-decoration: none; display: flex; gap: 12px; align-items: center; }
.wordmark span { font-family: var(--serif); font-weight: 700; letter-spacing: .18em; }
.wordmark small { font-size: 10px; letter-spacing: .16em; opacity: .68; border-left: 1px solid rgba(255,255,255,.4); padding-left: 12px; }
.top-actions { display: flex; gap: 10px; }
.ghost-button, .solid-button { border: 1px solid rgba(255,255,255,.55); font: inherit; font-size: 13px; padding: 10px 16px; border-radius: 999px; cursor: pointer; }
.ghost-button { background: rgba(0,0,0,.12); color: #fff; backdrop-filter: blur(8px); }
.solid-button { background: #fff; color: var(--pine); }
.hero-content { position: relative; z-index: 2; margin: auto 0; padding: 8vh clamp(24px,8vw,126px) 13vh; max-width: 1050px; }
.eyebrow, .kicker { font-size: 12px; letter-spacing: .22em; font-weight: 700; text-transform: uppercase; }
.eyebrow { color: #f2cf8d; }
.hero h1 { font-family: var(--serif); font-size: clamp(68px,12vw,154px); font-weight: 700; letter-spacing: .06em; line-height: .92; margin: 24px 0 30px; text-shadow: 0 10px 40px rgba(0,0,0,.2); }
.hero-route { font-size: clamp(17px,2vw,25px); letter-spacing: .08em; margin: 0 0 18px; }
.hero-route span { color: #f2cf8d; margin: 0 .35em; }
.hero-intro { font-family: var(--serif); font-size: clamp(17px,1.6vw,22px); max-width: 760px; color: rgba(255,255,255,.84); }
.hero-stats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4,1fr); margin: 0 clamp(24px,5vw,78px) 36px; border-top: 1px solid rgba(255,255,255,.34); border-bottom: 1px solid rgba(255,255,255,.34); backdrop-filter: blur(8px); background: rgba(9,35,29,.25); }
.hero-stats div { padding: 18px 24px; border-right: 1px solid rgba(255,255,255,.2); display: flex; align-items: baseline; gap: 8px; }
.hero-stats div:last-child { border: 0; }
.hero-stats strong { font-family: var(--serif); font-size: 30px; color: #f5d99f; }
.hero-stats span { font-size: 12px; opacity: .75; }
.image-note { position: relative; z-index: 2; text-align: right; margin: -24px clamp(24px,5vw,78px) 12px; font-size: 10px; color: rgba(255,255,255,.58); }

.day-nav { position: sticky; top: 0; z-index: 20; display: flex; justify-content: center; gap: 4px; padding: 9px 18px; background: rgba(245,240,229,.92); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); overflow-x: auto; box-shadow: 0 8px 30px rgba(23,60,50,.06); }
.day-nav a { text-decoration: none; white-space: nowrap; border-radius: 999px; padding: 8px 12px; font-size: 12px; color: var(--muted); transition: .2s ease; }
.day-nav a span { margin-left: 4px; }
.day-nav a:hover, .day-nav a.active { background: var(--pine); color: #fff; }

.section-shell { width: min(1180px, calc(100% - 44px)); margin: 0 auto; }
.overview { padding: 112px 0; }
.section-heading { max-width: 760px; margin-bottom: 48px; }
.section-heading.compact { max-width: 860px; }
.kicker { color: var(--rust); margin: 0 0 14px; }
.section-heading h2 { font-family: var(--serif); font-size: clamp(36px,5vw,66px); line-height: 1.2; margin: 0 0 20px; letter-spacing: .02em; }
.section-heading > p:last-child { color: var(--muted); font-size: 17px; }
.overview-grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(280px,.65fr); gap: 28px; }
.map-card { position: relative; min-height: 600px; background: linear-gradient(155deg,#e7ead9,#d5d9c6); border: 1px solid rgba(23,60,50,.14); border-radius: 6px; overflow: hidden; box-shadow: 0 30px 90px rgba(23,60,50,.12); }
.map-card::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(23,60,50,.1) .7px,transparent .7px); background-size: 12px 12px; opacity: .35; }
.route-map { position: relative; width: 100%; height: 100%; min-height: 600px; }
.land { fill: #d5ddc7; opacity: .9; }
.route-shadow { fill: none; stroke: rgba(23,60,50,.18); stroke-width: 18; stroke-linecap: round; }
.route-line { fill: none; stroke: var(--rust); stroke-width: 5; stroke-dasharray: 3 13; stroke-linecap: round; filter: url(#glow); }
.map-stop circle { fill: var(--paper); stroke: var(--pine); stroke-width: 5; }
.map-stop text { font-family: var(--sans); font-size: 18px; font-weight: 700; fill: var(--pine); }
.map-stop.final circle { fill: var(--gold); }
.map-caption { position: absolute; bottom: 18px; right: 20px; font-size: 11px; color: var(--muted); }
.principles { display: grid; gap: 16px; }
.principles article { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 30px; box-shadow: 0 14px 40px rgba(23,60,50,.05); }
.principles span, .notes-grid span { font-family: var(--serif); font-size: 13px; color: var(--rust); letter-spacing: .12em; }
.principles h3, .notes-grid h3 { font-family: var(--serif); font-size: 22px; margin: 9px 0 10px; }
.principles p, .notes-grid p { color: var(--muted); font-size: 14px; margin: 0; }

.route-days { padding: 30px 0 120px; }
.day-card { display: grid; grid-template-columns: 150px minmax(0,1fr); margin: 0 0 24px; background: #fff; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; box-shadow: 0 16px 48px rgba(23,60,50,.05); transition: transform .25s ease, box-shadow .25s ease; }
.day-card:hover { transform: translateY(-3px); box-shadow: 0 24px 70px rgba(23,60,50,.1); }
.day-card.featured { border-color: rgba(185,100,59,.55); }
.day-index { background: var(--pine); color: #fff; padding: 30px 20px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.day-index small { letter-spacing: .16em; color: #d8c291; }
.day-index strong { font-family: var(--serif); font-size: 70px; line-height: 1; margin: 32px 0 18px; color: #f2cf8d; }
.day-index span { font-size: 12px; writing-mode: vertical-rl; letter-spacing: .2em; }
.day-main { padding: 34px 38px; }
.day-title { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.day-title p { margin: 0 0 7px; color: var(--rust); font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.day-title h3 { font-family: var(--serif); font-size: clamp(27px,3vw,39px); line-height: 1.25; margin: 0; }
.drive-pill { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; border-left: 3px solid var(--gold); padding-left: 17px; }
.drive-pill strong { font-family: var(--serif); font-size: 21px; white-space: nowrap; }
.drive-pill span { font-size: 13px; color: var(--muted); }
.day-lead { font-family: var(--serif); font-size: 18px; line-height: 1.95; margin: 26px 0; color: #37443e; }
.day-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; margin: 25px 0; }
.day-columns h4 { font-size: 12px; letter-spacing: .15em; color: var(--pine-2); margin: 0 0 10px; }
.day-columns p, .day-columns li { font-size: 14px; color: var(--muted); }
.day-columns ul { margin: 0; padding-left: 20px; }
.day-actions { display: flex; align-items: center; justify-content: space-between; gap: 18px; background: var(--cream); padding: 14px 17px; border-radius: 3px; font-size: 12px; color: var(--muted); }
.day-actions a { font-weight: 700; color: var(--pine); text-decoration: none; }
.day-actions a:hover { text-decoration: underline; }

.field-notes { background: var(--pine); color: #fff; padding: 105px 0; }
.section-heading.light .kicker { color: #f2cf8d; }
.notes-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid rgba(255,255,255,.2); border-left: 1px solid rgba(255,255,255,.2); }
.notes-grid article { padding: 30px; border-right: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); }
.notes-grid span { color: #f2cf8d; }
.notes-grid h3 { color: #fff; }
.notes-grid p { color: rgba(255,255,255,.67); }
.sources { padding: 110px 0 80px; }
.source-list { border-top: 1px solid var(--line); }
.source-list a { display: flex; justify-content: space-between; gap: 20px; padding: 18px 4px; border-bottom: 1px solid var(--line); text-decoration: none; }
.source-list a:hover b { color: var(--rust); }
.source-list span { color: var(--muted); }
.source-list b { font-size: 14px; }
.final-callout { margin: 90px 0 20px; display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: end; border-left: 6px solid var(--gold); padding: 10px 0 10px 32px; }
.final-callout p { font-family: var(--serif); font-size: clamp(26px,4vw,48px); line-height: 1.5; margin: 0; max-width: 900px; }
.final-callout a { font-size: 13px; text-decoration: none; white-space: nowrap; }
footer { display: flex; justify-content: space-between; gap: 30px; background: #0c2a22; color: rgba(255,255,255,.62); padding: 32px clamp(24px,5vw,78px); font-size: 11px; }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 50; padding: 12px 18px; background: #fff; color: var(--pine); border-radius: 999px; box-shadow: 0 12px 40px rgba(0,0,0,.18); font-size: 13px; opacity: 0; transform: translateY(12px); pointer-events: none; transition: .25s; }
.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .hero { min-height: 900px; }
  .hero-shade { background: linear-gradient(0deg,rgba(8,28,23,.88),rgba(8,28,23,.25) 74%), linear-gradient(90deg,rgba(8,28,23,.5),transparent); }
  .hero-content { padding-bottom: 60px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats div:nth-child(2) { border-right: 0; }
  .hero-stats div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.2); }
  .image-note { display: none; }
  .overview-grid { grid-template-columns: 1fr; }
  .map-card, .route-map { min-height: 520px; }
  .principles { grid-template-columns: repeat(3,1fr); }
  .principles article { padding: 22px; }
  .day-card { grid-template-columns: 110px 1fr; }
  .day-main { padding: 28px; }
  .day-title { flex-direction: column; }
  .drive-pill { align-items: flex-start; }
  .day-columns { grid-template-columns: 1fr; }
  .notes-grid { grid-template-columns: 1fr 1fr; }
  .final-callout { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .topbar { padding: 20px; }
  .wordmark small, .top-actions .ghost-button { display: none; }
  .solid-button { padding: 8px 12px; }
  .hero { min-height: 820px; }
  .hero-content { padding: 90px 22px 34px; }
  .hero h1 { font-size: 66px; }
  .hero-route { font-size: 15px; line-height: 1.9; }
  .hero-stats { margin: 0 20px 22px; }
  .hero-stats div { padding: 13px 12px; }
  .hero-stats strong { font-size: 24px; }
  .day-nav { justify-content: flex-start; }
  .day-nav a span { display: none; }
  .section-shell { width: min(100% - 28px,1180px); }
  .overview { padding: 78px 0; }
  .section-heading { margin-bottom: 32px; }
  .section-heading h2 { font-size: 38px; }
  .section-heading > p:last-child { font-size: 15px; }
  .map-card, .route-map { min-height: 430px; }
  .map-stop text { font-size: 16px; }
  .principles { grid-template-columns: 1fr; }
  .route-days { padding-bottom: 80px; }
  .day-card { display: block; }
  .day-index { padding: 16px 20px; flex-direction: row; justify-content: space-between; }
  .day-index strong { font-size: 38px; margin: 0; }
  .day-index span { writing-mode: horizontal-tb; }
  .day-main { padding: 24px 20px; }
  .day-title h3 { font-size: 29px; }
  .day-lead { font-size: 16px; }
  .day-columns { gap: 16px; }
  .day-actions, .source-list a { align-items: flex-start; flex-direction: column; }
  .field-notes { padding: 76px 0; }
  .notes-grid { grid-template-columns: 1fr; }
  .sources { padding: 78px 0 50px; }
  .source-list a { gap: 4px; }
  .final-callout { margin-top: 60px; padding-left: 22px; }
  .final-callout p { font-size: 28px; }
  footer { flex-direction: column; padding: 26px 20px; }
  .toast { right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

@media print {
  body { background: #fff; font-size: 11pt; }
  .hero { min-height: 0; height: auto; background: var(--pine); break-after: page; }
  .hero-image { opacity: .35; }
  .topbar, .day-nav, .image-note, .day-actions, .toast { display: none !important; }
  .hero-content { padding: 80px 50px; }
  .hero h1 { font-size: 72px; }
  .hero-stats { margin: 0 50px 45px; }
  .section-shell { width: 100%; padding-left: 30px; padding-right: 30px; }
  .overview { padding: 50px 0; }
  .overview-grid { display: block; }
  .map-card { min-height: 470px; box-shadow: none; }
  .principles { grid-template-columns: repeat(3,1fr); margin-top: 20px; }
  .route-days { padding-bottom: 20px; }
  .day-card { break-inside: avoid; box-shadow: none; }
  .day-card:hover { transform: none; }
  .field-notes { break-before: page; }
  .notes-grid { grid-template-columns: repeat(2,1fr); }
  .sources { padding: 50px 30px; }
  .final-callout, footer { display: none; }
}
