/* =========================================================
   GLORY SYLVESTER CHARITY FOUNDATION — DESIGN SYSTEM
   Palette: Navy Ink / Deep Gold / Warm Sand / Growth Green
   Type: Playfair Display (display) + Inter (body/UI)
   ========================================================= */

:root {
  /* --- Brand colors (overridable from admin > Site Settings) --- */
  --color-primary: #1E7A46;
  /* Green - major brand color */
  --color-primary-dark: #145934;
  --color-secondary: #101114;
  /* Black */
  --color-secondary-light: #1F2126;
  --color-accent-yellow: #F5B800;
  /* Yellow - secondary accent */
  --color-accent-green: #1E7A46;
  /* success state = brand green */

  --color-bg: #FBFBF9;
  /* White / off-white */
  --color-surface: #FFFFFF;
  /* White - cards */
  --color-text: #14151A;
  /* Near-black */
  --color-text-muted: #5C5F66;
  --color-border: #E7E7E2;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-soft: 0 10px 40px -12px rgba(16, 17, 20, 0.16);
  --shadow-lift: 0 20px 60px -15px rgba(16, 17, 20, 0.26);

  --container: 1200px;
  --transition: 240ms cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* safety net — root causes are fixed below, this just guards against the unknown */
  width: 100%;
}

img,
svg,
video,
iframe {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--color-secondary);
  overflow-wrap: break-word;
}

p {
  margin: 0 0 1em;
  overflow-wrap: break-word;
}

/*
 * Flex/Grid gotcha fix: flex and grid ITEMS default to min-width:auto, which
 * means they refuse to shrink below their content's natural width — a long
 * brand name, address, or email can silently force the whole row (and the
 * page) wider than the viewport. This resets that default everywhere so
 * text wraps instead of pushing layout out.
 */
.hero-grid>*,
.grid>*,
.footer-grid>*,
.nav-wrap>*,
.nav-cta,
.hero-actions>*,
.impact-ribbon>*,
.event-card .body,
.card {
  min-width: 0;
}

/* Visible keyboard focus (accessibility) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.section {
  padding: 88px 0;
}

.section--tight {
  padding: 56px 0;
}

@media (max-width: 600px) {
  .container {
    padding: 0 18px;
  }

  .section {
    padding: 56px 0;
  }

  .section--tight {
    padding: 40px 0;
  }
}

.section--navy {
  background: var(--color-secondary);
  color: #EFE9DA;
}

.section--navy h2,
.section--navy h3 {
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 14px;
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--color-primary);
  display: inline-block;
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.section-head p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 1.5px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(30, 122, 70, .5);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
}

.btn-outline {
  border-color: rgba(255, 255, 255, .4);
  color: inherit;
}

.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-navy {
  background: var(--color-secondary);
  color: #fff;
}

.btn-navy:hover {
  background: var(--color-secondary-light);
}

.btn-sm {
  padding: 9px 20px;
  font-size: .85rem;
}

.btn-block {
  width: 100%;
}

/* ---------- Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 242, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--container);
  margin: 0 auto;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-secondary);
  min-width: 0;
  flex-shrink: 1;
}

.brand img {
  height: 40px;
  width: auto;
  flex-shrink: 0;
}

.brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  font-size: .93rem;
  font-weight: 500;
  color: var(--color-text);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .nav-wrap {
    padding: 14px 18px;
  }

  .brand {
    font-size: 1.05rem;
  }

  .nav-cta {
    gap: 10px;
  }
}

@media (max-width: 380px) {
  .brand {
    font-size: .92rem;
  }

  .btn-sm {
    padding: 8px 16px;
    font-size: .82rem;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--color-secondary) 0%, #171a1a 55%, #101114 100%);
  color: #fff;
  padding: 100px 0 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 15% 20%, rgba(30, 122, 70, .38), transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(245, 184, 0, .16), transparent 50%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}

.hero-eyebrow {
  color: var(--color-accent-yellow);
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: #fff;
  margin-bottom: 22px;
}

.hero h1 em {
  font-style: normal;
  color: var(--color-primary);
}

.hero p.lede {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, .82);
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-art {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #17181c, #202226);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-art .glow {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--color-primary);
  filter: blur(90px);
  opacity: .5;
  top: -40px;
  right: -40px;
}

/* Signature element: floating impact ribbon bridging hero -> content */
.impact-ribbon-wrap {
  position: relative;
  margin-top: 64px;
}

