/* ============================================================
   CANWYF — Community Advocacy Network for Women, Youth & Farmers
   Design System  |  site.css  |  Mobile-first, production-ready
   ============================================================ */

/* ── GOOGLE FONTS ────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,900;1,700;1,900&family=Source+Serif+4:ital,opsz,wght@0,8..60,300;0,8..60,400;0,8..60,600;1,8..60,300;1,8..60,400&family=DM+Mono:wght@400;500&display=swap');

/* ── DESIGN TOKENS ───────────────────────────────────────── */
:root {
  /* Brand greens */
  --green:        #1A6B3C;
  --green-deep:   #0d3d22;
  --green-mid:    #2a8a50;
  --green-light:  #d6efe0;
  --green-pale:   #f0f8f4;

  /* Brand golds */
  --gold:         #B8860B;
  --gold-light:   #fdf3d0;
  --gold-warm:    #e8a020;

  /* Earth tones */
  --earth:        #5C3A1E;
  --earth-light:  #f0e6dc;

  /* Neutrals */
  --cream:        #faf8f3;
  --ink:          #1a1a12;
  --ink-mid:      #3a3a2a;
  --ink-soft:     #6a6a5a;
  --rule:         #e2ddd4;
  --white:        #ffffff;

  /* Accent */
  --blue:         #1B4F8A;
  --blue-light:   #d0e4f7;

  /* Typography */
  --ff-display: 'Playfair Display', 'Georgia', serif;
  --ff-body:    'Source Serif 4', 'Georgia', serif;
  --ff-mono:    'DM Mono', 'Consolas', monospace;

  /* Layout */
  --nav-h:      60px;
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  18px;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(0,0,0,.07);
  --shadow-md:  0 6px 24px rgba(0,0,0,.10);
  --shadow-lg:  0 16px 48px rgba(0,0,0,.14);
  --shadow-green: 0 8px 28px rgba(26,107,60,.22);
}

/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--ff-body);
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

img, svg, video, canvas, iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

input, button, textarea, select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol { list-style: none; }

/* ── ACCESSIBILITY ───────────────────────────────────────── */
:where(a, button, input, textarea, select):focus-visible {
  outline: 2px solid var(--gold-warm);
  outline-offset: 3px;
  border-radius: 3px;
}

a, button, input, textarea, select {
  -webkit-tap-highlight-color: transparent;
}

/* ── OVERFLOW CONTAINMENT ────────────────────────────────── */
/* Every major container is overflow-safe */
.section-inner,
.hero-content-wrap,
.ai-inner,
.intel-teaser-grid,
.intel-portal-grid,
.donate-campaign-full,
.two-col-grid,
.footer-grid,
.vr-row,
.farmer-card,
.rs-item,
.vi-case,
.initiatives-grid,
.impact-cards-grid,
.donate-campaigns-grid,
.ai-feature-cards,
.lsc-grid {
  min-width: 0;
}

/* ── GRAIN OVERLAY ───────────────────────────────────────── */
.grain-overlay {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9000;
  opacity: .45;
}

/* ══════════════════════════════════════════════════════════
   NAV
══════════════════════════════════════════════════════════ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(13,61,34,.97);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: box-shadow .3s;
}

.site-nav.scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,.3);
}

.nav-inner {
  max-width: 1300px;
  margin: 0 auto;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 48px);
  gap: 16px;
}

/* Brand */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  min-width: 0;
  max-width: calc(100% - 48px); /* never crowd the toggle */
}

.nav-logo {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  object-fit: contain;
}

.nav-brand-leaf {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.nav-brand-text,
.nav-brand > div {
  min-width: 0;
  overflow: hidden;
  flex: 1 1 auto;
}

.nav-brand-name {
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: .4px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-brand-sub {
  font-family: var(--ff-mono);
  font-size: .52rem;
  color: rgba(255,255,255,.45);
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Desktop nav links — fixed-positioned sibling */
.nav-links {
  list-style: none;
  display: none;
}

@media (min-width: 961px) {
  .nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    position: fixed;
    top: 0;
    right: clamp(16px, 4vw, 48px);
    height: var(--nav-h);
    z-index: 1001;
    background: transparent;
  }
}

.nav-link {
  font-family: var(--ff-body);
  font-size: .83rem;
  color: rgba(255,255,255,.75);
  text-decoration: none;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  transition: all .2s;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,.09);
}

.nav-arrow {
  font-size: .55rem;
  opacity: .55;
}

/* Dropdown */
.nav-item.has-dropdown { position: relative; }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--green-deep);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  padding: 8px;
  min-width: 280px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all .25s ease;
  z-index: 100;
  box-shadow: var(--shadow-lg);
}

.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: background .2s;
}

.dropdown-item:hover { background: rgba(255,255,255,.07); }

.di-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.di-title {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
}
.di-sub {
  display: block;
  font-size: .73rem;
  color: rgba(255,255,255,.5);
  line-height: 1.4;
}

.dropdown-divider {
  height: 1px;
  background: rgba(255,255,255,.08);
  margin: 6px 0;
}

/* CTA */
.nav-cta {
  font-family: var(--ff-body);
  font-size: .8rem;
  font-weight: 600;
  background: var(--gold);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background .2s, transform .15s;
  margin-left: 6px;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--gold-warm);
  transform: translateY(-1px);
}

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all .3s;
}

@media (min-width: 961px) {
  .nav-toggle { display: none; }
}

/* Mobile nav drawer */
.nav-mobile-menu {
  display: none;
  flex-direction: column;
  gap: 2px;
  background: var(--green-deep);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 12px 16px 20px;
}

.nav-mobile-menu.open { display: flex; }

.nav-mobile-link {
  color: rgba(255,255,255,.8);
  font-size: .9rem;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  display: block;
  transition: background .2s;
}

.nav-mobile-link:hover { background: rgba(255,255,255,.07); color: var(--white); }

.nav-mobile-cta {
  margin-top: 8px;
  background: var(--gold);
  color: var(--white);
  text-align: center;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .9rem;
}

.nav-overlay {
  display: none;
}

