/* Friends of Flagstaff High School — Design System */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700&family=Source+Sans+3:wght@400;500;600;700&display=swap');

:root {
  --navy: #0a1628;
  --navy-mid: #142240;
  --navy-light: #1e3354;
  --gold: #c5a028;
  --gold-light: #e2c45a;
  --gold-dark: #9a7b1a;
  --white: #ffffff;
  --cream: #f8f6f1;
  --gray-100: #f1f3f6;
  --gray-200: #e2e6ec;
  --gray-400: #8b95a5;
  --gray-600: #4a5568;
  --green: #1a4d2e;
  --shadow: 0 4px 24px rgba(10, 22, 40, 0.12);
  --shadow-lg: 0 12px 48px rgba(10, 22, 40, 0.18);
  --radius: 8px;
  --radius-lg: 16px;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Source Sans 3', system-ui, sans-serif;
  --max-width: 1200px;
  --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--navy);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--gold-dark); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.625rem); }

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  border-bottom: 3px solid var(--gold);
  height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1.5rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  color: var(--white);
  flex-shrink: 0;
}
.logo-link:hover { color: var(--gold-light); }

.logo-img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.logo-text .org-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.logo-text .org-tag {
  font-size: 0.7rem;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.main-nav { display: flex; align-items: center; gap: 0.25rem; }

.main-nav a {
  color: rgba(255,255,255,0.88);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--gold-light);
  background: rgba(255,255,255,0.08);
}

.nav-donate {
  background: var(--gold) !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
  margin-left: 0.5rem;
}
.nav-donate:hover {
  background: var(--gold-light) !important;
  color: var(--navy) !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: 2px solid var(--gold);
  color: var(--gold);
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

/* ── Hero ── */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  padding: 6rem 0 7rem;
  overflow: hidden;
  min-height: 88vh;
  display: flex;
  align-items: center;
}

.hero--photo {
  background-image:
    linear-gradient(105deg, rgba(10,22,40,0.94) 0%, rgba(10,22,40,0.78) 45%, rgba(10,22,40,0.55) 100%),
    url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center 30%;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(197,160,40,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(26,77,46,0.15) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}

.hero-content { max-width: 640px; }

.hero-badge {
  display: inline-block;
  background: rgba(197,160,40,0.2);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.35rem 0.875rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero h1 em { color: var(--gold-light); font-style: normal; }

.hero p {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
}

.hero-logo {
  width: min(280px, 40vw);
  filter: drop-shadow(0 8px 32px rgba(0,0,0,0.4));
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgba(255,255,255,0.06);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-light);
  color: var(--white);
}

.btn-gold-outline {
  background: transparent;
  color: var(--gold-dark);
  border-color: var(--gold);
}
.btn-gold-outline:hover {
  background: var(--gold);
  color: var(--navy);
}

/* ── Sections ── */
section { padding: 4.5rem 0; }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-header p {
  color: var(--gray-600);
  margin-top: 0.75rem;
  font-size: 1.0625rem;
}

.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-dark);
  margin-bottom: 0.5rem;
}

.bg-cream { background: var(--cream); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-navy p { color: rgba(255,255,255,0.8); }

/* ── Cards ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  border: 2px solid var(--gold);
}

.card h3 { margin-bottom: 0.75rem; }
.card p { color: var(--gray-600); font-size: 0.975rem; }

/* ── Stats ── */
.stats-bar {
  background: var(--gold);
  padding: 2.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  text-align: center;
}

.stat-item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.25rem;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-item span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-mid);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── Page Header ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 4.5rem 0;
  border-bottom: 3px solid var(--gold);
  position: relative;
  overflow: hidden;
}

.page-hero--photo {
  background-size: cover;
  background-position: center;
}

.page-hero--photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,0.92) 0%, rgba(20,34,64,0.85) 100%);
}

.page-hero--photo .container { position: relative; z-index: 1; }

.page-hero h1 { color: var(--white); margin-bottom: 0.75rem; }
.page-hero p { color: rgba(255,255,255,0.8); max-width: 600px; font-size: 1.0625rem; }

.breadcrumb {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--gold-light); }
.breadcrumb a:hover { color: var(--white); }

/* ── Two Column Layout ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}

.sidebar-card {
  background: var(--cream);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}

.sidebar-card h3 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gold);
}

.sidebar-card ul { list-style: none; }
.sidebar-card li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.9375rem;
}
.sidebar-card li:last-child { border-bottom: none; }

/* ── Leadership Cards ── */
.leader-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.leader-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
}

