/* ===== Reset & Variables ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-950: #052e16;
  --green-900: #0f4c2a;
  --green-700: #166534;
  --green-600: #16a34a;
  --amber-500: #e9971d;
  --amber-400: #f5b942;
  --white: #ffffff;
  --bg: #fafaf8;
  --bg-alt: #f0f4f1;
  --text: #1a1a1a;
  --muted: #6b7280;
  --border: #e5e7eb;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.13);
  --r-sm: 6px; --r-md: 12px; --r-lg: 20px;
  --nav-h: 72px;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font); }

/* ===== Nav ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h); display: flex; align-items: center;
  padding: 0 5%; transition: background .3s, box-shadow .3s;
}
.nav.scrolled, .nav-solid {
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.15rem; color: white; letter-spacing: -.01em;
}
.nav.scrolled .nav-logo, .nav-solid .nav-logo { color: var(--green-900); }
.nav-logo-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--amber-500); flex-shrink: 0;
}
.nav-links {
  display: flex; align-items: center; gap: 28px;
  margin-left: auto; list-style: none;
}
.nav-links a {
  font-size: .875rem; font-weight: 500;
  color: rgba(255,255,255,.88); transition: color .2s;
}
.nav.scrolled .nav-links a, .nav-solid .nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--amber-500) !important; }
.nav-cta {
  margin-left: 8px; padding: 9px 20px;
  background: var(--amber-500); color: white !important;
  border-radius: var(--r-sm); font-weight: 600; font-size: .85rem;
  transition: background .2s, transform .15s;
}
.nav-cta:hover { background: var(--amber-400) !important; transform: translateY(-1px); }
.nav-menu-btn {
  display: none; background: none; border: none; cursor: pointer;
  color: white; margin-left: auto; padding: 8px;
}
.nav.scrolled .nav-menu-btn, .nav-solid .nav-menu-btn { color: var(--text); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--r-sm);
  font-weight: 600; font-size: .925rem; cursor: pointer;
  transition: all .2s; border: none; text-decoration: none;
}
.btn-amber { background: var(--amber-500); color: white; }
.btn-amber:hover { background: var(--amber-400); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(233,151,29,.35); }
.btn-green { background: var(--green-900); color: white; }
.btn-green:hover { background: var(--green-950); transform: translateY(-1px); }
.btn-outline-white { background: transparent; color: white; border: 2px solid rgba(255,255,255,.5); }
.btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.8); }
.btn-outline-green { background: transparent; color: var(--green-900); border: 2px solid var(--green-900); }
.btn-outline-green:hover { background: var(--green-900); color: white; }

/* ===== Layout ===== */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--green-950); color: white; }

.section-eyebrow {
  font-size: .75rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--amber-500); margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.85rem, 4vw, 2.75rem); font-weight: 800;
  line-height: 1.15; letter-spacing: -.025em; margin-bottom: 18px;
}
.section-lead {
  font-size: 1.05rem; color: var(--muted); line-height: 1.75; max-width: 580px;
}
.section-head { margin-bottom: 60px; }
.section-head.center { text-align: center; }
.section-head.center .section-lead { margin: 0 auto; }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; background: var(--green-950); }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(5,46,22,.72) 0%, rgba(15,76,42,.6) 100%);
}
.hero-inner { position: relative; z-index: 2; color: white; max-width: 740px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.18);
  border-radius: 100px; font-size: .75rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.88);
  margin-bottom: 28px;
}
.hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber-400); }
.hero-h1 {
  font-size: clamp(2.2rem, 5vw, 3.9rem); font-weight: 800;
  line-height: 1.08; letter-spacing: -.03em; margin-bottom: 22px;
}
.hero-h1 em { font-style: normal; color: var(--amber-400); }
.hero-p {
  font-size: 1.1rem; color: rgba(255,255,255,.82);
  line-height: 1.72; margin-bottom: 38px; max-width: 540px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255,255,255,.5); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  animation: bounceY 2.2s ease-in-out infinite;
}
@keyframes bounceY {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(7px); }
}

/* ===== Stats Bar ===== */
.stats-bar { background: var(--green-900); padding: 52px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; }
.stat { text-align: center; color: white; }
.stat-n {
  font-size: 2.5rem; font-weight: 800; letter-spacing: -.03em;
  color: var(--amber-400); display: block;
}
.stat-l { font-size: .825rem; color: rgba(255,255,255,.7); margin-top: 4px; }