.impact-ribbon {
  position: relative;
  z-index: 5;
  transform: translateY(48%);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--color-border);
}

.impact-stat {
  padding: 34px 28px;
  border-left: 3px solid var(--color-primary);
}

.impact-stat:first-child {
  border-left: none;
}

.impact-stat .num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--color-secondary);
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.impact-stat .num .suffix {
  color: var(--color-accent-yellow);
}

.impact-stat .label {
  font-size: .85rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}

@media (max-width: 900px) {
  .hero {
    padding-top: 88px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-art {
    max-width: 420px;
    margin: 0 auto;
  }

  .impact-ribbon {
    grid-template-columns: repeat(2, 1fr);
    transform: translateY(24px);
  }

  .impact-stat {
    border-top: 3px solid var(--color-primary);
    border-left: none;
    padding: 26px 20px;
  }

  .impact-stat:first-child {
    border-top: none;
  }

  .impact-ribbon-wrap {
    margin-top: 24px;
  }
}

@media (max-width: 480px) {
  .impact-ribbon {
    grid-template-columns: 1fr 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

.spacer-for-ribbon {
  height: 140px;
}

@media (max-width: 900px) {
  .spacer-for-ribbon {
    height: 40px;
  }
}

/* ---------- Cards ---------- */
.card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}

.grid {
  display: grid;
  gap: 28px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 960px) {

  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ---------- Event cards ---------- */
.event-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.event-card .flyer {
  aspect-ratio: 16/10;
  background: var(--color-secondary);
  position: relative;
  overflow: hidden;
}

.event-card .flyer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-date-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.event-date-badge .d {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--color-secondary);
  line-height: 1;
}

.event-date-badge .m {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--color-primary);
  font-weight: 600;
}

.event-card .body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.event-card .meta {
  display: flex;
  gap: 14px;
  font-size: .82rem;
  color: var(--color-text-muted);
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.event-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.event-card p {
  color: var(--color-text-muted);
  font-size: .92rem;
  flex: 1;
}

/* ---------- Gallery preview ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.gallery-grid--wide {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item .play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 17, 20, .4);
}

.gallery-item .play svg {
  width: 34px;
  height: 34px;
  fill: #fff;
}

@media (max-width: 960px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 560px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Partners strip ---------- */
.partners-strip {
  display: flex;
  align-items: center;
  gap: 56px;
  overflow-x: auto;
  padding: 8px 0;
}

.partners-strip img {
  height: 34px;
  width: auto;
  opacity: .55;
  filter: grayscale(1);
  transition: var(--transition);
  flex-shrink: 0;
}

.partners-strip img:hover {
  opacity: 1;
  filter: none;
}

/* ---------- Skeleton loading states ---------- */
.skeleton {
  position: relative;
  overflow: hidden;
  background: #EDE7D9;
  border-radius: var(--radius-sm);
}

.skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: translateX(-100%);
  animation: shimmer 1.4s infinite;
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

.skeleton-card {
  height: 280px;
}

.skeleton-text {
  height: 14px;
  margin-bottom: 8px;
  border-radius: 4px;
}

.skeleton-circle {
  border-radius: 50%;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

/* ---------- Forms ---------- */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-secondary);
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border);
  background: var(--color-surface);
  font-family: inherit;
  font-size: .95rem;
  transition: border-color var(--transition);
}

.form-control:focus {
  border-color: var(--color-primary);
  outline: none;
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

.form-msg {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  font-size: .9rem;
  display: none;
}

.form-msg.success {
  background: #E7F3EC;
  color: var(--color-accent-green);
  display: block;
}

.form-msg.error {
  background: #FBEAE7;
  color: #B23A2E;
  display: block;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-secondary);
  color: rgba(255, 255, 255, .75);
  padding: 64px 0 28px;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.site-footer h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 18px;
}

