/* ============================================================
   GEM HUB INITIATIVE — Editorial Brutalist Redesign
   Dark canvas. Electric green. Type as architecture.
   Fonts: Fraunces (display) + Sora (body)
   ============================================================ */

/* ── TOKENS ─────────────────────────────────────────────────── */
:root {
  /* Brand */
  --green:       #7fb438;
  --green-dim:   #5a8028;
  --green-glow:  rgba(127,180,56,0.18);
  --green-mist:  rgba(127,180,56,0.07);
  --blue:        #3d9bb9;
  --blue-dim:    #2a7a96;

  /* Surfaces */
  --ink:         #080d04;
  --ink-2:       #0f1a08;
  --ink-3:       #182810;
  --ink-4:       #203418;
  --paper:       #f5f7f0;
  --paper-2:     #ecefe6;
  --white:       #ffffff;

  /* Text */
  --txt-high:    rgba(255,255,255,0.92);
  --txt-mid:     rgba(255,255,255,0.55);
  --txt-low:     rgba(255,255,255,0.28);
  --txt-ink:     #1a2410;
  --txt-ink-2:   #4a5e38;

  /* Borders */
  --rule:        rgba(255,255,255,0.08);
  --rule-paper:  rgba(0,0,0,0.09);

  /* Shadows */
  --glow-sm:     0 0 20px rgba(127,180,56,0.25);
  --glow-lg:     0 0 50px rgba(127,180,56,0.35);
  --shadow:      0 8px 40px rgba(0,0,0,0.3);
  --shadow-lg:   0 20px 70px rgba(0,0,0,0.4);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.12);

  /* Radius */
  --r-sm:  6px;
  --r-md:  14px;
  --r-lg:  24px;
  --r-xl:  36px;
  --pill:  999px;

  /* Typography */
  --f-display: 'Fraunces', Georgia, serif;
  --f-body:    'Sora', system-ui, sans-serif;

  /* Motion */
  --ease-expo:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-back:   cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  background: var(--ink);
  color: var(--txt-mid);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }

/* ── SCROLLBAR ───────────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--ink-2); }
::-webkit-scrollbar-thumb { background: var(--green); border-radius: 2px; }

/* ── NOISE TEXTURE OVERLAY ───────────────────────────────────── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 9999;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px;
}

/* ── LAYOUT ──────────────────────────────────────────────────── */
.container       { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.container--wide { max-width: 1480px; margin: 0 auto; padding: 0 28px; }
.section-pad     { padding: 110px 0; }
.section-pad-sm  { padding: 72px 0; }

/* ── DISPLAY TYPE ────────────────────────────────────────────── */
.display-xl {
  font-family: var(--f-display);
  font-size: clamp(52px, 8vw, 110px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -3px;
  color: var(--txt-high);
}
.display-lg {
  font-family: var(--f-display);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -2px;
  color: var(--txt-high);
}
.display-md {
  font-family: var(--f-display);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--txt-high);
}
.section-title { font-family: var(--f-display); font-size: clamp(30px,4vw,52px); font-weight: 800; line-height: 1.05; letter-spacing: -1.5px; color: var(--txt-high); margin-bottom: 20px; }
.section-lead   { font-size: 16px; color: var(--txt-mid); line-height: 1.8; max-width: 560px; margin: 0 auto 52px; }

/* Accent text color */
.txt-green { color: var(--green); }
.txt-blue  { color: var(--blue); }
em.italic  { font-style: italic; color: var(--green); }

/* ── EYEBROW / LABEL ─────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-body); font-size: 10px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--green); margin-bottom: 20px;
}
.eyebrow::before {
  content: '';
  display: block; width: 28px; height: 2px;
  background: var(--green); border-radius: 1px;
}
/* Legacy badge support */
.badge { display: inline-block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--green); margin-bottom: 14px; }

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-body); font-weight: 700; font-size: 13px;
  letter-spacing: 0.5px; cursor: pointer; border: 1.5px solid transparent;
  padding: 14px 30px; border-radius: var(--pill);
  position: relative; overflow: hidden;
  transition: transform 0.3s var(--ease-expo), box-shadow 0.3s var(--ease-expo), background 0.3s, border-color 0.3s, color 0.3s;
  white-space: nowrap;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.3s;
}
.btn:hover::after { opacity: 1; }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px) scale(0.98); }
.btn i { transition: transform 0.3s var(--ease-expo); }
.btn:hover i.fa-arrow-right { transform: translateX(5px); }

.btn-primary {
  background: var(--green); color: var(--ink); border-color: var(--green);
  box-shadow: 0 4px 24px rgba(127,180,56,0.4);
}
.btn-primary:hover {
  background: #91c840; border-color: #91c840; color: var(--ink);
  box-shadow: var(--glow-lg);
}
.btn-ghost {
  background: transparent; color: var(--txt-high);
  border-color: var(--rule);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { border-color: var(--green); color: var(--green); }
.btn-ghost-green {
  background: var(--green-mist); color: var(--green);
  border-color: rgba(127,180,56,0.3);
}
.btn-ghost-green:hover { background: var(--green); color: var(--ink); border-color: var(--green); }
.btn-white { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-white:hover { background: var(--paper); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--green); border-color: var(--green); }
.btn-outline:hover { background: var(--green); color: var(--ink); }
.btn-lg { padding: 18px 40px; font-size: 14px; }
.btn-sm { padding: 9px 20px; font-size: 12px; }

/* ── ALERTS ──────────────────────────────────────────────────── */
.alert { padding: 14px 20px; border-radius: var(--r-md); margin-bottom: 20px; font-size: 14px; font-weight: 500; display: flex; align-items: center; gap: 10px; font-family: var(--f-body); }
.alert-success { background: rgba(127,180,56,0.12); color: var(--green); border: 1px solid rgba(127,180,56,0.25); }
.alert-error   { background: rgba(220,60,60,0.1);  color: #e05555; border: 1px solid rgba(220,60,60,0.2); }

/* ── HEADER ──────────────────────────────────────────────────── */
#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: all 0.5s var(--ease-expo);
  padding: 0;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 36px; height: 76px;
  max-width: 1480px; margin: 0 auto;
  transition: all 0.4s var(--ease-expo);
}
/* Glass on scroll */
#header.scrolled .header-inner {
  background: rgba(8,13,4,0.85);
  backdrop-filter: blur(24px) saturate(1.6);
  border-bottom: 1px solid var(--rule);
  border-radius: 0 0 var(--r-md) var(--r-md);
  margin: 0 20px;
  max-width: calc(100% - 40px);
  padding: 0 28px;
  box-shadow: var(--shadow);
}

