:root {
  color-scheme: light;
  --paper: #f5f2e9;
  --ink: #173331;
  --muted: #3d5651;
  --line: #b9c0ac;
  --accent: #29564b;
  --soft: #e8eadc;
  --serif: Georgia, "Times New Roman", serif;
  font: 1rem/1.55 system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
body, p, h1, h2, h3, figure { margin: 0; }
a { color: inherit; }
img { display: block; width: 100%; height: auto; object-fit: cover; background: var(--soft); }
a:focus-visible { outline: 3px solid #915126; outline-offset: 5px; }
.shell { width: min(100% - 3rem, 73rem); margin-inline: auto; }
.skip-link { position: fixed; left: 1rem; top: 1rem; z-index: 2; padding: .65rem 1rem; background: var(--paper); transform: translateY(-250%); }
.skip-link:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); }
.masthead { min-height: 4.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; }
.wordmark { font: bold 2.35rem/.95 var(--serif); letter-spacing: -.06em; text-decoration: none; }
.masthead nav { display: flex; gap: clamp(1rem, 3vw, 2.75rem); align-items: center; }
.masthead nav a { font-size: .95rem; text-decoration: none; }
.masthead nav a:is(:hover, [aria-current]) { text-decoration: underline; text-underline-offset: .25em; }

.hero { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: clamp(2rem, 5vw, 5.5rem); align-items: center; padding-block: clamp(2.75rem, 6vw, 5.5rem) 3.5rem; }
.hero figure { align-self: center; }
.hero img { aspect-ratio: 1.22; object-position: 58% center; }
figcaption { margin-top: .55rem; font-size: .81rem; color: var(--muted); }
.eyebrow { color: var(--accent); font-size: .75rem; font-weight: 650; text-transform: uppercase; letter-spacing: .12em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; }
h1 { font-size: clamp(3rem, 5.65vw, 5.4rem); line-height: .97; letter-spacing: -.045em; }
.hero h1, .story h1 { margin-block: .65rem 1.15rem; }
.lede { color: var(--muted); font-size: clamp(1.1rem, 1.5vw, 1.27rem); max-width: 37ch; }
.button { display: inline-flex; min-height: 2.9rem; align-items: center; gap: 1.5rem; padding: .55rem .95rem; margin-top: 1.85rem; background: var(--accent); color: #fff; text-decoration: none; border: 1px solid var(--accent); }
.button:hover { background: #21463e; }
h2 { font-size: clamp(1.95rem, 3vw, 2.9rem); letter-spacing: -.031em; line-height: 1.08; }
.route-list { border-top: 1px solid var(--line); padding-block: 2.25rem 3.5rem; scroll-margin-top: 1.25rem; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.4rem); margin-top: 1.6rem; }
.route-card a { display: block; height: 100%; text-decoration: none; border-bottom: 1px solid var(--line); }
.route-card img { aspect-ratio: 1.52; }
.card-copy { padding-block: .95rem 1.2rem; }
.route-card h3 { margin: .25rem 0 .4rem; font-size: clamp(1.4rem, 2.22vw, 1.95rem); letter-spacing: -.024em; line-height: 1.08; }
.route-card h3 span { font: .76em system-ui, sans-serif; color: var(--accent); }
.route-card h3 + p { color: var(--muted); }
.route-card a:hover h3, .text-link:hover, .back:hover { text-decoration: underline; text-underline-offset: .16em; }
.prepare { display: flex; gap: 1.4rem 3rem; align-items: center; justify-content: space-between; padding: clamp(1.3rem, 3vw, 2.5rem); background: var(--soft); margin-bottom: 3.4rem; }
.prepare p { margin-top: .55rem; max-width: 55ch; color: var(--muted); }
.text-link { font-weight: 600; text-underline-offset: .2em; }
.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .4rem 2rem; border-top: 1px solid var(--line); padding-block: 1.15rem 2rem; color: var(--muted); font-size: .88rem; }

.story { width: min(100%, 51.25rem); margin-inline: auto; padding-block: clamp(1.75rem, 5vw, 3.6rem) 3.75rem; }
.story .back { display: inline-block; margin-bottom: 1.6rem; color: var(--accent); text-underline-offset: .2em; }
.story h1 { font-size: clamp(2.75rem, 6vw, 4.8rem); }
.story figure { margin-top: 1.75rem; }
.story figure img { aspect-ratio: 1.8; }
.story-body { max-width: 73ch; margin-top: 1.9rem; }
.story-body a { color: var(--accent); text-underline-offset: .21em; }
.start { background: var(--soft); padding: .8rem 1.1rem; margin-bottom: 1.8rem; font-weight: 600; }
.stops { margin: 1.15rem 0; padding-inline-start: 1.55rem; }
.stops li { padding-inline-start: .35rem; margin: .9rem 0 1.35rem; }
.stops li::marker { color: var(--accent); font-weight: 650; }
.stops h3 { margin-bottom: .25rem; font-size: 1.46rem; line-height: 1.16; }
.source { margin-block: 1.3rem 2.3rem; }
.other-routes { padding-inline-start: 1.25rem; }
.other-routes li + li { margin-top: .35rem; }
.notes section { padding-block: 1.05rem 1.45rem; border-top: 1px solid var(--line); }
.notes section p { margin-top: .65rem; }

@media (max-width: 49rem) {
  .hero { grid-template-columns: 1fr; gap: 1.75rem; }
  .hero h1 { max-width: 13ch; }
  .hero img { aspect-ratio: 1.52; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prepare { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 38rem) {
  .shell { width: calc(100% - 2rem); }
  .cards { grid-template-columns: 1fr; }
  .masthead { min-height: 4rem; }
  .masthead nav a { font-size: .875rem; }
  .wordmark { font-size: 2.05rem; }
  .hero, .route-list { padding-bottom: 2.6rem; }
}
