:root {
  --bg: #f6f3ea;
  --paper: #fbf9f3;
  --ink: #2b2a26;
  --muted: #6f6b5e;
  --accent: #4f6e31;
  --rule: #ddd6c4;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #1d1c19; --paper: #24231f; --ink: #e9e5d8; --muted: #a39e8d; --accent: #9dbb6f; --rule: #37352f; }
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0 auto;
  max-width: 42rem;
  padding: 0 16px 3rem;
  color: var(--ink);
  background: var(--bg);
  font: 17px/1.65 Georgia, "Iowan Old Style", "Times New Roman", serif;
  overflow-wrap: break-word;
}
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; height: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--paper); padding: .3rem .6rem; }

.top {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
  align-items: center; justify-content: space-between;
  padding: 1.4rem 0 1rem; border-bottom: 1px solid var(--rule);
}
.brand { display: inline-flex; align-items: center; gap: .5rem; font-weight: bold; font-size: 1.2rem; color: var(--ink); text-decoration: none; }
.brand img { border-radius: 6px; }
nav[aria-label="Main"] { display: flex; flex-wrap: wrap; gap: .2rem 1rem; font-family: system-ui, sans-serif; font-size: .92rem; }

.intro { margin: 1.5rem 0 1rem; }
.hero { display: block; width: 100%; border-radius: 10px; background: var(--paper); }
.lede { font-size: 1.12rem; color: var(--muted); margin: 1.2rem 0 0; }
h1 { font-size: 1.7rem; line-height: 1.25; margin: 2rem 0 .4rem; }
h2 { font-size: 1.25rem; line-height: 1.3; margin: 2rem 0 .5rem; }
h2.section { font-family: system-ui, sans-serif; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.note { padding: .4rem 0 1.2rem; border-bottom: 1px solid var(--rule); }
.note h2 { margin: 1rem 0 .2rem; }
.note h2 a { color: var(--ink); text-decoration: none; }
.note h2 a:hover { color: var(--accent); }
.meta { margin: 0 0 .7rem; font-size: .84rem; color: var(--muted); font-family: system-ui, sans-serif; }
.more { font-family: system-ui, sans-serif; font-size: .92rem; }
.seen-line { font-size: .95rem; color: var(--muted); margin-top: 1.2rem; }
.pager { display: flex; justify-content: space-between; gap: 1rem; margin: 2rem 0 0; font-family: system-ui, sans-serif; font-size: .9rem; }
.pager a:last-child { text-align: right; }

ul.archive { list-style: none; padding: 0; margin: 0; }
ul.archive li { padding: .35rem 0; border-bottom: 1px dotted var(--rule); }
ul.archive time { display: inline-block; min-width: 4.2rem; color: var(--muted); font-family: system-ui, sans-serif; font-size: .88rem; }

table.seen { width: 100%; border-collapse: collapse; font-size: .97rem; }
table.seen th { text-align: left; font-family: system-ui, sans-serif; font-size: .8rem; color: var(--muted); font-weight: normal; border-bottom: 1px solid var(--rule); padding: .3rem 0; }
table.seen td { padding: .4rem 0; border-bottom: 1px dotted var(--rule); }
table.seen td:last-child { text-align: right; white-space: nowrap; font-family: system-ui, sans-serif; font-size: .88rem; }

.map { margin: 1.2rem 0; }
.map img { display: block; width: 100%; border-radius: 10px; background: var(--paper); }
.map figcaption { font-size: .85rem; color: var(--muted); margin-top: .4rem; font-family: system-ui, sans-serif; }
ol.stops li { margin: .5rem 0; }

.foot { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--rule); font-size: .88rem; color: var(--muted); font-family: system-ui, sans-serif; }
.foot p { margin: .3rem 0; }
