/* Self-hosted fonts (SIL Open Font License; see fonts/LICENSES.md). Subsets: latin, latin-ext, runic. */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url(/fonts/fraunces-latin-ext-ed6f8e85.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url(/fonts/fraunces-latin-9e509503.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/ibm-plex-sans-latin-ext-effb1ea2.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/ibm-plex-sans-latin-f6667783.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Noto Sans Runic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/noto-sans-runic-runic-ed20640a.woff2) format('woff2');
  unicode-range: U+16A0-16F8;
}
@font-face {
  font-family: 'Noto Sans Runic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/noto-sans-runic-latin-ext-a3aef2d6.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Noto Sans Runic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/noto-sans-runic-latin-008e9d99.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/ibm-plex-sans-600-latin-2f66ab50.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/ibm-plex-sans-600-latin-ext-87104577.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Origin page: the site's editorial column (66ch) with one full-bleed map plate; bronze is the only accent. */
:root {
  --bg: #141311; --bg-raise: #1c1a17; --fg: #efe8db; --fg-soft: #b9b0a2; --rule: #2d2a25;
  --accent: #b08d57; --accent-ink: #141311; --focus: #d8b77a;
  --land: #1f1d19; --edge: #34302a; --road: rgba(176,141,87,.30); --dot: #d8b77a;
  --display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --runic: "Noto Sans Runic", "Segoe UI Symbol", "Apple Symbols", sans-serif;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) {
  --bg: #f4efe6; --bg-raise: #ece5d8; --fg: #1b1916; --fg-soft: #5e574d; --rule: #d9d0c1;
  --accent: #7a5c30; --accent-ink: #f4efe6; --focus: #7a5c30;
  --land: #e9e2d4; --edge: #cfc4b1; --road: rgba(122,92,48,.34); --dot: #7a5c30; color-scheme: light; } }
:root[data-theme="light"] {
  --bg: #f4efe6; --bg-raise: #ece5d8; --fg: #1b1916; --fg-soft: #5e574d; --rule: #d9d0c1;
  --accent: #7a5c30; --accent-ink: #f4efe6; --focus: #7a5c30;
  --land: #e9e2d4; --edge: #cfc4b1; --road: rgba(122,92,48,.34); --dot: #7a5c30; color-scheme: light; }
:root[data-theme="dark"] {
  --bg: #141311; --bg-raise: #1c1a17; --fg: #efe8db; --fg-soft: #b9b0a2; --rule: #2d2a25;
  --accent: #b08d57; --accent-ink: #141311; --focus: #d8b77a;
  --land: #1f1d19; --edge: #34302a; --road: rgba(176,141,87,.30); --dot: #d8b77a; color-scheme: dark; }

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--body);
  font-size: clamp(1rem, .95rem + .3vw, 1.125rem); line-height: 1.6;
  padding-inline: clamp(1rem, 4vw, 2.5rem); padding-block: 0; }
.page { max-width: 66ch; margin-inline: auto; }
a { color: inherit; text-decoration-color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .18em; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

.top { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding-block: 1.25rem 0; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-soft); }
.top a { text-decoration: none; display: inline-block; padding-block: .75rem; }
.top nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.top [aria-current="page"] { color: var(--fg); }

.eyebrow { display: block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: .6rem; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.01em; text-wrap: balance; margin: 0 0 .9rem; }
h1 { font-size: clamp(2.4rem, 1.6rem + 3.2vw, 3.6rem); line-height: 1.05; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); line-height: 1.15; }
p { margin: 0 0 1rem; max-width: 62ch; }
.lede { font-family: var(--display); font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); line-height: 1.45; color: var(--fg); }
.soft { color: var(--fg-soft); }
section { padding-block: clamp(2.5rem, 7vh, 4rem); border-bottom: 1px solid var(--rule); }
.intro { padding-block: clamp(2.5rem, 9vh, 5rem) 0; border-bottom: 0; }
.atlas { padding-block: clamp(1.5rem, 4vh, 2.5rem) clamp(2rem, 6vh, 3.5rem); border-bottom: 1px solid var(--rule); }
.milestone { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
  border-top: 1px solid var(--accent); padding-top: .7rem; margin-bottom: .8rem; font-variant-numeric: tabular-nums; }
.milestone time { color: var(--fg); }
.last { border-bottom: 0; }
.carry { margin-top: 1.4rem; color: var(--fg-soft); }
.close { font-family: var(--display); font-size: clamp(1.3rem, 1.1rem + .9vw, 1.75rem); line-height: 1.3; text-wrap: balance; margin-top: 1.6rem; }

.ledger { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.ledger li { border-top: 1px solid var(--accent); padding-top: .6rem; min-width: 0; }
.ledger b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
  line-height: 1.1; font-variant-numeric: tabular-nums; }
.ledger span { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-soft); }

.plate { margin-inline: calc(50% - min(50vw, 600px)); margin-block: .5rem 0; }
.plate svg { display: block; width: 100%; height: auto; }
.states { fill: var(--land); stroke: var(--edge); stroke-width: .6; }
.routes path { fill: none; stroke: var(--road); stroke-width: .9; stroke-linecap: round; stroke-linejoin: round; }
.dots circle { fill: var(--dot); fill-opacity: .85; stroke: var(--bg); stroke-width: .5; }
.yr, .dots circle { transition: opacity .35s ease; }
.dim { opacity: 0; pointer-events: none; }
.years { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1rem 0 0; }
.years button { font: 500 .8rem var(--body); letter-spacing: .06em; color: var(--fg-soft); background: transparent;
  border: 1px solid var(--rule); border-radius: 2px; padding: .35rem .7rem; cursor: pointer; font-variant-numeric: tabular-nums; }
.years button.five { border-color: var(--accent); color: var(--accent); }
.years button[aria-pressed="true"] { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.yearnote { font-size: .85rem; color: var(--fg-soft); margin-top: .6rem; min-height: 1.4em; font-variant-numeric: tabular-nums; }

.report { margin: 1.4rem 0 0; overflow-x: auto; border: 1px solid var(--rule); background: var(--bg-raise); }
.report table { border-collapse: collapse; width: 100%; font-size: .86rem; font-variant-numeric: tabular-nums; }
.report th { text-align: left; font-weight: 500; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-soft);
  padding: .55rem .8rem; border-bottom: 1px solid var(--rule); white-space: nowrap; }
.report td { padding: .45rem .8rem; border-bottom: 1px solid var(--rule); white-space: nowrap; }
.report tr:last-child td { border-bottom: 0; }
.report td.n { text-align: right; }
.report .x { color: var(--fg-soft); letter-spacing: .2em; }
.cap { font-size: .82rem; color: var(--fg-soft); margin-top: .6rem; }

.chain { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: 1.1rem; }
.chain li { display: grid; grid-template-columns: 2.2rem minmax(0,1fr); gap: .8rem; align-items: baseline; }
.chain .r { font-family: var(--runic); color: var(--accent); font-size: 1.4rem; line-height: 1; }
.chain b { font-weight: 600; }

footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1.5rem; padding-block: 2rem 3rem;
  font-size: .8rem; color: var(--fg-soft); }
.mark { font-family: var(--runic); color: var(--accent); margin-right: .6rem; letter-spacing: .1em; }
@media (max-width: 520px) { .ledger { gap: .6rem; } .ledger b { font-size: 1.35rem; } .ledger span { font-size: .66rem; letter-spacing: .06em; } }
@media (prefers-reduced-motion: reduce) { .yr, .dots circle { transition: none; } }

main b { font-weight: 600; }