/* ===== Program Cards ===== */
.programs-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.prog-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 32px 26px;
  transition: transform .2s, box-shadow .2s;
}
.prog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.prog-icon {
  width: 48px; height: 48px; background: var(--bg-alt);
  border-radius: var(--r-sm); display: flex; align-items: center;
  justify-content: center; margin-bottom: 18px; color: var(--green-900);
}
.prog-title { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.prog-desc { font-size: .875rem; color: var(--muted); line-height: 1.65; }

/* ===== About Grid ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/3; }
.about-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.about-img:hover img { transform: scale(1.04); }
.about-body p { font-size: .975rem; color: var(--muted); line-height: 1.78; margin-bottom: 18px; }

/* ===== What We Stand For ===== */
.standfor-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; }
.sf-item { text-align: center; }
.sf-icon {
  width: 80px; height: 80px; margin: 0 auto 14px;
  border-radius: 50%; overflow: hidden; background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center;
  color: var(--green-900);
}
.sf-icon img { width: 100%; height: 100%; object-fit: cover; }
.sf-label { font-size: .875rem; font-weight: 600; line-height: 1.4; }

/* ===== Gallery Preview ===== */
.gallery-preview {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 10px; border-radius: var(--r-lg); overflow: hidden;
}
.gp-item { overflow: hidden; }
.gp-item:first-child { grid-row: span 2; }
.gp-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gp-item:hover img { transform: scale(1.06); }

/* ===== CTA Banner ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--green-950), var(--green-900));
  border-radius: var(--r-lg); padding: 64px 56px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; right: -80px; top: -80px;
  width: 360px; height: 360px; border-radius: 50%;
  background: rgba(255,255,255,.04);
}
.cta-banner::after {
  content: ''; position: absolute; right: 60px; bottom: -120px;
  width: 280px; height: 280px; border-radius: 50%;
  background: rgba(255,255,255,.03);
}
.cta-inner { position: relative; z-index: 1; }
.cta-title { font-size: 1.9rem; font-weight: 800; color: white; margin-bottom: 10px; letter-spacing: -.02em; }
.cta-sub { color: rgba(255,255,255,.78); font-size: .975rem; }
.cta-btns { position: relative; z-index: 1; display: flex; gap: 14px; flex-shrink: 0; }

/* ===== Footer ===== */
.footer { background: #111827; color: rgba(255,255,255,.65); padding: 72px 0 36px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 52px; margin-bottom: 52px;
}
.footer-logo { font-size: 1.3rem; font-weight: 800; color: white; }
.footer-brand p { font-size: .875rem; line-height: 1.72; margin-top: 14px; max-width: 270px; }
.footer-h { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: white; margin-bottom: 18px; }
.footer-ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-ul a { font-size: .875rem; color: rgba(255,255,255,.58); transition: color .2s; }
.footer-ul a:hover { color: var(--amber-500); }
.footer-social { display: flex; gap: 14px; margin-top: 20px; }
.footer-social a { color: rgba(255,255,255,.55); transition: color .2s; }
.footer-social a:hover { color: var(--amber-500); }
.footer-bottom {
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: space-between;
  font-size: .82rem;
}

/* ===== Inner Page Hero ===== */
.page-hero {
  background: linear-gradient(135deg, var(--green-950) 0%, var(--green-900) 100%);
  padding: 140px 0 80px; color: white; text-align: center;
}
.page-hero-eyebrow {
  font-size: .75rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--amber-400); margin-bottom: 14px;
}
.page-hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800;
  letter-spacing: -.03em; margin-bottom: 14px;
}
.page-hero-sub { font-size: 1.05rem; color: rgba(255,255,255,.78); max-width: 560px; margin: 0 auto; }

/* ===== Gallery Page ===== */
.gallery-masonry { columns: 3; column-gap: 14px; }
.gallery-thumb { break-inside: avoid; margin-bottom: 14px; border-radius: var(--r-md); overflow: hidden; cursor: zoom-in; }
.gallery-thumb img { width: 100%; transition: transform .4s; }
.gallery-thumb:hover img { transform: scale(1.04); }
.gallery-caption {
  padding: 12px 14px; background: var(--white);
  border: 1px solid var(--border); border-top: none;
  border-radius: 0 0 var(--r-md) var(--r-md);
  font-size: .8rem; color: var(--muted);
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,.92);
  z-index: 1000; display: none; align-items: center;
  justify-content: center; padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: var(--r-md); object-fit: contain; }
