:root {
  color-scheme: light;
  --ink: #17231f;
  --muted: #65736d;
  --paper: #fbfaf7;
  --line: #e6e5df;
  --accent: #28634e;
  --accent-dark: #1d4b3b;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.65; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #d59d39; outline-offset: 4px; }
.container, .header-inner { width: min(100% - 2.5rem, 920px); margin-inline: auto; }
.skip-link { position: absolute; top: -5rem; left: 1rem; z-index: 2; padding: .6rem 1rem; background: white; }
.skip-link:focus { top: 1rem; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; text-decoration: none; letter-spacing: -.03em; }
nav { display: flex; gap: 1.5rem; }
nav a, .text-link, .back-link { color: var(--accent); font-weight: 650; text-decoration: none; }
nav a:hover, .text-link:hover, .back-link:hover { color: var(--accent-dark); text-decoration: underline; text-underline-offset: .2em; }
main.container { min-height: calc(100vh - 150px); }
.intro { padding: clamp(4rem, 10vw, 8rem) 0 5rem; max-width: 700px; }
.eyebrow { margin: 0 0 .7rem; color: var(--accent); font-size: .76rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; letter-spacing: -.035em; }
h1 { margin: 0; font-size: clamp(2.8rem, 8vw, 5rem); }
.intro-copy { max-width: 600px; margin: 1rem 0 1.7rem; color: var(--muted); font-size: 1.15rem; }
.button { display: inline-flex; align-items: center; gap: .75rem; padding: .8rem 1.1rem; border-radius: 4px; background: var(--accent); color: white; font-weight: 700; text-decoration: none; }
.button:hover { background: var(--accent-dark); }
.recent-posts { padding: 2rem 0 5rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.section-heading h2, .page-heading h1 { margin: 0; }
.section-heading h2 { font-size: 2rem; }
.post-list { border-top: 1px solid var(--line); }
.post-card { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.post-card time { color: var(--muted); font-size: .88rem; }
.post-card h2, .post-card h3 { margin: .25rem 0 .45rem; font-size: 1.65rem; }
.post-card h2 a, .post-card h3 a { text-decoration: none; }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--accent); }
.post-card p { margin: 0 0 .6rem; color: var(--muted); }
.page-heading { padding: 4.5rem 0 2.5rem; }
.page-heading h1 { font-size: clamp(2.7rem, 7vw, 4rem); }
.page-heading .intro-copy { margin-bottom: 0; }
.article { max-width: 720px; margin: 0 auto; padding: 3.5rem 0 6rem; }
.article-header { margin-bottom: 2.5rem; }
.back-link { display: inline-block; margin-bottom: 2.5rem; }
.article-header h1 { margin-top: .35rem; font-size: clamp(2.5rem, 7vw, 4.2rem); }
.article-content { font-family: var(--serif); font-size: 1.16rem; line-height: 1.85; }
.article-content > :first-child { margin-top: 0; }
.article-content h2, .article-content h3 { margin-top: 2rem; }
.article-content a { color: var(--accent); }
.article-content blockquote { margin-inline: 0; padding-left: 1.25rem; border-left: 3px solid var(--accent); color: var(--muted); }
.article-content img { max-width: 100%; height: auto; }
.site-footer { padding: 1.5rem 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
@media (max-width: 560px) {
  .container, .header-inner { width: min(100% - 1.5rem, 920px); }
  .header-inner { min-height: 68px; }
  nav { gap: 1rem; }
  .brand { font-size: 1.15rem; }
  .section-heading { align-items: start; }
}
