:root {
  --ink: #1d1d1b;
  --muted: #6b6a66;
  --paper: #fbfaf6;
  --rule: #e4e1d8;
  --accent: #26466e;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --ink: #e8e6e1; --muted: #9a978f; --paper: #16171a; --rule: #2c2d31; --accent: #9cb8e0; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Charter, "Bitstream Charter", "Iowan Old Style", "Source Serif Pro", Georgia, serif;
  font-size: 1.1875rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
header.site, main, footer.site { max-width: 40rem; margin: 0 auto; padding: 0 1.25rem; }
header.site { padding-top: 1.5rem; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 0.95rem; }
header.site a { color: var(--ink); text-decoration: none; font-weight: 600; letter-spacing: 0.01em; }
main { padding-top: 2.5rem; padding-bottom: 3rem; }
h1 { font-size: 2.3rem; line-height: 1.18; font-weight: 700; margin: 0 0 0.6rem; letter-spacing: -0.01em; }
h2 { font-size: 1.35rem; line-height: 1.3; margin: 2.6rem 0 0.8rem; }
p { margin: 0 0 1.15rem; }
a { color: var(--accent); text-underline-offset: 0.15em; }
blockquote {
  margin: 1.6rem 0; padding: 0 0 0 1.1rem;
  border-left: 3px solid var(--rule); color: var(--muted); font-style: italic;
}
.byline, .date, .first-published, footer.site {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 0.9rem; color: var(--muted);
}
.byline { margin-bottom: 1.8rem; }
img.cover { display: block; width: 100%; height: auto; border-radius: 4px; margin: 0 0 2.2rem; }
@media (min-width: 52rem) {
  img.cover { width: calc(100% + 8rem); max-width: none; margin-left: -4rem; }
}
.first-published { margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
ul.essays { list-style: none; padding: 0; margin: 1.5rem 0 0; }
ul.essays li { padding: 1.1rem 0; border-top: 1px solid var(--rule); }
ul.essays li a { font-size: 1.3rem; font-weight: 600; text-decoration: none; color: var(--ink); }
ul.essays li .date { display: block; margin-top: 0.2rem; }
ul.essays li p { margin: 0.4rem 0 0; color: var(--muted); }
footer.site { padding-bottom: 2.5rem; border-top: 1px solid var(--rule); padding-top: 1rem; }
footer.site a { color: var(--muted); }
@media (max-width: 30rem) { body { font-size: 1.0625rem; } h1 { font-size: 1.85rem; } }