.logo-mark {
  font-family: var(--f-display); font-size: 20px; font-weight: 900;
  letter-spacing: -0.5px; color: var(--txt-high);
  transition: color 0.3s;
}
.logo-mark span { color: var(--green); }
.logo-mark:hover { color: var(--green); }

nav#mainNav ul { display: flex; gap: 2px; align-items: center; }
nav#mainNav ul li a {
  padding: 8px 16px; font-size: 13px; font-weight: 600;
  color: var(--txt-mid); border-radius: var(--r-sm);
  transition: all 0.25s; letter-spacing: 0.2px;
}
nav#mainNav ul li a:hover, nav#mainNav ul li a.active { color: var(--txt-high); background: var(--green-mist); }
nav#mainNav ul li a.active { color: var(--green); }

.header-actions { display: flex; align-items: center; gap: 12px; }

/* Mobile toggle */
.nav-toggle { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 6px; cursor: pointer; padding: 10px; z-index: 10; background: rgba(127,180,56,0.08); border: 1px solid var(--rule); border-radius: 8px; transition: all 0.3s ease; }
.nav-toggle:hover { background: rgba(127,180,56,0.12); border-color: var(--green); }
.nav-toggle span { display: block; height: 2px; background: var(--txt-high); border-radius: 2px; transition: all 0.35s var(--ease-expo); width: 24px; }
.nav-toggle.open { background: rgba(127,180,56,0.15); border-color: var(--green); }
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(8px,8px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scale(0); }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(7px,-7px); }

/* ── HERO ────────────────────────────────────────────────────── */
.hero-slider {
  position: relative; height: 100svh; min-height: 600px;
  overflow: hidden;
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1.2s var(--ease-expo); z-index: 1;
}
.hero-slide.active { opacity: 1; z-index: 2; }

/* Full-bleed image bg */
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.08);
  transition: transform 8s linear;
}
.hero-slide.active .hero-bg { transform: scale(1); }

/* Multi-layer overlay for brutalist depth */
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(8,13,4,0.92) 0%, rgba(8,13,4,0.55) 55%, rgba(8,13,4,0.2) 100%),
    linear-gradient(to top, rgba(8,13,4,0.7) 0%, transparent 50%);
}

/* Giant type layout */
.hero-content {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 100px 60px 80px;
  max-width: 1480px; margin: 0 auto; left: 0; right: 0;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--green); margin-bottom: 24px; width: fit-content;
}
.hero-eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.5); }
}

.hero-heading {
  font-family: var(--f-display);
  font-size: clamp(22px, 3.5vw, 38px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -2px;
  color: var(--txt-high);
  max-width: 900px;
  margin-bottom: 30px;
}
.hero-heading em { font-style: italic; color: var(--green); }

.hero-sub {
  color: var(--txt-mid); font-size: clamp(15px,1.4vw,18px);
  line-height: 1.7; max-width: 480px; margin-bottom: 40px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* Slide number */
.hero-slide-count {
  position: absolute; right: 52px; top: 50%; transform: translateY(-50%);
  z-index: 5; display: flex; flex-direction: column; gap: 16px; align-items: center;
}
.hero-count-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.2); cursor: pointer;
  transition: all 0.4s var(--ease-back);
}
.hero-count-dot.active { background: var(--green); height: 28px; border-radius: 3px; }
.hero-count-dot:hover { background: rgba(255,255,255,0.5); }

/* Arrow controls */
.hero-controls {
  position: absolute; bottom: 40px; right: 52px; z-index: 5;
  display: flex; gap: 8px;
}
.hero-arrow {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--rule); background: transparent;
  color: var(--txt-mid); cursor: pointer; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s var(--ease-back);
}
.hero-arrow:hover { border-color: var(--green); color: var(--green); transform: scale(1.1); }

/* Scroll cue */
.hero-scroll {
  position: absolute; bottom: 52px; left: 60px; z-index: 5;
  display: flex; align-items: center; gap: 12px;
  font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--txt-low);
}
.hero-scroll-track {
  width: 44px; height: 1px; background: var(--rule); position: relative; overflow: hidden;
}
.hero-scroll-track::after {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: var(--green); animation: scrollTrack 2.4s ease-in-out infinite;
}
@keyframes scrollTrack { 0% { left: -100%; } 100% { left: 100%; } }

/* ── PAGE HERO (inner pages) ─────────────────────────────────── */
.page-hero {
  margin-top: 0; min-height: 320px;
  display: flex; align-items: flex-end;
  padding: 90px 60px 40px;
  position: relative; overflow: hidden;
  background: var(--ink-2);
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 40%, rgba(127,180,56,0.12) 0%, transparent 60%);
}
/* Giant background word */
.page-hero::after {
  content: attr(data-word);
  position: absolute; right: -20px; bottom: -30px;
  font-family: var(--f-display); font-size: 160px; font-weight: 900;
  color: rgba(255,255,255,0.025); line-height: 1; letter-spacing: -8px;
  pointer-events: none; user-select: none;
}
.page-hero-inner { position: relative; z-index: 1; max-width: 1200px; }
.page-hero h1 { font-family: var(--f-display); font-size: clamp(32px,4vw,52px); color: var(--txt-high); font-weight: 900; letter-spacing: -2px; line-height: 1; margin-bottom: 18px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; }
.breadcrumb li { font-size: 12px; color: var(--txt-low); font-weight: 500; }
.breadcrumb li a { color: var(--txt-mid); transition: color 0.2s; }
.breadcrumb li a:hover { color: var(--green); }
.breadcrumb li:not(:last-child)::after { content: '/'; margin-left: 8px; color: var(--txt-low); }