.lb-close {
  position: absolute; top: 18px; right: 22px;
  background: rgba(255,255,255,.12); border: none; color: white;
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; transition: background .2s;
}
.lb-close:hover { background: rgba(255,255,255,.22); }

/* ===== Voting ===== */
.violations-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 40px 0; }
.violation {
  display: flex; gap: 12px; padding: 18px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-md); align-items: flex-start;
}
.vnum {
  width: 26px; height: 26px; background: var(--green-900); color: white;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: .72rem; font-weight: 700; flex-shrink: 0;
}
.vtext { font-size: .875rem; color: var(--muted); line-height: 1.5; }
.vote-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 44px; max-width: 600px; margin: 0 auto;
}
.vote-q { font-size: 1.15rem; font-weight: 700; margin-bottom: 26px; line-height: 1.45; }
.vote-opts { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.vote-opt {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 18px; border: 2px solid var(--border);
  border-radius: var(--r-md); cursor: pointer; transition: all .2s;
}
.vote-opt:hover { border-color: var(--green-700); background: var(--bg-alt); }
.vote-opt.selected { border-color: var(--green-700); background: #f0fdf4; }
.vote-opt input[type=radio] { accent-color: var(--green-700); width: 17px; height: 17px; cursor: pointer; }
.vote-opt label { cursor: pointer; font-weight: 500; font-size: .925rem; }
.vote-thanks { display: none; text-align: center; padding: 28px 0; }
.vote-thanks.show { display: block; }
.vote-thanks-icon { font-size: 2.5rem; margin-bottom: 12px; }

/* ===== Donate ===== */
.donate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
.bank-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.bank-header { background: var(--green-900); padding: 26px 30px; color: white; }
.bank-header h3 { font-size: 1.15rem; font-weight: 700; }
.bank-header p { font-size: .825rem; color: rgba(255,255,255,.75); margin-top: 4px; }
.bank-body { padding: 28px 30px; }
.bank-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 13px 0; border-bottom: 1px solid var(--border);
}
.bank-row:last-child { border-bottom: none; }
.bank-key { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; }
.bank-val { font-weight: 700; font-size: .9rem; font-family: 'SFMono-Regular', Consolas, monospace; }
.copy-btn {
  background: none; border: 1px solid var(--border);
  border-radius: 4px; cursor: pointer; color: var(--green-700);
  padding: 3px 9px; font-size: .7rem; font-weight: 600;
  transition: all .15s;
}
.copy-btn:hover { background: var(--bg-alt); border-color: var(--green-700); }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-label { font-size: .82rem; font-weight: 600; color: var(--text); }
.form-input, .form-textarea {
  padding: 11px 14px; border: 1.5px solid var(--border);
  border-radius: var(--r-sm); font-family: var(--font);
  font-size: .925rem; color: var(--text); background: var(--white);
  transition: border-color .2s; outline: none;
}
.form-input:focus, .form-textarea:focus { border-color: var(--green-700); }
.form-textarea { resize: vertical; min-height: 110px; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .programs-grid { grid-template-columns: repeat(2,1fr); }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .standfor-grid { grid-template-columns: repeat(4,1fr); }
}

@media (max-width: 768px) {
  .section { padding: 68px 0; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 0;
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: var(--white); padding: 0;
    box-shadow: var(--shadow-lg); z-index: 99;
  }
  .nav-links.open li { border-bottom: 1px solid var(--border); }
  .nav-links.open li a {
    display: block; padding: 16px 24px;
    color: var(--muted) !important; font-size: 1rem;
  }
  .nav-links.open .nav-cta {
    margin: 16px 24px 20px; display: block; text-align: center;
    border-radius: var(--r-sm); background: var(--amber-500); color: white !important;
  }
  .nav-menu-btn { display: flex; }
  .programs-grid { grid-template-columns: 1fr; }
  .gallery-masonry { columns: 2; }
  .violations-grid { grid-template-columns: 1fr; }
  .donate-grid { grid-template-columns: 1fr; }
  .standfor-grid { grid-template-columns: repeat(2,1fr); }
  .cta-banner { flex-direction: column; padding: 44px 30px; text-align: center; }
  .cta-btns { flex-wrap: wrap; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .gallery-preview {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px;
  }
  .gp-item:first-child { grid-row: 1; grid-column: span 2; }
  .hero-h1 { font-size: 2rem; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .gallery-masonry { columns: 1; }
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 20px; }
}

/* ===== Scroll Animations ===== */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in-view { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }
