/* ─── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ─── Tokens ─────────────────────────────────────────────── */
:root {
  --bg:         #FAFAF8;
  --text:       #1A1A1A;
  --muted:      #888;
  --subtle:     #BBB;
  --accent:     #2A6049;
  --accent-dim: #D4E6DE;
  --border:     #E5E5E0;
  --max-width:  680px;
}

/* ─── Base ───────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover { text-decoration: underline; }

/* ─── Layout ─────────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

main { flex: 1; }

/* ─── Nav ────────────────────────────────────────────────── */
nav {
  padding: 32px 0 0;
  margin-bottom: 64px;
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.nav-brand {
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  letter-spacing: -0.01em;
  text-decoration: none;
}

.nav-brand:hover { color: var(--accent); text-decoration: none; }

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  font-size: 15px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links a.active { color: var(--text); }

/* ─── Footer ─────────────────────────────────────────────── */
footer {
  margin-top: 96px;
  padding: 32px 0 48px;
  border-top: 1px solid var(--border);
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--muted);
}

footer a { color: var(--muted); }
footer a:hover { color: var(--accent); text-decoration: none; }

/* ─── Home ───────────────────────────────────────────────── */
.home-header {
  margin-bottom: 72px;
}

.home-header h1 {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.home-header .tagline {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 520px;
}

.posts-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--subtle);
  margin-bottom: 24px;
}

.post-list {
  list-style: none;
}

.post-list li {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.post-list li:first-child {
  border-top: 1px solid var(--border);
}

.post-list .post-title {
  font-family: 'Lora', Georgia, serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.post-list .post-title a {
  color: var(--text);
  text-decoration: none;
}

.post-list .post-title a:hover {
  color: var(--accent);
}

.post-list .post-excerpt {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 10px;
}

.post-list .post-meta {
  font-size: 13px;
  color: var(--muted);
}

/* ─── Post ───────────────────────────────────────────────── */
.post-header {
  margin-bottom: 48px;
}

.post-header .post-meta {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.post-header h1 {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.post-body .lede {
  font-size: 20px;
  line-height: 1.65;
  color: #333;
  border-left: 3px solid var(--accent);
  padding-left: 20px;
  margin-bottom: 40px;
}

.post-body h2 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 48px 0 14px;
}

.post-body p {
  margin-bottom: 22px;
  color: #222;
}

.post-body p:last-of-type { margin-bottom: 0; }

.post-body strong { font-weight: 600; }

.post-body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 44px 0;
}

.author-bio {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 15px;
  color: var(--muted);
  font-style: italic;
}

/* ─── About ──────────────────────────────────────────────── */
.about-header {
  margin-bottom: 48px;
}

.about-header h1 {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.about-header .role {
  font-size: 16px;
  color: var(--muted);
}

.about-body p {
  margin-bottom: 22px;
  color: #222;
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 600px) {
  .container { padding: 0 20px; }
  nav { margin-bottom: 48px; }
  .nav-links { display: none; }
  footer .container { flex-direction: column; gap: 8px; text-align: center; }
}
