/* USPS EDDM Guide (independent). Look: a field map. Warm map paper, contour lines, forest green, olive and ochre
   ink, legend boxes, trail waypoints and a compass rose. Serif headings, rounded humanist body. Prefix mp-. */
@font-face { font-family: "Source Serif 4"; src: url("/assets/fonts/SourceSerif4-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Karla"; src: url("/assets/fonts/Karla-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Karla"; src: url("/assets/fonts/Karla-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --mp-paper: #f4efe0;
  --mp-paper-2: #fbf8ef;
  --mp-ink: #2a2a20;
  --mp-ink-2: #5d5a48;
  --mp-forest: #24503c;
  --mp-olive: #6b7a2e;
  --mp-ochre: #b8780f;
  --mp-contour: #d8cca9;
  --mp-rule: #d9cfb4;
  --mp-water: #8db3c2;
  --mp-street: #c9bd9c;
  --mp-r-blue: #2f6fb0;
  --mp-r-green: #3f8f4a;
  --mp-r-purple: #7c4fa8;
  --mp-r-orange: #d9822b;
  --mp-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --mp-sans: "Karla", "Segoe UI", system-ui, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --mp-paper: #1b1d17;
    --mp-paper-2: #23261e;
    --mp-ink: #ece6d3;
    --mp-ink-2: #b4ad95;
    --mp-forest: #8cc9a6;
    --mp-olive: #b8c77a;
    --mp-ochre: #e6a940;
    --mp-contour: #34382b;
    --mp-rule: #3b3f31;
    --mp-water: #4f7686;
    --mp-street: #4a4c3e;
    --mp-r-blue: #6aa6e8;
    --mp-r-green: #6fc27a;
    --mp-r-purple: #b18ae0;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--mp-paper); color: var(--mp-ink); font: 18px/1.65 var(--mp-sans); overflow-x: clip; }
svg { max-width: 100%; height: auto; }
a { color: var(--mp-forest); text-decoration-color: var(--mp-ochre); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--mp-ochre); outline-offset: 2px; border-radius: 3px; }
.mp-skip { position: absolute; left: -999px; }
.mp-skip:focus { left: 10px; top: 10px; z-index: 40; background: var(--mp-paper-2); padding: 8px 12px; }
.mp-wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3, .mp-brand, .mp-foot__name { font-family: var(--mp-serif); font-weight: 600; }

/* header */
.mp-header { background: var(--mp-forest); color: #f4efe0; }
@media (prefers-color-scheme: dark) { .mp-header { background: #17301f; } }
.mp-header__in { display: flex; align-items: center; gap: 20px; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.mp-brand { display: inline-flex; align-items: center; gap: 10px; color: #f4efe0; text-decoration: none; font-size: 1.35rem; white-space: nowrap; }
.mp-logo circle:first-child { fill: none; stroke: #f4efe0; stroke-width: 2; }
.mp-logo__r { fill: none; stroke: #e6a940; stroke-width: 2.4; stroke-dasharray: 3 3; }
.mp-logo__d { fill: #f4efe0; }
.mp-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 2px 4px; margin: 0; padding: 0; justify-content: flex-end; }
.mp-nav a, .mp-menu a { color: #f4efe0; text-decoration: none; font-size: .92rem; padding: 6px 10px; border-radius: 999px; display: block; }
.mp-nav a:hover, .mp-nav a[aria-current] { background: rgba(244, 239, 224, .14); }
.mp-nav a[aria-current] { box-shadow: inset 0 0 0 1px rgba(230, 169, 64, .8); }
.mp-menu { display: none; position: relative; }
.mp-menu summary { cursor: pointer; list-style: none; border: 1px solid rgba(244,239,224,.6); border-radius: 999px; padding: 5px 14px; font-size: .9rem; }
.mp-menu summary::-webkit-details-marker { display: none; }
.mp-menu ul { position: absolute; right: 0; top: 42px; z-index: 30; list-style: none; margin: 0; padding: 8px; background: var(--mp-forest); border-radius: 10px; min-width: 220px; box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.mp-indep { margin: 0; background: #ead9ad; color: #3b3216; font-size: .85rem; text-align: center; padding: 5px 16px; }
@media (prefers-color-scheme: dark) { .mp-indep { background: #3b3420; color: #f1e2b8; } }

/* hero: a contoured map sheet */
.mp-hero { position: relative; overflow: hidden; background: var(--mp-paper-2); border-bottom: 2px solid var(--mp-forest); }
.mp-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mp-contour { fill: none; stroke: var(--mp-contour); stroke-width: 1.2; }
.mp-contour--index { stroke-width: 2.2; }
.mp-contour--faint { stroke-width: 1; opacity: .7; }
.mp-hero__in { position: relative; padding-top: 48px; padding-bottom: 44px; }
.mp-hero--home .mp-hero__in { padding-top: 76px; padding-bottom: 70px; }
.mp-hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.1; margin: 0 0 14px; max-width: 18em; color: var(--mp-forest); }
.mp-lede { font-size: 1.2rem; max-width: 36em; margin: 0; background: color-mix(in srgb, var(--mp-paper-2) 82%, transparent); }
.mp-kicker { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mp-ochre); margin: 0 0 12px;
  border: 1.5px solid var(--mp-ochre); padding: 2px 10px; border-radius: 3px; background: var(--mp-paper-2); }
.mp-crumbs { font-size: .9rem; margin: 0 0 12px; color: var(--mp-ink-2); }
.mp-surveyed { font-size: .85rem; color: var(--mp-ink-2); margin: 16px 0 0; }

/* body: legend column + article */
.mp-body { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: 48px; padding-top: 40px; padding-bottom: 72px; justify-content: center; }
.mp-body:not(:has(.mp-onpage)) { grid-template-columns: minmax(0, 820px); }
.mp-onpage { align-self: start; position: sticky; top: 18px; border: 1.5px solid var(--mp-ink); background: var(--mp-paper-2); padding: 14px 16px; border-radius: 4px; font-size: .9rem; }
.mp-onpage p { margin: 0 0 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; color: var(--mp-olive); }
.mp-onpage ol { margin: 0; padding-left: 1.2em; }
.mp-onpage li { margin: 4px 0; }
.mp-onpage li::marker { color: var(--mp-ochre); font-weight: 700; }
.mp-article > :first-child { margin-top: 0; }
.mp-article h2 { font-size: 1.75rem; line-height: 1.2; margin: 1.9em 0 .5em; color: var(--mp-forest); }
.mp-article h2::after { content: ""; display: block; height: 6px; margin-top: 8px; width: 140px;
  background: radial-gradient(circle, var(--mp-ochre) 2px, transparent 2.5px) 0 0 / 12px 6px repeat-x; }
.mp-article h3 { font-size: 1.25rem; margin: 1.5em 0 .3em; }
.mp-article li { margin: .35em 0; }
.mp-article ul li::marker { color: var(--mp-olive); }
.mp-fieldnote { position: relative; background: var(--mp-paper-2); border: 1.5px dashed var(--mp-olive); border-radius: 6px; padding: 14px 18px 14px 50px; }
.mp-fieldnote::before { content: ""; position: absolute; left: 16px; top: 18px; width: 18px; height: 18px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--mp-ochre); }
.mp-fieldnote strong:first-child { color: var(--mp-olive); }

/* tables */
.mp-table { overflow-x: auto; margin: 1.2em 0; border-radius: 6px; border: 1.5px solid var(--mp-ink); background: var(--mp-paper-2); }
.mp-table table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.mp-table th, .mp-table td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--mp-rule); vertical-align: top; }
.mp-table thead th { background: var(--mp-olive); color: #fbf8ef; font-weight: 700; font-size: .85rem; letter-spacing: .04em; }
@media (prefers-color-scheme: dark) { .mp-table thead th { background: #4b5524; } }
.mp-table tbody tr:last-child td, .mp-table tbody tr:last-child th { border-bottom: 0; }

/* figures */
.mp-fig, .mp-trail { margin: 1.4em 0 1.8em; }
.mp-fig svg { display: block; width: 100%; border: 1.5px solid var(--mp-ink); border-radius: 6px; }
.mp-fig figcaption { font-size: .85rem; color: var(--mp-ink-2); margin-top: 6px; }
.mp-mapbg { fill: var(--mp-paper-2); }
.mp-street { stroke: var(--mp-street); stroke-width: 5; stroke-linecap: round; }
.mp-mainroad { fill: none; stroke: var(--mp-ochre); stroke-width: 9; stroke-linecap: round; opacity: .55; }
.mp-water { fill: none; stroke: var(--mp-water); stroke-width: 10; stroke-linecap: round; opacity: .7; }
.mp-route { stroke-width: 3; stroke-linejoin: round; }
.mp-route--blue { fill: color-mix(in srgb, var(--mp-r-blue) 30%, transparent); stroke: var(--mp-r-blue); }
.mp-route--green { fill: color-mix(in srgb, var(--mp-r-green) 30%, transparent); stroke: var(--mp-r-green); }
.mp-route--purple { fill: color-mix(in srgb, var(--mp-r-purple) 22%, transparent); stroke: var(--mp-r-purple); stroke-dasharray: 7 5; }
.mp-po { fill: var(--mp-r-orange); stroke: #fff; stroke-width: 2; }
.mp-po__t { fill: #fff; font: 700 9px var(--mp-sans); }
.mp-pin { fill: none; stroke: var(--mp-ink); stroke-width: 3; }
.mp-pin__dot { fill: var(--mp-ink); }
.mp-legendbox { fill: var(--mp-paper-2); stroke: var(--mp-ink); stroke-width: 1.2; }
.mp-fig text, .mp-trail text { font-family: var(--mp-sans); font-size: 12px; fill: var(--mp-ink); }
.mp-compass circle { fill: var(--mp-paper-2); stroke: var(--mp-ink); stroke-width: 1.2; }
.mp-compass path { fill: var(--mp-ink-2); }
.mp-compass .mp-compass__n { fill: var(--mp-ochre); }
.mp-compass text { font: 700 13px var(--mp-serif) !important; }
.mp-scale rect { fill: var(--mp-ink); }
.mp-scale .mp-scale__alt { fill: var(--mp-paper-2); stroke: var(--mp-ink); }
.mp-scale text { font-size: 11px !important; fill: var(--mp-ink-2) !important; }
.mp-trail svg { display: block; width: 100%; }
.mp-trailpath { fill: none; stroke: var(--mp-ochre); stroke-width: 3; stroke-dasharray: 2 8; stroke-linecap: round; }
.mp-way { fill: var(--mp-forest); stroke: var(--mp-paper); stroke-width: 4; }
.mp-way__n { fill: #fbf8ef !important; font: 700 16px var(--mp-serif) !important; }
.mp-way__t { font: 700 15px var(--mp-serif) !important; fill: var(--mp-forest) !important; }
.mp-trail__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; list-style: none; padding: 0; margin: 4px 0 0; font-size: .9rem; color: var(--mp-ink-2); }
.mp-trail__list b { color: var(--mp-ink); }

/* legend list */
.mp-legend { list-style: none; padding: 14px 16px; margin: 1em 0; border: 1.5px solid var(--mp-ink); border-radius: 6px; background: var(--mp-paper-2); display: grid; gap: 8px; }
.mp-legend li { display: grid; grid-template-columns: 26px 110px 1fr; align-items: center; gap: 10px; margin: 0; }
.mp-sw { width: 24px; height: 16px; border-radius: 3px; border: 2px solid; }
.mp-sw--purple { border-color: var(--mp-r-purple); border-style: dashed; background: color-mix(in srgb, var(--mp-r-purple) 22%, transparent); }
.mp-sw--blue { border-color: var(--mp-r-blue); background: color-mix(in srgb, var(--mp-r-blue) 30%, transparent); }
.mp-sw--green { border-color: var(--mp-r-green); background: color-mix(in srgb, var(--mp-r-green) 30%, transparent); }
.mp-sw--po { width: 16px; height: 16px; border-radius: 50%; border-color: #fff; background: var(--mp-r-orange); justify-self: center; }
.mp-sw--pin { width: 16px; height: 16px; border-radius: 50%; border: 3px solid var(--mp-ink); justify-self: center; }

/* steps strip */
.mp-steps { list-style: none; padding: 0; margin: 1em 0 1.5em; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; counter-reset: s; }
.mp-steps li { margin: 0; display: flex; gap: 10px; align-items: center; background: var(--mp-paper-2); border: 1.5px solid var(--mp-rule); border-radius: 999px; padding: 6px 14px 6px 6px; font-weight: 700; font-size: .92rem; }
.mp-steps span { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--mp-forest); color: #fbf8ef; display: grid; place-items: center; font-family: var(--mp-serif); }

/* sample route table */
.mp-rt { border: 1.5px solid var(--mp-ink); border-radius: 8px; background: var(--mp-paper-2); padding: 14px; margin: 1.2em 0 1.8em; }
.mp-rt__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.mp-rt__t { font-family: var(--mp-serif); font-weight: 600; font-size: 1.1rem; color: var(--mp-forest); }
.mp-toggle { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; font-size: .92rem; cursor: pointer; }
.mp-toggle input { width: 18px; height: 18px; accent-color: var(--mp-forest); }
.mp-table--rt { margin: 12px 0 10px; }
.mp-table--rt thead th { padding: 0; }
.mp-table--rt thead button { all: unset; display: block; padding: 9px 12px; cursor: pointer; text-decoration: underline dotted; text-underline-offset: 4px; }
.mp-table--rt thead button[aria-pressed="true"] { background: var(--mp-ochre); color: #1f1a0b; }
.mp-table--rt tbody th { font-weight: 700; }
.mp-table--rt tfoot th, .mp-table--rt tfoot td { font-weight: 700; border-top: 2px solid var(--mp-ink); border-bottom: 0; }
.mp-table--rt tr.is-zero td { color: var(--mp-ink-2); opacity: .6; }
.mp-rt__note { min-height: 3.2em; background: var(--mp-paper); border-radius: 6px; padding: 10px 14px; font-size: .95rem; }
.mp-rt__note p { margin: 0; }
.mp-rt__fine { font-size: .8rem; color: var(--mp-ink-2); margin: 8px 0 0; }

/* faq, sources */
.mp-faq details { border-bottom: 1px solid var(--mp-rule); }
.mp-faq details:first-child { border-top: 1px solid var(--mp-rule); }
.mp-faq summary { cursor: pointer; padding: 14px 0; font-weight: 700; font-family: var(--mp-serif); font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.mp-faq summary::-webkit-details-marker { display: none; }
.mp-faq summary::after { content: "▸"; color: var(--mp-ochre); transition: transform .15s; }
.mp-faq details[open] summary::after { transform: rotate(90deg); }
.mp-faq details p { margin: 0 0 14px; }
.mp-sources { margin-top: 2.6em; border-top: 2px solid var(--mp-forest); padding-top: 14px; font-size: .92rem; }
.mp-sources__t { font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; color: var(--mp-olive); margin: 0 0 6px; }
.mp-sources ul { margin: 0 0 8px; padding-left: 1.1em; }
.mp-fine { font-size: .82rem; color: var(--mp-ink-2); }

/* footer */
.mp-foot { background: var(--mp-forest); color: #e9e2cd; padding: 40px 0 26px; font-size: .92rem; }
@media (prefers-color-scheme: dark) { .mp-foot { background: #17301f; } }
.mp-foot a { color: #fbf8ef; }
.mp-foot__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.mp-foot__name { font-size: 1.3rem; color: #fbf8ef; margin: 0 0 6px; }
.mp-foot__h { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .75rem; color: #e6a940; margin: 0 0 8px; }
.mp-foot__idx { list-style: none; padding: 0; margin: 0; columns: 2; }
.mp-foot__idx li { margin: 0 0 6px; }
.mp-foot__idx span { display: inline-block; min-width: 2.2em; font-weight: 700; color: #e6a940; }
.mp-foot__legal { border-top: 1px solid rgba(244,239,224,.25); margin: 26px 0 0; padding-top: 14px; font-size: .82rem; color: #cfc7ae; }

@media (max-width: 960px) {
  .mp-nav { display: none; }
  .mp-menu { display: block; }
  .mp-body { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .mp-onpage { position: static; }
}
@media (max-width: 640px) {
  .mp-wrap { padding: 0 16px; }
  body { font-size: 17px; }
  .mp-brand { font-size: 1.15rem; }
  .mp-trail__list { grid-template-columns: repeat(2, 1fr); }
  .mp-steps { grid-template-columns: 1fr 1fr; }
  .mp-legend li { grid-template-columns: 26px 1fr; }
  .mp-legend li span:last-child { grid-column: 2; }
  .mp-foot__grid { grid-template-columns: 1fr; }
  .mp-fieldnote { padding-left: 44px; }
}
