/* The sister pages (best time, months, train, trip, alerts): the main pages' type, width, header,
   nav, app block and footer, so every page reads as one site. The main pages carry their own copy
   of these rules in template.html. */
@font-face { font-family: "Geist"; src: url("/fonts/geist-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-latin-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  color-scheme: light;
  --paper: #F4F1EA; --ink: #1B1F1C; --moss: #5B6258; --hair: #DAD5C8; --line: color-mix(in srgb, #1B1F1C 55%, transparent);
  --best: #2F5B44; --good: #5B6258; --warm: #80501F; --wet: #8C3B31; --hot: #8C3B31; --cold: #2F4A72;
  --train: #2F5B44; --easy: #80501F; --rest: #8C3B31;
  --dry: color-mix(in srgb, #2F5B44 55%, #E8ECE3);
  --sky-top: #3A648F; --sky-mid: #4C7AA3; --sand: #E0D5BA;
  --sans: "Geist", ui-sans-serif, system-ui, sans-serif; --serif: "Fraunces", Georgia, serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 20; top: .75rem; left: .75rem; width: auto; height: auto; clip-path: none; padding: .6rem 1rem; border-radius: 4px; background: var(--paper); color: var(--ink); font-weight: 600; }
.wrap { max-width: 54rem; margin: 0 auto; padding: 0 1rem; }

/* the band: a short day sky with the forest edge at its foot, the page's title on it */
.band { position: relative; overflow: hidden; color: #F7F8F5; background: linear-gradient(to bottom, var(--sky-top), var(--sky-mid)); padding: 1rem 0 clamp(4.5rem, 12vw, 7rem); }
.band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--sand); }
.band .edge { position: absolute; bottom: 6px; height: clamp(70px, 14vw, 128px); width: auto; pointer-events: none; }
.band .edge.l { left: 0; } .band .edge.r { right: 0; }
.band .wrap { position: relative; z-index: 1; }
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.site, .brand { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; font-weight: 700; font-size: .9375rem; text-decoration: none; white-space: nowrap; }
.brand { font-weight: 600; }
.site img, .brand img { width: 22px; height: 22px; border-radius: 5px; }
.sitenav { display: flex; flex-wrap: wrap; gap: 0 1.25rem; margin: 0 0 .25rem; font-size: .9375rem; font-weight: 500; }
.sitenav a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; text-decoration: none; }
.sitenav a:hover, .sitenav a[aria-current] { text-decoration: underline; text-underline-offset: .3em; }
.band h1 { margin: 1.5rem 0 0; font: 600 clamp(2.25rem, 7vw, 3.75rem)/1.02 var(--serif); letter-spacing: -.02em; text-wrap: balance; text-shadow: 0 1px 14px color-mix(in srgb, var(--sky-top) 70%, transparent); }
.band .lede { margin: .9rem 0 0; font-size: clamp(1.0625rem, 2.4vw, 1.25rem); line-height: 1.45; max-width: 38rem; text-wrap: pretty; }
.crumb { margin: 1rem 0 0; font-size: .9375rem; }

main { padding-bottom: 1rem; }
main > section, .blok, footer { margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid var(--ink); }
h2 { margin: 0 0 .5rem; font: 600 clamp(1.375rem, 3vw, 1.75rem)/1.15 var(--serif); letter-spacing: -.01em; }

/* fields and choices, like the home page's search */
.field { display: grid; gap: .4rem; margin-top: 1.5rem; }
.field label { font-weight: 600; }
.field input::placeholder { color: #4A5148; }
.field input { min-height: 56px; padding: 0 1rem; border: 1px solid var(--line); border-radius: 6px; background: #FBF9F4; color: var(--ink); font: 500 1.0625rem var(--sans); }
fieldset { border: 0; margin: 0; padding: 1.25rem 0; border-bottom: 1px solid var(--hair); }
legend { padding: 0; font-weight: 600; margin-bottom: .7rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; padding: 0 1rem; border: 1px solid var(--line); border-radius: 6px; background: #FBF9F4; font-size: .9375rem; font-weight: 500; }
.chips input:checked + span { border: 2px solid var(--ink); padding: 0 calc(1rem - 1px); background: #fff; font-weight: 600; }
.chips input:checked + span::before { content: "✓"; }
.chips input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }

/* the app, the same block on every page */
.blok { display: grid; gap: 1rem 2rem; align-items: end; }
.blok .from { display: flex; align-items: center; gap: .45rem; margin: 0 0 .4rem; color: var(--moss); font-size: .875rem; }
.blok .from img { width: 20px; height: 20px; border-radius: 4px; }
.blok h2 { margin: 0; text-wrap: balance; }
.blok p { margin: .5rem 0 0; color: var(--moss); max-width: 36rem; }
.acts { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 1.25rem; border-radius: 4px; background: var(--ink); color: var(--paper); font-weight: 600; text-decoration: none; }
.acts .more { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
@media (min-width: 62rem) { .blok { grid-template-columns: 1fr auto; } .blok .acts { flex-direction: column; align-items: flex-start; } }

/* footer: the same links on every page, then the small print */
footer { color: var(--moss); font-size: .875rem; padding-bottom: 2.5rem; }
footer p { margin: 0 0 .5rem; max-width: 42rem; }
.footnav { display: flex; flex-wrap: wrap; gap: 0 1.25rem; margin: 0 0 .75rem; font-size: .9375rem; font-weight: 600; color: var(--ink); }
.footnav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.footnav a:hover { text-decoration: underline; }

.faq h3 { margin: 1.5rem 0 .3rem; font-size: 1.0625rem; }
.faq p { margin: 0; color: var(--moss); max-width: 38rem; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
