/* ========================================================
   LAYOUT — Hero, Stats, Carousel, Footer
   Cards/forms/modal/badges/tables live in /components/
   ======================================================== */

/* ─── Section Variants ────────────────────────────────────── */
.section-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}
.section-primary h1, .section-primary h2, .section-primary h3, .section-primary h4 { color: var(--primary-foreground); }
.section-primary p { color: oklch(from var(--primary-foreground) l c h / 80%); }

[data-theme="dark"] .section-primary {
  background: var(--gradient-brand);
}

.section-primary-light {
  background: var(--border-focus);
  color: var(--bg);
}
[data-theme="dark"] .section-primary-light {
  background: var(--bg-alt);
}


.section-dark {
  background: var(--primary); /* Dark navy in light mode */
  color: var(--primary-foreground);
}
[data-theme="dark"] .section-dark {
  background: var(--gradient-brand); /* Navy gradient in dark mode */
}
[data-theme="dark"] .section-primary .section-eyebrow { color: var(--accent); }

/* ─── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 6rem 0 5rem;
  color: #fff;
  overflow: hidden;
}
.hero::before {
  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.03'%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") repeat;
}
.hero-inner { position: relative; z-index: 1; max-width: 760px; }
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.375rem 1rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--r-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-size: var(--text-hero);
  color: #fff;
  margin-bottom: 1.25rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.hero-desc {
  font-size: var(--text-lead);
  color: rgba(255,255,255,0.88);
  line-height: 1.72;
  margin-bottom: 2.25rem;
  max-width: 600px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.875rem; }

/* Wave clip on hero bottom */
.hero-wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 60px;
  background: var(--bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.section-alt .hero-wave { background: var(--bg-alt); }

/* ─── Stats Row ───────────────────────────────────────────── */
.stats-section {
  background-color: var(--bg-alt);
}
.stats-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.stat-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}
.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--fg);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}
.stat-label {
  font-size: var(--text-small);
  font-weight: 700;
  color: var(--fg-2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ─── Cards (General) ─────────────────────────────────────── */
.card {
  background: var(--surface);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}
.card-img-top {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover; /* Ensure images cover the area without distortion */
  border-top-left-radius: var(--r-lg); /* Match card border radius */
  border-top-right-radius: var(--r-lg);
}
.program-meta-item {
  font-size: var(--text-small);
  color: var(--fg-2); /* Make it theme-aware and slightly muted */
  margin-top: 0.75rem; /* Add some spacing */
}

/* ─── Mission Image Grid ──────────────────────────────────── */
.mission-image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.mission-image {
  width: 100%;
  height: 150px; /* Fixed height for visual consistency */
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
  opacity: 1;
  transform: scale(1);
}
.mission-image.is-fading {
  opacity: 0;
  transform: scale(0.95);
}
/* Create the cascading "staircase" effect */
.mission-image-grid .mission-image:nth-child(odd) {
  transform: translateY(-12px); /* Raise left images */
}
.mission-image-grid .mission-image:nth-child(even) {
  transform: translateY(12px); /* Lower right images */
}

/* ─── Giving Causes Section ───────────────────────────────── */
.giving-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: var(--t-fast);
}
.giving-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}
.giving-card h3 { font-size: var(--text-h3); }
.giving-card p { flex: 1; color: var(--muted); font-size: var(--text-small); }
[data-theme="dark"] .giving-card {
  background: var(--surface-2);
  border-color: var(--border-muted);
  border-left: 4px solid var(--accent);
}

/* ─── Events Carousel ─────────────────────────────────────── */
.events-carousel {
  position: relative;
  overflow: hidden; /* Hide scrollbar but allow scrolling via JS */
}

