:root {
  --forest: #1E3A2A;
  --forest-deep: #172E21;
  --leaf: #2E5F38;
  --lime: #E6FA5C;
  --green: #3EBD54;
  --cream: #F2F1EC;
  --paper: #FBFAF6;
  --ink-soft: rgba(30, 58, 42, 0.72);
  --ink-faint: rgba(30, 58, 42, 0.45);
  --rule: rgba(30, 58, 42, 0.10);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--cream);
  color: var(--forest);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1060px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 720px; margin: 0 auto; padding: 0 24px; }

/* ---- Site header (shared nav) ---- */
.site-nav {
  background: var(--forest);
  color: #fff;
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 40;
}
.site-nav .row { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.site-nav .brand {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-nav .brand .leaf { color: var(--lime); }
.site-nav .navlinks { display: flex; gap: 22px; align-items: center; font-size: 14.5px; }
.site-nav .navlinks a { color: rgba(255,255,255,0.85); text-decoration: none; font-weight: 500; }
.site-nav .navlinks a:hover { color: var(--lime); }
@media (max-width: 640px) { .site-nav .navlinks a.hide-sm { display: none; } }

/* ---- Hero (homepage) ---- */
.hero-home {
  background: var(--forest);
  color: #fff;
  padding: 80px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero-home::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(600px at 12% 20%, rgba(230,250,92,0.10), transparent 60%);
  pointer-events: none;
}
.hero-home h1 {
  font-size: clamp(38px, 6.5vw, 62px);
  line-height: 1.06;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--lime);
  max-width: 720px;
  position: relative;
}
.hero-home p.sub {
  margin-top: 22px;
  font-size: clamp(17px, 1.6vw, 20px);
  color: rgba(255,255,255,0.78);
  max-width: 560px;
  position: relative;
}
.eyebrow-white {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 20px;
  display: inline-block;
  position: relative;
}

/* ---- Article grid (homepage) ---- */
.section-title-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 72px; padding-bottom: 32px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 40px;
}
.section-title-row h2 {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 600; letter-spacing: -0.01em;
}
.section-title-row .count {
  font-size: 13px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.14em;
}
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  padding-bottom: 80px;
}
.article-card {
  background: var(--paper);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--rule);
  transition: transform 200ms ease, box-shadow 200ms ease;
  display: flex; flex-direction: column;
}
.article-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(30,58,42,0.10); }
.article-card a { text-decoration: none; color: inherit; display: block; flex: 1; }
.article-card .thumb {
  aspect-ratio: 16/10;
  background: var(--forest);
  background-size: cover; background-position: center;
  border-bottom: 1px solid var(--rule);
}
.article-card .body { padding: 22px 22px 24px; }
.article-card .category {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--leaf); margin-bottom: 10px;
}
.article-card h3 {
  font-size: 20px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25;
  margin-bottom: 10px; color: var(--forest);
}
.article-card .excerpt {
  font-size: 14.5px; color: var(--ink-soft); line-height: 1.55;
}
.article-card .meta {
  margin-top: 16px; font-size: 12.5px; color: var(--ink-faint);
  display: flex; gap: 10px; align-items: center;
}

/* ---- Featured card (bigger, top of homepage) ---- */
.featured-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: var(--paper);
  border-radius: 20px; overflow: hidden;
  border: 1px solid var(--rule);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.featured-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(30,58,42,0.10); }
.featured-card a { text-decoration: none; color: inherit; display: contents; }
.featured-card .thumb {
  min-height: 260px;
  background: var(--forest);
  background-size: cover; background-position: center;
}
.featured-card .body { padding: 32px 32px 36px; }
.featured-card .category { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--leaf); margin-bottom: 12px; }
.featured-card h2 {
  font-size: clamp(24px, 3.2vw, 34px); line-height: 1.15;
  font-weight: 600; letter-spacing: -0.02em; margin-bottom: 14px;
}
.featured-card .excerpt { font-size: 16px; color: var(--ink-soft); line-height: 1.6; max-width: 560px; }
.featured-card .meta { margin-top: 20px; font-size: 13px; color: var(--ink-faint); }
@media (min-width: 800px) { .featured-card { grid-template-columns: 1.15fr 1fr; } }