.leader-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  border: 3px solid var(--gold);
}

.leader-card h3 { margin-bottom: 0.25rem; }
.leader-title {
  color: var(--gold-dark);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}
.leader-card p { color: var(--gray-600); font-size: 0.9rem; }

/* ── Membership Tiers ── */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.tier-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.tier-card.featured {
  border-color: var(--gold);
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}

.tier-card .tier-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.tier-price {
  font-size: 2.5rem;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--gold-dark);
  margin: 1rem 0;
}
.tier-price span { font-size: 1rem; color: var(--gray-400); font-family: var(--font-sans); }

.tier-features {
  list-style: none;
  text-align: left;
  margin: 1.5rem 0;
}
.tier-features li {
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-100);
  padding-left: 1.5rem;
  position: relative;
}
.tier-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold-dark);
  font-weight: 700;
}

/* ── Donate ── */
.donate-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.donate-amount {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
}
.donate-amount:hover,
.donate-amount.selected {
  border-color: var(--gold);
  background: rgba(197,160,40,0.08);
  color: var(--gold-dark);
}

.info-box {
  background: var(--cream);
  border-left: 4px solid var(--gold);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}
.info-box p { font-size: 0.9375rem; color: var(--gray-600); }

.legal-notice {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-top: 2rem;
}

/* ── Blog ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.blog-thumb {
  height: 220px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  border-bottom: 3px solid var(--gold);
  overflow: hidden;
  position: relative;
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-thumb img { transform: scale(1.06); }

.blog-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }

.blog-meta {
  font-size: 0.8125rem;
  color: var(--gray-400);
  margin-bottom: 0.625rem;
}
.blog-meta .tag {
  background: rgba(197,160,40,0.15);
  color: var(--gold-dark);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-weight: 600;
  margin-right: 0.5rem;
}

.blog-card h3 { margin-bottom: 0.625rem; font-size: 1.25rem; }
.blog-card p { color: var(--gray-600); font-size: 0.9375rem; flex: 1; margin-bottom: 1rem; }
.blog-read-more {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--gold-dark);
}

/* Blog post */
.post-content { max-width: 760px; }
.post-content h2 { margin: 2rem 0 1rem; font-size: 1.625rem; }
.post-content h3 { margin: 1.5rem 0 0.75rem; font-size: 1.25rem; }
.post-content p { margin-bottom: 1.25rem; color: var(--gray-600); }
.post-content ul, .post-content ol { margin: 0 0 1.25rem 1.5rem; color: var(--gray-600); }
.post-content li { margin-bottom: 0.5rem; }
.post-content blockquote {
  border-left: 4px solid var(--gold);
  padding: 1rem 1.5rem;
  background: var(--cream);
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--navy-mid);
}

.post-header { margin-bottom: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--gray-200); }
.post-header .blog-meta { font-size: 0.875rem; margin-bottom: 1rem; }

/* ── Forms ── */
.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--navy);
  background: var(--white);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
}

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
}

.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto 2rem; }

/* ── Footer ── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .footer-logo {
  width: 72px;
  margin-bottom: 1rem;
  border-radius: 50%;
  border: 2px solid var(--gold);
}

.footer-brand p { font-size: 0.9rem; line-height: 1.6; margin-bottom: 1rem; }

.footer-ein {
  display: inline-block;
  background: rgba(197,160,40,0.15);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.625rem; }
.footer-col a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}
.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
}

.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: var(--gold-light); }

/* ── Trust badges ── */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(197,160,40,0.3);
  border-radius: var(--radius);
  padding: 0.5rem 0.875rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.8);
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-logo { margin: 0 auto; order: -1; width: 200px; }
  .hero-actions { justify-content: center; }
  .hero-content { max-width: 100%; }
  .two-col { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tier-card.featured { transform: none; }
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }

  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--navy-mid);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 3px solid var(--gold);
    box-shadow: var(--shadow-lg);
  }

  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; padding: 0.75rem 1rem; }
  .nav-donate { margin-left: 0 !important; }

  .logo-text { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 4rem 0 5rem; }
  .impact-grid { grid-template-columns: 1fr !important; }
  .gallery-masonry { columns: 1 !important; }
}

/* ══════════════════════════════════════════
   PREMIUM UPGRADES — Images & Visual Layout
   ══════════════════════════════════════════ */

.site-header.scrolled {
  background: rgba(10, 22, 40, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}

/* Image cards */
.card--image { padding: 0; overflow: hidden; }
.card--image .card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}
.card--image .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.card--image:hover .card-img img { transform: scale(1.08); }
.card--image .card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.5) 0%, transparent 60%);
}
.card--image .card-body { padding: 1.75rem 2rem 2rem; }

