:root {
  --paper: #f3efe6;
  --paper-bright: #faf7f1;
  --ink: #1b1916;
  --ink-soft: #4a463f;
  --ink-faint: #7a7468;
  --rule: #d8d0c2;
  --accent: #8b2e2a;
  --serif: "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
a[aria-current="page"] { color: var(--accent); }
h1, h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
h1 { font-size: clamp(2.1rem, 4vw, 2.8rem); margin: 0.35rem 0 0.75rem; }
h2 { font-size: 1.35rem; margin: 2rem 0 0.45rem; }
p { margin: 0.6rem 0; }
.kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0;
}
.updated { color: var(--ink-faint); font-size: 0.92rem; margin-top: 0; }
.wordmark {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.wordmark span { color: var(--accent); }
.site-header, .site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.25rem 2rem;
}
.site-header {
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
}
.site-footer {
  border-top: 1px solid var(--rule);
  margin-top: 3rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  align-items: flex-start;
}
.site-header nav, .site-footer nav { display: flex; flex-wrap: wrap; gap: 0.35rem 0.9rem; }
.wrap { width: min(40rem, calc(100% - 3rem)); margin: 2.5rem auto 3rem; }
.wrap > p, .lede { color: var(--ink-soft); }
@media (max-width: 700px) {
  .site-header, .site-footer { padding-inline: 1.25rem; }
  .wrap { width: min(40rem, calc(100% - 2.5rem)); }
}
