@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;900&display=swap');

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

:root {
  --near-black: #0e0f0c;
  --wise-green: #9fe870;
  --dark-green: #163300;
  --light-mint: #e2f6d5;
  --pastel-green: #cdffad;
  --warm-dark: #454745;
  --gray: #868685;
  --light-surface: #e8ebe6;
  --white: #ffffff;
  --ring: rgba(14,15,12,0.12);
  --nav-hover: rgba(211,242,192,0.4);
  --btn-secondary-bg: rgba(22,51,0,0.08);
}

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

body {
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  font-feature-settings: "calt";
  background: var(--white);
  color: var(--near-black);
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.44;
  letter-spacing: 0.18px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--ring);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-weight: 900;
  font-size: 1.5rem;
  line-height: 0.85;
  color: var(--near-black);
  font-feature-settings: "calt";
  letter-spacing: -0.5px;
}
.logo span { color: var(--dark-green); }

/* ── NAV ── */
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: 9999px;
  color: var(--near-black);
  font-feature-settings: "calt";
  transition: background 0.18s;
}
.site-nav a:hover { background: var(--nav-hover); }
.site-nav a.active { background: var(--light-mint); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--wise-green);
  color: var(--dark-green);
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 20px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  font-feature-settings: "calt";
  letter-spacing: -0.108px;
  transition: transform 0.15s;
  text-decoration: none;
}
.btn-primary:hover { transform: scale(1.05); }
.btn-primary:active { transform: scale(0.95); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: var(--btn-secondary-bg);
  color: var(--near-black);
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 16px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  font-feature-settings: "calt";
  transition: transform 0.15s;
  text-decoration: none;
}
.btn-secondary:hover { transform: scale(1.05); }
.btn-secondary:active { transform: scale(0.95); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--near-black); border-radius: 2px; transition: all 0.2s; }

/* ── HERO ── */
.hero {
  background: var(--white);
  padding: 80px 0 64px;
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--light-mint);
  color: var(--dark-green);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 4px 14px;
  border-radius: 9999px;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  font-weight: 900;
  font-size: 4rem;
  line-height: 0.95;
  letter-spacing: -2px;
  font-feature-settings: "calt";
  color: var(--near-black);
  margin-bottom: 24px;
}
.hero p {
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--warm-dark);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 480px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-image {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--ring) 0px 0px 0px 1px;
  aspect-ratio: 4/3;
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }

/* ── SECTION TITLES ── */
.section-label {
  display: inline-block;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--dark-green);
  background: var(--light-mint);
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 16px;
}
.section-title {
  font-weight: 900;
  font-size: 2.5rem;
  line-height: 0.95;
  letter-spacing: -1.5px;
  font-feature-settings: "calt";
  color: var(--near-black);
  margin-bottom: 12px;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--warm-dark);
  max-width: 560px;
  line-height: 1.55;
  margin-bottom: 40px;
}

/* ── ARTICLES GRID ── */
.articles-section { padding: 72px 0; background: var(--white); }
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.article-card {
  border-radius: 30px;
  border: 1px solid var(--ring);
  overflow: hidden;
  background: var(--white);
  transition: transform 0.18s, box-shadow 0.18s;
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(14,15,12,0.10);
}
.article-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.article-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.article-card:hover .article-card-img img { transform: scale(1.04); }
.article-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.article-tag {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--dark-green);
  background: var(--light-mint);
  padding: 3px 10px;
  border-radius: 9999px;
  display: inline-block;
  margin-bottom: 12px;
}
.article-card h3 {
  font-weight: 900;
  font-size: 1.25rem;
  line-height: 1.1;
  letter-spacing: -0.5px;
  font-feature-settings: "calt";
  color: var(--near-black);
  margin-bottom: 10px;
}
.article-card p {
  font-size: 0.95rem;
  color: var(--warm-dark);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 16px;
}
.article-card-meta {
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 16px;
}
.article-card a.read-more {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark-green);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 16px;
  background: var(--light-mint);
  border-radius: 9999px;
  transition: transform 0.15s, background 0.15s;
  align-self: flex-start;
}
.article-card a.read-more:hover { transform: scale(1.05); background: var(--pastel-green); }