/* ── TICKER / MARQUEE ────────────────────────────────────────── */
.ticker-wrap {
  background: var(--green); overflow: hidden; padding: 14px 0;
  position: relative;
}
.ticker-track {
  display: flex; gap: 0; width: max-content;
  animation: ticker 28s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-item {
  display: flex; align-items: center; gap: 16px;
  padding: 0 48px; white-space: nowrap;
  font-family: var(--f-body); font-size: 13px; font-weight: 700;
  color: var(--ink); letter-spacing: 0.5px;
}
.ticker-item::after {
  content: '✦';
  font-size: 10px; color: rgba(0,0,0,0.3);
}
.ticker-num { font-family: var(--f-display); font-size: 20px; font-weight: 900; letter-spacing: -0.5px; }

/* ── ABOUT (Homepage) ────────────────────────────────────────── */
.about-split {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 640px;
}
.about-split-img {
  position: relative; overflow: hidden; min-height: 560px;
}
.about-split-img img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform 0.8s var(--ease-expo);
}
.about-split:hover .about-split-img img { transform: scale(1.04); }
.about-split-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, transparent 60%, var(--ink) 100%);
}
.about-split-content {
  background: var(--ink-2);
  padding: 80px 64px 80px 56px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
/* Corner accent */
.about-split-content::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 180px; height: 180px;
  background: radial-gradient(circle at top right, var(--green-glow) 0%, transparent 70%);
}
.about-split-content .eyebrow { margin-bottom: 18px; }
.about-split-content h2 {
  font-family: var(--f-display); font-size: clamp(30px,3vw,44px);
  font-weight: 900; line-height: 1.05; letter-spacing: -1px;
  color: var(--txt-high); margin-bottom: 22px;
}
.about-split-content h2 em { font-style: italic; color: var(--green); }
.about-split-content p { color: var(--txt-mid); font-size: 15px; line-height: 1.8; margin-bottom: 20px; }
.mission-strip {
  background: var(--green-mist); border: 1px solid rgba(127,180,56,0.2);
  border-radius: var(--r-md); padding: 20px 22px;
  margin: 22px 0; display: flex; gap: 14px; align-items: flex-start;
}
.mission-strip-icon {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: var(--r-sm);
  background: var(--green); display: flex; align-items: center; justify-content: center;
}
.mission-strip-icon i { color: var(--ink); font-size: 16px; }
.mission-strip h4 { font-size: 14px; color: var(--txt-high); font-weight: 700; margin-bottom: 4px; }
.mission-strip p { font-size: 13px; color: var(--txt-mid); line-height: 1.6; margin: 0; }
.checklist { display: flex; flex-direction: column; gap: 10px; margin: 18px 0; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--txt-mid); }
.check-icon {
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; margin-top: 1px;
  background: var(--green-mist); border: 1px solid rgba(127,180,56,0.3);
  display: flex; align-items: center; justify-content: center;
}
.check-icon i { font-size: 9px; color: var(--green); }

/* ── SERVICES (What We Do) ───────────────────────────────────── */
.services-section { background: var(--ink); padding: 110px 0; }
.services-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: end; margin-bottom: 64px;
}
.services-header h2 { font-family: var(--f-display); font-size: clamp(36px,4.5vw,60px); font-weight: 900; letter-spacing: -2px; color: var(--txt-high); line-height: 1; }
.services-header h2 em { font-style: italic; color: var(--green); }
.services-header-right { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.services-header-right p { color: var(--txt-mid); font-size: 15px; line-height: 1.75; }

.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
.service-card {
  background: var(--ink-2); position: relative; overflow: hidden;
  padding: 22px 22px 32px; cursor: default;
  transition: background 0.45s var(--ease-expo);
  border: 1px solid var(--rule);
}
.service-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--green) 0%, var(--blue) 100%);
  opacity: 0; transition: opacity 0.45s var(--ease-expo);
}
.service-card:hover { background: var(--ink-3); }
.service-card:hover::before { opacity: 0.07; }

.service-card-media {
  position: relative;
  height: 220px;
  overflow: hidden;
  border-radius: 18px;
  margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(135deg, rgba(127,180,56,0.16), rgba(61,155,185,0.12));
}
.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.72) saturate(0.7);
  transition: transform 0.6s var(--ease-expo), filter 0.45s var(--ease-expo);
}
.service-card:hover .service-card-media img {
  transform: scale(1.04);
  filter: brightness(0.88) saturate(0.9);
}
.service-card-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at top left, rgba(127,180,56,0.28), transparent 42%),
    radial-gradient(circle at bottom right, rgba(61,155,185,0.22), transparent 46%),
    linear-gradient(135deg, var(--ink-3), var(--ink-2));
}
.service-card-fallback i {
  font-size: 54px;
  color: rgba(255,255,255,0.85);
}

.service-num {
  font-family: var(--f-display); font-size: 80px; font-weight: 900;
  color: rgba(255,255,255,0.04); line-height: 1;
  position: absolute; top: 20px; right: 24px;
  letter-spacing: -3px; transition: color 0.45s, transform 0.45s var(--ease-expo);
}
.service-card:hover .service-num { color: rgba(127,180,56,0.12); transform: scale(1.05) translateX(-4px); }
.service-icon {
  width: 52px; height: 52px; border-radius: var(--r-md);
  background: var(--green-mist); border: 1px solid rgba(127,180,56,0.2);
  display: flex; align-items: center; justify-content: center; margin-bottom: 28px;
  transition: all 0.35s var(--ease-back);
}
.service-card:hover .service-icon { background: var(--green); border-color: var(--green); transform: rotate(-6deg) scale(1.1); }
.service-icon i { font-size: 20px; color: var(--green); transition: color 0.35s; }
.service-card:hover .service-icon i { color: var(--ink); }
.service-card h4 { font-family: var(--f-display); font-size: 22px; font-weight: 800; color: var(--txt-high); margin-bottom: 14px; line-height: 1.15; letter-spacing: -0.5px; }
.service-card p { font-size: 14px; color: var(--txt-mid); line-height: 1.75; margin-bottom: 0; }
.service-link { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--green); transition: gap 0.3s var(--ease-expo); }
.service-link:hover { gap: 14px; }

/* Impact banner */
.impact-bar {
  background: var(--green); border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 32px 44px; margin-top: 2px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.impact-bar::before {
  content: '✦ DONATE ✦ PARTNER ✦ VOLUNTEER ✦ IMPACT ✦ DONATE ✦ PARTNER ✦ VOLUNTEER ✦ IMPACT ✦';
  position: absolute; bottom: 4px; right: 0;
  font-size: 9px; font-weight: 700; letter-spacing: 2px;
  color: rgba(0,0,0,0.12); white-space: nowrap; pointer-events: none;
}
.impact-bar p { font-family: var(--f-display); font-size: clamp(18px,2vw,26px); font-weight: 800; color: var(--ink); line-height: 1.2; letter-spacing: -0.5px; }

/* ── STATS ───────────────────────────────────────────────────── */
.stats-section {
  background: var(--ink-2);
  padding: 0; overflow: hidden;
}
.stats-inner {
  display: grid; grid-template-columns: repeat(3,1fr);
}
.stat-block {
  padding: 72px 52px;
  border-right: 1px solid var(--rule);
  position: relative; overflow: hidden;
  transition: background 0.4s;
}
.stat-block:last-child { border-right: none; }
.stat-block::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--green); transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease-expo);
}
.stat-block:hover { background: var(--ink-3); }
.stat-block:hover::before { transform: scaleX(1); }
.stat-block-icon { margin-bottom: 20px; }
.stat-block-icon i { font-size: 22px; color: var(--green); }
.stat-number {
  font-family: var(--f-display); font-size: clamp(52px,6vw,80px);
  font-weight: 900; line-height: 0.9; letter-spacing: -3px; color: var(--txt-high);
  display: flex; align-items: flex-start; gap: 4px;
}
.stat-number .prefix { font-size: 0.45em; color: var(--green); margin-top: 8px; }
.stat-number .suffix { font-size: 0.45em; color: var(--green); margin-top: 8px; }
.stat-label { margin-top: 14px; font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--txt-low); }

