/* BAF Design System — Shared across all pages */
:root {
  --ink: #0d1420;
  --ink-deep: #091019;
  --ink-soft: #131f31;
  --surface: #101a29;
  --surface-2: #162336;
  --line: rgba(255,255,255,0.1);
  --text: #f5f1e8;
  --muted: #aab3c4;
  --green: #2e8b57;
  --green-bright: #3cb371;
  --green-light: #7ecfa0;
  --emerald: #62c59a;
  --blue: #6ea4e7;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(46,139,87,0.18), transparent 25%),
    radial-gradient(circle at 85% 20%, rgba(110,164,231,0.14), transparent 22%),
    linear-gradient(180deg, #0a1018 0%, #0c1521 45%, #081019 100%);
  color: var(--text);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.25), transparent 80%);
  opacity: 0.25;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }

/* TOPBAR */
.topbar { border-bottom: 1px solid var(--line); background: rgba(9,16,25,0.78); backdrop-filter: blur(18px); }
.topbar-inner { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 13px; }
.topbar-items { display: flex; gap: 14px; flex-wrap: wrap; }
.topbar-chip { padding: 6px 10px; border: 1px solid rgba(255,255,255,0.08); border-radius: 999px; background: rgba(255,255,255,0.03); }

/* NAVBAR */
.navbar { position: sticky; top: 0; z-index: 20; background: rgba(10,16,24,0.76); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255,255,255,0.06); }
.nav-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }

/* HAMBURGER MENU */
.menu-toggle { display: flex; flex-direction: column; background: none; border: none; cursor: pointer; padding: 8px; position: relative; z-index: 52; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 6px 0; border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* SLIDE MENU */
.slide-menu { position: fixed; top: 0; left: -340px; width: 320px; height: 100vh; z-index: 50; background: rgba(10,16,24,0.97); backdrop-filter: blur(24px); border-right: 1px solid rgba(255,255,255,0.08); transition: left 0.35s cubic-bezier(0.4,0,0.2,1); overflow-y: auto; padding: 90px 28px 40px; }
.slide-menu.open { left: 0; }
.slide-overlay { position: fixed; inset: 0; z-index: 49; background: rgba(0,0,0,0.5); opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.slide-overlay.open { opacity: 1; pointer-events: auto; }
.slide-menu-section { margin-bottom: 28px; }
.slide-menu-label { font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-bright); margin-bottom: 12px; display: block; }
.slide-menu-links { display: grid; gap: 4px; }
.slide-menu-links a { display: block; padding: 10px 14px; border-radius: 12px; color: var(--muted); font-weight: 600; font-size: 15px; transition: background 0.2s, color 0.2s; }
.slide-menu-links a:hover, .slide-menu-links a.active { background: rgba(46,139,87,0.12); color: var(--text); }
.slide-menu-divider { height: 1px; background: rgba(255,255,255,0.06); margin: 8px 0; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark { width: 52px; height: 52px; border-radius: 18px; background: rgba(255,255,255,0.06); border: 1px solid rgba(62,179,113,0.3); display: grid; place-items: center; overflow: hidden; padding: 4px; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; border-radius: 14px; }
.brand-copy strong { display: block; font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; }
.brand-copy small { color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; font-size: 11px; }
.nav-links { display: flex; gap: 14px; flex-wrap: wrap; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: 14px; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border-radius: 999px; border: 1px solid transparent; font-weight: 800; letter-spacing: 0.02em; transition: transform 0.2s ease, box-shadow 0.2s ease; font-family: inherit; font-size: inherit; cursor: pointer; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--green) 0%, var(--green-bright) 100%); box-shadow: 0 16px 40px rgba(46,139,87,0.28); }
.btn-secondary { color: var(--text); border-color: rgba(255,255,255,0.12); background: rgba(255,255,255,0.04); }
.btn-donate { color: #fff; background: linear-gradient(135deg, #c0392b, #e74c3c); box-shadow: 0 12px 30px rgba(192,57,43,0.25); }

/* TYPOGRAPHY */
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; margin: 0; line-height: 1.1; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(46,139,87,0.3); background: rgba(46,139,87,0.1); color: var(--green-bright); font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }

/* SECTIONS */
.section { padding: 42px 0; }
.section-head { margin-bottom: 26px; }
.section-head p { margin: 10px 0 0; max-width: 720px; color: var(--muted); line-height: 1.7; }
.section-head h2 { font-size: clamp(30px, 4vw, 52px); }