.site-footer a {
  color: rgba(255, 255, 255, .7);
  font-size: .92rem;
  overflow-wrap: break-word;
}

.site-footer a:hover {
  color: var(--color-primary);
}

.footer-links li {
  margin-bottom: 10px;
  overflow-wrap: break-word;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .82rem;
}

.social-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-row a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer {
    padding: 48px 0 24px;
  }
}

/* ---------- Story Timeline (About Us) ---------- */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 44px 56px;
}

.timeline-item--left {
  left: 0;
  text-align: right;
}

.timeline-item--right {
  left: 50%;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 4px solid var(--color-bg);
  box-shadow: 0 0 0 2px var(--color-primary);
}

.timeline-item--left .timeline-dot {
  right: -8px;
}

.timeline-item--right .timeline-dot {
  left: -8px;
}

.timeline-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  box-shadow: var(--shadow-soft);
  display: inline-block;
  text-align: left;
}

.timeline-year {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: .78rem;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.timeline-card h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.timeline-card p {
  color: var(--color-text-muted);
  font-size: .92rem;
  margin: 0;
}

@media (max-width: 760px) {
  .timeline::before {
    left: 10px;
  }

  .timeline-item,
  .timeline-item--left,
  .timeline-item--right {
    width: 100%;
    left: 0;
    text-align: left;
    padding: 0 0 40px 44px;
  }

  .timeline-item--left .timeline-dot,
  .timeline-item--right .timeline-dot {
    left: 2px;
    right: auto;
  }
}

/* ---------- Team ---------- */
.team-card {
  overflow: hidden;
  text-align: center;
}

.team-photo {
  aspect-ratio: 1;
  background: var(--color-secondary);
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-body {
  padding: 22px;
}

.team-body h3 {
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.team-role {
  color: var(--color-primary);
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.team-body p {
  color: var(--color-text-muted);
  font-size: .88rem;
}

.team-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  font-weight: 700;
  font-size: .78rem;
  margin-top: 6px;
}

.team-linkedin:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

/* ---------- Static page content (Privacy/Terms/Support intro — WYSIWYG output) ---------- */
.static-page-content {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.02rem;
  color: var(--color-text);
}

.static-page-content h2 {
  font-size: 1.5rem;
  margin-top: 1.6em;
}

.static-page-content h3 {
  font-size: 1.2rem;
  margin-top: 1.4em;
}

.static-page-content p {
  color: var(--color-text-muted);
  line-height: 1.7;
}

.static-page-content ul,
.static-page-content ol {
  margin: 0 0 1.2em;
  padding-left: 1.4em;
  color: var(--color-text-muted);
}

.static-page-content li {
  margin-bottom: .5em;
}

.static-page-content a {
  color: var(--color-primary);
  text-decoration: underline;
}

.static-page-content strong {
  color: var(--color-text);
}

@media (max-width: 600px) {
  .static-page-content {
    font-size: .96rem;
  }

  .static-page-content h2 {
    font-size: 1.3rem;
  }
}

/* ---------- Contact page ---------- */
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 28px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info-icon {
  font-size: 1.3rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-label {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--color-text-muted);
  margin-bottom: 2px;
}

.contact-info-value {
  font-weight: 600;
  color: var(--color-text);
  overflow-wrap: break-word;
}

.map-embed-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}

.map-embed-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (min-width: 700px) {
  .map-embed-wrap {
    aspect-ratio: 16/10;
  }
}

/* ---------- Report cards (Reports page) ---------- */
.report-card {
  padding: 30px;
  text-align: center;
  display: block;
}

.report-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.report-year {
  display: inline-block;
  background: var(--color-bg);
  color: var(--color-text-muted);
  font-size: .78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.report-card h3 {
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.report-download {
  font-size: .82rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* ---------- Bank account cards (Support Us page) ---------- */
.bank-card {
  padding: 30px;
  text-align: center;
  width: 100%;
  border: 1px solid var(--color-border);
  cursor: pointer;
  font-family: inherit;
}

.bank-card-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.bank-card-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-secondary);
  margin-bottom: 8px;
}

.bank-card-account {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.bank-card-holder {
  font-size: .88rem;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.bank-card-desc {
  font-size: .82rem;
  color: var(--color-text-muted);
  font-style: italic;
  margin-bottom: 12px;
}

.bank-card-copy {
  font-size: .78rem;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.copy-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--color-secondary);
  color: #fff;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 400;
  box-shadow: var(--shadow-lift);
}

.copy-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- Testimonial cards (Stories page grid) ---------- */
.testi-card {
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.testi-card .stars {
  color: var(--color-accent-yellow);
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testi-card .quote {
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--color-text);
  flex: 1;
  margin-bottom: 20px;
}

.testi-card-footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-card-footer img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

/* ---------- Event tabs (public Events page) ---------- */
.event-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 6px;
  width: fit-content;
  max-width: 100%;
}

.event-tab {
  padding: 10px 26px;
  border-radius: 999px;
  border: none;
  background: none;
  font-weight: 600;
  font-size: .9rem;
  color: var(--color-text-muted);
  transition: var(--transition);
}

.event-tab.active {
  background: var(--color-primary);
  color: #fff;
}

/* ---------- Gallery filters + full page grid ---------- */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.filter-chip {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--color-border);
  background: var(--color-surface);
  font-size: .86rem;
  font-weight: 600;
  color: var(--color-text-muted);
  transition: var(--transition);
}

.filter-chip:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.filter-chip.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.gallery-item {
  border: none;
  background: none;
  padding: 0;
  width: 100%;
}

/* ---------- Lightbox ---------- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 11, .94);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox-overlay.open {
  display: flex;
}

.lightbox-content {
  max-width: 900px;
  max-height: 82vh;
  width: 100%;
}

.lightbox-content img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  margin: 0 auto;
}

.lightbox-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
}

.lightbox-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: var(--radius-sm);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  opacity: .8;
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, .12);
  border: none;
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.1rem;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, .24);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

@media (max-width: 640px) {
  .lightbox-nav {
    width: 38px;
    height: 38px;
  }

  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }

  .lightbox-close {
    top: 10px;
    right: 14px;
  }
}

/* Utility */
.text-center {
  text-align: center;
}

.mt-0 {
  margin-top: 0
}

.mb-0 {
  margin-bottom: 0
}

/* =========================================================
   LANDING PAGE V2 — MODERN UPGRADE
   Append to existing CSS. No existing styles removed.
   ========================================================= */

/* ---------- HERO V2 ---------- */
.hero-v2 {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: var(--color-secondary);
  color: #fff;
  overflow: hidden;
}

.hero-v2-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-v2-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(30, 122, 70, 0.25), transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(245, 184, 0, 0.08), transparent 50%);
  pointer-events: none;
}

.hero-v2-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
}