/* ── CAUSES ──────────────────────────────────────────────────── */
.causes-section { background: var(--paper); padding: 110px 0; }
.causes-section .eyebrow { color: var(--green-dim); }
.causes-section .eyebrow::before { background: var(--green-dim); }
.causes-section .section-title { color: var(--txt-ink); }
.causes-section .section-lead { color: var(--txt-ink-2); }
.causes-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.cause-card {
  background: var(--white); border-radius: var(--r-lg);
  overflow: hidden; border: 1px solid var(--rule-paper);
  box-shadow: var(--shadow-card);
  transition: all 0.45s var(--ease-expo); display: flex; flex-direction: column;
}
.cause-card:hover { transform: translateY(-8px) scale(1.01); box-shadow: 0 24px 60px rgba(0,0,0,0.15); }
.cause-card-img { height: 230px; overflow: hidden; position: relative; }
.cause-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-expo); }
.cause-card:hover .cause-card-img img { transform: scale(1.07); }
.cause-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--ink); color: var(--white);
  padding: 5px 14px; border-radius: var(--pill);
  font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
}
.cause-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.cause-body h3 { font-family: var(--f-display); font-size: 20px; font-weight: 800; color: var(--txt-ink); margin-bottom: 10px; line-height: 1.25; letter-spacing: -0.4px; }
.cause-body p { font-size: 13.5px; color: var(--txt-ink-2); line-height: 1.7; margin-bottom: 20px; flex: 1; }
.cause-progress-bar { height: 4px; background: var(--paper-2); border-radius: 2px; overflow: hidden; margin-bottom: 8px; }
.cause-progress-fill { height: 100%; background: linear-gradient(90deg, var(--green), #91c840); border-radius: 2px; transition: width 2s var(--ease-expo); }
.cause-progress-info { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; margin-bottom: 20px; }
.cause-progress-info .raised { color: var(--green-dim); }
.cause-progress-info .goal   { color: var(--txt-ink-2); }

/* ── INVOLVE (4 cards) ───────────────────────────────────────── */
.involve-section { background: var(--ink); }
.involve-grid-4 { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin-top: 52px; }
.involve-card-4 {
  border-radius: var(--r-lg); padding: 40px 36px;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden; cursor: default;
  border: 1px solid var(--rule);
  transition: all 0.45s var(--ease-expo);
  background: var(--ink-2);
}
.involve-card-4::after {
  content: ''; position: absolute; inset: 0;
  opacity: 0; transition: opacity 0.45s;
}
.involve-card-4--accent::after  { background: linear-gradient(135deg, rgba(61,155,185,0.08) 0%, transparent 60%); }
.involve-card-4--primary::after { background: linear-gradient(135deg, rgba(127,180,56,0.08) 0%, transparent 60%); }
.involve-card-4--dark::after    { background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, transparent 60%); }
.involve-card-4--light::after   { background: linear-gradient(135deg, rgba(127,180,56,0.06) 0%, rgba(61,155,185,0.06) 100%); }
.involve-card-4:hover { transform: translateY(-6px); border-color: rgba(127,180,56,0.25); box-shadow: var(--glow-sm); }
.involve-card-4:hover::after { opacity: 1; }
.involve-card-4__icon {
  width: 56px; height: 56px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center; margin-bottom: 22px;
  transition: all 0.4s var(--ease-back); position: relative; z-index: 1;
}
.involve-card-4--accent  .involve-card-4__icon { background: rgba(61,155,185,0.12); }
.involve-card-4--primary .involve-card-4__icon { background: var(--green-mist); }
.involve-card-4--dark    .involve-card-4__icon { background: rgba(255,255,255,0.06); }
.involve-card-4--light   .involve-card-4__icon { background: var(--green-mist); }
.involve-card-4:hover .involve-card-4__icon { transform: rotate(-8deg) scale(1.12); }
.involve-card-4__icon i { font-size: 22px; }
.involve-card-4--accent  .involve-card-4__icon i { color: var(--blue); }
.involve-card-4--primary .involve-card-4__icon i { color: var(--green); }
.involve-card-4--dark    .involve-card-4__icon i { color: var(--txt-mid); }
.involve-card-4--light   .involve-card-4__icon i { color: var(--green); }
.involve-card-4 h4 { font-family: var(--f-display); font-size: 22px; font-weight: 800; color: var(--txt-high); margin-bottom: 12px; letter-spacing: -0.5px; line-height: 1.1; position: relative; z-index: 1; }
.involve-card-4 > p { font-size: 14px; color: var(--txt-mid); line-height: 1.75; margin-bottom: 18px; position: relative; z-index: 1; }
.involve-bullets { flex: 1; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; position: relative; z-index: 1; }
.involve-bullets li { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--txt-mid); }
.involve-bullets li::before {
  content: ''; width: 16px; height: 16px; flex-shrink: 0; border-radius: 50%; margin-top: 1px;
  background: var(--green-mist); border: 1px solid rgba(127,180,56,0.25);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath d='M1.5 4l2 2 3-3' stroke='%237fb438' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 9px;
}
.involve-card-4--accent .involve-bullets li::before { background-color: rgba(61,155,185,0.1); border-color: rgba(61,155,185,0.25); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath d='M1.5 4l2 2 3-3' stroke='%233d9bb9' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.involve-btn { margin-top: auto; position: relative; z-index: 1; align-self: flex-start; }
.involve-social { display: flex; gap: 8px; margin-bottom: 18px; position: relative; z-index: 1; flex-wrap: wrap; }
.involve-social a { width: 36px; height: 36px; border-radius: 50%; background: var(--green-mist); border: 1px solid rgba(127,180,56,0.25); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 13px; transition: all 0.3s var(--ease-back); }
.involve-social a:hover { background: var(--green); color: var(--ink); transform: translateY(-4px) scale(1.1); }

/* ── VIDEO SECTION ───────────────────────────────────────────── */
.video-join-section { background: var(--ink-2); overflow: hidden; }
.video-join-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.video-join-heading {
  font-family: var(--f-display); font-size: clamp(28px,3.5vw,46px);
  font-weight: 900; color: var(--txt-high); line-height: 1.05;
  margin: 14px 0 20px; letter-spacing: -1px;
}
.video-join-sub { color: var(--txt-mid); font-size: 15px; line-height: 1.8; margin-bottom: 32px; max-width: 420px; }
.video-join-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.video-join-deco { position: absolute; bottom: -40px; right: -10px; width: 140px; height: 140px; opacity: 0.15; pointer-events: none; }
.video-join-left { position: relative; }
.video-thumb { position: relative; border-radius: var(--r-xl); overflow: hidden; cursor: pointer; }
.video-thumb-img { width: 100%; height: 400px; object-fit: cover; display: block; filter: sepia(40%) contrast(0.95) brightness(0.88); transition: filter 0.6s var(--ease-expo), transform 0.7s var(--ease-expo); }
.video-thumb:hover .video-thumb-img { filter: sepia(5%) contrast(1) brightness(1); transform: scale(1.03); }
.video-thumb-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,13,4,0.55) 0%, rgba(8,13,4,0.08) 60%, transparent 100%); transition: background 0.4s; }
.video-thumb:hover .video-thumb-overlay { background: rgba(8,13,4,0.1); }
.video-play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); background: rgba(127,180,56,0.15); border: 1.5px solid rgba(127,180,56,0.5); width: 76px; height: 76px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.4s var(--ease-back); backdrop-filter: blur(10px); }
.video-play-btn:hover { background: var(--green); border-color: var(--green); transform: translate(-50%,-50%) scale(1.15); box-shadow: var(--glow-lg); }
.video-play-btn i { color: var(--white); font-size: 22px; margin-left: 4px; }
.video-modal { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; }
.video-modal.open { display: flex; }
.video-modal-backdrop { position: absolute; inset: 0; background: rgba(5,8,3,0.92); backdrop-filter: blur(8px); }
.video-modal-content { position: relative; z-index: 2; width: 92%; max-width: 900px; }
.video-modal-close { position: absolute; top: -52px; right: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--green-mist); border: 1px solid rgba(127,180,56,0.3); color: var(--green); font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
.video-modal-close:hover { background: var(--green); color: var(--ink); transform: rotate(90deg); }
.video-modal-frame { position: relative; padding-bottom: 56.25%; height: 0; border-radius: var(--r-lg); overflow: hidden; background: #000; }
.video-modal-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ── EVENTS ──────────────────────────────────────────────────── */
.events-section { background: var(--ink-3); padding: 110px 0; }
.events-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.event-card { background: var(--ink-2); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--rule); display: grid; grid-template-columns: 200px 1fr; transition: all 0.4s var(--ease-expo); }
.event-card:hover { border-color: rgba(127,180,56,0.25); transform: translateY(-5px); box-shadow: var(--glow-sm); }
.event-img { overflow: hidden; }
.event-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-expo); filter: brightness(0.7) saturate(0.6); }
.event-card:hover .event-img img { transform: scale(1.06); filter: brightness(0.9) saturate(0.9); }
.event-body { padding: 28px 24px; }
.event-date-tag { display: inline-flex; align-items: center; gap: 6px; background: var(--green-mist); border: 1px solid rgba(127,180,56,0.2); color: var(--green); padding: 5px 14px; border-radius: var(--pill); font-size: 11px; font-weight: 700; letter-spacing: 0.5px; margin-bottom: 14px; }
.event-body h3 { font-family: var(--f-display); font-size: 18px; font-weight: 800; color: var(--txt-high); margin-bottom: 10px; line-height: 1.3; }
.event-body p { font-size: 13px; color: var(--txt-mid); line-height: 1.7; margin-bottom: 14px; }
.event-meta { display: flex; flex-direction: column; gap: 6px; }
.event-meta span { font-size: 12px; color: var(--txt-low); display: flex; align-items: center; gap: 8px; }
.event-meta span i { color: var(--green); width: 14px; }
.event-meta strong { color: var(--txt-mid); font-weight: 600; }
.event-link { display: inline-flex; align-items: center; gap: 7px; color: var(--green); font-weight: 700; font-size: 12px; letter-spacing: 0.5px; margin-top: 16px; transition: gap 0.3s; }
.event-link:hover { gap: 12px; }

