:root {
  --paper: #f6f3ee;
  --ink: #23201c;
  --ink-2: #5d564d;
  --rule: #ddd5c8;
  --accent: #2f6b4f;
  --accent-2: #b5673b;
  --sheet: #fffdf9;
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  color: var(--ink);
  background: var(--paper);
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #1b1a18; --ink: #ebe5da; --ink-2: #b1a899; --rule: #3a3631; --accent: #7fbf9c; --accent-2: #e19a6f; --sheet: #22211e; }
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.65; font-size: 18px; background: var(--paper); }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-2); }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }
header.site { border-bottom: 1px solid var(--rule); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 21px; letter-spacing: .01em; }
.brand svg { width: 34px; height: 34px; }
nav.site a { margin-left: 18px; color: var(--ink-2); text-decoration: none; font-family: system-ui, sans-serif; font-size: 15px; }
nav.site a:first-child { margin-left: 0; }
nav.site a[aria-current="page"], nav.site a:hover { color: var(--ink); }
.hero { padding: 42px 0 12px; }
.hero h1 { font-size: 40px; line-height: 1.15; margin: 0 0 12px; font-weight: 600; letter-spacing: -.01em; }
.hero p { color: var(--ink-2); margin: 0; max-width: 60ch; }
.ridge { display: block; width: 100%; height: auto; margin: 28px 0 8px; color: var(--accent); }
h2 { font-size: 26px; margin: 42px 0 10px; font-weight: 600; }
h3 { font-size: 20px; margin: 28px 0 6px; }
.meta { font-family: system-ui, sans-serif; font-size: 14px; color: var(--ink-2); }
.posts { list-style: none; padding: 0; margin: 0; }
.posts li { padding: 18px 0; border-bottom: 1px solid var(--rule); }
.posts li a.title { font-size: 22px; text-decoration: none; color: var(--ink); }
.posts li a.title:hover { color: var(--accent); }
.posts p { margin: 6px 0 0; color: var(--ink-2); }
table { width: 100%; border-collapse: collapse; font-family: system-ui, sans-serif; font-size: 15px; margin: 12px 0; }
th, td { text-align: left; padding: 9px 10px 9px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { color: var(--ink-2); font-weight: 500; }
td.n, th.n { text-align: right; font-variant-numeric: tabular-nums; }
.scroll { overflow-x: auto; }
article p, article li { max-width: 66ch; }
article figure { margin: 26px 0; }
article figcaption { font-family: system-ui, sans-serif; font-size: 14px; color: var(--ink-2); margin-top: 6px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px 20px; margin: 20px 0; padding: 16px 18px;
         background: var(--sheet); border: 1px solid var(--rule); border-radius: 10px; font-family: system-ui, sans-serif; }
.facts div span { display: block; font-size: 13px; color: var(--ink-2); }
.facts div b { font-size: 18px; font-weight: 600; }
blockquote { margin: 24px 0; padding: 0; color: var(--ink-2); font-style: italic; font-size: 1.08em; }
footer.site { margin-top: 64px; border-top: 1px solid var(--rule); padding: 22px 0 40px; font-family: system-ui, sans-serif; font-size: 14px; color: var(--ink-2); }
@media (max-width: 560px) {
  body { font-size: 17px; }
  .hero h1 { font-size: 31px; }
  nav.site a { margin-left: 12px; }
}
