:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --text: #1f1d1a;
  --muted: #6b665e;
  --rule: #e6e2da;
  --accent: #a2461f;
  --measure: 40rem;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #171614;
    --surface: #201e1b;
    --text: #e9e5dd;
    --muted: #a29b90;
    --rule: #34312c;
    --accent: #e48a5f;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1.125rem/1.65 var(--serif);
}
a { color: var(--accent); text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 2px; }
.wrap { max-width: var(--measure); margin: 0 auto; padding: 0 1rem; }

.site-header { border-bottom: 1px solid var(--rule); font-family: var(--sans); font-size: 0.9rem; }
.site-header .wrap { max-width: 64rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; align-items: baseline; padding-top: 1rem; padding-bottom: 1rem; }
.brand { font-weight: 700; color: var(--text); text-decoration: none; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; }
.site-header nav a { color: var(--muted); text-decoration: none; }
.site-header nav a:hover { color: var(--accent); }

main { padding-top: 2.5rem; padding-bottom: 3rem; }
h1, h2, h3 { line-height: 1.25; text-wrap: balance; }
h1 { font-size: 2.1rem; margin: 0 0 0.5rem; }
.lede, .intro p { color: var(--muted); }

.eyebrow, .meta, .provenance, .comment-meta, time, .count, .pager {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--muted);
}
.eyebrow { margin: 0 0 0.5rem; text-transform: uppercase; letter-spacing: 0.06em; }
.eyebrow a { color: inherit; text-decoration: none; }
.meta { margin: 0 0 2rem; }

.prose img { max-width: 100%; height: auto; display: block; margin: 1.25rem auto; border-radius: 4px; }
.prose blockquote { margin: 1.5rem 0; padding-left: 1rem; border-left: 3px solid var(--rule); color: var(--muted); }
.prose pre, .prose code { font-size: 0.9em; overflow-x: auto; }
.prose table { display: block; overflow-x: auto; border-collapse: collapse; }
.prose { overflow-wrap: break-word; }

.provenance { margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
.provenance code { font-size: 0.8rem; word-break: break-all; }

.comments { margin-top: 3rem; }
.comments h2 { font-size: 1.2rem; font-family: var(--sans); }
.comment { padding: 1rem 0; border-top: 1px solid var(--rule); font-size: 1rem; }
.comment .prose p { margin: 0.4rem 0; }
.comment-meta { margin: 0; }
.comment-meta strong { color: var(--text); }

.pager { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
.pager a { max-width: 48%; }

.sections { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; margin: 2rem 0 3rem; }
.section-card { display: block; padding: 1.25rem; background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; color: var(--text); text-decoration: none; }
.section-card:hover { border-color: var(--accent); }
.section-card h2 { font-size: 1.15rem; margin: 0 0 0.4rem; }
.section-card p { margin: 0 0 0.75rem; color: var(--muted); font-size: 0.95rem; }

.list-heading { font-size: 1.3rem; margin: 2.5rem 0 0.75rem; }
.post-list { list-style: none; padding: 0; margin: 0; }
.post-list li { padding: 0.5rem 0; border-bottom: 1px solid var(--rule); }
.post-list time { display: block; }
.post-list.cards li { padding: 1rem 0; }
.post-list.cards p { margin: 0.35rem 0 0; font-size: 0.95rem; color: var(--muted); }

.site-footer { padding-bottom: 3rem; font-family: var(--sans); font-size: 0.8rem; color: var(--muted); }

.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.album-card { display: flex; flex-direction: column; gap: 0.25rem; color: var(--text); text-decoration: none; }
.album-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; background: var(--rule); }
.album-card:hover .album-title { color: var(--accent); }
.album-title { font-family: var(--sans); font-size: 0.9rem; font-weight: 600; line-height: 1.3; }
figure.photo { margin: 2rem 0; }
figure.photo img { max-width: 100%; height: auto; display: block; margin: 0 auto; border-radius: 4px; }
figure.photo figcaption { margin-top: 0.6rem; font-size: 0.95rem; }
figure.photo .location { color: var(--muted); font-family: var(--sans); font-size: 0.85rem; }
figure.photo .prose p { margin: 0.3rem 0; }
.missing-img { display: inline-block; font: 0.8rem var(--sans); color: var(--muted); border: 1px dashed var(--rule); padding: 0.3rem 0.6rem; border-radius: 4px; }
figure.photo.small img { margin: 0; image-rendering: auto; }