/* ── CONTACT ─────────────────────────────────────────────────── */
.contact-section { background: var(--ink-2); }
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: start; }
.contact-form .form-group { margin-bottom: 18px; }
.contact-form label { display: block; font-weight: 600; color: var(--txt-mid); margin-bottom: 8px; font-size: 12px; letter-spacing: 0.5px; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; padding: 14px 18px;
  background: var(--ink-3); border: 1px solid var(--rule);
  border-radius: var(--r-md); font-family: var(--f-body); font-size: 14px;
  color: var(--txt-high); transition: all 0.3s var(--ease-expo); outline: none;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: rgba(127,180,56,0.5); box-shadow: 0 0 0 3px var(--green-mist); }
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-panel {
  background: var(--ink-3); border-radius: var(--r-xl);
  overflow: hidden; border: 1px solid var(--rule);
}
.contact-panel-top {
  background: var(--green); padding: 36px 32px; position: relative; overflow: hidden;
}
.contact-panel-top::before { content: ''; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; background: rgba(255,255,255,0.1); }
.contact-panel-top h3 { font-family: var(--f-display); font-size: 26px; color: var(--ink); font-weight: 900; margin-bottom: 4px; letter-spacing: -0.5px; }
.contact-panel-top p { color: rgba(0,0,0,0.5); font-size: 13px; }
.contact-list { padding: 28px 32px; display: flex; flex-direction: column; gap: 20px; }
.contact-list-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-list-icon { width: 38px; height: 38px; border-radius: var(--r-sm); background: var(--green-mist); border: 1px solid rgba(127,180,56,0.2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-list-icon i { color: var(--green); font-size: 14px; }
.contact-list-item strong { display: block; color: var(--txt-low); font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 3px; }
.contact-list-item span { color: var(--txt-mid); font-size: 13px; }
.contact-social-row { padding: 0 32px 28px; display: flex; gap: 10px; }
.contact-social-row a { width: 36px; height: 36px; border-radius: 50%; background: var(--green-mist); border: 1px solid rgba(127,180,56,0.2); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 13px; transition: all 0.3s var(--ease-back); }
.contact-social-row a:hover { background: var(--green); color: var(--ink); transform: translateY(-3px); }
.donate-aside { background: var(--green); border-radius: var(--r-lg); padding: 28px 32px; margin-top: 16px; }
.donate-aside h4 { font-family: var(--f-display); font-size: 20px; color: var(--ink); font-weight: 900; margin-bottom: 8px; }
.donate-aside p { color: rgba(0,0,0,0.55); font-size: 13px; line-height: 1.65; margin-bottom: 18px; }

/* ── NEWS ────────────────────────────────────────────────────── */
.news-section { background: var(--paper); padding: 110px 0; }
.news-section .eyebrow { color: var(--green-dim); }
.news-section .eyebrow::before { background: var(--green-dim); }
.news-section .section-title { color: var(--txt-ink); }
.news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.news-card { background: var(--white); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--rule-paper); box-shadow: var(--shadow-card); transition: all 0.45s var(--ease-expo); }
.news-card:hover { transform: translateY(-8px); box-shadow: 0 24px 60px rgba(0,0,0,0.12); }
.news-card-img { height: 210px; overflow: hidden; position: relative; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-expo); }
.news-card:hover .news-card-img img { transform: scale(1.07); }
.news-date-badge { position: absolute; top: 14px; left: 14px; background: var(--ink); color: var(--white); border-radius: var(--r-sm); padding: 8px 12px; text-align: center; line-height: 1.2; }
.news-date-badge .day { font-family: var(--f-display); font-size: 22px; display: block; font-weight: 900; }
.news-date-badge .month { font-size: 9px; text-transform: uppercase; letter-spacing: 1px; opacity: 0.6; }
.news-card-body { padding: 22px; }
.news-meta { display: flex; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.news-meta span { font-size: 10px; color: var(--txt-ink-2); display: flex; align-items: center; gap: 5px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; }
.news-meta .cat { color: var(--green-dim); }
.news-card-body h4 { font-family: var(--f-display); font-size: 17px; font-weight: 800; line-height: 1.35; margin-bottom: 10px; letter-spacing: -0.3px; }
.news-card-body h4 a { color: var(--txt-ink); transition: color 0.2s; }
.news-card-body h4 a:hover { color: var(--green-dim); }
.news-card-body p { color: var(--txt-ink-2); font-size: 13px; line-height: 1.65; }

/* ── SINGLE POST ─────────────────────────────────────────────── */
.single-post { max-width: 820px; margin: 0 auto; }
.single-post h1 { font-family: var(--f-display); font-size: clamp(28px,3.5vw,44px); color: var(--txt-high); font-weight: 900; letter-spacing: -1px; margin-bottom: 22px; line-height: 1.1; }
.single-post .post-content { color: var(--txt-mid); font-size: 16px; line-height: 1.85; }
.single-post .post-content p { margin-bottom: 22px; }
.single-post .post-content h2, .single-post .post-content h3 { font-family: var(--f-display); color: var(--txt-high); margin: 36px 0 16px; font-weight: 800; letter-spacing: -0.5px; }
.single-post .post-content ul,
.single-post .post-content ol {
  margin: 14px 0 22px;
  padding-left: 26px;
}
.single-post .post-content ul { list-style: disc; }
.single-post .post-content ol { list-style: decimal; }
.single-post .post-content li { margin: 6px 0; }
.single-post .post-content li::marker { color: #7fb43a; font-weight: 700; }
.single-post .post-content p:has(img) {
  margin: 34px 0;
}
.single-post .post-content img {
  width: min(100%, 680px);
  height: 380px;
  margin: 0 auto;
  border-radius: var(--r-lg);
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--rule);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  box-shadow: var(--shadow-lg);
  filter: brightness(0.9) saturate(0.85);
}
.single-post .post-content a img {
  transition: transform 0.45s var(--ease-expo), filter 0.45s var(--ease-expo), border-color 0.3s;
}
.single-post .post-content a:hover img {
  transform: translateY(-4px) scale(1.01);
  filter: brightness(0.98) saturate(1);
  border-color: rgba(127,180,56,0.28);
}

/* Project details headings use a brighter accent for stronger contrast on dark backgrounds. */
.project-details-view h1,
.project-details-view .post-content h1,
.project-details-view .post-content h2,
.project-details-view .post-content h3,
.project-details-view .post-content h4 {
  color: #7fb43a !important;
  text-shadow: 0 0 18px rgba(127, 180, 58, 0.28);
}

.page-hero h1,
.project-details-view .post-content h5,
.project-details-view .post-content h6,
.project-details-view .post-content strong {
  color: #7fb43a !important;
}

.project-content-formatted .project-section-heading {
  color: #7fb43a !important;
  font-family: var(--f-display);
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 800;
  letter-spacing: -0.4px;
  margin: 32px 0 12px;
  line-height: 1.2;
  text-shadow: 0 0 18px rgba(127, 180, 58, 0.28);
}

/* Quill/pasted content can carry inline dark colors; force heading-like content to brand green. */
.project-content-formatted h1,
.project-content-formatted h2,
.project-content-formatted h3,
.project-content-formatted h4,
.project-content-formatted h5,
.project-content-formatted h6,
.project-content-formatted p > strong:only-child,
.project-content-formatted p > b:only-child {
  color: #7fb43a !important;
  font-family: var(--f-display);
}

.project-content-formatted h1 *,
.project-content-formatted h2 *,
.project-content-formatted h3 *,
.project-content-formatted h4 *,
.project-content-formatted h5 *,
.project-content-formatted h6 *,
.project-content-formatted p > strong:only-child *,
.project-content-formatted p > b:only-child * {
  color: #7fb43a !important;
}

/* Re-enable list semantics inside editor content (global reset disables all ul markers). */
.project-content-formatted ul,
.project-content-formatted ol {
  margin: 14px 0 22px;
  padding-left: 26px;
}

.project-content-formatted ul {
  list-style: disc;
}

.project-content-formatted ol {
  list-style: decimal;
}

.project-content-formatted li {
  margin: 6px 0;
  color: var(--txt-mid);
}

.project-content-formatted li::marker {
  color: #7fb43a;
  font-weight: 700;
}

/* ── ABOUT PAGE ──────────────────────────────────────────────── */
.wwa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.wwa-media {
  position: relative;
}
.wwa-media::after {
  content: '';
  position: absolute;
  inset: auto 20px -20px 20px;
  height: 34%;
  border-radius: 0 0 var(--r-xl) var(--r-xl);
  background: linear-gradient(180deg, rgba(127,180,56,0), rgba(127,180,56,0.18));
  filter: blur(20px);
  opacity: 0.9;
  pointer-events: none;
}
.wwa-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-xl);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}
.wwa-copy {
  display: grid;
  gap: 16px;
  margin-bottom: 22px;
}
.wwa-copy p {
  color: var(--txt-mid);
  line-height: 1.9;
  font-size: 15px;
  margin: 0;
  max-width: 62ch;
}
.wwa-copy p:first-child {
  font-size: 16px;
  color: var(--txt-high);
}
.wwa-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0; }
.wwa-feature { background: var(--ink-3); border-radius: var(--r-md); padding: 16px 18px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--rule); transition: all 0.3s var(--ease-expo); }
.wwa-feature:hover { border-color: rgba(127,180,56,0.3); background: var(--green-mist); }
.wwa-feature i { color: var(--green); font-size: 16px; }
.wwa-feature span { font-weight: 700; color: var(--txt-high); font-size: 13px; }
.about-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--rule); margin-bottom: 32px; }
.about-tab { padding: 12px 22px; cursor: pointer; font-weight: 700; color: var(--txt-low); border-bottom: 2px solid transparent; margin-bottom: -1px; transition: all 0.25s; font-size: 13px; border-radius: var(--r-sm) var(--r-sm) 0 0; }
.about-tab.active { color: var(--green); border-bottom-color: var(--green); background: var(--green-mist); }
.about-tab:hover:not(.active) { color: var(--txt-mid); background: rgba(255,255,255,0.03); }
.tab-pane { display: none; }
.tab-pane.active { display: block; }
.process-steps { display: flex; align-items: flex-start; position: relative; margin-top: 60px; }
.process-steps::before { content: ''; position: absolute; top: 29px; left: 12.5%; right: 12.5%; height: 1px; background: linear-gradient(90deg, var(--green) 0%, var(--blue) 100%); opacity: 0.4; }
.process-step { flex: 1; text-align: center; padding: 0 16px; }
.process-step-icon { width: 58px; height: 58px; background: var(--green); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; color: var(--ink); font-size: 18px; position: relative; z-index: 1; box-shadow: 0 4px 20px rgba(127,180,56,0.4); transition: all 0.35s var(--ease-back); }
.process-step:hover .process-step-icon { transform: scale(1.15) translateY(-4px); box-shadow: var(--glow-lg); }
.process-step h4 { font-family: var(--f-display); font-size: 15px; color: var(--txt-high); font-weight: 700; }