@media (max-width: 960px) {
  .site-nav {
    width: 100%;
    max-width: 100vw;
  }

  .nav-inner {
    padding-inline: 16px;
    gap: 12px;
  }

  .nav-brand {
    max-width: calc(100% - 52px);
    gap: 8px;
  }

  .nav-logo {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .nav-brand-name {
    font-size: .95rem;
    letter-spacing: .25px;
  }

  .nav-brand-sub {
    font-size: .48rem;
    letter-spacing: .75px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1002;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--green-deep);
    padding: 14px 0 28px;
    box-shadow: 0 10px 32px rgba(0,0,0,.26);
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
  }

  .nav-links > li {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,.06);
  }

  .nav-links .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 14px 20px;
    font-size: .95rem;
    border-radius: 0;
    white-space: normal;
  }

  .nav-dropdown {
    position: static;
    display: none;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(0,0,0,.16);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
  }

  .nav-item.has-dropdown.dropdown-open .nav-dropdown {
    display: block;
  }

  .dropdown-item {
    padding: 12px 20px 12px 32px;
    border-radius: 0;
    border-bottom: 1px solid rgba(255,255,255,.04);
  }

  .dropdown-item:last-child {
    border-bottom: none;
  }

  .nav-links li:has(.nav-cta) {
    padding: 18px 20px 6px;
    border-bottom: 0;
  }

  .nav-cta {
    display: block;
    width: 100%;
    margin-left: 0;
    text-align: center;
    padding: 13px 18px;
  }

  .nav-toggle {
    margin-left: auto;
  }

  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav-overlay {
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    z-index: 998;
    background: rgba(0,0,0,.42);
  }

  .nav-overlay.open {
    display: block;
  }

  .hero-logo-watermark {
    right: -10%;
    font-size: clamp(82px, 24vw, 180px);
    max-width: 90vw;
    overflow: hidden;
  }

  .hero-content-wrap,
  .two-col-grid,
  .ai-inner,
  .intel-teaser-grid,
  .intel-portal-grid,
  .donate-campaign-full,
  .initiatives-grid,
  .impact-cards-grid,
  .donate-campaigns-grid,
  .news-grid,
  .eco-pillars,
  .eco-phases,
  .subprog-grid,
  .supporter-grid,
  .investor-grid,
  .datasource-grid,
  .grant-grid,
  .problem-grid,
  .team-grid,
  .membership-overview-grid,
  .impact-numbers-grid,
  .farmer-cards-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .ai-feature-cards,
  .trust-grid,
  .cac-grid,
  .gallery-full,
  .gallery-mosaic,
  .news-grid,
  .vrf-grid,
  .soil-grid,
  .solar-items,
  .fc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-bottom,
  .news-foot,
  .lsc-footer,
  .vc-header,
  .vr-found-header,
  .dfc-header,
  .investor-contact-card,
  .stats-bar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .post-footer,
  .hero-actions,
  .fci-actions,
  .page-cta-actions,
  .ic-actions {
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  .nav-inner {
    padding-inline: 12px;
  }

  .nav-brand {
    max-width: calc(100% - 48px);
  }

  .nav-logo {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .nav-brand-name {
    font-size: .88rem;
  }

  .nav-brand-sub {
    display: none;
  }

  .section {
    padding-inline: 16px;
  }

  .hero-content-wrap {
    padding: 36px 16px 72px;
  }

  .hero-headline,
  .page-hero-title,
  .post-title,
  .fci-title,
  .section-title,
  .ai-title {
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .hero-actions,
  .fci-actions,
  .page-cta-actions,
  .post-footer {
    flex-direction: column;
  }

  .hero-actions > *,
  .fci-actions > *,
  .page-cta-actions > *,
  .post-footer > * {
    width: 100%;
  }

  .btn-primary,
  .btn-ghost,
  .btn-outline,
  .btn-earth,
  .btn-gold,
  .vsb-btn,
  .ypc-form > *,
  .vf-tabs > * {
    width: 100%;
    justify-content: center;
  }

  .vf-tabs,
  .vsb-form,
  .ypc-form,
  .vr-row,
  .rs-item,
  .farmer-card,
  .ic-header,
  .sp-header,
  .ipc-weather-main {
    flex-direction: column;
    align-items: flex-start;
  }

  .vr-label,
  .dr-crop,
  .pc-name {
    min-width: 0;
  }

  .verify-card,
  .verify-result,
  .yield-predict-card,
  .donate-form-card,
  .mem-form-card,
  .investor-contact-card,
  .initiative-card,
  .impact-layer-card,
  .dc-card,
  .intel-preview-card,
  .intel-card,
  .about-values-card,
  .gov-tier,
  .subprog-card,
  .team-card,
  .supporter-card,
  .investor-card,
  .ds-card,
  .trust-item {
    padding: 20px;
  }

  .ai-feature-cards,
  .trust-grid,
  .cac-grid,
  .gallery-full,
  .gallery-mosaic,
  .news-grid,
  .vrf-grid,
  .soil-grid,
  .solar-items,
  .fc-grid,
  .membership-overview-grid,
  .impact-numbers-grid,
  .grant-grid,
  .datasource-grid,
  .problem-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .lsc-grid,
  .ipc-soil,
  .community-stats,
  .footer-legal {
    gap: 10px;
  }

  .gm-item-wide {
    grid-column: span 1;
    aspect-ratio: 1;
  }
}

/* ══════════════════════════════════════════════════════════
   SECTION FRAMEWORK
══════════════════════════════════════════════════════════ */
.section {
  padding: clamp(64px, 9vw, 112px) clamp(20px, 5vw, 48px);
}

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

.section-header { margin-bottom: 48px; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-mono);
  font-size: .65rem;
  color: var(--green);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-label::before {
  content: '';
  display: block;
  width: 22px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 14px;
}

.section-sub {
  font-size: clamp(.9rem, 1.3vw, 1rem);
  font-weight: 300;
  color: var(--ink-soft);
  line-height: 1.75;
  max-width: 600px;
}

/* ══════════════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green);
  color: var(--white);
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  font-family: var(--ff-body);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--green-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-green);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid rgba(255,255,255,.35);
  color: var(--white);
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  font-family: var(--ff-body);
  font-size: .9rem;
  font-weight: 400;
  text-decoration: none;
  transition: all .2s;
  white-space: nowrap;
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.08);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid var(--green);
  color: var(--green);
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--ff-body);
  font-size: .88rem;
  font-weight: 500;
  text-decoration: none;
  transition: all .2s;
  white-space: nowrap;
}

.btn-outline:hover {
  background: var(--green);
  color: var(--white);
}

.btn-earth {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--earth);
  color: var(--white);
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  font-family: var(--ff-body);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s;
  white-space: nowrap;
}

.btn-earth:hover { background: #7a4f2a; }

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold);
  color: var(--white);
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--ff-body);
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s;
  white-space: nowrap;
}

.btn-gold:hover { background: var(--gold-warm); }

/* ══════════════════════════════════════════════════════════
   REVEAL ANIMATIONS
══════════════════════════════════════════════════════════ */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity .65s ease, transform .65s ease;
}

.js-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
}

.js-ready .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.rd1 { transition-delay: .1s; }
.rd2 { transition-delay: .2s; }
.rd3 { transition-delay: .3s; }
.rd4 { transition-delay: .4s; }

/* ══════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════ */
.hero-section {
  min-height: 100vh;
  min-height: 100svh;
  padding-top: var(--nav-h);
  background: linear-gradient(150deg, var(--green-deep) 0%, #1a5c38 55%, #1a6b3c 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Background decoration layers */
.hero-bg-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-geo {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.04);
}

.hero-geo-1 {
  width: clamp(300px, 55vw, 680px);
  height: clamp(300px, 55vw, 680px);
  top: -30%;
  right: -10%;
}

.hero-geo-2 {
  width: clamp(180px, 30vw, 380px);
  height: clamp(180px, 30vw, 380px);
  bottom: -8%;
  left: -6%;
  animation: flt 8s ease-in-out infinite;
}

@keyframes flt {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-18px); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 64px 64px;
}

/* LOGO WATERMARK — contained, never overflows */
.hero-logo-watermark {
  position: absolute;
  top: 50%;
  right: -2%;
  transform: translateY(-50%);
  font-family: var(--ff-display);
  font-size: clamp(100px, 20vw, 260px);
  font-weight: 900;
  color: rgba(255,255,255,.04);
  letter-spacing: -4px;
  line-height: 1;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  max-width: 55%;
}

/* Hero content grid */
.hero-content-wrap {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 48px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-content-wrap {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }
}

/* Eyebrow badge */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 20px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--gold-warm);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-eyebrow span {
  font-family: var(--ff-mono);
  font-size: .6rem;
  color: rgba(255,255,255,.75);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Headline */
.hero-headline {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 18px;
}

.hero-headline em {
  color: var(--gold-warm);
  font-style: italic;
}

/* Description */
.hero-desc {
  font-size: clamp(.9rem, 1.3vw, 1rem);
  font-weight: 300;
  color: rgba(255,255,255,.72);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 26px;
}

/* Initiative pills */
.hero-initiatives {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.initiative-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 100px;
  padding: 7px 15px;
  text-decoration: none;
  font-size: .78rem;
  font-weight: 500;
  transition: all .2s;
}

.initiative-iTONA {
  background: rgba(26,107,60,.35);
  border: 1px solid rgba(26,107,60,.55);
  color: var(--white);
}

.initiative-iTONA:hover { background: rgba(26,107,60,.55); }

.initiative-eco {
  background: rgba(92,58,30,.3);
  border: 1px solid rgba(92,58,30,.5);
  color: rgba(255,255,255,.85);
}

.initiative-eco:hover { background: rgba(92,58,30,.5); }

.ip-tag {
  background: var(--gold);
  color: white;
  font-size: .58rem;
  padding: 2px 7px;
  border-radius: 10px;
  font-weight: 700;
  letter-spacing: .5px;
}

/* CTA row */
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Scroll cue */
.hero-scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  opacity: .45;
  transition: opacity .2s;
}

