:root {
  color-scheme: light;
  font-family: system-ui, sans-serif;
  color: #202822;
  background: #f8f6ee;
  --accent: #28574c;
  --line: #cbc8ba;
}
* { box-sizing: border-box; }
body { margin: 0; }
.fi { --accent: #24495b; }
.pl { --accent: #683f48; }
.shell { width: min(1120px, calc(100% - 3rem)); margin-inline: auto; }
a { color: var(--accent); text-underline-offset: .2em; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.skip { position: absolute; top: -5rem; padding: .6rem; background: #fff; }
.skip:focus { top: .4rem; left: .4rem; }
.masthead { min-height: 5.5rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .85rem; padding-block: 1rem; border-bottom: 1px solid var(--line); }
.wordmark { font: bold 1.65rem Georgia, serif; color: inherit; text-decoration: none; }
.wordmark span { display: block; font: .7rem system-ui, sans-serif; text-transform: uppercase; letter-spacing: .15em; margin-top: .2rem; }
nav { display: flex; flex-wrap: wrap; gap: .6rem 1.3rem; font-size: .95rem; }
nav a { text-decoration: none; }
nav a:hover, nav a[aria-current] { text-decoration: underline; }
.hero { padding-block: clamp(2.5rem, 7vw, 5rem); display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: clamp(1.5rem, 5vw, 4rem); }
.label { font-size: .75rem; letter-spacing: .17em; color: var(--accent); font-weight: 700; text-transform: uppercase; }
h1, h2, h3, .feature { font-family: Georgia, serif; font-weight: normal; }
h1 { font-size: clamp(2.8rem, 7.2vw, 6rem); line-height: 1; margin: .2em 0; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin: .3em 0 .7em; }
h3 { font-size: clamp(1.15rem, 2.6vw, 1.65rem); margin: 0; }
p { line-height: 1.6; }
.feature { font-size: clamp(1.35rem, 3vw, 2rem); margin: .45em 0; line-height: 1.15; }
.hero-copy > :last-child { max-width: 35ch; }
figure { margin: 0; }
figure img { display: block; width: 100%; height: auto; border-radius: .25rem; }
.hero-photo img { aspect-ratio: 3 / 2; object-fit: cover; }
figcaption { font-size: .75rem; color: #4e584d; padding-top: .55rem; }
.routes { border-top: 1px solid var(--line); }
.route { display: grid; grid-template-columns: 2rem 1fr auto; align-items: center; gap: 1rem; padding: 1rem .25rem; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.route:hover h3 { text-decoration: underline; text-underline-offset: .15em; }
.route p { margin: .3rem 0 0; font-size: .9rem; color: #4e584d; }
.route-time { display: inline-block; margin-top: .4rem; color: var(--accent); font-size: .8rem; font-weight: 650; }
.number, .arrow { color: var(--accent); font-weight: 650; }
.article { max-width: 42rem; padding-block: clamp(2rem, 7vw, 5rem) 1rem; }
.article h1 { font-size: clamp(2.6rem, 6vw, 4.7rem); }
.back { display: inline-block; margin-bottom: 1.5rem; }
.stops { font-weight: 650; color: var(--accent); }
.route-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); gap: 1rem; padding-block: 1rem; margin-block: 1.6rem; border-block: 1px solid var(--line); }
.route-facts dt { color: var(--accent); font-weight: 700; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; }
.route-facts dd { margin: .4rem 0 0; }
aside { border-left: 2px solid var(--accent); padding-left: 1.25rem; margin-block: 2rem; }
aside h2 { font-size: 1.45rem; }
.reference { font-size: .9rem; }
.footer { margin-top: 4rem; border-top: 1px solid var(--line); padding-block: 1.3rem 2rem; display: flex; flex-wrap: wrap; gap: .5rem 1rem; justify-content: space-between; font-size: .85rem; }
@media (max-width: 720px) {
  .shell { width: calc(100% - 2rem); }
  .hero { grid-template-columns: 1fr; }
}