/* Team */
.team-cards-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 52px; }
.team-member-card { background: var(--ink-3); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--rule); transition: all 0.45s var(--ease-expo); display: flex; flex-direction: column; }
.team-member-card:hover { border-color: rgba(127,180,56,0.25); transform: translateY(-7px); box-shadow: var(--glow-sm); }
.team-member-photo { position: relative; height: 260px; overflow: hidden; }
.team-member-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.7s var(--ease-expo); display: block; filter: brightness(0.8) saturate(0.6); }
.team-member-card:hover .team-member-photo img { transform: scale(1.06); filter: brightness(0.9) saturate(0.8); }
.team-member-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,13,4,0.9) 0%, rgba(8,13,4,0.05) 55%, transparent 100%); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 20px; opacity: 0; transition: opacity 0.35s; }
.team-member-card:hover .team-member-overlay { opacity: 1; }
.team-read-more { background: var(--green); color: var(--ink); border: none; border-radius: var(--pill); padding: 10px 24px; font-size: 12px; font-weight: 700; cursor: pointer; display: flex; align-items: center; gap: 8px; font-family: var(--f-body); transition: all 0.3s var(--ease-back); transform: translateY(10px); letter-spacing: 0.5px; }
.team-member-card:hover .team-read-more { transform: translateY(0); }
.team-read-more:hover { background: #91c840; }
.team-member-info { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.team-member-info h4 { font-family: var(--f-display); font-size: 17px; font-weight: 800; color: var(--txt-high); margin-bottom: 4px; }
.team-member-role { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--green); margin-bottom: 12px; }
.team-member-short { font-size: 13px; color: var(--txt-mid); line-height: 1.65; margin-bottom: 14px; flex: 1; }
.team-link { display: inline-flex; align-items: center; gap: 7px; background: none; border: none; color: var(--green); font-size: 11px; font-weight: 700; cursor: pointer; padding: 0; font-family: var(--f-body); transition: gap 0.2s; letter-spacing: 1px; text-transform: uppercase; }
.team-link:hover { gap: 12px; }

/* Bio Modal */
.bio-modal-overlay { position: fixed; inset: 0; z-index: 9998; background: rgba(4,7,2,0.88); backdrop-filter: blur(10px); display: none; align-items: center; justify-content: center; padding: 20px; }
.bio-modal-overlay.open { display: flex; }
.bio-modal-box { background: var(--ink-2); border: 1px solid var(--rule); border-radius: var(--r-xl); max-width: 860px; width: 100%; position: relative; box-shadow: var(--shadow-lg); overflow: hidden; max-height: 90vh; overflow-y: auto; }
.bio-modal-close { position: absolute; top: 16px; right: 16px; background: var(--green-mist); border: 1px solid rgba(127,180,56,0.25); width: 38px; height: 38px; border-radius: 50%; font-size: 18px; cursor: pointer; color: var(--green); display: flex; align-items: center; justify-content: center; z-index: 5; transition: all 0.25s; }
.bio-modal-close:hover { background: var(--green); color: var(--ink); transform: rotate(90deg); }
.bio-modal-inner { display: grid; grid-template-columns: 260px 1fr; }
.bio-modal-left { background: var(--ink-3); display: flex; flex-direction: column; }
.bio-modal-left img { width: 100%; height: 300px; object-fit: cover; object-position: top; filter: brightness(0.85) saturate(0.7); }
.bio-modal-name-wrap { padding: 22px 22px 26px; flex: 1; }
.bio-modal-name-wrap h3 { font-family: var(--f-display); font-size: 22px; color: var(--txt-high); margin-bottom: 6px; font-weight: 900; letter-spacing: -0.5px; }
.bio-modal-role { font-size: 10px; color: var(--green); font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; }
.bio-modal-right { padding: 36px; display: flex; align-items: flex-start; }
.bio-modal-right p { font-size: 15px; color: var(--txt-mid); line-height: 1.85; margin: 0; }

/* ── DONATION PAGE ───────────────────────────────────────────── */
.donation-amounts { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.amount-btn { padding: 10px 22px; border: 1px solid var(--rule); border-radius: var(--pill); background: transparent; cursor: pointer; font-weight: 700; font-size: 15px; color: var(--txt-mid); transition: all 0.25s var(--ease-back); font-family: var(--f-body); }
.amount-btn.active, .amount-btn:hover { border-color: var(--green); color: var(--green); background: var(--green-mist); transform: scale(1.05); }
.donation-wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 44px; }

/* ── SCROLL ANIMATIONS ───────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.85s var(--ease-expo), transform 0.85s var(--ease-expo); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left  { opacity: 0; transform: translateX(-32px); transition: opacity 0.85s var(--ease-expo), transform 0.85s var(--ease-expo); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(32px); transition: opacity 0.85s var(--ease-expo), transform 0.85s var(--ease-expo); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.9); transition: opacity 0.7s var(--ease-expo), transform 0.7s var(--ease-expo); }
.reveal-scale.visible { opacity: 1; transform: scale(1); }
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }
.delay-5 { transition-delay: 0.40s; }
.delay-6 { transition-delay: 0.48s; }

/* ── FOOTER ──────────────────────────────────────────────────── */
footer { background: var(--ink); border-top: 1px solid var(--rule); }
.footer-top { padding: 80px 0 48px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 52px; }
.footer-wordmark { font-family: var(--f-display); font-size: 26px; font-weight: 900; color: var(--txt-high); letter-spacing: -0.5px; margin-bottom: 16px; }
.footer-wordmark span { color: var(--green); }
.footer-brand p { font-size: 13px; color: var(--txt-low); line-height: 1.8; margin-bottom: 20px; }
.footer-info { display: flex; flex-direction: column; gap: 10px; }
.footer-info li { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--txt-low); }
.footer-info li i { color: var(--green); width: 14px; flex-shrink: 0; }
.footer-col h4 { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--txt-low); margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 14px; color: var(--txt-mid); transition: all 0.25s; display: flex; align-items: center; gap: 8px; }
.footer-links a::before { content: '→'; font-size: 11px; color: var(--green); opacity: 0; transform: translateX(-6px); transition: all 0.25s; }
.footer-links a:hover { color: var(--txt-high); padding-left: 4px; }
.footer-links a:hover::before { opacity: 1; transform: translateX(0); }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: var(--green-mist); border: 1px solid rgba(127,180,56,0.2); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 13px; transition: all 0.3s var(--ease-back); }
.footer-social a:hover { background: var(--green); color: var(--ink); transform: translateY(-4px) scale(1.1); }
.footer-bottom { border-top: 1px solid var(--rule); padding: 22px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 12px; color: var(--txt-low); }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { font-size: 12px; color: var(--txt-low); transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--green); }