.hero-scroll-cue:hover { opacity: .7; }

.hsc-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.5));
}

.hero-scroll-cue span {
  font-family: var(--ff-mono);
  font-size: .55rem;
  color: white;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ── LIVE STATS CARD ─────────────────────────────────────── */
.live-stats-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.11);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 28px);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;       /* critical — clips any internal overflow */
}

.lsc-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 18px;
}

.lsc-pulse {
  width: 8px;
  height: 8px;
  background: var(--gold-warm);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .6; transform: scale(.8); }
}

.lsc-title {
  font-size: .8rem;
  font-weight: 600;
  color: var(--white);
  flex: 1;
  min-width: 0;
}

.lsc-time {
  font-family: var(--ff-mono);
  font-size: .6rem;
  color: rgba(255,255,255,.4);
  white-space: nowrap;
}

.lsc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.lsc-num {
  display: block;
  font-family: var(--ff-display);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 900;
  color: var(--gold-warm);
  line-height: 1;
  word-break: break-word;
}

.lsc-label {
  display: block;
  font-size: .68rem;
  color: rgba(255,255,255,.55);
  margin-top: 3px;
  line-height: 1.3;
}

.lsc-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.08);
  flex-wrap: wrap;
}

.lsc-pilot {
  font-family: var(--ff-mono);
  font-size: .6rem;
  color: rgba(255,255,255,.35);
}

.lsc-link {
  font-size: .76rem;
  color: var(--gold-warm);
  text-decoration: none;
  white-space: nowrap;
}

.lsc-link:hover { text-decoration: underline; }

/* ══════════════════════════════════════════════════════════
   INITIATIVES GRID
══════════════════════════════════════════════════════════ */
.initiatives-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .initiatives-grid { grid-template-columns: 1fr 1fr; }
}

.initiative-card {
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--rule);
  background: var(--white);
  overflow: hidden;   /* clips any internal overflow */
}

.ic-iTONA { border-top: 4px solid var(--green); }
.ic-eco      { border-top: 4px solid var(--earth); background: var(--earth-light); }

.ic-header {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.ic-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.ic-iTONA-icon { background: var(--green-light); }
.ic-eco-icon      { background: rgba(92,58,30,.15); }

.ic-eyebrow {
  font-family: var(--ff-mono);
  font-size: .6rem;
  color: var(--ink-soft);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.ic-name {
  font-family: var(--ff-display);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--ink);
}

.ic-tagline {
  font-family: var(--ff-display);
  font-size: .82rem;
  font-style: italic;
  color: var(--green);
}

.ic-desc {
  font-size: .86rem;
  color: var(--ink-soft);
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: 16px;
}

.ic-sub-programmes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.ic-sp {
  background: var(--green-pale);
  color: var(--green);
  border: 1px solid var(--green-light);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: .7rem;
  font-weight: 500;
}

.ic-eco .ic-sp {
  background: rgba(92,58,30,.08);
  color: var(--earth);
  border-color: rgba(92,58,30,.2);
}

.ic-ai-features {
  background: var(--ink);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 18px;
}

.ic-ai-label {
  font-family: var(--ff-mono);
  font-size: .58rem;
  color: rgba(255,255,255,.4);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.ic-ai-items {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.ic-ai-item {
  font-size: .73rem;
  color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.07);
  border-radius: 4px;
  padding: 3px 8px;
}

.ic-synergy {
  background: var(--green-pale);
  border: 1px solid var(--green-light);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 18px;
}

.ic-synergy-label {
  font-size: .7rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 5px;
}

.ic-synergy-text {
  font-size: .76rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

.ic-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════════════════════
   AI SECTION
══════════════════════════════════════════════════════════ */
.ai-section {
  background: linear-gradient(135deg, #0d1a2e 0%, #162a40 100%);
  padding: clamp(64px, 9vw, 112px) clamp(20px, 5vw, 48px);
}

.ai-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

@media (min-width: 900px) {
  .ai-inner { grid-template-columns: 1fr 1fr; gap: 72px; }
}

.ai-title {
  font-family: var(--ff-display);
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  font-weight: 900;
  color: var(--white);
  margin: 12px 0 14px;
  line-height: 1.1;
}

.ai-desc {
  font-size: .93rem;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
  font-weight: 300;
}

.ai-feature-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 480px) {
  .ai-feature-cards { grid-template-columns: 1fr; }
}

.ai-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  padding: 18px;
  transition: all .3s;
  overflow: hidden;
}

.ai-card:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(122,186,255,.2);
  transform: translateY(-2px);
}

.ai-card-icon { font-size: 1.3rem; margin-bottom: 9px; }

.ai-card-title {
  font-size: .86rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 7px;
}

.ai-card-desc {
  font-size: .76rem;
  color: rgba(255,255,255,.5);
  line-height: 1.55;
  font-weight: 300;
  margin-bottom: 10px;
}

.ai-card-apis { display: flex; flex-wrap: wrap; gap: 5px; }

.api-badge {
  font-family: var(--ff-mono);
  font-size: .58rem;
  color: rgba(122,186,255,.8);
  background: rgba(27,79,138,.2);
  border: 1px solid rgba(27,79,138,.3);
  border-radius: 4px;
  padding: 3px 7px;
}

/* ══════════════════════════════════════════════════════════
   IMPACT LAYER CARDS
══════════════════════════════════════════════════════════ */
.impact-preview-section {}

.impact-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (min-width: 768px) {
  .impact-cards-grid { grid-template-columns: repeat(4, 1fr); }
}

.impact-layer-card {
  border-radius: var(--radius-md);
  padding: clamp(18px, 3vw, 24px);
  border: 1px solid var(--rule);
  background: var(--white);
  transition: all .3s;
  position: relative;
  overflow: hidden;
}

.impact-layer-card:hover {
  border-color: var(--green);
  transform: translateY(-4px);
  box-shadow: var(--shadow-green);
}

.ilc-layer-num {
  font-family: var(--ff-mono);
  font-size: .58rem;
  color: var(--ink-soft);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.ilc-icon { font-size: 1.7rem; margin-bottom: 10px; }

.ilc-title {
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 7px;
}

.ilc-desc {
  font-size: .76rem;
  color: var(--ink-soft);
  line-height: 1.55;
  font-weight: 300;
  margin-bottom: 14px;
}

.ilc-count {
  font-family: var(--ff-mono);
  font-size: .7rem;
  color: var(--green);
  padding-top: 10px;
  border-top: 1px solid var(--rule);
}

.ilc-count strong { font-size: .95rem; }

.ilc-verify-link { color: var(--green); text-decoration: none; }
.ilc-verify-link:hover { text-decoration: underline; }

/* ══════════════════════════════════════════════════════════
   DONATE / CAMPAIGNS
══════════════════════════════════════════════════════════ */
.donate-preview-section {
  background: linear-gradient(155deg, var(--green-deep) 0%, var(--green) 100%);
  padding: clamp(64px, 9vw, 112px) clamp(20px, 5vw, 48px);
  overflow: hidden;
}

.donate-campaigns-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 40px;
}

@media (min-width: 600px) {
  .donate-campaigns-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .donate-campaigns-grid { grid-template-columns: repeat(3, 1fr); }
}

.dc-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

.dc-amount {
  font-family: var(--ff-display);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 900;
  color: var(--gold-warm);
  line-height: 1;
  word-break: break-word;
}

.dc-name {
  font-family: var(--ff-display);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 700;
  color: var(--white);
}

.dc-tagline {
  font-size: .8rem;
  font-style: italic;
  color: rgba(255,255,255,.6);
}

.dc-desc {
  font-size: .8rem;
  color: rgba(255,255,255,.65);
  line-height: 1.6;
  font-weight: 300;
}

/* Progress bar */
.dc-progress-wrap {
  margin-top: 4px;
}

.dc-progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 7px;
  font-size: .72rem;
  color: rgba(255,255,255,.55);
  flex-wrap: wrap;
}