.events-carousel-track {
  display: flex;
  gap: 1.5rem; /* Gap between cards */
  scroll-snap-type: x mandatory; /* Snap to cards */
  scroll-behavior: smooth; /* Smooth scrolling */
  overflow-x: hidden; /* Hide native scrollbar */
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

.events-carousel .card {
  flex: 0 0 calc(33.333% - 1rem); /* Show 3 cards, accounting for gap */
  max-width: calc(33.333% - 1rem);
  scroll-snap-align: start; /* Snap to the start of each card */
  box-sizing: border-box;
}

/* Navigation arrows for events carousel */
.events-carousel-nav {
  position: absolute;
  top: 0; /* Adjust as needed to align with section header */
  right: 0;
  display: flex;
  gap: 0.5rem;
  z-index: 5; /* Ensure arrows are above other content */
}

.carousel-arrow {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--fg-2);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.carousel-arrow:hover {
  background: var(--surface);
  color: var(--primary);
  border-color: var(--primary);
}
[data-theme="dark"] .carousel-arrow {
  background: var(--surface-2);
  color: var(--fg-2);
  border-color: var(--border);
}
[data-theme="dark"] .carousel-arrow:hover {
  background: var(--accent-subtle);
  color: var(--accent);
  border-color: var(--accent);
}

/* ─── Partners Carousel (About page — horizontal right-to-left slide) ── */
.partners-carousel {
  position: relative;
  overflow: hidden;
  margin-top: 2rem;
}
.partners-carousel-track {
  display: flex;
  gap: 1.5rem;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 0.25rem 0 0.5rem;
}
.partners-carousel .partner-card {
  flex: 0 0 calc(33.333% - 1rem);
  max-width: calc(33.333% - 1rem);
  scroll-snap-align: start;
  box-sizing: border-box;
}
@media (max-width: 960px) {
  .partners-carousel .partner-card {
    flex: 0 0 calc(50% - 0.75rem);
    max-width: calc(50% - 0.75rem);
  }
}
@media (max-width: 640px) {
  .partners-carousel .partner-card {
    flex: 0 0 85%;
    max-width: 85%;
  }
}

/* ─── Student Profiles Carousel ────────────────────────────── */
.student-carousel-track {
  display: flex;
  gap: 1.5rem;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 0;
}
.student-carousel-track > .card {
  flex: 0 0 auto;
  min-width: 260px;
  max-width: 280px;
  scroll-snap-align: start;
  box-sizing: border-box;
}
.carousel-nav-btns {
  display: flex;
  gap: 0.5rem;
}

/* ─── Hero Carousel ──────────────────────────────────────────── */
.hero-carousel {
  position: relative;
  overflow: hidden;
  background: oklch(26% .168 264.9); /* Fallback bg color */
  min-height: 85vh;
  display: flex;
  align-items: center;
}
.carousel-track {
  position: relative;
  position: absolute;
  inset: 0;
  z-index: 1;
}
.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  pointer-events: none;
}
.carousel-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.carousel-image {
  position: absolute;
  inset: 0;
  /* Stretch the banner image to fill the whole container (100% 100%)
     instead of letterboxing with `contain`. No cropping, no gaps. */
  background-size: 100% 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: oklch(26% .168 264.9);
}
.carousel-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: flex-start; /* Align content to the top */
  padding-top: calc(var(--header-h) + 2rem); /* Navbar height + extra space for desktop */
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.60), rgba(15, 23, 42, 0.35));
}
.carousel-overlay .hero-content {
  max-width: 760px;
  color: #fff;
  animation: fade-in 1s ease-out both;
}
.carousel-overlay .hero-title {
  font-size: var(--text-h1);
  color: #fff;
  margin-bottom: 1.25rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 700;
  animation: fade-in-up 0.6s ease-out 0.4s both;
}
.carousel-overlay .hero-description {
  font-size: var(--text-lead);
  color: rgba(255,255,255,0.88);
  line-height: 1.72;
  margin-bottom: 2.25rem;
  max-width: 640px;
  animation: fade-in-up 0.6s ease-out 0.6s both;
}
.carousel-overlay .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  animation: fade-in-up 0.6s ease-out 0.8s both;
}
.carousel-controls {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 10;
}
.carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: var(--text-h3-lg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--t-fast);
}
.carousel-btn:hover { background: rgba(255,255,255,0.35); }
.carousel-dots { display: flex; gap: 0.5rem; }
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--t-fast);
}
.carousel-dot.is-active { background: #fff; transform: scale(1.3); }

/* ─── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-alt);
  color: var(--fg-2);
  padding: 5rem 0 2rem;
  border-top: 1px solid var(--border);
}
.footer-grid-new {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1.5fr 1fr 1.3fr;
  margin-bottom: 3.5rem;
}
.footer-brand-new { display: flex; align-items: center; gap: 0.75rem; }
.footer-brand-logo {
  position: relative;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px; /* Slightly larger radius */
  background: transparent; /* Make background transparent for image */
  flex-shrink: 0; /* Ensure it doesn't shrink */
}
.footer-logo-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.footer-brand-text strong { display: block; font-size: var(--text-lead); font-weight: 800; line-height: 1.2; color: var(--fg); }
.footer-brand-text span { font-size: var(--text-2xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.footer-desc { font-size: var(--text-small); line-height: 1.6; margin-top: 1.25rem; max-width: 380px; }
.footer-contact { font-size: var(--text-small); margin-top: 1.5rem; line-height: 1.6; }
.footer-socials { display: flex; gap: 0.5rem; margin-top: 1.5rem; }
.social-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  color: var(--fg-2);
  transition: var(--t-fast);
}
.social-icon svg { width: 20px; height: 20px; }
.social-icon:hover { background: var(--accent); color: var(--accent-foreground); }

.footer-heading { font-size: var(--text-small); font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.footer-links { list-style: none; margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links li a { font-size: var(--text-small); font-weight: 600; color: var(--fg); transition: var(--t-fast); }
.footer-links li a:hover { color: var(--accent); } /* Accent on hover */

.newsletter-form { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.25rem; }
.newsletter-form .form-control { background: var(--surface); border-color: var(--border); color: var(--fg); }
.newsletter-form .form-control::placeholder { color: var(--muted); }
.newsletter-status { font-size: var(--text-small); color: var(--accent); margin-top: 0.75rem; }

.partner-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.partner-tags li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  padding: 0.25rem 0.75rem;
  font-size: var(--text-2xs);
  font-weight: 600;
  color: var(--muted);
  transition: var(--t-fast);
}
.partner-tags li:hover {
  color: var(--fg);
  border-color: var(--fg);
}

.footer-bottom-new {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-xs);
  color: var(--muted);
}

/* ─── Back to Top Button ──────────────────────────────────── */
.back-to-top-btn {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  width: 44px;
  height: 44px;
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  opacity: 0;
  transform: translateY(1rem);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
}
.back-to-top-btn.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top-btn:hover { background-color: var(--primary-hover); }
[data-theme="dark"] .back-to-top-btn {
  background-color: var(--accent);
  color: var(--accent-foreground);
}
[data-theme="dark"] .back-to-top-btn:hover { background-color: var(--accent-hover); }

/* ─── Floating Donate Button ──────────────────────────────── */
.floating-donate-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 998; /* Just below back-to-top */
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  border-radius: var(--r-full);
  border: none;
  cursor: pointer;
  background: var(--primary); /* Default to primary in light mode */
  color: var(--primary-foreground); /* White text for primary button */
  font-size: var(--text-small);
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  overflow: visible; /* allow the pulse ring to expand outside */
  /* Initial state for entrance animation (uses `translate` so that
     `transform` stays free for hover/active states) */
  translate: 0 200%;
  opacity: 0;
  animation: donate-entrance 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 1.2s forwards;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

/* Springy entrance with a slight overshoot */
@keyframes donate-entrance {
  0%   { translate: 0 200%; opacity: 0; }
  60%  { translate: 0 -10px; opacity: 1; }
  80%  { translate: 0 3px; }
  100% { translate: 0 0; opacity: 1; }
}

/* Soft attention pulse ring (expands & fades, every few seconds) */
.floating-donate-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-full);
  background: var(--primary);
  opacity: 0;
  z-index: -1;
  animation: donate-ping 4.5s ease-out 2.2s infinite;
  pointer-events: none;
}