/* PAGE HERO */
.page-hero { padding: 70px 0 40px; }
.page-hero h1 { font-size: clamp(38px, 5.5vw, 68px); max-width: 820px; }
.page-hero p { margin: 18px 0 0; max-width: 700px; color: var(--muted); font-size: 18px; line-height: 1.7; }

/* CARDS */
.card { background: linear-gradient(180deg, rgba(20,31,47,0.94), rgba(13,21,33,0.98)); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; position: relative; overflow: hidden; }
.card::before { content: ""; position: absolute; inset: 0; border-top: 1px solid rgba(255,255,255,0.06); pointer-events: none; }
.card h3 { font-size: 24px; margin-bottom: 10px; }
.card p { color: var(--muted); line-height: 1.7; font-size: 15px; margin: 0; }

/* GRIDS */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }

/* NETWORK BAND */
.network-band { padding: 18px 22px; border-radius: 18px; background: linear-gradient(90deg, rgba(46,139,87,0.16), rgba(255,255,255,0.03)); border: 1px solid rgba(46,139,87,0.22); color: var(--text); font-weight: 600; line-height: 1.7; }

/* PILLS */
.pill { display: inline-flex; align-items: center; padding: 8px 12px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.pill-green { background: rgba(46,139,87,0.14); color: var(--green-bright); border: 1px solid rgba(46,139,87,0.28); }

/* AVATAR */
.avatar { width: 80px; height: 80px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, rgba(46,139,87,0.28), rgba(255,255,255,0.05)); border: 1px solid rgba(46,139,87,0.28); color: var(--green-bright); font-weight: 800; font-size: 24px; flex-shrink: 0; }

/* LISTS */
.feature-list { padding: 0; margin: 0; list-style: none; display: grid; gap: 10px; }
.feature-list li { color: var(--muted); line-height: 1.6; font-size: 14px; }
.feature-list li::before { content: "•"; color: var(--green-bright); margin-right: 10px; }

/* CTA BAND */
.cta-band { margin-top: 14px; padding: 34px; border-radius: 28px; background: linear-gradient(135deg, rgba(46,139,87,0.2), rgba(98,197,154,0.08) 48%, rgba(255,255,255,0.03) 100%), rgba(12,18,28,0.92); border: 1px solid rgba(46,139,87,0.22); box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }
.cta-band p { margin: 12px 0 0; color: var(--muted); max-width: 760px; line-height: 1.7; }

/* QUOTE */
.quote-block { padding: 28px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(20,31,47,0.94), rgba(13,21,33,0.98)); border: 1px solid rgba(255,255,255,0.08); }
.quote-block p { color: var(--muted); line-height: 1.8; font-size: 16px; font-style: italic; }
.quote-block footer { margin-top: 14px; color: var(--green-bright); font-weight: 700; }

/* FOOTER */
footer.site-footer { padding: 70px 0 36px; margin-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); background: linear-gradient(180deg, rgba(8,14,22,0.2), rgba(7,12,19,0.78)); }
.footer-grid { display: grid; grid-template-columns: 1.15fr 0.85fr 0.85fr 1fr; gap: 18px; }
.footer-column h4 { font-family: 'Playfair Display', serif; font-size: 22px; margin: 0 0 12px; }
.footer-column p { color: var(--muted); line-height: 1.7; font-size: 15px; margin: 0; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { display: block; color: var(--muted); font-size: 14px; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.06); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }

/* FAQ */
.faq-item { padding: 22px; border-radius: var(--radius-sm); background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); margin-bottom: 12px; cursor: pointer; }
.faq-item h3 { font-size: 18px; color: var(--text); margin: 0; }
.faq-item p { color: var(--muted); line-height: 1.7; margin: 12px 0 0; }
.faq-item.closed p { display: none; }

/* PERSON CARD */
.person-card { display: flex; gap: 20px; align-items: flex-start; }
.person-info h3 { font-size: 22px; margin-bottom: 4px; }
.person-info .role { color: var(--green-bright); font-weight: 700; font-size: 14px; margin-bottom: 10px; display: block; }
.person-info p { color: var(--muted); line-height: 1.7; font-size: 15px; }

/* CONTACT BAR */
.contact-bar { display: flex; flex-wrap: wrap; gap: 20px; padding: 20px 24px; border-radius: 18px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); color: var(--muted); font-size: 14px; }
.contact-bar strong { color: var(--text); }

/* RESPONSIVE */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .topbar { display: none; }
  .nav-inner { min-height: 72px; }
  .nav-links { display: none; }
  .grid-2, .grid-3, .grid-4, .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 34px 0; }
  .btn { width: 100%; }
  .person-card { flex-direction: column; align-items: center; text-align: center; }
  .cta-band { grid-template-columns: 1fr; }
}