.dc-progress-track {
  height: 5px;
  background: rgba(255,255,255,.12);
  border-radius: 100px;
  overflow: hidden;
}

.dc-progress-fill {
  height: 100%;
  background: var(--gold-warm);
  border-radius: 100px;
  transition: width .8s ease;
}

/* Grant / Target cards — the ones that overflow on iTONA page */
.grant-card,
.target-card {
  border-radius: var(--radius-md);
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--rule);
  background: var(--white);
  overflow: hidden;       /* prevents internal content from spilling */
  word-break: break-word;
}

.grant-card-header,
.target-card-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.grant-amount,
.target-amount {
  font-family: var(--ff-display);
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 900;
  color: var(--green);
  line-height: 1;
  word-break: break-word;
}

.grant-name,
.target-name {
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 5px;
}

.grant-desc,
.target-desc {
  font-size: .8rem;
  color: var(--ink-soft);
  line-height: 1.6;
  font-weight: 300;
  margin-bottom: 14px;
}

.grant-meta,
.target-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.grant-tag,
.target-tag {
  background: var(--green-pale);
  color: var(--green);
  border: 1px solid var(--green-light);
  border-radius: 100px;
  padding: 3px 11px;
  font-size: .7rem;
  font-weight: 500;
  white-space: nowrap;
}

/* Grants grid on iTONA page */
.grants-grid,
.targets-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 600px) {
  .grants-grid,
  .targets-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grants-grid,
  .targets-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ══════════════════════════════════════════════════════════
   FARMER REGISTRY / iTONA CARDS
══════════════════════════════════════════════════════════ */
.farmer-card {
  border-radius: var(--radius-md);
  padding: clamp(18px, 3vw, 24px);
  border: 1px solid var(--rule);
  background: var(--white);
  overflow: hidden;
  transition: all .25s;
}

.farmer-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-green);
  transform: translateY(-3px);
}

.fc-ref {
  font-family: var(--ff-mono);
  font-size: .62rem;
  color: var(--green);
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.fc-name {
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.fc-meta {
  font-size: .76rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

.fc-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--green-pale);
  color: var(--green);
  border: 1px solid var(--green-light);
  border-radius: 100px;
  padding: 3px 10px;
  font-size: .68rem;
  font-weight: 600;
  margin-top: 10px;
}

/* ══════════════════════════════════════════════════════════
   INTEL / INSIGHTS SECTION
══════════════════════════════════════════════════════════ */
.intel-teaser-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .intel-teaser-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .intel-teaser-grid { grid-template-columns: repeat(3, 1fr); }
}

.intel-portal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .intel-portal-grid { grid-template-columns: repeat(2, 1fr); }
}

.rs-item {
  border-radius: var(--radius-md);
  padding: clamp(18px, 3vw, 24px);
  border: 1px solid var(--rule);
  background: var(--white);
  overflow: hidden;
  transition: all .25s;
}

.rs-item:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════════════════════
   VOLUNTEER / REGISTRY ROW
══════════════════════════════════════════════════════════ */
.vr-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .vr-row { grid-template-columns: 1fr 1fr; }
}

.vi-case {
  border-radius: var(--radius-md);
  padding: clamp(18px, 3vw, 24px);
  border: 1px solid var(--rule);
  background: var(--white);
  overflow: hidden;
}

/* ══════════════════════════════════════════════════════════
   TWO-COLUMN GRID (generic)
══════════════════════════════════════════════════════════ */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;          /* tighter on mobile (was 40px) */
  align-items: start;
}

@media (min-width: 768px) {
  .two-col-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;        /* restore full gap on desktop */
  }
}

@media (min-width: 1024px) {
  .two-col-grid { grid-template-columns: 5fr 4fr; }
}

/* ══════════════════════════════════════════════════════════
   DONATE CAMPAIGN FULL (single-campaign page)
══════════════════════════════════════════════════════════ */
.donate-campaign-full {
  max-width: 860px;
  margin: 0 auto;
  overflow: hidden;
}

.donate-campaign-full .dc-hero-amount {
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 900;
  color: var(--gold-warm);
  line-height: 1;
  word-break: break-word;
}

/* ══════════════════════════════════════════════════════════
   PALACE REGISTRY / TRADITIONAL INSTITUTION
══════════════════════════════════════════════════════════ */
.palace-registry-card {
  background: linear-gradient(135deg, var(--green-deep) 0%, #1e5c38 100%);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 5vw, 48px);
  color: var(--white);
  overflow: hidden;
  position: relative;
}

.prc-watermark {
  position: absolute;
  top: 50%;
  right: -5%;
  transform: translateY(-50%);
  font-family: var(--ff-display);
  font-size: clamp(80px, 15vw, 180px);
  font-weight: 900;
  color: rgba(255,255,255,.04);
  letter-spacing: -3px;
  line-height: 1;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
  max-width: 55%;
  overflow: hidden;
}

.prc-ref {
  font-family: var(--ff-mono);
  font-size: .62rem;
  color: var(--gold-warm);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.prc-title {
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 12px;
}

/* ══════════════════════════════════════════════════════════
   FORMS
══════════════════════════════════════════════════════════ */
.form-group { margin-bottom: 18px; }

.form-label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--ink-mid);
  margin-bottom: 6px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--rule);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: .9rem;
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(26,107,60,.12);
}

.form-textarea { resize: vertical; min-height: 110px; }

/* ══════════════════════════════════════════════════════════
   BADGES / TAGS (shared)
══════════════════════════════════════════════════════════ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 100px;
  padding: 4px 12px;
  font-size: .7rem;
  font-weight: 600;
  white-space: nowrap;
}

.badge-green   { background: var(--green-pale); color: var(--green); border: 1px solid var(--green-light); }
.badge-gold    { background: var(--gold-light); color: var(--gold); border: 1px solid #e8d08a; }
.badge-earth   { background: var(--earth-light); color: var(--earth); border: 1px solid #d4b8a0; }
.badge-blue    { background: var(--blue-light); color: var(--blue); border: 1px solid #a8c8ee; }
.badge-flagship {
  background: var(--gold);
  color: var(--white);
  border: none;
  padding: 3px 10px;
  font-size: .62rem;
  letter-spacing: .5px;
}

/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--green-deep);
  color: rgba(255,255,255,.7);
  padding: clamp(48px, 8vw, 80px) clamp(20px, 5vw, 48px) 28px;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer-brand-name {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 6px;
}

.footer-brand-desc {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  line-height: 1.6;
  max-width: 280px;
  font-weight: 300;
}

.footer-col-title {
  font-family: var(--ff-mono);
  font-size: .62rem;
  color: var(--gold-warm);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-col-title::after {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  background: var(--gold-warm);
  margin-top: 4px;
  border-radius: 2px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-link {
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: color .2s;
}

.footer-link:hover { color: var(--white); }

.footer-bottom {
  max-width: 1200px;
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: .75rem;
  color: rgba(255,255,255,.3);
}

.footer-legal {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-legal a {
  font-size: .72rem;
  color: rgba(255,255,255,.35);
  text-decoration: none;
  transition: color .2s;
}

.footer-legal a:hover { color: rgba(255,255,255,.65); }

/* ══════════════════════════════════════════════════════════
   iTONA PAGE — SPECIFIC OVERRIDES
══════════════════════════════════════════════════════════ */