/* Split sections */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 480px;
}
.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }

.split-image {
  position: relative;
  overflow: hidden;
  min-height: 360px;
}
.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.split-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(197,160,40,0.15) 0%, transparent 50%);
  pointer-events: none;
}

.split-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3.5rem;
}
.split-content p { color: var(--gray-600); margin-bottom: 1rem; }

/* Impact gallery grid */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 220px);
  gap: 1rem;
}
.impact-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  border: none;
  padding: 0;
  background: var(--navy);
}
.impact-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.3s;
}
.impact-item:hover img {
  transform: scale(1.06);
  filter: brightness(1.05);
}
.impact-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.75) 0%, transparent 55%);
  transition: opacity 0.3s;
}
.impact-item:hover::after { opacity: 0.85; }
.impact-item span {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 2;
  color: var(--white);
  font-weight: 600;
  font-size: 0.9375rem;
  text-align: left;
}
.impact-item.featured { grid-column: span 2; grid-row: span 2; }
.impact-item.wide { grid-column: span 2; }

/* Masonry gallery */
.gallery-masonry {
  columns: 3;
  column-gap: 1.25rem;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 1.25rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}
.gallery-item button {
  width: 100%;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  display: block;
  position: relative;
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.gallery-item img { width: 100%; display: block; }
.gallery-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem 1.25rem 1.25rem;
  background: linear-gradient(to top, rgba(10,22,40,0.85), transparent);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover figcaption { opacity: 1; }

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--gold);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.25;
  position: absolute;
  top: 0.5rem;
  right: 1.5rem;
  line-height: 1;
}
.testimonial-card blockquote {
  font-style: italic;
  color: var(--gray-600);
  margin-bottom: 1.25rem;
  font-size: 0.975rem;
  line-height: 1.7;
  border: none;
  background: none;
  padding: 0;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}
.testimonial-initials {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid var(--gold);
}
.testimonial-author strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--navy);
}
.testimonial-author span {
  font-size: 0.8125rem;
  color: var(--gray-400);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10,22,40,0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.lightbox.open {
  opacity: 1;
  visibility: visible;
}
.lightbox img {
  max-width: min(90vw, 1100px);
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: 2px solid var(--gold);
  color: var(--gold);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(197,160,40,0.15); }
.lightbox-caption {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.85);
  font-size: 0.9375rem;
  text-align: center;
  max-width: 600px;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Program image cards */
.program-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  transition: transform 0.3s, box-shadow 0.3s;
}
.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.program-card-img { height: 220px; overflow: hidden; }
.program-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s;
}
.program-card:hover .program-card-img img { transform: scale(1.07); }
.program-card-body { padding: 1.75rem; }
.program-card-body p { color: var(--gray-600); font-size: 0.9375rem; margin-top: 0.625rem; }

/* Leader initials (no portrait photos until official headshots provided) */

/* Donate hero image strip */
.donate-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.donate-visual img { width: 100%; height: 280px; object-fit: cover; }
.donate-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,22,40,0.7), transparent);
  display: flex;
  align-items: center;
  padding: 2rem;
}
.donate-visual-overlay p {
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  max-width: 320px;
  line-height: 1.3;
}

/* Post featured image */
.post-featured {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}
.post-featured img { width: 100%; max-height: 420px; object-fit: cover; }

/* Marquee partners */
.marquee-wrap {
  overflow: hidden;
  background: var(--navy-mid);
  padding: 1rem 0;
  border-top: 1px solid rgba(197,160,40,0.2);
  border-bottom: 1px solid rgba(197,160,40,0.2);
}
.marquee-track {
  display: flex;
  gap: 3rem;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}
.marquee-track span {
  color: rgba(255,255,255,0.5);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  flex-shrink: 0;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 960px) {
  .split-section { grid-template-columns: 1fr; min-height: auto; }
  .split-section.reverse { direction: ltr; }
  .split-image { min-height: 280px; }
  .split-content { padding: 3rem 1.5rem; }
  .impact-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .impact-item.featured { grid-column: span 2; grid-row: span 1; height: 280px; }
  .impact-item.wide { grid-column: span 2; height: 200px; }
  .impact-item { height: 200px; }
  .gallery-masonry { columns: 2; }
}

@media (max-width: 560px) {
  .gallery-masonry { columns: 1; }
  .impact-grid { grid-template-columns: 1fr; }
  .impact-item.featured, .impact-item.wide { grid-column: span 1; }
}