/* ── INFO BANDS ── */
.info-band {
  background: var(--near-black);
  padding: 72px 0;
}
.info-band-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.info-band h2 {
  font-weight: 900;
  font-size: 2.5rem;
  line-height: 0.95;
  letter-spacing: -1.5px;
  font-feature-settings: "calt";
  color: var(--wise-green);
  margin-bottom: 20px;
}
.info-band p { color: var(--light-surface); font-size: 1.05rem; line-height: 1.6; margin-bottom: 16px; }
.info-band-img { border-radius: 30px; overflow: hidden; }
.info-band-img img { width: 100%; height: 100%; object-fit: cover; }

/* ── STATS ── */
.stats-section { padding: 72px 0; background: var(--light-mint); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-item { text-align: center; padding: 32px 16px; background: var(--white); border-radius: 30px; border: 1px solid var(--ring); }
.stat-number {
  font-weight: 900;
  font-size: 2.5rem;
  line-height: 0.85;
  letter-spacing: -2px;
  font-feature-settings: "calt";
  color: var(--dark-green);
  margin-bottom: 8px;
}
.stat-label { font-size: 0.9rem; color: var(--warm-dark); font-weight: 600; }

/* ── CONTACT FORM ── */
.contact-section { padding: 72px 0; background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-info h2 {
  font-weight: 900;
  font-size: 2.5rem;
  line-height: 0.95;
  letter-spacing: -1.5px;
  font-feature-settings: "calt";
  margin-bottom: 20px;
}
.contact-info p { color: var(--warm-dark); font-size: 1.05rem; line-height: 1.6; margin-bottom: 24px; }
.contact-details { display: flex; flex-direction: column; gap: 12px; }
.contact-detail { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; color: var(--warm-dark); }
.contact-detail strong { color: var(--near-black); font-weight: 600; }

.contact-form { background: var(--white); border-radius: 30px; border: 1px solid var(--ring); padding: 36px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; color: var(--near-black); }
.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(14,15,12,0.20);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-feature-settings: "calt";
  color: var(--near-black);
  background: var(--white);
  transition: border-color 0.15s;
  outline: none;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--dark-green); box-shadow: rgb(134,134,133) 0px 0px 0px 1px inset; }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-success { display: none; background: var(--light-mint); color: var(--dark-green); padding: 12px 16px; border-radius: 10px; font-weight: 600; margin-top: 12px; }