/* Registry reference number display */
.reg-ref-display {
  font-family: var(--ff-mono);
  font-size: clamp(.8rem, 1.8vw, 1rem);
  color: var(--green);
  background: var(--green-pale);
  border: 1px solid var(--green-light);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  display: inline-block;
  letter-spacing: 2px;
  word-break: break-all;
}

/* Traceability timeline */
.trace-timeline {
  position: relative;
  padding-left: 28px;
}

.trace-timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--green-light);
}

.trace-step {
  position: relative;
  padding: 0 0 24px;
}

.trace-step::before {
  content: '';
  position: absolute;
  left: -24px;
  top: 5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--green);
}

.trace-step-label {
  font-family: var(--ff-mono);
  font-size: .6rem;
  color: var(--green);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.trace-step-title {
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.trace-step-desc {
  font-size: .78rem;
  color: var(--ink-soft);
  line-height: 1.55;
  font-weight: 300;
}

/* TBDAP / BusinessToken panel */
.tbdap-panel {
  background: linear-gradient(135deg, #0d1a2e 0%, #162a40 100%);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 36px);
  color: var(--white);
  overflow: hidden;
}

.tbdap-label {
  font-family: var(--ff-mono);
  font-size: .6rem;
  color: rgba(122,186,255,.7);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.tbdap-title {
  font-family: var(--ff-display);
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-weight: 900;
  margin-bottom: 12px;
  line-height: 1.1;
}

.tbdap-desc {
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  line-height: 1.65;
  font-weight: 300;
}

/* ══════════════════════════════════════════════════════════
   UTILITY CLASSES
══════════════════════════════════════════════════════════ */
.text-green   { color: var(--green); }
.text-gold    { color: var(--gold-warm); }
.text-earth   { color: var(--earth); }
.text-ink     { color: var(--ink); }
.text-muted   { color: var(--ink-soft); }
.text-white   { color: var(--white); }

.bg-cream     { background: var(--cream); }
.bg-white     { background: var(--white); }
.bg-green     { background: var(--green); }
.bg-green-deep { background: var(--green-deep); }
.bg-pale      { background: var(--green-pale); }

.font-display { font-family: var(--ff-display); }
.font-mono    { font-family: var(--ff-mono); }
.font-light   { font-weight: 300; }
.font-bold    { font-weight: 700; }
.italic       { font-style: italic; }

.rounded-sm   { border-radius: var(--radius-sm); }
.rounded-md   { border-radius: var(--radius-md); }
.rounded-lg   { border-radius: var(--radius-lg); }
.rounded-full { border-radius: 100px; }

.shadow-sm    { box-shadow: var(--shadow-sm); }
.shadow-md    { box-shadow: var(--shadow-md); }
.shadow-green { box-shadow: var(--shadow-green); }

.flex         { display: flex; }
.flex-col     { flex-direction: column; }
.items-center { align-items: center; }
.items-start  { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.flex-wrap    { flex-wrap: wrap; }
.gap-8        { gap: 8px; }
.gap-12       { gap: 12px; }
.gap-16       { gap: 16px; }
.gap-24       { gap: 24px; }

.mt-8   { margin-top: 8px; }
.mt-12  { margin-top: 12px; }
.mt-16  { margin-top: 16px; }
.mt-24  { margin-top: 24px; }
.mt-32  { margin-top: 32px; }
.mb-8   { margin-bottom: 8px; }
.mb-16  { margin-bottom: 16px; }
.mb-24  { margin-bottom: 24px; }

.p-0    { padding: 0; }
.hidden { display: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Overflow safety */
.overflow-hidden { overflow: hidden; }
.break-word     { word-break: break-word; }
.truncate       { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* Dividers */
.divider {
  height: 1px;
  background: var(--rule);
  margin: 24px 0;
}

.divider-light {
  height: 1px;
  background: rgba(255,255,255,.08);
  margin: 24px 0;
}

/* ══════════════════════════════════════════════════════════
   PRINT
══════════════════════════════════════════════════════════ */
@media print {
  .site-nav,
  .grain-overlay,
  .hero-scroll-cue,
  .nav-toggle { display: none !important; }

  body { background: white; color: #000; }

  .section { padding: 32px 0; }

  a { color: inherit; text-decoration: none; }
}

/* Final responsive guardrails */
@media (max-width: 960px) {
  .site-nav {
    width: 100%;
    max-width: 100vw;
  }

  .nav-inner {
    padding-inline: 16px;
    gap: 12px;
  }

  .nav-brand {
    max-width: calc(100% - 52px);
    gap: 8px;
  }

  .nav-logo {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
  }

  .nav-brand > div,
  .nav-brand-text {
    min-width: 0;
    flex: 1 1 auto;
  }

  .nav-brand-name,
  .nav-brand-sub {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1002;
    overflow-y: auto;
    background: var(--green-deep);
    padding: 14px 0 28px;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
  }

  .nav-links > li {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,.06);
  }

  .nav-links .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 14px 20px;
    border-radius: 0;
    white-space: normal;
  }

  .nav-dropdown {
    position: static;
    display: none;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: rgba(0,0,0,.16);
    padding: 0;
  }

  .nav-item.has-dropdown.dropdown-open .nav-dropdown {
    display: block;
  }

  .dropdown-item {
    padding: 12px 20px 12px 32px;
    border-radius: 0;
  }

  .nav-links li:has(.nav-cta) {
    padding: 18px 20px 6px;
    border-bottom: 0;
  }

  .nav-cta {
    display: block;
    width: 100%;
    margin-left: 0;
    text-align: center;
  }

  .nav-overlay.open {
    display: block;
  }

  .hero-content-wrap,
  .two-col-grid,
  .ai-inner,
  .intel-teaser-grid,
  .intel-portal-grid,
  .donate-campaign-full,
  .initiatives-grid,
  .impact-cards-grid,
  .donate-campaigns-grid,
  .eco-pillars,
  .eco-phases,
  .subprog-grid,
  .supporter-grid,
  .investor-grid,
  .datasource-grid,
  .grant-grid,
  .problem-grid,
  .team-grid,
  .membership-overview-grid,
  .impact-numbers-grid,
  .farmer-cards-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .ai-feature-cards,
  .trust-grid,
  .cac-grid,
  .gallery-full,
  .gallery-mosaic,
  .news-grid,
  .vrf-grid,
  .soil-grid,
  .solar-items,
  .fc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .nav-inner {
    padding-inline: 12px;
  }

  .nav-brand {
    max-width: calc(100% - 48px);
  }

  .nav-logo {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .nav-brand-name {
    font-size: .88rem;
  }

  .nav-brand-sub {
    display: none;
  }

  .section {
    padding-inline: 16px;
  }

  .hero-content-wrap {
    padding: 36px 16px 72px;
  }

  .hero-headline,
  .page-hero-title,
  .post-title,
  .fci-title,
  .section-title,
  .ai-title {
    overflow-wrap: anywhere;
  }

  .hero-actions,
  .fci-actions,
  .page-cta-actions,
  .post-footer,
  .vf-tabs,
  .vsb-form,
  .ypc-form,
  .vr-row,
  .rs-item,
  .farmer-card,
  .ic-header,
  .sp-header,
  .ipc-weather-main {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions > *,
  .fci-actions > *,
  .page-cta-actions > *,
  .post-footer > *,
  .btn-primary,
  .btn-ghost,
  .btn-outline,
  .btn-earth,
  .btn-gold,
  .vsb-btn,
  .ypc-form > *,
  .vf-tabs > * {
    width: 100%;
  }

  .verify-card,
  .verify-result,
  .yield-predict-card,
  .donate-form-card,
  .mem-form-card,
  .investor-contact-card,
  .initiative-card,
  .impact-layer-card,
  .dc-card,
  .intel-preview-card,
  .intel-card,
  .about-values-card,
  .gov-tier,
  .subprog-card,
  .supporter-card,
  .investor-card,
  .ds-card,
  .trust-item {
    padding: 20px;
  }

  .ai-feature-cards,
  .trust-grid,
  .cac-grid,
  .gallery-full,
  .gallery-mosaic,
  .news-grid,
  .vrf-grid,
  .soil-grid,
  .solar-items,
  .fc-grid,
  .membership-overview-grid,
  .impact-numbers-grid,
  .grant-grid,
  .datasource-grid,
  .problem-grid,
  .team-grid,
  .lsc-grid {
    grid-template-columns: 1fr;
  }

  .gm-item-wide {
    grid-column: span 1;
    aspect-ratio: 1;
  }
}


/* ════════════════════════════════════════════════════════════
   MODERNISATION LAYER v2 — Enhanced style refresh
   Mobile-first · Blended brand palette · Glass + gradient
   ════════════════════════════════════════════════════════════ */

/* ── Extended Design Tokens ─────────────────────────────────── */
:root {
  --gradient-green:   linear-gradient(135deg, var(--green-deep) 0%, var(--green) 60%, var(--green-mid) 100%);
  --gradient-hero:    linear-gradient(150deg, #071a0e 0%, #0a2e18 20%, #0d3d22 50%, #145230 75%, #1A6B3C 100%);
  --gradient-gold:    linear-gradient(135deg, var(--gold) 0%, var(--gold-warm) 100%);
  --gradient-earth:   linear-gradient(135deg, var(--earth) 0%, #7a4f2a 100%);
  --gradient-dark:    linear-gradient(160deg, #070f0a 0%, #0a1f12 30%, var(--green-deep) 80%);
  --gradient-footer:  linear-gradient(165deg, #050e07 0%, #091808 25%, #0d3d22 65%, #0a2014 100%);
  --radius-xl:   24px;
  --radius-full: 100px;
  --t-fast: all .18s ease;
  --t-base: all .25s ease;
  --t-slow: all .45s cubic-bezier(.25,.46,.45,.94);
  --shadow-gold:   0 8px 28px rgba(184,134,11,.22);
  --shadow-earth:  0 8px 28px rgba(92,58,30,.22);
  --shadow-glass:  0 8px 32px rgba(0,0,0,.14), inset 0 1px 0 rgba(255,255,255,.07);
  --shadow-raised: 0 20px 60px rgba(0,0,0,.16), 0 4px 16px rgba(0,0,0,.08);
}

/* ── Scrollbar ───────────────────────────────────────────────── */
::-webkit-scrollbar             { width: 5px; height: 5px; }
::-webkit-scrollbar-track       { background: var(--cream); }
::-webkit-scrollbar-thumb       { background: var(--green-light); border-radius: 100px; }
::-webkit-scrollbar-thumb:hover { background: var(--green); }

/* ── Text selection ──────────────────────────────────────────── */
::selection { background: rgba(26,107,60,.18); color: var(--ink); }

/* ════════════════════════════════════════════════════════════
   NAV — Glassmorphism upgrade
   ════════════════════════════════════════════════════════════ */
.site-nav {
  background: rgba(7, 26, 14, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,.055);
}
.site-nav.scrolled {
  background: rgba(7, 26, 14, 0.97);
  box-shadow: 0 1px 0 rgba(255,255,255,.04), 0 4px 36px rgba(0,0,0,.38);
}
.nav-brand-name {
  background: linear-gradient(135deg, #ffffff 0%, rgba(255,255,255,.82) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-cta {
  background: var(--gradient-gold);
  border-radius: var(--radius-full);
  letter-spacing: .2px;
  box-shadow: 0 2px 12px rgba(184,134,11,.28);
  transition: var(--t-base);
}
.nav-cta:hover {
  background: linear-gradient(135deg, var(--gold-warm) 0%, #f0b230 100%);
  box-shadow: 0 4px 20px rgba(184,134,11,.4);
  transform: translateY(-2px);
}
.nav-dropdown {
  background: rgba(7, 26, 14, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.09);
}

/* ════════════════════════════════════════════════════════════
   HERO — Richer blended gradient
   ════════════════════════════════════════════════════════════ */
.hero-section {
  background: var(--gradient-hero);
}
.hero-geo-1 {
  background: radial-gradient(ellipse at center, rgba(42,138,80,.14) 0%, transparent 68%);
  border: none;
}
.hero-geo-2 {
  background: radial-gradient(ellipse at center, rgba(184,134,11,.09) 0%, transparent 68%);
  border: none;
}
.hero-grid {
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 52px 52px;
}
.hero-eyebrow {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--t-base);
}
.hero-eyebrow:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.18);
}
.hero-headline em {
  background: linear-gradient(135deg, var(--gold-warm) 0%, #f5cc44 60%, var(--gold-warm) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
}
.live-stats-card {
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: var(--shadow-glass), 0 0 0 1px rgba(42,138,80,.08);
  transition: var(--t-slow);
}
.live-stats-card:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.14);
  box-shadow: var(--shadow-glass), 0 0 0 1px rgba(42,138,80,.16);
  transform: translateY(-3px);
}
.lsc-pulse {
  animation: pulse-ring 2.2s ease-out infinite;
}
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(232,160,32,.5); }
  70%  { box-shadow: 0 0 0 8px rgba(232,160,32,0); }
  100% { box-shadow: 0 0 0 0 rgba(232,160,32,0); }
}
.lsc-num {
  background: linear-gradient(135deg, var(--gold-warm) 0%, #f5cc44 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-scroll-cue {
  animation: scroll-bounce 2.6s ease-in-out infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: .45; }
  50%       { transform: translateX(-50%) translateY(7px); opacity: .65; }
}

/* ════════════════════════════════════════════════════════════
   BUTTONS — Pill shapes + gradient fills
   ════════════════════════════════════════════════════════════ */
.btn-primary {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-mid) 100%);
  border-radius: var(--radius-full);
  letter-spacing: .2px;
  box-shadow: 0 2px 12px rgba(26,107,60,.22);
  transition: var(--t-base);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--green-mid) 0%, #33b06a 100%);
  box-shadow: 0 6px 24px rgba(26,107,60,.38);
  transform: translateY(-2px);
}
.btn-ghost {
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--t-base);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.65);
}
.btn-outline {
  border-radius: var(--radius-full);
  transition: var(--t-base);
}
.btn-outline:hover {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-mid) 100%);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(26,107,60,.3);
}
.btn-gold {
  background: var(--gradient-gold);
  border-radius: var(--radius-full);
  box-shadow: 0 2px 12px rgba(184,134,11,.22);
  transition: var(--t-base);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-warm) 0%, #f0b230 100%);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}
.btn-earth {
  background: var(--gradient-earth);
  border-radius: var(--radius-full);
  transition: var(--t-base);
}
.btn-earth:hover {
  box-shadow: var(--shadow-earth);
  transform: translateY(-2px);
}

/* ════════════════════════════════════════════════════════════
   INITIATIVE CARDS — Hover lift
   ════════════════════════════════════════════════════════════ */
.initiative-card { transition: var(--t-base); }
.initiative-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-raised);
}
.ic-iTONA:hover {
  box-shadow: var(--shadow-raised), 0 0 0 1.5px var(--green);
}
.ic-eco:hover {
  box-shadow: var(--shadow-raised), 0 0 0 1.5px var(--earth);
  background: #ece4db;
}