.hero-v2-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-v2-left {
  max-width: 600px;
}

.hero-v2-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 184, 0, 0.12);
  border: 1px solid rgba(245, 184, 0, 0.2);
  color: var(--color-accent-yellow);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.hero-v2-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent-yellow);
  animation: fPulse 2s ease-in-out infinite;
}

.hero-v2 h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  color: #fff;
  margin: 0 0 24px;
  animation: fFadeInUp 0.9s ease-out 0.4s both;
}

.hero-v2 h1 em {
  font-style: normal;
  color: var(--color-primary);
  position: relative;
}

.hero-v2 h1 em::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 8px;
  background: rgba(30, 122, 70, 0.3);
  border-radius: 4px;
  z-index: -1;
}

.hero-v2-lede {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
  animation: fFadeInUp 0.9s ease-out 0.6s both;
}

.hero-v2-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fFadeInUp 0.9s ease-out 0.8s both;
}

.btn-v2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-v2:hover {
  transform: translateY(-3px);
}

.btn-v2-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 8px 28px -6px rgba(30, 122, 70, 0.5);
}

.btn-v2-primary:hover {
  background: var(--color-primary-dark);
  box-shadow: 0 12px 36px -8px rgba(30, 122, 70, 0.6);
}

.btn-v2-ghost {
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.btn-v2-ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(30, 122, 70, 0.08);
}