/* ── FOOTER ── */
.site-footer { background: var(--near-black); color: var(--light-surface); padding: 56px 0 32px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo { color: var(--white); margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; color: var(--gray); line-height: 1.6; }
.footer-col h4 { font-weight: 900; font-size: 0.9rem; color: var(--wise-green); margin-bottom: 16px; letter-spacing: 0.5px; font-feature-settings: "calt"; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 0.9rem; color: var(--gray); transition: color 0.15s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 0.82rem; color: var(--gray); }
.footer-bottom a { color: var(--gray); transition: color 0.15s; }
.footer-bottom a:hover { color: var(--white); }

/* ── COOKIE BANNER ── */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  background: var(--near-black);
  color: var(--light-surface);
  border-radius: 20px;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 680px;
  width: calc(100% - 48px);
  box-shadow: 0 8px 32px rgba(14,15,12,0.30);
  border: 1px solid rgba(255,255,255,0.08);
}
.cookie-banner p { font-size: 0.9rem; line-height: 1.5; flex: 1; }
.cookie-banner p a { color: var(--wise-green); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-banner.hidden { display: none; }

/* ── ARTICLE PAGE ── */
.article-page { padding: 56px 0 72px; }
.article-header { margin-bottom: 40px; }
.article-header .breadcrumb { font-size: 0.85rem; color: var(--gray); margin-bottom: 20px; }
.article-header .breadcrumb a { color: var(--dark-green); }
.article-header h1 {
  font-weight: 900;
  font-size: 3rem;
  line-height: 0.95;
  letter-spacing: -2px;
  font-feature-settings: "calt";
  color: var(--near-black);
  margin-bottom: 16px;
  max-width: 800px;
}
.article-header .article-meta { font-size: 0.9rem; color: var(--gray); display: flex; gap: 16px; flex-wrap: wrap; }
.article-hero-img { border-radius: 30px; overflow: hidden; margin-bottom: 48px; max-height: 480px; }
.article-hero-img img { width: 100%; height: 100%; object-fit: cover; }

.article-body { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.article-content { max-width: 720px; }
.article-content h2 {
  font-weight: 900;
  font-size: 1.75rem;
  line-height: 1.0;
  letter-spacing: -1px;
  font-feature-settings: "calt";
  color: var(--near-black);
  margin: 36px 0 14px;
}
.article-content h3 {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--near-black);
  margin: 24px 0 10px;
  font-feature-settings: "calt";
}
.article-content p { font-size: 1.05rem; line-height: 1.7; color: var(--warm-dark); margin-bottom: 18px; }
.article-content ul { margin: 0 0 18px 20px; }
.article-content ul li { font-size: 1.05rem; line-height: 1.7; color: var(--warm-dark); margin-bottom: 6px; }
.article-content a { color: var(--dark-green); text-decoration: underline; }
.article-content strong { font-weight: 600; color: var(--near-black); }

.article-sidebar { position: sticky; top: 80px; }
.sidebar-card { background: var(--white); border: 1px solid var(--ring); border-radius: 20px; padding: 24px; margin-bottom: 20px; }
.sidebar-card h4 { font-weight: 900; font-size: 1rem; margin-bottom: 14px; font-feature-settings: "calt"; }
.sidebar-card ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.sidebar-card ul li a { font-size: 0.9rem; color: var(--dark-green); font-weight: 600; }
.sidebar-card ul li a:hover { text-decoration: underline; }

/* ── INNER PAGES ── */
.inner-page { padding: 64px 0 80px; }
.inner-page h1 {
  font-weight: 900;
  font-size: 3rem;
  line-height: 0.95;
  letter-spacing: -2px;
  font-feature-settings: "calt";
  margin-bottom: 32px;
}
.inner-page h2 {
  font-weight: 900;
  font-size: 1.6rem;
  line-height: 1.0;
  letter-spacing: -0.8px;
  font-feature-settings: "calt";
  margin: 36px 0 14px;
  color: var(--near-black);
}
.inner-page h3 { font-weight: 700; font-size: 1.15rem; margin: 22px 0 10px; font-feature-settings: "calt"; }
.inner-page p { font-size: 1.05rem; line-height: 1.7; color: var(--warm-dark); margin-bottom: 16px; }
.inner-page ul { margin: 0 0 16px 22px; }
.inner-page ul li { font-size: 1.05rem; line-height: 1.7; color: var(--warm-dark); margin-bottom: 6px; }
.inner-page a { color: var(--dark-green); text-decoration: underline; }
.page-updated { font-size: 0.85rem; color: var(--gray); margin-bottom: 36px; }

/* ── RESPONSIVE ── */
@media (max-width: 992px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image { order: -1; max-height: 280px; }
  .hero h1 { font-size: 2.8rem; }
  .articles-grid { grid-template-columns: 1fr 1fr; }
  .info-band-inner { grid-template-columns: 1fr; }
  .info-band-img { order: -1; max-height: 260px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .article-body { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
}
@media (max-width: 576px) {
  .hero h1 { font-size: 2.2rem; }
  .section-title { font-size: 1.8rem; }
  .articles-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .site-nav { display: none; }
  .hamburger { display: flex; }
  .site-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--ring);
    padding: 16px;
    gap: 4px;
    z-index: 99;
  }
  .article-header h1 { font-size: 2rem; letter-spacing: -1px; }
  .inner-page h1 { font-size: 2rem; }
  .cookie-banner { flex-direction: column; align-items: flex-start; }
  .stat-number { font-size: 2rem; }
}
