:root {
  --bg: #f6f3ee;
  --ink: #1c1a17;
  --muted: #6b665e;
  --accent: #8c5a2b;
  --rule: #d8d2c5;
  --max: 38rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15130f;
    --ink: #e8e3d8;
    --muted: #8d8779;
    --accent: #d4a273;
    --rule: #2a2620;
  }
}
* { box-sizing: border-box; }
html, body { background: var(--bg); color: var(--ink); }
body {
  font-family: 'Iowan Old Style', 'Charter', Georgia, serif;
  line-height: 1.6;
  margin: 0;
  padding: 0 1.25rem;
}
header {
  max-width: var(--max);
  margin: 2.5rem auto 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
}
nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 1rem;
  font-size: 0.95rem;
}
nav a:hover { color: var(--accent); }
main { max-width: var(--max); margin: 0 auto 4rem; }
.entry .hero {
  margin: 0 -1.25rem 1.5rem;
  padding: 0;
}
@media (min-width: 41rem) {
  .entry .hero { margin: 0 0 1.5rem; border-radius: 4px; overflow: hidden; }
}
.entry .hero img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--rule);
}
.entry-head {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 1rem;
  align-items: baseline;
}
.entry-head time { font-variant-numeric: tabular-nums; }
.mood {
  font-style: italic;
  color: var(--accent);
}
.entry .body p {
  margin: 0 0 1.1em;
  font-size: 1.08rem;
}
.entry.latest .body p:first-child::first-letter {
  font-size: 2.4rem;
  font-weight: 700;
  float: left;
  line-height: 0.9;
  margin: 0.1em 0.1em 0 0;
  color: var(--accent);
}
.recent { margin-top: 3rem; }
.recent h2 { font-size: 1rem; color: var(--muted); font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }
.recent ul, .archive { list-style: none; padding: 0; }
.recent li, .archive li { padding: 0.4rem 0; border-bottom: 1px dotted var(--rule); }
.recent a, .archive a { color: var(--ink); text-decoration: none; display: flex; gap: 1rem; }
.recent a:hover, .archive a:hover { color: var(--accent); }
.mood-inline { color: var(--muted); font-style: italic; }
.back { margin-top: 2rem; }
.back a { color: var(--muted); text-decoration: none; }
.back a:hover { color: var(--accent); }
footer {
  max-width: var(--max);
  margin: 4rem auto 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.85rem;
}
footer p { margin: 0.3rem 0; }