/* ════════════════════════════════════════════════════════════
   IMPACT LAYER CARDS
   ════════════════════════════════════════════════════════════ */
.impact-layer-card { transition: var(--t-base); }
.impact-layer-card:hover {
  transform: translateY(-5px);
  border-color: var(--green-mid);
  box-shadow: var(--shadow-green), 0 0 0 1px var(--green-light);
}

/* ════════════════════════════════════════════════════════════
   DONATE SECTION — Deep blended gradient
   ════════════════════════════════════════════════════════════ */
.donate-preview-section {
  background: linear-gradient(155deg, #060f0a 0%, #0a2014 20%, #0d3d22 50%, #1A6B3C 80%, #1f7843 100%);
  position: relative;
}
.donate-preview-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 65% 55% at 85% 50%, rgba(42,138,80,.12) 0%, transparent 65%);
  pointer-events: none;
}
.dc-card {
  transition: var(--t-base);
  position: relative;
}
.dc-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-gold);
  opacity: 0;
  transition: opacity .3s;
}
.dc-card:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.16);
  transform: translateY(-4px);
  box-shadow: 0 14px 44px rgba(0,0,0,.28);
}
.dc-card:hover::after { opacity: 1; }
.dc-progress-fill {
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-warm) 100%);
}

/* ════════════════════════════════════════════════════════════
   AI / INTELLIGENCE SECTION — Deep navy
   ════════════════════════════════════════════════════════════ */
