@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-latin-standard-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-latin-standard-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: italic;
  font-display: swap;
}

:root {
  --paper: #FFFFFF;
  --ink: #222222;
  --ink-2: #5C5C5C;
  --rule: #D6D6D6;
  --link: #1A5DAB;
  --visited: #6B3E99;
  --red: #B3261E;
  --green: #2F4F22;
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #161616;
    --ink: #E8E8E8;
    --ink-2: #A8A8A8;
    --rule: #3A3A3A;
    --link: #8AB4F8;
    --visited: #C9A0F5;
    --red: #F28B82;
    --green: #A8CF8E;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
}
a { color: var(--link); text-underline-offset: .15em; }
a:visited { color: var(--visited); }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
.tel, .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--paper); padding: .4rem .7rem; z-index: 5; }

.wrap { max-width: 70rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 40rem) { .wrap { padding: 0 1.75rem; } }

/* header */
.site-head .wrap {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline;
  gap: .25rem 1.5rem; padding-top: .9rem; padding-bottom: .9rem; border-bottom: 1px solid var(--rule);
}
.wordmark { font-weight: 700; color: var(--ink); text-decoration: none; }
.wordmark:visited { color: var(--ink); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .2rem 1.25rem; }
.site-nav a, .site-nav a:visited { color: var(--ink); font-size: .95rem; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current] { text-decoration: underline; }

/* type */
h1, h2, h3 { margin: 0; line-height: 1.1; }
h1 {
  font-size: clamp(3rem, 10vw, 5.75rem); font-weight: 800; font-stretch: 78%;
  letter-spacing: -.01em; line-height: .92;
}
h2 { font-size: 1.75rem; font-weight: 700; font-stretch: 88%; margin-bottom: .6rem; }
h3 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1rem; max-width: 64ch; }
.lede { font-size: 1.2rem; line-height: 1.5; }
.sub { font-size: 1.25rem; color: var(--ink-2); margin: .6rem 0 0; }
.small, .src { font-size: .9rem; color: var(--ink-2); }
.src a { color: inherit; }