.btn-v2-white {
  background: #fff;
  color: var(--color-primary-dark);
  font-weight: 700;
  box-shadow: 0 8px 28px -6px rgba(0, 0, 0, 0.25);
}

.btn-v2-white:hover {
  background: var(--color-accent-yellow);
  color: var(--color-secondary);
}

.hero-v2-right {
  position: relative;
  animation: fFadeInScale 1s ease-out 0.5s both;
}

.hero-v2-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lift);
}

.hero-v2-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 5s ease;
}

.hero-v2-img-wrap:hover img {
  transform: scale(1.05);
}

.hero-v2-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(16, 17, 20, 0.4) 100%);
  pointer-events: none;
}

.hero-v2-float {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 20px 28px;
  box-shadow: var(--shadow-lift);
  display: flex;
  align-items: center;
  gap: 16px;
  animation: fFloatIn 1s ease-out 1.2s both;
  border: 1px solid var(--color-border);
}

.hero-v2-float-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(30, 122, 70, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.hero-v2-float-text strong {
  display: block;
  font-size: 1.1rem;
  color: var(--color-text);
  font-weight: 700;
}

.hero-v2-float-text span {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

/* ---------- RIBBON V2 ---------- */
.ribbon-v2-wrap {
  position: relative;
  z-index: 10;
  margin-top: -30px;
  padding: 0 24px;
}

.ribbon-v2 {
  max-width: 1100px;
  margin: 0 auto;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  border: 1px solid var(--color-border);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}

.ribbon-v2-stat {
  padding: 40px 28px;
  text-align: center;
  position: relative;
  transition: background var(--transition);
}

.ribbon-v2-stat:hover {
  background: rgba(30, 122, 70, 0.03);
}

.ribbon-v2-stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: var(--color-border);
}

.ribbon-v2-num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--color-secondary);
  line-height: 1;
  margin-bottom: 6px;
}

.ribbon-v2-num .suffix {
  color: var(--color-accent-yellow);
}

.ribbon-v2-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* ---------- SECTIONS V2 ---------- */
.section-v2 {
  padding: 100px 0;
}

.section-v2-alt {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section-v2-navy {
  background: var(--color-secondary);
  color: rgba(255, 255, 255, 0.8);
}

.section-v2-navy h2 {
  color: #fff;
}

.container-v2 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.head-v2 {
  max-width: 640px;
  margin-bottom: 56px;
}

.head-v2-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow-v2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 16px;
}

.eyebrow-v2::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--color-primary);
  display: inline-block;
}

.head-v2 h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  margin: 0 0 16px;
}

.head-v2 p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin: 0;
}

/* ---------- MISSION CARDS V2 ---------- */
.mission-grid-v2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.mission-card-v2 {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.mission-card-v2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent-yellow));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.mission-card-v2:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.mission-card-v2:hover::before {
  transform: scaleX(1);
}

.mission-card-v2 h3 {
  font-size: 1.5rem;
  margin: 0 0 16px;
}

.mission-card-v2 p {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 24px;
}

.mission-link-v2 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.9rem;
  transition: gap 0.2s ease;
}

.mission-link-v2:hover {
  gap: 10px;
}

.mission-link-v2::after {
  content: '→';
}

/* ---------- EVENT CARDS V2 ---------- */
.events-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.events-grid-v2 .event-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.events-grid-v2 .event-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}

.events-grid-v2 .event-card .flyer {
  aspect-ratio: 16/10;
  background: var(--color-secondary);
  position: relative;
  overflow: hidden;
}

.events-grid-v2 .event-card .flyer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.events-grid-v2 .event-card:hover .flyer img {
  transform: scale(1.08);
}

/* ---------- GALLERY V2 (MASONRY) ---------- */
.gallery-grid-v2 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.gallery-grid-v2 .gallery-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-grid-v2 .gallery-item:nth-child(4) {
  grid-column: span 2;
}