.ai-section {
  background: linear-gradient(135deg, #04080f 0%, #060e1c 30%, #0d1a2e 60%, #0a1520 100%);
  position: relative;
  overflow: hidden;
}
.ai-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 45% at 75% 50%, rgba(27,79,138,.1) 0%, transparent 65%);
  pointer-events: none;
}
.ai-card { transition: var(--t-base); }
.ai-card:hover {
  background: rgba(255,255,255,.075);
  border-color: rgba(122,186,255,.18);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,.28);
}

/* ════════════════════════════════════════════════════════════
   PAGE HERO (sub-pages)
   ════════════════════════════════════════════════════════════ */
.page-hero {
  padding: calc(var(--nav-h) + clamp(40px, 8vw, 80px)) clamp(20px, 5vw, 48px) clamp(48px, 8vw, 80px);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 75% at 85% 50%, rgba(42,138,80,.1) 0%, transparent 60%),
    linear-gradient(to bottom, transparent 75%, rgba(0,0,0,.18));
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
}
.page-hero-title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  margin: 14px 0 18px;
  overflow-wrap: anywhere;
}
.page-hero-desc {
  font-size: clamp(.9rem, 1.4vw, 1.05rem);
  color: rgba(255,255,255,.72);
  line-height: 1.78;
  font-weight: 300;
  max-width: 680px;
}

/* ════════════════════════════════════════════════════════════
   BODY TEXT / PROSE
   ════════════════════════════════════════════════════════════ */
.body-text {
  font-size: clamp(.9rem, 1.2vw, 1rem);
  line-height: 1.82;
  color: var(--ink-mid);
  font-weight: 300;
  margin-bottom: 18px;
}
.body-text:last-child { margin-bottom: 0; }

/* ════════════════════════════════════════════════════════════
   ABOUT VALUES CARD
   ════════════════════════════════════════════════════════════ */
.about-values-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--shadow-sm);
  transition: var(--t-base);
}
.about-values-card:hover { box-shadow: var(--shadow-md); }
.avc-title {
  font-family: var(--ff-mono);
  font-size: .6rem;
  color: var(--ink-soft);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}
.avc-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  font-size: .87rem;
  color: var(--ink-mid);
  line-height: 1.62;
  font-weight: 300;
}
.avc-item:last-child { border-bottom: none; padding-bottom: 0; }
.avc-item strong {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 3px;
}
.avc-icon { font-size: 1.25rem; flex-shrink: 0; margin-top: 2px; }

/* ════════════════════════════════════════════════════════════
   FOOTER — Deep gradient + missing HTML components
   ════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--gradient-footer);
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(42,138,80,.45) 25%,
    rgba(184,134,11,.35) 55%,
    transparent 100%);
}
.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
}
.footer-impact-bar {
  padding: 18px clamp(20px, 5vw, 48px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.impact-bar-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  max-width: 1300px;
  margin: 0 auto;
}
.impact-ticker-label {
  font-family: var(--ff-mono);
  font-size: .58rem;
  color: var(--gold-warm);
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.impact-ticker-items {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.iti { font-size: .78rem; color: rgba(255,255,255,.58); white-space: nowrap; }
.iti strong { color: var(--white); font-weight: 700; }
.iti-sep { color: rgba(255,255,255,.18); font-size: .65rem; }
.footer-org-name {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 5px;
}
.footer-org-full {
  font-size: .78rem;
  color: rgba(255,255,255,.48);
  line-height: 1.55;
  font-weight: 300;
  margin-bottom: 14px;
}
.footer-org-desc {
  font-size: .78rem;
  color: rgba(255,255,255,.42);
  line-height: 1.72;
  font-weight: 300;
  max-width: 280px;
  margin-bottom: 14px;
}
.footer-cac {
  font-family: var(--ff-mono);
  font-size: .58rem;
  color: rgba(255,255,255,.28);
  letter-spacing: .5px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.07);
}
.footer-links a {
  font-size: .82rem;
  color: rgba(255,255,255,.52);
  text-decoration: none;
  transition: var(--t-fast);
  display: block;
}
.footer-links a:hover { color: var(--white); }
.footer-contact-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .8rem;
  color: rgba(255,255,255,.48);
  line-height: 1.6;
}
.fci { font-size: 1rem; flex-shrink: 0; margin-top: 2px; }

/* ════════════════════════════════════════════════════════════
   PAGE CTA SECTION
   ════════════════════════════════════════════════════════════ */
.page-cta-section {
  background: linear-gradient(150deg, #060f0a 0%, #0a2014 25%, #0d3d22 60%, #1A6B3C 100%);
  padding: clamp(48px, 8vw, 88px) clamp(20px, 5vw, 48px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 70% at 50% 50%, rgba(42,138,80,.12) 0%, transparent 55%);
  pointer-events: none;
}
.page-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}
.page-cta-title {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 3.5vw, 2.9rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 16px;
}
.page-cta-desc {
  font-size: clamp(.9rem, 1.3vw, 1rem);
  color: rgba(255,255,255,.7);
  line-height: 1.78;
  font-weight: 300;
  margin-bottom: 30px;
}
.page-cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Bare h2/p inside page-cta-inner (no .page-cta-title class used) */
.page-cta-inner h2 {
  font-family: var(--ff-display);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 14px;
}
.page-cta-inner p {
  font-size: clamp(.88rem, 1.3vw, 1rem);
  color: rgba(255,255,255,.72);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 28px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ════════════════════════════════════════════════════════════
   CARDS — shared transitions
   ════════════════════════════════════════════════════════════ */
.grant-card, .target-card { transition: var(--t-base); }
.grant-card:hover, .target-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-light);
}
.farmer-card { transition: var(--t-base); }
.farmer-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-green); }
.rs-item { transition: var(--t-base); }
.rs-item:hover {
  border-color: var(--green);
  transform: translateY(-3px);
  box-shadow: var(--shadow-green);
}
.vi-case { transition: var(--t-base); }
.vi-case:hover { border-color: var(--green-light); box-shadow: var(--shadow-sm); }
.intel-card, .intel-preview-card {
  border-radius: var(--radius-md);
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--rule);
  background: var(--white);
  overflow: hidden;
  transition: var(--t-base);
}
.intel-card:hover, .intel-preview-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-green);
  transform: translateY(-3px);
}

/* ════════════════════════════════════════════════════════════
   CAC GRID
   ════════════════════════════════════════════════════════════ */
