@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,700;1,8..60,400&family=Inter:wght@400;500;600&display=swap');

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

:root {
  --bg: #f5f3ed;
  --bg-card: #ffffff;
  --text: #2a2a28;
  --text-muted: #6b6860;
  --accent: #4a7c59;
  --accent-hover: #3b6347;
  --honey: #c8a95e;
  --honey-light: #f5ecd4;
  --border: #e0ddd5;
  --radius: 6px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  color: var(--accent-hover);
}

/* ── Header ── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Source Serif 4', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--accent);
}

.logo-sub {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-left: 12px;
}

nav {
  display: flex;
  gap: 24px;
}

nav a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
}

nav a:hover {
  color: var(--text);
}

/* ── Featured ── */

.featured {
  max-width: 820px;
  margin: 48px auto 0;
  padding: 0 24px;
}

.featured-card {
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}

.featured-card::after {
  content: '';
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 200px;
  height: 200px;
  border: 40px solid rgba(255,255,255,0.06);
  border-radius: 50%;
}

.featured-card .tag {
  background: rgba(255,255,255,0.2);
  color: #fff;
  border: none;
}

.featured-card h2 {
  font-family: 'Source Serif 4', serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  margin: 16px 0 12px;
}

.featured-card h2 a {
  color: #fff;
}

.featured-card .excerpt {
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  line-height: 1.6;
  max-width: 560px;
}

.featured-card .meta {
  color: rgba(255,255,255,0.6);
}

/* ── Cards grid ── */

.cards {
  max-width: 820px;
  margin: 32px auto 64px;
  padding: 0 24px;
  display: grid;
  gap: 20px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  transition: border-color 0.15s;
}

.card:hover {
  border-color: var(--accent);
}

.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 3px;
  padding: 3px 8px;
}

.card h2 {
  font-family: 'Source Serif 4', serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  margin: 14px 0 10px;
}

.card h2 a {
  color: var(--text);
}

.card h2 a:hover {
  color: var(--accent);
}

.excerpt {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

.meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 14px;
}

/* ── Article ── */

.article {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.back-link {
  font-size: 14px;
  color: var(--text-muted);
  display: inline-block;
  margin-bottom: 32px;
}

.back-link:hover {
  color: var(--accent);
}

.article-header {
  margin-bottom: 40px;
}

.article-header h1 {
  font-family: 'Source Serif 4', serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.25;
  margin: 16px 0 8px;
}

.article-body h2 {
  font-family: 'Source Serif 4', serif;
  font-size: 22px;
  font-weight: 700;
  margin: 40px 0 16px;
  color: var(--text);
}

.article-body p {
  margin-bottom: 18px;
  font-size: 16.5px;
  line-height: 1.75;
}

.article-body ul, .article-body ol {
  margin: 0 0 18px 24px;
  font-size: 16.5px;
  line-height: 1.75;
}

.article-body li {
  margin-bottom: 6px;
}

blockquote {
  border-left: 3px solid var(--honey);
  padding: 2px 0 2px 20px;
  margin: 28px 0;
  font-family: 'Source Serif 4', serif;
  font-style: italic;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-muted);
}

.callout {
  background: var(--honey-light);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 28px 0;
}

.callout-title {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--honey);
  margin-bottom: 8px;
}

.callout p {
  margin-bottom: 0;
}

.figure {
  margin: 32px 0;
  text-align: center;
}

.figure-caption {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
  font-style: italic;
}

/* ── Footer ── */

.site-footer {
  max-width: 820px;
  margin: 0 auto;
  padding: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

/* ── Responsive ── */

@media (max-width: 600px) {
  .featured-card {
    padding: 32px 24px;
  }

  .featured-card h2 {
    font-size: 22px;
  }

  .card {
    padding: 22px 20px;
  }

  .article-header h1 {
    font-size: 26px;
  }

  .logo-sub {
    display: none;
  }
}