/* ── BACK TO TOP ─────────────────────────────────────────────── */
#backToTop {
  position: fixed; bottom: 28px; right: 28px; z-index: 998;
  width: 44px; height: 44px; background: var(--green-mist);
  border: 1px solid rgba(127,180,56,0.3); border-radius: 50%;
  cursor: pointer; color: var(--green); font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(20px) scale(0.8);
  transition: all 0.4s var(--ease-back);
}
#backToTop.show { opacity: 1; transform: translateY(0) scale(1); }
#backToTop:hover { background: var(--green); color: var(--ink); transform: translateY(-4px) scale(1.1); box-shadow: var(--glow-sm); }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .about-split { grid-template-columns: 1fr; }
  .about-split-img { min-height: 380px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .team-cards-grid { grid-template-columns: repeat(2,1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .services-header { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .wwa-grid, .contact-grid, .bio-modal-inner { grid-template-columns: 1fr; }
  .causes-grid, .involve-grid-4, .events-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .video-join-inner { grid-template-columns: 1fr; gap: 44px; }
  .donation-wrap { grid-template-columns: 1fr; }
  .hero-content { padding: 90px 28px 64px; }
  .hero-scroll { display: none; }
  .page-hero { padding: 110px 28px 48px; }
}
@media (max-width: 768px) {
  nav#mainNav { display: none; }
  nav#mainNav.open { display: block; position: absolute; top: 76px; left: 0; right: 0; background: rgba(8,13,4,0.97); backdrop-filter: blur(20px); padding: 16px 20px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
  nav#mainNav.open ul { flex-direction: column; gap: 4px; }
  nav#mainNav.open ul li a { display: block; padding: 12px 16px; border-radius: var(--r-sm); }
  .nav-toggle { display: flex; }
  .header-actions .btn { display: none; }
  .header-actions .nav-toggle { display: flex; }
  .header-inner { padding: 0 20px; }
  .wwa-copy p { max-width: none; }
  .stats-inner { grid-template-columns: 1fr; }
  .stat-block { border-right: none; border-bottom: 1px solid var(--rule); padding: 44px 28px; }
  .stat-block:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .team-cards-grid { grid-template-columns: 1fr; }
  .hero-heading { font-size: clamp(20px,4vw,36px); letter-spacing: -1.5px; }
  .process-steps { flex-direction: column; align-items: center; gap: 24px; }
  .process-steps::before { display: none; }
  .bio-modal-inner { grid-template-columns: 1fr; }
  .bio-modal-left { flex-direction: row; }
  .bio-modal-left img { width: 110px; height: 110px; }
  .ticker-item { padding: 0 32px; }
  .about-split-content { padding: 52px 28px; }
  .event-card { grid-template-columns: 1fr; }
  .event-img { height: 200px; }
  /* Blog Detail & Volunteers Pages Responsive */
  .blog-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
  .volunteer-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
  #volunteer-stats { grid-template-columns: 1fr !important; }
}
@media (max-width: 480px) {
  .news-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; }
  .section-pad { padding: 72px 0; }
  .hero-content { padding: 0 20px 60px; }
  .container { padding: 0 18px; }
  /* Blog Detail Page Mobile */
  .single-post h1 { font-size: 24px !important; }
  .single-post img { height: 250px !important; }
  .single-post .post-content p:has(img) { margin: 26px 0; }
  .single-post .post-content img {
    width: 100%;
    height: 220px !important;
    border-radius: 18px;
  }
  /* Volunteers Page Mobile */
  .volunteer-form-wrap { padding: 25px 20px !important; }
  .volunteer-form-wrap h3 { font-size: 20px !important; margin-bottom: 15px !important; }
  .post-meta { gap: 12px !important; }
  .post-meta span { font-size: 13px; }
}
