:root {
  color-scheme: light dark;
  --paper: #f9f7f1;
  --ink: #24231f;
  --muted: #615c52;
  --rule: #d7d1c4;
  --accent: #8b432e;
  --sans: system-ui, sans-serif;
  font-family: Iowan Old Style, Charter, Palatino Linotype, Georgia, serif;
  font-size: 100%;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #1b1a18; --ink: #f2ece0; --muted: #bdb5a7; --rule: #534c41; --accent: #efa689; }
}
* { box-sizing: border-box; }
body {
  margin: 0 auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
  max-width: 54rem;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
}
html { background: var(--paper); }
a { color: inherit; text-decoration-thickness: .07em; text-underline-offset: .22em; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.masthead, .colophon {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem 1rem;
  flex-wrap: wrap; padding-block: 1.25rem; font: 500 .875rem/1.4 var(--sans);
}
.masthead { border-bottom: 1px solid var(--rule); }
.masthead a, .colophon a { text-decoration: none; }
.masthead a:hover, .colophon a:hover { text-decoration: underline; }
.brand { font-weight: 700; }
nav { display: flex; gap: 1.15rem; color: var(--muted); }
main {
  width: 100%; max-width: 65ch; margin-inline: auto; flex: 1;
  font-size: clamp(1.125rem, 1.05rem + .3vw, 1.25rem);
  line-height: 1.72; padding-block: clamp(3.5rem, 10vw, 7rem);
}
.intro { margin-bottom: clamp(2rem, 6vw, 3.25rem); }
.eyebrow {
  color: var(--accent); font: 700 .73rem/1.4 var(--sans); margin: 0 0 1rem; display: inline-block;
  text-transform: uppercase; letter-spacing: .16em; text-decoration: none;
}
.eyebrow:hover { text-decoration: underline; }
h1, h2 { font-weight: 600; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.55rem, 1.65rem + 4vw, 4.75rem); line-height: 1.04; letter-spacing: -.047em; }
.byline { color: var(--muted); font: 500 .89rem/1.5 var(--sans); margin: 1.2rem 0 0; }
.prose p { margin: 0 0 1.12em; }
.prose p:last-child { margin-bottom: 0; }
.index { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); }
.index li { padding-block: 1.35rem; border-bottom: 1px solid var(--rule); }
.index h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); line-height: 1.2; }
.index p { color: var(--muted); margin: .45rem 0 0; font-size: .92em; }
.colophon { border-top: 1px solid var(--rule); color: var(--muted); }
