@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --forest: #1c2e1c;
  --forest-mid: #2d4a2d;
  --cream: #f5f0e8;
  --cream-dark: #ede5d5;
  --peat: #3d3028;
  --moss: #7a9e5f;
  --moss-light: #a8c48a;
  --amber: #c4793a;
  --text: #2a2018;
  --text-light: #6b5d4e;
  --white: #fdfbf8;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  font-weight: 300;
}

/* ─── NAV ─── */
nav {
  background: var(--forest);
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.nav-logo span {
  color: var(--moss-light);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--cream-dark);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--moss-light);
}

/* ─── HERO ─── */
.hero {
  background: var(--forest);
  color: var(--cream);
  padding: 5rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(122, 158, 95, 0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(196, 121, 58, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-tag {
  display: inline-block;
  background: rgba(122, 158, 95, 0.2);
  border: 1px solid rgba(168, 196, 138, 0.4);
  color: var(--moss-light);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  max-width: 680px;
  margin: 0 auto 1.5rem;
  letter-spacing: -0.01em;
}

.hero h1 em {
  font-style: italic;
  color: var(--moss-light);
}

.hero p {
  font-size: 1.1rem;
  color: rgba(245, 240, 232, 0.75);
  max-width: 520px;
  margin: 0 auto;
  font-weight: 300;
}

/* ─── MAIN GRID ─── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--cream-dark);
}

/* Featured article */
.featured-section {
  padding: 4rem 0 2rem;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--cream-dark);
  border: 1px solid var(--cream-dark);
}

.featured-main {
  background: var(--white);
  padding: 2.5rem;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 480px;
  position: relative;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
}

.featured-main:hover {
  background: #fdfaf5;
}

.featured-main .article-category {
  margin-bottom: auto;
}

.featured-main h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.25;
  margin: 1.5rem 0 1rem;
  font-weight: 600;
}

.featured-main p.excerpt {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.65;
}

.featured-side {
  background: var(--white);
  padding: 2rem 2.5rem;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
  display: block;
}

.featured-side:hover {
  background: #fdfaf5;
}

.featured-side h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  line-height: 1.3;
  margin: 0.75rem 0 0.6rem;
  font-weight: 600;
}

.featured-side p {
  color: var(--text-light);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* Article category tag */
.article-category {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--moss);
}

/* ─── ARTICLE GRID ─── */
.article-grid {
  padding: 3rem 0 5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.article-card {
  background: var(--white);
  padding: 1.75rem;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.2s, box-shadow 0.2s;
  border-bottom: 2px solid transparent;
}

.article-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(28, 46, 28, 0.08);
  border-bottom-color: var(--moss);
}

.article-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  line-height: 1.3;
  margin: 0.6rem 0 0.7rem;
  font-weight: 600;
}

.article-card p {
  color: var(--text-light);
  font-size: 0.875rem;
  line-height: 1.6;
}

.read-time {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 1.25rem;
  opacity: 0.7;
}

/* ─── NEWSLETTER BAR ─── */
.newsletter-bar {
  background: var(--forest);
  padding: 3.5rem 2rem;
  text-align: center;
  color: var(--cream);
}

.newsletter-bar h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.newsletter-bar p {
  color: rgba(245, 240, 232, 0.65);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.newsletter-form {
  display: flex;
  gap: 0;
  max-width: 420px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 0.85rem 1.25rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-right: none;
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  outline: none;
}

.newsletter-form input::placeholder {
  color: rgba(245, 240, 232, 0.45);
}

.newsletter-form button {
  padding: 0.85rem 1.5rem;
  background: var(--moss);
  border: none;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.2s;
}

.newsletter-form button:hover {
  background: var(--moss-light);
}

/* ─── FOOTER ─── */
footer {
  background: var(--peat);
  color: rgba(245, 240, 232, 0.6);
  padding: 2.5rem 2rem;
  text-align: center;
  font-size: 0.82rem;
}

footer a {
  color: rgba(245, 240, 232, 0.6);
  text-decoration: none;
}

footer .footer-logo {
  font-family: 'Playfair Display', serif;
  color: var(--cream);
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  display: block;
}

/* ─── ARTICLE PAGE ─── */
.article-hero {
  background: var(--forest);
  padding: 4rem 2rem 3rem;
  color: var(--cream);
}

.article-hero .breadcrumb {
  font-size: 0.78rem;
  color: rgba(245, 240, 232, 0.5);
  margin-bottom: 1.5rem;
}

.article-hero .breadcrumb a {
  color: rgba(245, 240, 232, 0.5);
  text-decoration: none;
}

.article-hero .breadcrumb a:hover {
  color: var(--moss-light);
}

.article-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  max-width: 760px;
  margin-bottom: 1.25rem;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.82rem;
  color: rgba(245, 240, 232, 0.55);
}

.article-meta span {
  color: var(--moss-light);
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 3.5rem 2rem 5rem;
}

.article-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.55rem;
  font-weight: 600;
  margin: 2.5rem 0 1rem;
  color: var(--forest);
  line-height: 1.3;
}

.article-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
  color: var(--forest-mid);
}

.article-body p {
  margin-bottom: 1.4rem;
  font-size: 1.025rem;
  line-height: 1.8;
  color: var(--text);
}

.article-body ul, .article-body ol {
  margin: 0 0 1.4rem 1.5rem;
}

.article-body li {
  margin-bottom: 0.5rem;
  font-size: 1.025rem;
  line-height: 1.7;
  color: var(--text);
}

.article-body strong {
  font-weight: 500;
  color: var(--forest);
}

.callout {
  background: var(--forest);
  color: var(--cream);
  padding: 1.75rem 2rem;
  margin: 2rem 0;
  border-left: 3px solid var(--moss-light);
}

.callout p {
  color: rgba(245, 240, 232, 0.85);
  margin: 0;
  font-size: 0.98rem;
  font-style: italic;
}

.key-facts {
  background: var(--cream-dark);
  border: 1px solid rgba(122, 158, 95, 0.3);
  padding: 1.75rem 2rem;
  margin: 2rem 0;
}

.key-facts h4 {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 1rem;
}

.key-facts ul {
  margin: 0;
  list-style: none;
  padding: 0;
}

.key-facts ul li {
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(122, 158, 95, 0.2);
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.key-facts ul li:last-child {
  border-bottom: none;
}

.key-facts ul li::before {
  content: '•';
  color: var(--moss);
  flex-shrink: 0;
}

/* ─── RELATED ARTICLES ─── */
.related-section {
  background: var(--cream-dark);
  padding: 3rem 2rem 4rem;
}

.related-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .featured-grid {
    grid-template-columns: 1fr;
  }
  .featured-main {
    min-height: 300px;
    grid-row: span 1;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  .newsletter-form {
    flex-direction: column;
  }
  .newsletter-form input {
    border-right: 1px solid rgba(255,255,255,0.2);
    border-bottom: none;
  }
}
