:root {
  --bg: #f5f0e6;
  --bg-soft: #ebe3d2;
  --fg: #2a2520;
  --muted: #6b6053;
  --accent: #1c4a7f;
  --accent-soft: #2e6cb0;
  --terra: #b3623a;
  --rule: #d4c8a8;
  --card: #ffffff;
  --serif: "Spectral", "Georgia", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --max-width: 760px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--serif); font-size: 19px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.25rem; }
.site-header { border-bottom: 1px solid var(--rule); background: var(--bg); padding: 1.1rem 0; margin-bottom: 2.5rem; }
.header-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.site-title { font-family: var(--serif); font-size: 1.55rem; font-weight: 700; color: var(--accent); text-decoration: none; letter-spacing: 0.005em; }
.site-nav { display: flex; flex-wrap: wrap; gap: 1.1rem; font-family: var(--sans); font-size: 0.92rem; }
.site-nav a { color: var(--fg); text-decoration: none; border-bottom: 1px solid transparent; padding-bottom: 2px; }
.site-nav a:hover, .site-nav a.active { color: var(--accent); border-bottom-color: var(--accent); }
main.container { padding-bottom: 3rem; min-height: 60vh; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.25; color: var(--fg); font-weight: 700; }
h1 { font-size: 2.15rem; margin: 0.2em 0 0.4em; }
h2 { font-size: 1.5rem; margin: 1.8em 0 0.5em; color: var(--accent); }
h3 { font-size: 1.2rem; margin: 1.4em 0 0.4em; color: var(--accent-soft); }
p, ul, ol { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.4em; }
blockquote { border-left: 3px solid var(--terra); padding: 0.4em 1.2em; margin: 1.4em 0; color: var(--muted); font-style: italic; background: var(--bg-soft); border-radius: 0 4px 4px 0; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 2em 0; }
a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent-soft); }
strong { color: var(--fg); font-weight: 700; }
.home-hero { padding: 1.2rem 0 2rem; border-bottom: 1px solid var(--rule); margin-bottom: 2rem; }
.home-hero h1 { font-size: 2.8rem; margin-bottom: 0.15em; color: var(--accent); }
.home-hero .lede { font-size: 1.15rem; color: var(--muted); max-width: 58ch; }
.home-sections { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; margin: 2rem 0 3rem; }
.section-card { background: var(--card); border: 1px solid var(--rule); padding: 1.3rem 1.5rem; border-radius: 4px; }
.section-card h2 { margin-top: 0; font-size: 1.25rem; color: var(--accent); }
.section-card h2 a { color: var(--accent); text-decoration: none; }
.section-card p { margin-bottom: 0; color: var(--muted); font-size: 0.97rem; }
.home-recent h2 { font-size: 1.4rem; border-top: 1px solid var(--rule); padding-top: 2rem; margin-top: 1rem; color: var(--accent); }
.post-list { list-style: none; padding: 0; margin: 0; }
.post-item { border-bottom: 1px solid var(--rule); padding: 1.2rem 0; }
.post-item:last-child { border-bottom: 0; }
.post-link { display: block; text-decoration: none; color: inherit; }
.post-item-title { margin: 0 0 0.3em; color: var(--accent); font-size: 1.25rem; }
.post-item-summary { color: var(--muted); margin: 0 0 0.4em; font-size: 1rem; }
.post-item-meta { font-family: var(--sans); font-size: 0.85rem; color: var(--muted); }
.post-header { border-bottom: 1px solid var(--rule); padding-bottom: 1rem; margin-bottom: 1.5rem; }
.post-title { color: var(--accent); margin-bottom: 0.3em; }
.post-meta { font-family: var(--sans); font-size: 0.88rem; color: var(--muted); }
.post-meta .dot { margin: 0 0.4em; opacity: 0.6; }
.post-content { font-size: 1.05rem; }
.section-list .section-header { margin-bottom: 1.5rem; padding-bottom: 0.8rem; border-bottom: 1px solid var(--rule); }
.section-list .section-header h1 { color: var(--accent); }
.section-intro { color: var(--muted); font-style: italic; }
.not-found { text-align: center; padding: 3rem 0; }
.site-footer { border-top: 1px solid var(--rule); margin-top: 4rem; padding: 1.5rem 0 2rem; font-family: var(--sans); font-size: 0.85rem; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-nav { display: flex; gap: 1rem; }
.footer-nav a { color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: var(--accent); }
@media (max-width: 560px) { body { font-size: 17px; } h1 { font-size: 1.75rem; } .home-hero h1 { font-size: 2.2rem; } }