/* title + map */
.title { padding: 2.25rem 0 1.5rem; }
.sheet { margin: 0 0 2.5rem; }
.sheet-frame { border: 1px solid var(--ink); padding: 5px; background: #fff; }
.sheet-frame .map { display: block; width: 100%; height: auto; border: 1px solid #222; }
.sheet figcaption { font-size: .85rem; color: var(--ink-2); margin-top: .5rem; max-width: none; }

/* intro + emergency box */
.intro { display: grid; gap: 2rem; padding-bottom: 3rem; }
@media (min-width: 56rem) { .intro { grid-template-columns: minmax(0, 1fr) 24rem; gap: 3.5rem; align-items: start; } }
.intro p:first-child { font-size: 1.2rem; line-height: 1.5; }
.emergency { border: 2px solid var(--red); padding: 1rem 1.1rem .4rem; }
.emergency h2 { font-size: 1.15rem; font-stretch: 100%; color: var(--red); margin-bottom: .6rem; }
.emergency .entry { font-weight: 600; font-size: 1rem; margin: 0 0 .35rem; }
.emergency .entry .tel { font-size: 1.15rem; font-weight: 800; }
.emergency p { font-size: .92rem; margin: .1rem 0 .8rem; }

/* directory entries: name ........ phone */
.entry { display: flex; align-items: baseline; gap: .4rem; margin: 0; }
.entry .lead { flex: 1 1 1rem; min-width: 1rem; border-bottom: 2px dotted var(--ink-2); opacity: .55; transform: translateY(-.28em); }
.entry .tel { flex: none; }

.block > .wrap { padding-top: 2.75rem; padding-bottom: 2.75rem; border-top: 1px solid var(--rule); }
.block > .wrap > p { margin-bottom: 1.5rem; }
.directory { display: grid; gap: 0 3.5rem; }
@media (min-width: 52rem) { .directory { grid-template-columns: 1fr 1fr; } }
.directory section { padding: .9rem 0 1rem; border-top: 1px solid var(--ink); }
.directory h3 { margin-bottom: .45rem; }
.directory .entry + p, .directory p + .entry { margin-top: .15rem; }
.directory p { font-size: .95rem; margin: .15rem 0 .6rem; }
.directory .entry { font-size: 1.02rem; }
.checked { margin-top: 1.5rem; }

/* history */
.history { display: grid; gap: 2.5rem; }
@media (min-width: 56rem) { .history { grid-template-columns: 20rem minmax(0, 1fr); gap: 4rem; } }
.timeline { list-style: none; margin: 0; padding: 0; max-width: 46rem; }
.timeline li { display: grid; grid-template-columns: 3.75rem 1fr; gap: 1rem; padding: .55rem 0; border-top: 1px solid var(--rule); }
.timeline .year { font-weight: 800; font-variant-numeric: tabular-nums; }
.timeline p { margin: 0; }

/* community */
.places { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 3.5rem; }
@media (min-width: 52rem) { .places { grid-template-columns: 1fr 1fr; } }
.places li { padding: .8rem 0; border-top: 1px solid var(--rule); }
.places h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.places p { margin: 0; }
.subhead { margin: 2.5rem 0 .75rem; font-size: 1.2rem; }

/* prose pages */
.prose { padding: 2.25rem 0 3.5rem; }
.prose h1 { font-size: clamp(2.5rem, 7vw, 3.75rem); margin-bottom: 1.25rem; }
.prose h2 { font-size: 1.35rem; margin: 2.25rem 0 .5rem; }
.prose ul { max-width: 64ch; padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }

/* footer */
.site-foot .wrap { border-top: 1px solid var(--rule); padding-top: 1.5rem; padding-bottom: 2.5rem; font-size: .92rem; color: var(--ink-2); }
.foot-links { list-style: none; padding: 0; margin: .75rem 0 0; display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; }

/* ---------- map (colors stay on white paper in dark mode, like a printed sheet) ---------- */
.map-paper { fill: #fff; }
.map-city { fill: #F2EEE8; }
.map-hd { fill: #E8F1DD; }
.map-lake { fill: #CFE4F4; stroke: #5B97CC; stroke-width: .8; }
.map-street { fill: none; stroke: #ADADAD; stroke-width: .8; stroke-linecap: round; stroke-linejoin: round; }
.map-creek { fill: none; stroke: #4F8FCB; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.map-rail { fill: none; stroke: #3A3A3A; stroke-width: 1.2; }
.map-rail-ties { fill: none; stroke: #3A3A3A; stroke-width: 6; stroke-dasharray: 1.2 8; }
.map-art-case, .map-fwy-case { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.map-art-case { stroke: #8A3A2C; stroke-width: 4.6; }
.map-spine-case { stroke: #5E1F16; stroke-width: 6.6; }
.map-art, .map-spine, .map-fwy { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.map-art { stroke: #F4B5A2; stroke-width: 2.8; }
.map-spine { stroke: #D9473A; stroke-width: 4.4; }
.map-fwy-case { stroke: #2A1210; stroke-width: 10; }
.map-fwy { stroke: #C8372D; stroke-width: 7; }
.map-ribbon { fill: none; stroke: #9CC27A; stroke-width: 18; opacity: .55; }
.map-hd-line { fill: none; stroke: #2F4F22; stroke-width: 2; stroke-dasharray: 11 4 2.5 4; }
.map-cdp-line { fill: none; stroke: #8A8A8A; stroke-width: 1.1; stroke-dasharray: 5 4; }
.map-t { font-family: var(--font); fill: #222; paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.map-big { font-size: 36px; font-weight: 800; letter-spacing: .4em; fill: #2F4F22; }
.map-place { font-size: 17px; font-weight: 600; letter-spacing: .26em; fill: #5A5A5A; }
.map-road { font-size: 13.5px; font-weight: 650; font-stretch: 82%; fill: #7A2E22; }
.map-road-major { font-size: 16px; font-weight: 750; }
.map-water-t { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 15px; fill: #2F6FA8; }
.map-poi { fill: #222; stroke: #fff; stroke-width: 1.5; }
.map-poi-t { font-size: 13.5px; font-weight: 600; }
.map-scale path { fill: none; stroke: #222; stroke-width: 1.6; }
.map-scale-bg { fill: #fff; opacity: .85; }
.map-scale-t { font-size: 13px; font-weight: 600; }
.map-north path { fill: #222; }
.map-north-t { font-size: 15px; font-weight: 800; }

/* small screens: fewer, larger labels so the map still reads at phone width */
@media (max-width: 48rem) {
  .map-road, .map-poi-t, .map-water-t, .map-scale, .map-minor { display: none; }
  .map-road.map-key { display: inline; font-size: 30px; }
  .map-big { font-size: 64px; letter-spacing: .25em; }
  .map-place { font-size: 32px; letter-spacing: .14em; }
  .map-t { stroke-width: 7px; }
  .map-poi { r: 7; }
}

@media print {
  .site-nav, .skip { display: none; }
  .block { break-inside: avoid; }
}
