:root {
  color-scheme: light dark;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.7;
  --paper: #f8f7f3;
  --ink: #282925;
  --muted: #66665e;
  --line: #deddd5;
  --accent: #49634f;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0 16px;
  background: var(--paper);
  color: var(--ink);
}

a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }

.site-header, .content, .site-footer {
  width: min(100%, 68ch);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0 18px;
  border-bottom: 1px solid var(--line);
}

.wordmark { color: var(--ink); font-size: 1.15rem; font-weight: 700; text-decoration: none; }
.header-note, .muted { color: var(--muted); font-size: 0.9rem; }
.content { min-height: 68vh; padding: 56px 0 72px; }
.eyebrow { color: var(--accent); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
h1, h2 { line-height: 1.2; }
h1 { margin: 0.2em 0; font-size: clamp(2.3rem, 8vw, 4rem); letter-spacing: -0.045em; }
.intro { max-width: 48ch; margin: 0 0 3rem; color: var(--muted); font-size: 1.15rem; }
.post-list { margin: 0; padding: 0; list-style: none; }
.post-item { padding: 22px 0; border-top: 1px solid var(--line); }
.post-item h2 { margin: 0 0 5px; font-size: 1.45rem; }
.post-item h2 a { color: var(--ink); text-decoration: none; }
.post-item p { margin: 4px 0; color: var(--muted); }
.post-date { font-size: 0.85rem; }
.article-content h1 { margin-bottom: 0.2em; font-size: clamp(2rem, 7vw, 3.3rem); }
.article-body { margin-top: 2.5rem; }
.article-body p { margin: 1.25em 0; }
.article-body h2 { margin-top: 2em; }
.site-footer { padding: 18px 0 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; }

@media (prefers-color-scheme: dark) {
  :root { --paper: #1d201c; --ink: #e8e8df; --muted: #b2b3a8; --line: #41443d; --accent: #b5c9aa; }
}

@media (max-width: 480px) {
  .site-header { align-items: flex-start; flex-direction: column; gap: 2px; }
  .content { padding-top: 40px; }
}