.gallery-grid-v2 .gallery-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  background: var(--color-secondary);
}

.gallery-grid-v2 .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-grid-v2 .gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-grid-v2 .gallery-item .play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 17, 20, 0);
  transition: background var(--transition);
}

.gallery-grid-v2 .gallery-item:hover .play {
  background: rgba(16, 17, 20, 0.3);
}

.gallery-grid-v2 .gallery-item .play svg {
  width: 36px;
  height: 36px;
  fill: #fff;
  opacity: 0;
  transform: scale(0.8);
  transition: all var(--transition);
}

.gallery-grid-v2 .gallery-item:hover .play svg {
  opacity: 1;
  transform: scale(1);
}

/* ---------- TESTIMONIALS V2 (3-CARD CAROUSEL) ---------- */
.testi-v2-wrap {
  padding: 100px 0;
}

.testi-v2-track-wrap {
  position: relative;
  overflow: hidden;
  padding: 40px 0;
  margin: 0 -24px;
  cursor: grab;
}

.testi-v2-track-wrap:active {
  cursor: grabbing;
}

.testi-v2-track {
  display: flex;
  gap: 20px;
  transition: transform 600ms cubic-bezier(.4, 0, .2, 1);
  padding: 0 calc(50% - 190px);
  will-change: transform;
}

.testi-v2-card {
  flex: 0 0 380px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 40px 36px 36px;
  transition: all 600ms cubic-bezier(.4, 0, .2, 1);
  position: relative;
  opacity: 0.4;
  transform: scale(0.88);
  filter: blur(1px);
  display: flex;
  flex-direction: column;
  min-height: 340px;
  user-select: none;
}

.testi-v2-card.active {
  opacity: 1;
  transform: scale(1.05);
  filter: blur(0);
  z-index: 2;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(30, 122, 70, 0.25);
  box-shadow: 0 24px 80px -20px rgba(0, 0, 0, 0.5);
}

.testi-v2-card.adjacent {
  opacity: 0.65;
  transform: scale(0.94);
  filter: blur(0.5px);
}

.testi-v2-quote-icon {
  color: var(--color-primary);
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.3;
  font-family: var(--font-display);
}

.testi-v2-stars {
  color: var(--color-accent-yellow);
  letter-spacing: 2px;
  font-size: 1rem;
  margin-bottom: 20px;
}

.testi-v2-quote {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 28px;
  flex: 1;
}

.testi-v2-card.active .testi-v2-quote {
  font-size: 1.22rem;
}

.testi-v2-author {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
}

.testi-v2-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid var(--color-primary);
  flex-shrink: 0;
}

.testi-v2-card.active .testi-v2-avatar {
  width: 60px;
  height: 60px;
}

.testi-v2-name {
  font-weight: 700;
  color: #fff;
  font-size: 0.95rem;
  margin: 0;
}

.testi-v2-role {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 2px 0 0;
}

.testi-v2-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
}

.testi-v2-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 240ms ease;
  font-size: 1.1rem;
  font-family: inherit;
}

.testi-v2-arrow:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.testi-v2-dots {
  display: flex;
  gap: 8px;
}

.testi-v2-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  padding: 0;
  cursor: pointer;
  transition: all 300ms ease;
}

.testi-v2-dot.active {
  background: var(--color-primary);
  width: 28px;
  border-radius: 4px;
}

.testi-v2-swipe {
  display: none;
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
  margin-top: 16px;
}

/* ---------- DONATE CTA V2 ---------- */
.donate-v2-wrap {
  padding: 0;
}

.donate-v2-card {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 80px 48px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.donate-v2-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 184, 0, 0.15), transparent 60%);
  pointer-events: none;
}

.donate-v2-card::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06), transparent 60%);
  pointer-events: none;
}

.donate-v2-card h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #fff;
  margin: 0 0 16px;
  position: relative;
  z-index: 1;
}

.donate-v2-card p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
  position: relative;
  z-index: 1;
}

