/* ── VARIABLES & RESET ────────────────────────────────────────────────── */
:root {
  --forest:    #1a3a2a;
  --pine:      #2d5a3d;
  --leaf:      #3d7a52;
  --sage:      #6aaa7e;
  --mist:      #c8dfd0;
  --amber:     #d47c2f;
  --gold:      #f0a840;
  --cream:     #f8f4ee;
  --warm-white:#fdfaf6;
  --ink:       #1a1a1a;
  --charcoal:  #2e2e2e;
  --mid:       #666;
  --light:     #999;
  --border:    #e0dbd4;

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;
  --font-serif:   'Lora', serif;

  --radius: 6px;
  --radius-lg: 12px;
  --shadow: 0 2px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.14);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--warm-white);
  line-height: 1.65;
  overflow-x: hidden;
}

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

/* ── NAV ──────────────────────────────────────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(26, 58, 42, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--amber);
  transition: box-shadow 0.3s;
}
#navbar.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.25); }

.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.8rem; font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}
.logo-bv { color: #fff; }
.logo-xc { color: var(--gold); }

.nav-links {
  display: flex; align-items: center; gap: 0.25rem;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.875rem; font-weight: 500;
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
  letter-spacing: 0.02em;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.1); }
.nav-cta {
  background: var(--amber) !important;
  color: #fff !important;
  font-weight: 600 !important;
  padding: 0.4rem 1rem !important;
}
.nav-cta:hover { background: var(--gold) !important; }

.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ── HERO ─────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: linear-gradient(145deg, var(--forest) 0%, #0e2418 60%, #1a2f20 100%);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 100px 2rem 4rem;
}

.hero-track-lines {
  position: absolute; inset: 0;
  pointer-events: none;
}
.track-line {
  position: absolute; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(212,124,47,0.15), transparent);
}
.track-line:nth-child(1) { left: 20%; }
.track-line:nth-child(2) { left: 50%; background: linear-gradient(to bottom, transparent, rgba(212,124,47,0.08), transparent); }
.track-line:nth-child(3) { left: 80%; }

.hero-content {
  max-width: 1200px; margin: 0 auto; width: 100%;
  position: relative; z-index: 2;
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 600;
  color: var(--sage);
  letter-spacing: 0.15em; text-transform: uppercase;
  margin-bottom: 1rem;
  opacity: 0; animation: fadeUp 0.6s 0.2s ease forwards;
}

.hero-title {
  font-family: var(--font-display);
  line-height: 0.9;
  margin-bottom: 1.5rem;
  opacity: 0; animation: fadeUp 0.6s 0.35s ease forwards;
}
.hero-title-main {
  display: block;
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.hero-title-sub {
  display: block;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.7);
  font-style: italic;
  margin-bottom: 1.75rem;
  opacity: 0; animation: fadeUp 0.6s 0.5s ease forwards;
}

.hero-badges {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 2rem;
  opacity: 0; animation: fadeUp 0.6s 0.65s ease forwards;
}
.badge {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.85);
  font-size: 0.75rem; font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  letter-spacing: 0.05em; text-transform: uppercase;
}

.hero-actions {
  display: flex; flex-wrap: wrap; gap: 1rem;
  opacity: 0; animation: fadeUp 0.6s 0.8s ease forwards;
}

.hero-runner {
  position: absolute; right: 8%; bottom: 8%;
  width: clamp(120px, 20vw, 220px);
  color: rgba(255,255,255,0.06);
  opacity: 0; animation: fadeIn 1s 1s ease forwards;
  pointer-events: none;
}

/* ── BUTTONS ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center;
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  transition: all 0.2s;
  cursor: pointer; border: none;
}
.btn-primary {
  background: var(--amber);
  color: #fff;
}
.btn-primary:hover { background: var(--gold); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(212,124,47,0.4); }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-sm { font-size: 0.8rem; padding: 0.5rem 1.25rem; }

/* ── STATS BAR ────────────────────────────────────────────────────────── */
.stats-bar {
  background: var(--pine);
  padding: 2rem;
}
.stats-inner {
  max-width: 900px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 1rem;
}
.stat {
  text-align: center; flex: 1; min-width: 120px;
  display: flex; flex-direction: column; align-items: center;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem; font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.stat-suffix {
  font-family: var(--font-display);
  font-size: 2.5rem; font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem; font-weight: 600;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-top: 0.25rem;
}
.stat-divider {
  width: 1px; height: 40px;
  background: rgba(255,255,255,0.2);
}

/* ── SECTIONS ─────────────────────────────────────────────────────────── */
.section { padding: 6rem 2rem; }
.section-alt { background: var(--cream); }
.container { max-width: 1200px; margin: 0 auto; }

.section-label {
  font-family: var(--font-display);
  font-size: 0.8rem; font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.2em; text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--forest);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 2.5rem;
}
.section-intro {
  max-width: 700px;
  font-size: 1.1rem;
  color: var(--charcoal);
  margin-bottom: 3rem;
  line-height: 1.7;
}