@keyframes donate-ping {
  0%       { transform: scale(1);   opacity: 0.45; }
  55%      { transform: scale(1.5); opacity: 0; }
  100%     { transform: scale(1.5); opacity: 0; }
}

/* Heartbeat on the icon */
.floating-donate-btn .floating-donate-icon {
  font-size: var(--text-body);
  display: inline-block;
  animation: donate-heartbeat 4.5s ease-in-out 2.2s infinite;
  transform-origin: center;
}

@keyframes donate-heartbeat {
  0%, 28%, 100% { transform: scale(1); }
  10%           { transform: scale(1.28); }
  18%           { transform: scale(1.05); }
  24%           { transform: scale(1.18); }
}

/* Light sweep across the button on hover */
.floating-donate-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  opacity: 0;
  pointer-events: none;
}

.floating-donate-btn:hover {
  background: var(--primary-hover); /* Darker primary on hover in light mode */
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
  animation-play-state: running;
}

/* Trigger the sheen sweep on hover */
.floating-donate-btn:hover::after {
  opacity: 1;
  animation: donate-sheen 0.9s ease-out;
}

@keyframes donate-sheen {
  from { left: -80%; }
  to   { left: 130%; }
}

/* Settle down while actively hovered/clicked - respect the user's focus */
.floating-donate-btn:hover::before,
.floating-donate-btn:active::before {
  animation-play-state: paused;
  opacity: 0;
}