/* ---- Article page ---- */
.article-hero {
  padding: 64px 0 32px;
}
.article-hero .kicker {
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--leaf); margin-bottom: 20px;
}
.article-hero h1 {
  font-size: clamp(32px, 4.6vw, 48px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--forest);
  max-width: 780px;
}
.article-hero .sub {
  margin-top: 22px;
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--ink-soft);
  max-width: 640px;
  line-height: 1.55;
}
.article-hero .byline {
  margin-top: 28px;
  font-size: 13px;
  color: var(--ink-faint);
  display: flex; gap: 14px; align-items: center;
  padding-top: 20px; border-top: 1px solid var(--rule);
}
.article-cover {
  margin: 20px 0 40px;
  border-radius: 16px;
  overflow: hidden;
}
.article-body {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(30, 58, 42, 0.88);
  padding-bottom: 40px;
}
.article-body p { margin-bottom: 24px; }
.article-body p:last-child { margin-bottom: 0; }
.article-body h2 {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 600; letter-spacing: -0.015em;
  margin: 44px 0 16px;
  color: var(--forest);
}
.article-body h3 {
  font-size: 20px; font-weight: 600; letter-spacing: -0.01em;
  margin: 32px 0 12px;
}
.article-body ul, .article-body ol { margin: 0 0 24px 20px; }
.article-body li { margin-bottom: 8px; }
.article-body a {
  color: var(--leaf);
  text-decoration: underline; text-underline-offset: 3px;
  font-weight: 500;
}
.article-body a:hover { color: var(--forest); }
.article-body strong { color: var(--forest); font-weight: 600; }
.article-body blockquote {
  border-left: 3px solid var(--lime);
  padding: 8px 20px;
  margin: 28px 0;
  font-style: italic;
  color: var(--ink-soft);
}
.article-body img {
  border-radius: 12px;
  margin: 28px 0;
}
.article-body figcaption {
  font-size: 13px; color: var(--ink-faint); text-align: center; margin-top: 8px;
}

/* ---- Inline callout / CTA card in articles ---- */
.callout {
  background: #fff;
  border: 1px solid var(--rule);
  border-left: 4px solid var(--lime);
  border-radius: 14px;
  padding: 24px 26px;
  margin: 32px 0;
}
.callout .tag {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--leaf); margin-bottom: 8px;
}
.callout h4 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; color: var(--forest); }
.callout p { font-size: 15px; color: var(--ink-soft); margin-bottom: 14px; }
.callout .btn {
  display: inline-block;
  background: var(--forest);
  color: #fff !important;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px; font-weight: 600;
  text-decoration: none !important;
  transition: transform 150ms ease, box-shadow 150ms ease;
}
.callout .btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(30,58,42,0.20); }
.callout.big {
  background: var(--forest);
  border: none;
  color: #fff;
  padding: 32px;
  text-align: center;
}
.callout.big .tag { color: var(--lime); }
.callout.big h4 { color: var(--lime); font-size: 22px; }
.callout.big p { color: rgba(255,255,255,0.78); font-size: 16px; }
.callout.big .btn { background: var(--lime); color: var(--forest) !important; }

/* ---- Article footer / disclosure ---- */
.article-tail {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
  font-size: 13.5px;
  color: var(--ink-faint);
  line-height: 1.6;
}
.article-tail strong { color: var(--forest); font-weight: 600; }
.back-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 13px;
  color: var(--leaf);
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.back-link:hover { color: var(--forest); }

/* ---- Global footer ---- */
footer.site-footer {
  background: var(--forest-deep);
  color: rgba(255,255,255,0.55);
  padding: 48px 24px 40px;
  font-size: 13px;
  line-height: 1.6;
}
footer.site-footer .wrap { text-align: center; max-width: 720px; }
footer.site-footer .brand-line {
  color: #fff; font-weight: 600; font-size: 15px; margin-bottom: 12px;
  display: flex; justify-content: center; align-items: center; gap: 8px;
}
footer.site-footer .brand-line .leaf { color: var(--lime); }
footer.site-footer .links {
  margin: 20px 0 24px;
  display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;
}
footer.site-footer .links a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 13px;
}
footer.site-footer .links a:hover { color: var(--lime); }
footer.site-footer .fine { font-size: 12px; color: rgba(255,255,255,0.40); }
