/* ============================================
   SHARED DESIGN TOKENS & GLOBAL STYLES
   ============================================ */
:root {
  --forest: #2C5F2D;
  --forest-dark: #1F4421;
  --forest-light: #3B7D3C;
  --cream: #F5F5F5;
  --cream-warm: #FAF9F4;
  --charcoal: #36454F;
  --charcoal-light: #5A6B78;
  --muted: #8A8A8A;
  --border: #E2E2E2;
  --white: #FFFFFF;
  --accent-moss: #97BC62;
  --red-x: #C04040;
  --font-display: Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Calibri, 'Helvetica Neue', Arial, sans-serif;
  --max-width: 1160px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 8vw, 6.5rem);
  --nav-h: 68px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; color: var(--charcoal); margin: 0; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); line-height: 1.06; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); line-height: 1.15; }
h3 { font-size: 1.35rem; line-height: 1.25; }
p { margin: 0 0 1rem 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 0.85rem;
  display: block;
}
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: var(--section-y) 0; }
.section-header { max-width: 740px; margin-bottom: 3.5rem; }
.section-header .lead { font-size: 1.15rem; color: var(--charcoal-light); margin-top: 0.85rem; line-height: 1.55; }

/* ============================================ NAV ============================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(245,245,245,0.9);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}
.nav.scrolled { border-bottom-color: var(--border); background: rgba(245,245,245,0.97); }
.nav-inner {
  max-width: var(--max-width); margin: 0 auto;
  padding: 0 var(--gutter);
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand {
  display: flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 700;
  color: var(--forest);
  text-decoration: none;
}
.nav-leaf {
  width: 22px; height: 22px; flex-shrink: 0;
}
.nav-links { display: flex; align-items: center; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-size: 0.9rem; font-weight: 500;
  color: var(--charcoal);
  padding: 0.45rem 0.85rem;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--forest); background: rgba(44,95,45,0.07); }
.nav-links a.active { color: var(--forest); font-weight: 600; }
.nav-cta {
  background: var(--forest) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.1rem !important;
  border-radius: 4px;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  transition: background 0.15s !important;
}
.nav-cta:hover { background: var(--forest-dark) !important; }
.nav-cta.active { background: var(--forest-dark) !important; }
@media (max-width: 760px) { .nav-links li:not(:last-child):not(:nth-last-child(2)) { display: none; } }

/* ============================================ FOOTER ============================================ */
footer {
  background: var(--forest-dark);
  color: rgba(255,255,255,0.7);
  padding: 3.5rem 0 2rem;
  font-size: 0.85rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--white); margin-bottom: 0.6rem; display: flex; align-items: center; gap: 0.5rem; }
.footer-leaf { width: 18px; height: 18px; }
.footer-tagline { color: rgba(255,255,255,0.55); font-style: italic; line-height: 1.5; max-width: 300px; }
footer h4 { color: var(--white); font-family: var(--font-body); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 1rem; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 0.55rem; }
footer a { color: rgba(255,255,255,0.65); transition: color 0.15s; }
footer a:hover { color: var(--white); }
.footer-legal {
  padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: 0.78rem; color: rgba(255,255,255,0.4);
}

/* ============================================ BUTTONS ============================================ */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.9rem 1.75rem;
  border-radius: 4px;
  font-size: 0.95rem; font-weight: 600;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  cursor: pointer; border: none;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,0.12); }
.btn-primary { background: var(--forest); color: var(--white); }
.btn-primary:hover { background: var(--forest-dark); }
.btn-white { background: var(--white); color: var(--forest); }
.btn-white:hover { background: var(--cream); }
.btn .arrow { transition: transform 0.15s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ============================================ CARDS ============================================ */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.75rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(44,95,45,0.08); }
.card-accent { border-left: 3px solid var(--forest); }

/* ============================================ HERO (dark) ============================================ */
.hero-dark {
  background: var(--forest);
  color: var(--white);
  padding: calc(var(--nav-h) + 5rem) 0 5rem;
  position: relative; overflow: hidden;
}
.hero-dark::before {
  content: '';
  position: absolute; top: 50%; right: -100px;
  transform: translateY(-50%);
  width: 500px; height: 500px; border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(255,255,255,0.04), 0 0 0 120px rgba(255,255,255,0.025), 0 0 0 200px rgba(255,255,255,0.012);
  pointer-events: none;
}
.hero-dark h1 { color: var(--white); }
.hero-dark .eyebrow { color: rgba(255,255,255,0.65); }
.hero-dark .lead { font-size: 1.2rem; color: rgba(255,255,255,0.8); max-width: 620px; margin-top: 1.5rem; line-height: 1.5; }

/* ============================================ PAGE HERO (light, internal pages) ============================================ */
.hero-light {
  background: var(--white);
  padding: calc(var(--nav-h) + 3rem) 0 3rem;
  border-bottom: 1px solid var(--border);
}
.hero-light .eyebrow { color: var(--forest); }

/* ============================================ STATS BAR ============================================ */
.stats-bar { background: var(--forest); color: var(--white); padding: 4rem 0; }
.stats-bar .eyebrow { color: var(--accent-moss); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2rem; margin-top: 3rem; }
.stat { border-left: 2px solid rgba(255,255,255,0.2); padding-left: 1.5rem; }
.stat-num { font-family: var(--font-display); font-size: clamp(2.75rem, 4.5vw, 3.75rem); font-weight: 700; line-height: 1; color: var(--white); margin-bottom: 0.4rem; }
.stat-label { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 0.2rem; }
.stat-desc { font-size: 0.82rem; color: rgba(255,255,255,0.6); line-height: 1.4; }

/* ============================================ CTA SECTION ============================================ */
.cta-section { background: var(--forest); color: var(--white); text-align: center; padding: calc(var(--section-y) + 1rem) 0; }
.cta-section h2 { color: var(--white); font-size: clamp(2.2rem, 4.5vw, 3.5rem); margin-bottom: 1.25rem; }
.cta-sub { font-size: 1.15rem; color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto 2.5rem; line-height: 1.5; }
.cta-note { margin-top: 1.25rem; font-size: 0.88rem; color: rgba(255,255,255,0.55); font-style: italic; }

/* ============================================ FADE-IN ============================================ */
.fade-in { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
.fade-in.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .fade-in { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Shared page padding-top for fixed nav */
.page-body { padding-top: var(--nav-h); }