/* ── MISSION ──────────────────────────────────────────────────────────── */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.mission-text p {
  color: var(--charcoal);
  margin-bottom: 1rem;
  line-height: 1.75;
}
.mission-text .lead {
  font-size: 1.15rem;
  color: var(--forest);
  font-weight: 500;
}
.inline-link {
  color: var(--amber);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.inline-link:hover { color: var(--leaf); }

.mission-card-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.mission-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--leaf);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.mission-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.mission-card-icon { font-size: 1.75rem; margin-bottom: 0.75rem; }
.mission-card h3 {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 700;
  color: var(--forest);
  text-transform: uppercase; letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.mission-card p { font-size: 0.875rem; color: var(--mid); line-height: 1.6; }

/* ── PROGRAMS ─────────────────────────────────────────────────────────── */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.program-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.program-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.program-num {
  font-family: var(--font-display);
  font-size: 3rem; font-weight: 800;
  color: var(--mist);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.program-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 700;
  color: var(--forest);
  margin-bottom: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.03em;
}
.program-card p { font-size: 0.9rem; color: var(--charcoal); line-height: 1.7; }
.program-tag {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 0.7rem; font-weight: 600;
  color: var(--amber);
  text-transform: uppercase; letter-spacing: 0.1em;
  border: 1px solid var(--amber);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
}

/* ── FINANCIAL TRANSPARENCY ────────────────────────────────────────────── */
.budget-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.budget-heading {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 700;
  color: var(--forest);
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--mist);
}
.budget-bars { display: flex; flex-direction: column; gap: 1.25rem; }
.budget-bar-item {}
.budget-bar-label {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 0.4rem;
  font-size: 0.875rem; color: var(--charcoal);
}
.budget-bar-pct {
  font-family: var(--font-display);
  font-weight: 700; font-size: 0.9rem;
  color: var(--forest);
}
.budget-bar-track {
  height: 8px; background: var(--mist);
  border-radius: 100px; overflow: hidden;
}
.budget-bar-fill {
  height: 100%; width: 0;
  background: var(--leaf);
  border-radius: 100px;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.budget-bar-fill.accent { background: var(--amber); }

.transparency-note {
  background: var(--cream);
  border: 1px solid var(--border);
  border-left: 4px solid var(--leaf);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex; gap: 1rem; align-items: flex-start;
  font-size: 0.9rem; color: var(--charcoal); line-height: 1.7;
}
.transparency-note-icon { font-size: 1.5rem; flex-shrink: 0; }
.transparency-note strong { color: var(--forest); }

/* ── LEADERSHIP ───────────────────────────────────────────────────────── */
.officers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.officer-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--amber);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.officer-role {
  font-family: var(--font-display);
  font-size: 0.75rem; font-weight: 700;
  color: var(--amber);
  text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
}
.officer-name {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 600;
  color: var(--forest);
  margin-bottom: 0.5rem;
}
.officer-email {
  font-size: 0.8rem; color: var(--leaf);
  word-break: break-all;
}
.officer-email:hover { text-decoration: underline; }

.join-banner {
  background: linear-gradient(135deg, var(--forest), var(--pine));
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.join-text h3 {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 800;
  color: #fff;
  text-transform: uppercase; letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.join-text p { color: rgba(255,255,255,0.8); font-size: 0.95rem; max-width: 500px; }

/* ── CONTACT ──────────────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 4rem;
  align-items: start;
}
.contact-block { margin-bottom: 1.5rem; }
.contact-block-label {
  font-family: var(--font-display);
  font-size: 0.7rem; font-weight: 700;
  color: var(--light);
  text-transform: uppercase; letter-spacing: 0.15em;
  margin-bottom: 0.25rem;
}
.contact-block-value {
  font-size: 1rem; color: var(--charcoal);
  line-height: 1.6;
}
.contact-sub { font-size: 0.85rem; color: var(--mid); }
.contact-email { color: var(--amber); font-weight: 600; }
.contact-email:hover { text-decoration: underline; }

.contact-map-placeholder {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.map-inner {
  padding: 3rem 2rem;
  text-align: center;
  display: flex; flex-direction: column;
  align-items: center; gap: 1rem;
}
.map-pin { font-size: 3rem; }
.map-text {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 600;
  color: var(--forest);
  line-height: 1.5;
}
.map-inner .btn-outline {
  color: var(--forest);
  border-color: var(--forest);
}
.map-inner .btn-outline:hover { background: var(--forest); color: #fff; }

/* ── FOOTER ───────────────────────────────────────────────────────────── */
.footer {
  background: var(--forest);
  border-top: 3px solid var(--amber);
  padding: 3rem 2rem;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; flex-direction: column;
  align-items: center; gap: 1.5rem;
  text-align: center;
}
.footer-brand .logo-bv { color: #fff; font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; }
.footer-brand .logo-xc { color: var(--gold); font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; }
.footer-brand p { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-top: 0.25rem; }
.footer-legal { font-size: 0.8rem !important; color: rgba(255,255,255,0.5) !important; }
.footer-links {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.25rem;
}
.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius);
  transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }
.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.8;
}

/* ── ANIMATIONS ───────────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ───────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .officers-grid { grid-template-columns: repeat(2, 1fr); }
  .mission-grid  { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid  { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { 
    display: none; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--forest);
    padding: 1rem;
    border-bottom: 2px solid var(--amber);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  .hero { padding: 100px 1.5rem 3rem; }
  .hero-runner { display: none; }

  .stats-inner { gap: 0.75rem; }
  .stat-divider { display: none; }

  .section { padding: 4rem 1.5rem; }

  .mission-card-stack { grid-template-columns: 1fr; }
  .programs-grid     { grid-template-columns: 1fr; }
  .officers-grid     { grid-template-columns: 1fr 1fr; }
  .budget-layout     { grid-template-columns: 1fr; }
  .join-banner       { flex-direction: column; text-align: center; padding: 2rem; }
}

@media (max-width: 480px) {
  .officers-grid { grid-template-columns: 1fr; }
  .hero-actions  { flex-direction: column; }
  .hero-actions .btn { text-align: center; justify-content: center; }
}