/* ---------- PARTNERS V2 ---------- */
.partners-v2-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  overflow-x: auto;
  padding: 16px 0;
  scrollbar-width: none;
}

.partners-v2-strip::-webkit-scrollbar {
  display: none;
}

.partners-v2-strip img {
  height: 36px;
  width: auto;
  opacity: 0.5;
  filter: grayscale(1);
  transition: all var(--transition);
  flex-shrink: 0;
}

.partners-v2-strip img:hover {
  opacity: 1;
  filter: none;
  transform: scale(1.1);
}

/* ---------- ANIMATIONS ---------- */
@keyframes fFadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fFadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fFloatIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fPulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.6;
    transform: scale(1.3);
  }
}

/* ---------- MOBILE ---------- */
@media (max-width: 900px) {
  .hero-hero-v2-content {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 100px 24px 60px;
  }

  .hero-v2-right {
    order: -1;
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
  }

  .hero-v2-img-wrap {
    aspect-ratio: 16/10;
  }

  .hero-v2-float {
    display: none;
  }

  .ribbon-v2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .ribbon-v2-stat:not(:last-child)::after {
    display: none;
  }

  .ribbon-v2-stat:nth-child(odd)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: var(--color-border);
    display: block;
  }

  .mission-grid-v2 {
    grid-template-columns: 1fr;
  }

  .events-grid-v2 {
    grid-template-columns: 1fr;
  }

  .gallery-grid-v2 {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-grid-v2 .gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
  }

  .gallery-grid-v2 .gallery-item:nth-child(4) {
    grid-column: span 1;
  }

  .testi-v2-track {
    padding: 0 calc(50% - 155px);
  }

  .testi-v2-card {
    flex: 0 0 310px;
    padding: 32px 28px 28px;
    min-height: 300px;
  }

  .testi-v2-card.active {
    transform: scale(1.03);
  }

  .testi-v2-quote {
    font-size: 1rem;
  }

  .testi-v2-card.active .testi-v2-quote {
    font-size: 1.06rem;
  }

  .testi-v2-swipe {
    display: block;
  }

  .donate-v2-card {
    padding: 56px 28px;
  }

  .section-v2 {
    padding: 64px 0;
  }

  .testi-v2-wrap {
    padding: 64px 0;
  }
}

@media (max-width: 480px) {
  .hero-v2 h1 {
    font-size: 2.2rem;
  }

  .hero-v2-actions {
    flex-direction: column;
  }

  .hero-v2-actions .btn-v2 {
    width: 100%;
  }

  .ribbon-v2 {
    grid-template-columns: 1fr 1fr;
  }

  .ribbon-v2-stat {
    padding: 28px 16px;
  }

  .ribbon-v2-stat:nth-child(odd)::after {
    display: none;
  }

  .gallery-grid-v2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid-v2 .gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 1;
  }

  .testi-v2-track {
    padding: 0 calc(50% - 140px);
  }

  .testi-v2-card {
    flex: 0 0 280px;
    padding: 28px 22px 24px;
  }

  .testi-v2-nav {
    margin-top: 28px;
  }

  .testi-v2-arrow {
    width: 42px;
    height: 42px;
  }

  .partners-v2-strip {
    gap: 36px;
  }

  .partners-v2-strip img {
    height: 28px;
  }
}

/* =========================================================
   HERO V2 — MOBILE FIX: Image First, Text Below
   Append this AFTER the existing hero-v2 CSS
   ========================================================= */

