:root { color-scheme: light; --paper: #f7f5f0; --ink: #252c26; --muted: #4f594e; --accent: #8f381f; --line: #d9dcd1; }
* { box-sizing: border-box; }
body { margin: 0 auto; max-width: 1160px; padding: 0 6vw; background: var(--paper); color: var(--ink); font-family: system-ui, sans-serif; line-height: 1.65; }
a { color: inherit; text-underline-offset: .28em; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }
.skip-link { position: absolute; top: -100px; padding: .5rem; background: var(--paper); }
.skip-link:focus { top: 0; }
.site-header { display: flex; justify-content: space-between; align-items: center; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.wordmark { font: bold 2.3rem Georgia, serif; text-decoration: none; letter-spacing: -.08em; }
.wordmark span, .accent { color: var(--accent); }
nav { display: flex; gap: 2rem; font-size: .9rem; }
nav a { text-decoration: none; }
.intro { padding: 5rem 0 4.5rem; max-width: 800px; }
.intro.compact { padding-bottom: 2rem; }
.eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; font-weight: 650; }
h1, h2, h3 { font-family: Georgia, serif; font-weight: 400; line-height: 1.12; }
h1 { font-size: clamp(3rem, 7vw, 5.7rem); letter-spacing: -.055em; margin: 1.4rem 0; }
h1 em { color: var(--muted); }
.lede { max-width: 570px; font-size: 1.17rem; color: var(--muted); }
.text-link { display: inline-block; margin-top: 1rem; font-size: .9rem; font-weight: 600; }
.text-link span { margin-left: .8rem; color: var(--accent); }
.section-heading { border-top: 1px solid var(--line); display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-top: 1rem; }
.section-heading h2 { font-size: 1.8rem; }
.section-heading span { color: var(--muted); font-size: .8rem; }
.empty-state { padding: 2rem 0 3rem; max-width: 620px; }
.empty-state h2, .empty-state h3 { font-size: 1.7rem; }
.empty-state p, .prose p { color: var(--muted); }
.site-footer { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); padding: 1.5rem 0 2rem; margin-top: 3rem; font-size: .95rem; color: var(--muted); }
.archive-filter { display: flex; gap: 1rem; flex-wrap: wrap; align-items: end; }
.archive-filter label { display: grid; gap: .3rem; font-size: .85rem; }
input, select, button { font: inherit; padding: .55rem; border: 1px solid var(--line); background: transparent; color: var(--ink); border-radius: .2rem; max-width: 100%; }
button { cursor: pointer; background: var(--ink); color: var(--paper); }
.archive-list { list-style: none; padding: 0; max-width: 760px; }
.archive-list li { padding: 1.5rem 0; border-top: 1px solid var(--line); }
.archive-list h2 { font-size: 1.8rem; margin: .4rem 0; }
.archive-list p { color: var(--muted); margin-bottom: 0; }
.archive-list time, .archive-count, .article-meta, .article-terms { color: var(--muted); font-size: .95rem; }
.archive-pagination { flex-wrap: wrap; justify-content: space-between; max-width: 760px; }
.archived-article { max-width: 780px; margin: 0 auto; }
.archived-article h1 { font-size: clamp(2.4rem, 6vw, 4rem); overflow-wrap: anywhere; }
.article-body { font-family: Georgia, serif; font-size: 1.15rem; line-height: 1.85; white-space: pre-line; overflow-wrap: anywhere; }
.article-body p, .article-body div { margin: 0 0 1rem; }
.article-body img, .featured-image { max-width: 100%; height: auto; }
.article-body pre { white-space: pre-wrap; background: #eae8e0; padding: 1rem; }
.article-body table { display: block; max-width: 100%; overflow-x: auto; white-space: normal; }
.article-body blockquote { border-left: 3px solid var(--accent); margin-left: 0; padding-left: 1.2rem; }
.article-body h2 { font-size: 1.9rem; } .article-body h3 { font-size: 1.6rem; }
.article-body figcaption, .missing-media, .historical-notice { color: var(--muted); font: .9rem/1.6 system-ui, sans-serif; }
.missing-media { display: inline-block; border: 1px dashed var(--line); padding: .6rem; }
.historical-pages { border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 3rem; }
.archived-article > footer { margin-top: 2rem; }
.term-links { display: flex; flex-wrap: wrap; gap: .35rem 1rem; list-style: none; padding: 0; color: var(--muted); font-size: .95rem; }
.reading-navigation { display: flex; flex-wrap: wrap; gap: 1.5rem; padding: 1rem 0; border-top: 1px solid var(--line); margin-bottom: 1rem; }
.reading-navigation a { flex: 1 1 250px; font-size: 1rem; }
.reading-navigation span { display: block; color: var(--muted); font-size: .9rem; margin-bottom: .25rem; }
.topic-index { columns: 2 250px; padding-left: 1.2rem; }
.topic-index li { break-inside: avoid; margin-bottom: .5rem; }
.topic-index span { color: var(--muted); font-size: .95rem; }
@media (max-width: 540px) { body { padding: 0 1.4rem; } .intro { padding-top: 3rem; } nav { gap: 1.2rem; } .site-footer { flex-wrap: wrap; } }