.cac-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}
@media (min-width: 768px) { .cac-grid { grid-template-columns: repeat(4, 1fr); } }
.cac-card {
  border-radius: var(--radius-md);
  padding: clamp(18px, 3vw, 26px);
  background: var(--white);
  border: 1px solid var(--rule);
  text-align: center;
  transition: var(--t-base);
}
.cac-card:hover {
  border-color: var(--green-light);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.cac-icon { font-size: 1.8rem; margin-bottom: 10px; }
.cac-label {
  font-family: var(--ff-mono);
  font-size: .6rem;
  color: var(--ink-soft);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.cac-val { font-size: .9rem; font-weight: 600; color: var(--ink); }

/* ════════════════════════════════════════════════════════════
   TRUST GRID
   ════════════════════════════════════════════════════════════ */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 768px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }
.trust-item {
  border-radius: var(--radius-md);
  padding: clamp(18px, 3vw, 24px);
  background: var(--white);
  border: 1px solid var(--rule);
  transition: var(--t-base);
}
.trust-item:hover { border-color: var(--green-light); box-shadow: var(--shadow-sm); }

/* ════════════════════════════════════════════════════════════
   TEAM / SUPPORTER / INVESTOR / SUBPROG / GOV CARDS
   ════════════════════════════════════════════════════════════ */
.team-card {
  border-radius: var(--radius-md);
  padding: clamp(20px, 3vw, 28px);
  background: var(--white);
  border: 1px solid var(--rule);
  text-align: center;
  transition: var(--t-base);
}
.team-card:hover {
  border-color: var(--green-light);
  box-shadow: var(--shadow-green);
  transform: translateY(-3px);
}
.supporter-card, .investor-card {
  border-radius: var(--radius-md);
  padding: clamp(18px, 3vw, 26px);
  background: var(--white);
  border: 1px solid var(--rule);
  transition: var(--t-base);
}
.supporter-card:hover, .investor-card:hover {
  border-color: var(--green-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.subprog-card {
  border-radius: var(--radius-md);
  padding: clamp(18px, 3vw, 26px);
  background: var(--white);
  border: 1px solid var(--rule);
  transition: var(--t-base);
}
.subprog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.ds-card {
  border-radius: var(--radius-md);
  padding: clamp(18px, 3vw, 26px);
  background: var(--white);
  border: 1px solid var(--rule);
  transition: var(--t-base);
}
.ds-card:hover {
  border-color: var(--blue-light);
  box-shadow: 0 6px 24px rgba(27,79,138,.1);
  transform: translateY(-2px);
}
.gov-tier {
  border-radius: var(--radius-md);
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--rule);
  background: var(--white);
  transition: var(--t-base);
}
.gov-tier:hover { box-shadow: var(--shadow-md); }

/* ════════════════════════════════════════════════════════════
   FORM INPUTS — Better hover + focus
   ════════════════════════════════════════════════════════════ */
.form-input, .form-select, .form-textarea { transition: var(--t-base); }
.form-input:hover, .form-select:hover, .form-textarea:hover {
  border-color: rgba(26,107,60,.28);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(26,107,60,.1);
}

/* ════════════════════════════════════════════════════════════
   FORM CARDS
   ════════════════════════════════════════════════════════════ */
.mem-form-card, .donate-form-card, .verify-card, .yield-predict-card, .investor-contact-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 5vw, 48px);
  box-shadow: var(--shadow-sm);
}

/* ════════════════════════════════════════════════════════════
   PALACE REGISTRY & TBDAP
   ════════════════════════════════════════════════════════════ */
.palace-registry-card {
  background: linear-gradient(135deg, #071a0e 0%, #0a2e18 40%, #145230 100%);
}
.tbdap-panel {
  background: linear-gradient(135deg, #05091a 0%, #0a1020 45%, #0d1530 100%);
}

/* ════════════════════════════════════════════════════════════
   NEWS CARDS
   ════════════════════════════════════════════════════════════ */
.news-card {
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--rule);
  overflow: hidden;
  transition: var(--t-base);
}
.news-card:hover {
  border-color: var(--green-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

/* ════════════════════════════════════════════════════════════
   GALLERY
   ════════════════════════════════════════════════════════════ */
.gm-item, .gallery-item {
  transition: var(--t-base);
  overflow: hidden;
  border-radius: var(--radius-md);
}
.gm-item:hover, .gallery-item:hover {
  transform: scale(1.025);
  box-shadow: var(--shadow-md);
}

/* ════════════════════════════════════════════════════════════
   INITIATIVE PILLS
   ════════════════════════════════════════════════════════════ */
.initiative-pill { transition: var(--t-base); }
.initiative-pill:hover { transform: translateY(-2px); }

/* ════════════════════════════════════════════════════════════
   SECTION BG-PALE — subtle gradient
   ════════════════════════════════════════════════════════════ */
.section.bg-pale {
  background: linear-gradient(180deg, var(--cream) 0%, var(--green-pale) 100%);
}

/* ════════════════════════════════════════════════════════════
   BADGE — flagship gradient
   ════════════════════════════════════════════════════════════ */
.badge-flagship { background: var(--gradient-gold); }

/* ════════════════════════════════════════════════════════════
   REVEAL — smoother cubic easing
   ════════════════════════════════════════════════════════════ */
.js-ready .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .62s cubic-bezier(.25,.46,.45,.94),
              transform .62s cubic-bezier(.25,.46,.45,.94);
}
.js-ready .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ════════════════════════════════════════════════════════════
   MOBILE — touch targets + drawer fade
   ════════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .btn-primary, .btn-ghost, .btn-outline,
  .btn-gold, .btn-earth, .nav-cta { min-height: 44px; }
  .nav-link { min-height: 44px; display: flex; align-items: center; }
  .nav-links { transition: opacity .22s ease; }
  .nav-links:not(.open) { opacity: 0; pointer-events: none; }
  .nav-links.open       { opacity: 1; pointer-events: auto; }
}
@media (max-width: 640px) {
  .footer-impact-bar { padding: 14px 16px; }
  .impact-ticker-items { gap: 8px; }
  .page-cta-actions { flex-direction: column; align-items: center; }
  .page-cta-actions > * { width: 100%; max-width: 320px; justify-content: center; }
}

/* ════════════════════════════════════════════════════════════
   BACK TO TOP BUTTON
   ════════════════════════════════════════════════════════════ */
#back-to-top {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 900;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  border: none;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(26,107,60,.35);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, background .2s ease;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
#back-to-top.btt-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#back-to-top:hover {
  background: var(--green-deep);
  box-shadow: 0 6px 20px rgba(26,107,60,.45);
  transform: translateY(-2px);
}
#back-to-top:active { transform: translateY(0); }
@media (max-width: 640px) {
  #back-to-top { bottom: 20px; right: 16px; width: 40px; height: 40px; font-size: 1rem; }
}

/* ════════════════════════════════════════════════════════════
   MEMBERSHIP FORMS — Mobile fixes
   ════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  /* Form card: tighter padding on small screens */
  .mem-form-card {
    padding: 20px 16px;
    border-radius: var(--radius-md);
  }

  /* Section sub paragraph on membership: readable size */
  #transporters .section-sub,
  #coordinators .section-sub {
    font-size: .88rem;
    margin-bottom: 24px !important;
  }

  /* Ensure form inputs don't overflow the card */
  .df-input {
    font-size: .85rem;
    padding: 10px 12px;
  }
  select.df-input {
    padding-right: 32px;
  }

  /* Submit button full width with proper height */
  .mem-form-card button[type="submit"] {
    width: 100% !important;
    padding: 13px !important;
    font-size: .9rem;
  }

  /* What-you-get list: tighter items */
  .mwyg-item {
    font-size: .82rem;
    padding: 5px 0;
  }
}