.floating-donate-btn:active {
  transform: translateY(-1px) scale(0.97);
}

/* Dark mode specific styles for the floating donate button */
[data-theme="dark"] .floating-donate-btn {
  background: var(--accent); /* Accent in dark mode */
  color: var(--accent-foreground); /* Dark text for accent button */
}
[data-theme="dark"] .floating-donate-btn::before {
  background: var(--accent);
}
[data-theme="dark"] .floating-donate-btn:hover {
  background: var(--accent-hover); /* Darker accent on hover in dark mode */
}

.floating-donate-icon { font-size: var(--text-body); }

/* Accessibility: remove all motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  .floating-donate-btn {
    animation: donate-entrance 0.4s ease-out 1s forwards; /* simple fade/slide only */
  }
  .floating-donate-btn::before,
  .floating-donate-btn .floating-donate-icon,
  .floating-donate-btn::after {
    animation: none !important;
  }
  .floating-donate-btn:hover {
    transform: translateY(-2px);
  }
}

/* On smaller screens, hide the text to save space */
@media (max-width: 640px) {
  .floating-donate-text { display: none; }
  .floating-donate-btn { width: 48px; height: 48px; justify-content: center; padding: 0; }
  .floating-donate-icon { font-size: var(--text-title); }
}


/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid-new { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero-carousel { min-height: 70vh; }
  .carousel-overlay {
    padding-top: calc(var(--header-h-mobile) + 1.5rem); /* Mobile navbar height + extra space */
    padding-bottom: 1.5rem; /* Ensure some bottom padding */
  }
  .mission-image {
    height: 120px; /* Adjust height for smaller screens */
  }
  .program-meta-item {
    margin-top: 0.5rem; /* Adjust spacing for smaller screens */
    font-size: var(--text-xs);
  }
}
@media (max-width: 640px) {
  .hero-carousel { min-height: 80vh; }
  .footer-grid-new { grid-template-columns: 1fr; }
  .footer-bottom-new { flex-direction: column; gap: 1rem; text-align: center; }
  .newsletter-form { flex-direction: row; }
  .newsletter-form .btn { flex-shrink: 0; }
}
/* Responsive adjustments for Events Carousel */
@media (max-width: 960px) { /* Tablet */
  .events-carousel .card {
    flex: 0 0 calc(50% - 0.75rem);
    max-width: calc(50% - 0.75rem);
  }
  .events-carousel .card-slideshow {
    max-height: 200px; /* Shorter image area on tablet */
  }
}
@media (max-width: 640px) { /* Mobile */
  .events-carousel .card {
    flex: 0 0 85%;
    max-width: 85%;
  }
  .events-carousel .card-slideshow {
    aspect-ratio: 3 / 2; /* Less tall on narrow screens */
    max-height: 160px; /* Compact image area on mobile */
  }
  .events-carousel .card-slide-img {
    height: 100%;
    object-fit: cover;
  }
}

/* Adjust section header margin when carousel nav is present */
.section-header.flex-between + .events-carousel {
  margin-top: 2rem; /* Add space between header and carousel if nav is present */
}

/* ==========================================================
   LEADERSHIP MESSAGE — asymmetric two-column layout (about.html)
   ========================================================== */
.leadership-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 3rem;
  align-items: center;
  margin-top: 2rem;
}

.leadership-photo {
  margin: 0;
  position: relative;
}

.leadership-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;          /* portrait crop, no layout jump */
  object-fit: fill;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

.leadership-photo-caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: 0.55rem 0.9rem;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.72);
  color: #f8fafc;
  font-size: var(--text-xs);
  backdrop-filter: blur(6px);
}

/* Text column */
.leadership-quote blockquote {
  margin: 0;
}

.leadership-quote blockquote p {
  margin: 0 0 1.1rem;
  line-height: 1.75;
  color: inherit;
}

.leadership-quote blockquote p:last-child {
  margin-bottom: 0;
}

/* Opening paragraph: slightly larger, draws the eye first */
.leadership-quote .leadership-lead {
  font-size: var(--text-lead);
  font-weight: 600;
}

.leadership-quote .quote-attribution {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 2px solid rgba(26, 122, 79, 0.25);
  font-weight: 700;
}

/* Mobile: stack photo above text, relaxed heights */
@media (max-width: 900px) {
  .leadership-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .leadership-photo img {
    aspect-ratio: 16 / 10;
  }
}

/* ==========================================================
   LEADERSHIP MESSAGE — asymmetric two-column layout (about.html)
   ========================================================== */