@media (max-width: 900px) {
  .hero-v2-content {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 80px 24px 60px;
  }

  /* IMAGE FIRST on mobile */
  .hero-v2-right {
    order: -1;
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
    animation: fFadeInScale 0.8s ease-out 0.2s both;
  }

  .hero-v2-img-wrap {
    aspect-ratio: 16/9;
    max-height: 320px;
  }

  /* Text follows after image */
  .hero-v2-left {
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-v2 h1 {
    font-size: clamp(2rem, 6vw, 2.6rem);
  }

  .hero-v2-lede {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-v2-actions {
    justify-content: center;
  }

  .hero-v2-float {
    display: none;
  }

  /* Center the badge */
  .hero-v2-badge {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 480px) {
  .hero-v2-content {
    padding: 60px 18px 48px;
    gap: 32px;
  }

  .hero-v2-img-wrap {
    aspect-ratio: 4/3;
    max-height: 260px;
    border-radius: var(--radius-md);
  }

  .hero-v2 h1 {
    font-size: 1.9rem;
    margin-bottom: 18px;
  }

  .hero-v2-lede {
    font-size: 1rem;
    margin-bottom: 28px;
  }

  .hero-v2-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .hero-v2-actions .btn-v2 {
    width: 100%;
    padding: 14px 24px;
  }

  .hero-v2-badge {
    font-size: 0.7rem;
    padding: 6px 14px;
    margin-bottom: 20px;
  }
}

/* =========================================================
   NAV MOBILE UPGRADE — Modifies existing selectors
   Append after existing nav styles
   ========================================================= */

/* ---- 1. HAMBURGER → X MORPH ---- */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1.5px solid var(--color-border);
  background: var(--color-surface);
  position: relative;
  z-index: 1002;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  transition: all 200ms ease;
}

.nav-toggle:hover {
  border-color: var(--color-primary);
  background: rgba(30, 122, 70, 0.05);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-secondary);
  border-radius: 2px;
  transition: all 400ms cubic-bezier(.4, 0, .2, 1);
  transform-origin: center;
  margin: 0;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* ---- 2. OVERLAY BACKDROP ---- */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(16, 17, 20, 0.35);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 997;
  opacity: 0;
  visibility: hidden;
  transition: opacity 400ms ease, visibility 400ms ease;
}

.nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* ---- 3. MOBILE SLIDE-IN PANEL ----
   Overrides old full-screen dropdown behavior */
@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(340px, 85vw);
    height: 100vh;
    height: 100dvh;
    background: var(--color-surface);
    z-index: 1000;
    padding: 90px 28px 32px;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 500ms cubic-bezier(.4, 0, .2, 1);
    box-shadow: -20px 0 60px -20px rgba(16, 17, 20, 0.3);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    /* Reset old dropdown styles */
    opacity: 1;
    pointer-events: auto;
    gap: 4px;
    align-items: stretch;
  }

  .nav-links.open {
    transform: translateX(0);
    /* Remove old translateY */
  }

  /* Accent bar */
  .nav-links::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent-yellow));
  }

  /* Link styling inside panel */
  .nav-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    color: var(--color-text);
    font-size: 1.05rem;
    font-weight: 500;
    transition: all 200ms ease;
    position: relative;
  }

  .nav-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--color-primary);
    border-radius: 0 4px 4px 0;
    transform: scaleY(0);
    transition: transform 300ms ease;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: rgba(30, 122, 70, 0.06);
    color: var(--color-primary);
  }

  .nav-links a:hover::before,
  .nav-links a.active::before {
    transform: scaleY(1);
  }

  .nav-toggle {
    display: flex;
  }

  /* Hide header Donate on mobile (shown in panel instead) */
  .nav-cta .btn {
    display: none;
  }

  .nav-cta {
    gap: 10px;
  }
}

@media (min-width: 901px) {
  .nav-overlay {
    display: none !important;
  }

  .nav-links-footer {
    display: none;
  }
}

/* ---- 4. PANEL FOOTER ---- */
.nav-links-footer {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.nav-links-footer .btn {
  display: flex;
  width: 100%;
  padding: 14px;
  font-size: 1rem;
}

.nav-links-footer p {
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 16px;
}

/* ---- 5. BODY SCROLL LOCK ---- */
body.nav-locked {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

/* ---- 6. HEADER SCROLL SHADOW ---- */
.site-header.scrolled {
  background: rgba(251, 248, 242, 0.95);
  box-shadow: 0 4px 30px -8px rgba(16, 17, 20, 0.12);
}

/* Fix: ensure panel sits above overlay */
@media (max-width: 900px) {
  .nav-links {
    z-index: 1000 !important;
  }

  .nav-overlay {
    z-index: 5;
  }
}