/* ═══════════════════════════════════════════
   MANA Annual Report 2025 — Each One, Reach One
   Brand-Compliant Design
   ═══════════════════════════════════════════ */

/* ── Design Tokens ── */
:root {
  /* MANA Brand Colors */
  --mana-orange: #E67931;
  --mana-light-orange: #ED8D58;
  --mana-teal: #129BA8;
  --mana-dark-teal: #104449;
  --mana-gold: #E2AD34;
  --mana-cream: #FFF8E7;
  --mana-burnt-orange: #CA6F29;

  /* Supporting Palette */
  --mana-navy: #1A2332;
  --mana-charcoal: #2C3E50;

  --bg-primary: #FFF8E7;
  --bg-dark: #1A2332;
  --bg-darker: #0F1720;
  --text-primary: #1A2332;
  --text-secondary: #4A5568;
  --text-light: #FFF8E7;
  --text-on-dark: #E2E8F0;

  --font-display: 'Merriweather', Georgia, serif;
  --font-body: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;

  --section-pad-y: 5rem;
  --section-pad-x: 1.5rem;
  --content-max: 760px;
  --wide-max: 1100px;
  --radius: 8px;
  --radius-lg: 16px;
}

@media (min-width: 768px) {
  :root {
    --section-pad-y: 7rem;
    --section-pad-x: 2.5rem;
  }
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  padding-bottom: 0;
}

/* Subtle paper texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

@media (min-width: 768px) { body { font-size: 1.0625rem; } }
@media (min-width: 1024px) { body { font-size: 1.125rem; } }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--mana-teal); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--mana-orange); }

/* ── Skip Link ── */
.skip-link {
  position: absolute; top: -100%; left: 1rem;
  background: var(--mana-teal); color: #fff;
  padding: 0.5rem 1rem; z-index: 10000;
  border-radius: var(--radius); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ── Scroll Progress ── */
.scroll-indicator {
  position: fixed; top: 0; left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--mana-orange), var(--mana-teal), var(--mana-gold));
  z-index: 9998; width: 0;
  transition: width 0.1s linear;
}

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  color: var(--text-primary);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 1.85rem; margin-bottom: 0.75rem; text-wrap: balance; }
h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }

@media (min-width: 768px) {
  h1 { font-size: 3.5rem; }
  h2 { font-size: 2.75rem; }
  h3 { font-size: 1.6rem; }
}

@media (min-width: 1024px) {
  h1 { font-size: 4.5rem; }
  h2 { font-size: 3.25rem; }
}

p { margin-bottom: 1.25rem; }
p:last-child { margin-bottom: 0; }

/* ── Layout ── */
.section {
  padding: var(--section-pad-y) var(--section-pad-x);
  position: relative;
}

.container {
  max-width: var(--content-max);
  margin: 0 auto;
}

.container--wide {
  max-width: var(--wide-max);
  margin: 0 auto;
}

/* ── Section Label ── */
.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mana-orange);
  margin-bottom: 0.75rem;
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(230, 121, 49, 0.1);
  border-radius: 100px;
}

.section-label--teal {
  color: var(--mana-teal);
  background: rgba(18, 155, 168, 0.15);
}

.section-label--gold {
  color: var(--mana-gold);
  background: rgba(226, 173, 52, 0.15);
}

/* ── Divider ── */
.divider {
  width: 80px; height: 4px;
  background: var(--mana-teal);
  border: none; margin: 1.5rem 0;
  border-radius: 0;
  position: relative;
}
.divider::after {
  content: '';
  position: absolute;
  right: -12px; top: -2px;
  width: 8px; height: 8px;
  background: var(--mana-orange);
  border-radius: 50%;
}
.divider--center { margin-left: auto; margin-right: auto; }
.divider--white { background: rgba(255,255,255,0.4); }
.divider--white::after { background: var(--mana-orange); }
.divider--teal { background: var(--mana-teal); }
.divider--teal::after { background: var(--mana-gold); }
.divider--orange { background: var(--mana-orange); }
.divider--orange::after { background: var(--mana-teal); }
.divider--gold { background: var(--mana-gold); }
.divider--gold::after { background: var(--mana-orange); }

/* ── Torn Edge ── */
.torn-edge {
  position: relative;
}
.torn-edge::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 40px;
  background: var(--bg-primary);
  clip-path: polygon(0% 40%, 2% 60%, 5% 35%, 8% 55%, 12% 30%, 15% 50%, 18% 25%, 22% 45%, 25% 20%, 28% 42%, 32% 18%, 35% 40%, 38% 15%, 42% 38%, 45% 12%, 48% 35%, 52% 10%, 55% 32%, 58% 8%, 62% 30%, 65% 5%, 68% 28%, 72% 3%, 75% 25%, 78% 8%, 82% 22%, 85% 5%, 88% 20%, 92% 2%, 95% 18%, 98% 5%, 100% 15%, 100% 100%, 0% 100%);
  z-index: 2;
}

.torn-edge--cream::after { background: var(--mana-cream); }
.torn-edge--dark::after { background: var(--bg-dark); }

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 3rem 1.5rem;
  position: relative;
  overflow: hidden;
  background: var(--mana-navy);
}

.hero__bg {
  position: absolute; inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.25;
  mix-blend-mode: luminosity;
  animation: kenburns-hero 25s ease-in-out infinite alternate;
}

@keyframes kenburns-hero {
  0%   { transform: scale(1.05) translate3d(0, 0, 0); }
  100% { transform: scale(1.18) translate3d(-3%, 2%, 0); }
}

.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg,
      rgba(26, 35, 50, 0.9) 0%,
      rgba(16, 68, 73, 0.7) 40%,
      rgba(230, 121, 49, 0.5) 70%,
      rgba(226, 173, 52, 0.4) 100%
    );
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  top: 10%; right: -5%;
  width: 300px; height: 300px;
  background: var(--mana-gold);
  border-radius: 50%;
  opacity: 0.1;
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 15%; left: -3%;
  width: 200px; height: 200px;
  background: var(--mana-orange);
  opacity: 0.08;
  z-index: 1;
  transform: rotate(15deg);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero__logo {
  width: 140px; height: auto;
  margin: 0 auto 2rem;
  opacity: 0.95;
}

@media (min-width: 768px) { .hero__logo { width: 180px; } }

.hero__subtitle {
  font-family: var(--font-body);
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--mana-gold);
  margin-bottom: 1.5rem;
  display: inline-block;
  padding: 0.35rem 1rem;
  background: rgba(226, 173, 52, 0.15);
  border-radius: 100px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: 2.75rem; color: #fff;
  margin-bottom: 1.25rem; line-height: 1.1;
}

@media (min-width: 768px) { .hero__title { font-size: 4.5rem; } }
@media (min-width: 1024px) { .hero__title { font-size: 5.5rem; } }

.hero__tagline {
  font-size: 1.15rem; color: rgba(255,255,255,0.85);
  max-width: 560px; margin: 0 auto 2.5rem;
  font-style: italic;
}

@media (min-width: 768px) { .hero__tagline { font-size: 1.35rem; } }

.hero__scroll-cue {
  display: flex; flex-direction: column; align-items: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  animation: float 2.5s ease-in-out infinite;
  margin-top: 2rem;
}

.hero__scroll-cue span {
  display: block; margin-top: 0.5rem;
  width: 2px; height: 40px;
  background: linear-gradient(to bottom, var(--mana-gold), transparent);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ═══════════════════════════════════════════
   BIG NUMBER CALLOUTS
   ═══════════════════════════════════════════ */
.big-number-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0;
}

@media (min-width: 600px) { .big-number-row { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .big-number-row { grid-template-columns: repeat(4, 1fr); } }

.big-number {
  text-align: center;
  padding: 3rem 1.5rem;
  position: relative;
}

.big-number:nth-child(1) { background: var(--mana-orange); }
.big-number:nth-child(2) { background: var(--mana-teal); }
.big-number:nth-child(3) { background: var(--mana-gold); }
.big-number:nth-child(4) { background: var(--mana-dark-teal); }

.big-number:nth-child(3) .big-number__value { color: var(--mana-navy); }
.big-number:nth-child(3) .big-number__label { color: rgba(26, 35, 50, 0.7); }
.big-number:nth-child(3) .big-number__label strong { color: var(--mana-navy); }

.big-number__value {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) { .big-number__value { font-size: 4.5rem; } }

.big-number__label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.35;
}

.big-number__label strong {
  color: #fff;
  display: block;
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

/* ═══════════════════════════════════════════
   PRESIDENT SECTION — Large Image Layout
   ═══════════════════════════════════════════ */
.president-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .president-layout {
    grid-template-columns: 2fr 3fr;
    gap: 3rem;
    align-items: start;
  }
}

.president-image {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 8px 8px 0 var(--mana-gold);
}

.president-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 3/4;
  animation: kenburns-pres 22s ease-in-out infinite alternate;
}

@keyframes kenburns-pres {
  0%   { transform: scale(1); }
  100% { transform: scale(1.06) translate3d(0, -2%, 0); }
}

@media (min-width: 768px) {
  .president-image {
    position: sticky;
    top: 2rem;
  }
  .president-image img {
    min-height: 400px;
  }
}

.president-body {
  max-width: 600px;
}

.president-highlight {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--mana-orange);
}

/* ═══════════════════════════════════════════
   FULL-BLEED PHOTO SECTIONS
   ═══════════════════════════════════════════ */
.photo-break {
  position: relative;
  height: 50vh;
  min-height: 320px;
  overflow: hidden;
}

.photo-break--tall { height: 70vh; min-height: 450px; }

.photo-break__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  animation: kenburns-a 20s ease-in-out infinite alternate;
}

.photo-break:nth-of-type(2) .photo-break__img { animation-name: kenburns-b; animation-duration: 24s; }
.photo-break:nth-of-type(3) .photo-break__img { animation-name: kenburns-c; animation-duration: 22s; }

@keyframes kenburns-a {
  0%   { transform: scale(1) translate3d(0, 0, 0); }
  100% { transform: scale(1.12) translate3d(-2%, -1%, 0); }
}
@keyframes kenburns-b {
  0%   { transform: scale(1.1) translate3d(1%, 0, 0); }
  100% { transform: scale(1) translate3d(-1%, -2%, 0); }
}
@keyframes kenburns-c {
  0%   { transform: scale(1) translate3d(0, 0, 0); }
  100% { transform: scale(1.15) translate3d(2%, 1%, 0); }
}

.photo-break__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26,35,50,0.1) 0%,
    rgba(26,35,50,0.6) 100%
  );
  display: flex; flex-direction: column;
  justify-content: flex-end; align-items: center;
  padding: 2rem 1.5rem 3rem;
  text-align: center;
}

.photo-break__overlay--center {
  justify-content: center;
  background: rgba(26,35,50,0.55);
}

.photo-break__text {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.5rem;
  max-width: 600px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

@media (min-width: 768px) { .photo-break__text { font-size: 2.25rem; } }

/* Longer founding quote needs smaller text & body font */
.photo-break__overlay--center .photo-break__text {
  font-family: var(--font-body);
  font-size: 1rem;
  max-width: 700px;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .photo-break__overlay--center .photo-break__text {
    font-size: 1.25rem;
  }
}

/* "We set the table" — larger font per client request */
.photo-break--tall:not(.torn-edge--dark) .photo-break__text {
  font-size: 1.85rem;
}

@media (min-width: 768px) {
  .photo-break--tall:not(.torn-edge--dark) .photo-break__text {
    font-size: 2.75rem;
  }
}

.photo-break__caption {
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

/* ═══════════════════════════════════════════
   PULL QUOTES
   ═══════════════════════════════════════════ */
.pull-quote {
  padding: var(--section-pad-y) var(--section-pad-x);
  text-align: center;
  background: var(--mana-gold);
  position: relative;
}

.pull-quote::before {
  content: '\201C';
  position: absolute;
  top: 1.5rem; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 6rem;
  color: rgba(26,35,50,0.08);
  line-height: 1;
}

.pull-quote--dark {
  background: linear-gradient(135deg, var(--mana-navy) 0%, #243447 100%);
}

.pull-quote--orange {
  background: linear-gradient(135deg, var(--mana-burnt-orange) 0%, var(--mana-orange) 50%, var(--mana-light-orange) 100%);
}

.pull-quote--teal {
  background: linear-gradient(135deg, var(--mana-dark-teal) 0%, var(--mana-teal) 100%);
}

.pull-quote__text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--mana-navy);
  max-width: 700px;
  margin: 0 auto;
  font-style: italic;
}

.pull-quote--dark .pull-quote__text,
.pull-quote--orange .pull-quote__text,
.pull-quote--teal .pull-quote__text {
  color: #fff;
}

@media (min-width: 768px) { .pull-quote__text { font-size: 2rem; } }

.pull-quote__attribution {
  margin-top: 1.25rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--mana-dark-teal);
  font-style: normal;
}

.pull-quote__subtext {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 1rem auto 0;
  font-style: normal;
  color: rgba(255,255,255,0.85);
}

.pull-quote:not(.pull-quote--dark):not(.pull-quote--orange):not(.pull-quote--teal) .pull-quote__subtext {
  color: var(--mana-dark-teal);
}

.pull-quote--dark .pull-quote__attribution { color: var(--mana-gold); }
.pull-quote--orange .pull-quote__attribution { color: var(--mana-cream); }
.pull-quote--teal .pull-quote__attribution { color: var(--mana-cream); }

/* ═══════════════════════════════════════════
   CONTENT SECTIONS
   ═══════════════════════════════════════════ */
.section--dark {
  background: linear-gradient(180deg, var(--bg-dark) 0%, #1F2D3D 50%, var(--bg-dark) 100%);
  color: var(--text-on-dark);
}
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark a { color: var(--mana-gold); }
.section--dark a.btn { color: #fff; }

.section--cream { background: var(--mana-cream); }

.section--teal {
  background: linear-gradient(135deg, var(--mana-dark-teal) 0%, var(--mana-teal) 60%, #0E7E89 100%);
  color: #fff;
}
.section--teal h2, .section--teal h3 { color: #fff; }

.section--orange {
  background: var(--mana-orange);
  color: #fff;
}
.section--orange h2 { color: #fff; }

/* ── Two-Column Layout ── */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .split--reverse .split__media { order: -1; }
}

.split__media {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 8px 8px 0 var(--mana-gold), 16px 16px 0 var(--mana-orange);
  transform: rotate(-1deg);
  transition: transform 0.3s ease;
}

.split__media:hover {
  transform: rotate(0deg);
}

.split--reverse .split__media {
  box-shadow: -8px 8px 0 var(--mana-teal), -16px 16px 0 var(--mana-gold);
  transform: rotate(1deg);
}

.split--reverse .split__media:hover {
  transform: rotate(0deg);
}

.split__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
  animation: kenburns-split 18s ease-in-out infinite alternate;
}

@keyframes kenburns-split {
  0%   { transform: scale(1); }
  100% { transform: scale(1.08) translate3d(1%, -1%, 0); }
}

.split--reverse .split__media img {
  animation-name: kenburns-split-rev;
}

@keyframes kenburns-split-rev {
  0%   { transform: scale(1); }
  100% { transform: scale(1.08) translate3d(-1%, 1%, 0); }
}

.split__body { max-width: 520px; }

/* ── Scrolling Photo Gallery ── */
.gallery-section {
  overflow: hidden;
  padding: 2.5rem 0;
  background: var(--mana-navy);
  position: relative;
}

.gallery-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--mana-navy) 0%, transparent 5%, transparent 95%, var(--mana-navy) 100%);
  z-index: 2;
  pointer-events: none;
}

.gallery-track {
  display: flex;
  gap: 1.5rem;
  animation: gallery-scroll 35s linear infinite;
  width: max-content;
}

.gallery-track:hover {
  animation-play-state: paused;
}

.gallery-item {
  flex-shrink: 0;
  width: 350px;
  height: 260px;
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

@media (min-width: 768px) {
  .gallery-item { width: 450px; height: 320px; }
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  z-index: 3;
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
}

@keyframes gallery-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Photo Gallery (Real Photos) ── */
.photo-gallery-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.photo-gallery__group {
  margin-top: 2.5rem;
}

.photo-gallery__group-title {
  color: var(--mana-gold);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.photo-gallery__group-title i {
  margin-right: 0.4rem;
}

.photo-gallery__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .photo-gallery__grid--4 { grid-template-columns: repeat(2, 1fr); }
  .photo-gallery__grid--3 { grid-template-columns: repeat(3, 1fr); }
  .photo-gallery__grid--5 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .photo-gallery__grid--4 { grid-template-columns: repeat(2, 1fr); }
  .photo-gallery__grid--3 { grid-template-columns: repeat(3, 1fr); }
  .photo-gallery__grid--5 { grid-template-columns: repeat(3, 1fr); }
}

.photo-gallery__card {
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
}

.photo-gallery__card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 32px rgba(0,0,0,0.5);
}

.photo-gallery__card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.photo-gallery__card:hover img {
  transform: scale(1.05);
}

.photo-gallery__card figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 0.75rem 0.6rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.4;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.photo-gallery__card:hover figcaption {
  opacity: 1;
}

/* ── Lightbox ── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.lightbox[hidden] {
  display: none;
}

.lightbox.is-active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__content {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.lightbox__caption {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  margin-top: 1rem;
  text-align: center;
  max-width: 600px;
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.15);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 2;
}

.lightbox__close:hover {
  background: rgba(255,255,255,0.3);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.15);
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 2;
}

.lightbox__nav:hover {
  background: rgba(255,255,255,0.3);
}

.lightbox__nav--prev { left: 1rem; }
.lightbox__nav--next { right: 1rem; }

/* ── Why Pillars ── */
.why-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

@media (min-width: 768px) {
  .why-pillars { grid-template-columns: repeat(3, 1fr); }
}

.why-pillar {
  padding: 1.5rem;
  background: rgba(255,255,255,0.08);
  border-left: 4px solid var(--mana-orange);
  border-radius: 0 4px 4px 0;
  border: 1px solid rgba(255,255,255,0.1);
  border-left: 4px solid var(--mana-orange);
}

.why-pillar:nth-child(2) { border-left-color: var(--mana-teal); }
.why-pillar:nth-child(3) { border-left-color: var(--mana-gold); }

.why-pillar h3 { color: var(--mana-gold); font-size: 1.15rem; }
.why-pillar p { color: rgba(255,255,255,0.85); font-size: 0.95rem; }

/* ── Cohort Cards ── */
.cohort-cards {
  display: grid; gap: 2rem; margin: 2.5rem 0;
}

@media (min-width: 768px) {
  .cohort-cards { grid-template-columns: repeat(3, 1fr); }
}

.cohort-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  border: 3px solid var(--mana-navy);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.cohort-card:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  box-shadow: 8px 8px 0 var(--mana-gold);
}

.cohort-card:nth-child(1) { border-color: var(--mana-orange); }
.cohort-card:nth-child(1):hover { box-shadow: 8px 8px 0 var(--mana-orange); }
.cohort-card:nth-child(2) { border-color: var(--mana-teal); }
.cohort-card:nth-child(2):hover { box-shadow: 8px 8px 0 var(--mana-teal); }
.cohort-card:nth-child(3) { border-color: var(--mana-gold); }

.cohort-card__img {
  width: 100%; height: 200px;
  object-fit: cover;
  animation: kenburns-card 15s ease-in-out infinite alternate;
}

.cohort-card:nth-child(2) .cohort-card__img { animation-delay: -5s; animation-direction: alternate-reverse; }
.cohort-card:nth-child(3) .cohort-card__img { animation-delay: -10s; }

@keyframes kenburns-card {
  0%   { transform: scale(1); }
  100% { transform: scale(1.1) translate3d(-2%, 0, 0); }
}

.cohort-card__body {
  padding: 1.75rem;
}

.cohort-card__badge {
  display: inline-block;
  padding: 0.25rem 0.85rem;
  border-radius: 0;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.cohort-card__badge--orange {
  background: var(--mana-orange);
  color: #fff;
}

.cohort-card__badge--teal {
  background: var(--mana-teal);
  color: #fff;
}

.cohort-card__badge--gold {
  background: var(--mana-gold);
  color: var(--mana-navy);
}

.cohort-card__title {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.cohort-card__text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Partner Cards ── */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem; margin: 2rem 0;
}

@media (min-width: 768px) { .partner-grid { grid-template-columns: repeat(5, 1fr); } }

.partner-grid--large {
  gap: 1.25rem;
}

@media (min-width: 768px) { .partner-grid--large { grid-template-columns: repeat(5, 1fr); } }

.partner-card {
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.partner-card--linked {
  text-decoration: none;
  cursor: pointer;
}

.partner-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.15);
  border-color: var(--mana-orange);
  box-shadow: 0 8px 24px rgba(230, 121, 49, 0.2);
}

.partner-card__icon {
  font-size: 2rem;
  color: var(--mana-gold);
  margin-bottom: 0.25rem;
  transition: transform 0.3s ease;
}

.partner-card:hover .partner-card__icon {
  transform: scale(1.15);
}

.partner-card__logo {
  width: 100%;
  max-width: 120px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 0.25rem;
  transition: transform 0.3s ease;
}

.partner-card:hover .partner-card__logo {
  transform: scale(1.08);
}


.partner-card__name {
  font-weight: 700; font-size: 1rem;
  color: #fff; margin-bottom: 0.15rem;
}

.partner-card__desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.4;
}

.partner-card__link {
  font-size: 0.7rem;
  color: var(--mana-teal);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0;
  transition: opacity 0.3s ease;
  margin-top: auto;
}

.partner-card:hover .partner-card__link {
  opacity: 1;
}

/* ── Data Bars ── */
.data-bar { margin-bottom: 1.25rem; }

.data-bar__label {
  display: flex; justify-content: space-between;
  margin-bottom: 0.35rem; font-weight: 600; font-size: 0.9rem;
}

.data-bar__track {
  height: 28px; background: rgba(0,0,0,0.25);
  border-radius: 0; overflow: hidden;
  border: 2px solid rgba(255,255,255,0.15);
}

.data-bar-fill {
  height: 100%;
  background: var(--mana-teal);
  border-radius: 0; width: 0;
  transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.data-bar-fill--orange { background: var(--mana-orange); }
.data-bar-fill--teal { background: var(--mana-teal); }
.data-bar-fill--gold { background: var(--mana-gold); }

/* ── Timeline ── */
.timeline {
  margin: 2.5rem 0; position: relative;
  padding-left: 2.5rem;
}

.timeline::before {
  content: ''; position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--mana-orange), var(--mana-teal), var(--mana-gold));
}

.timeline__item {
  position: relative; margin-bottom: 2.25rem; padding-left: 1.25rem;
}

.timeline__item::before {
  content: ''; position: absolute;
  left: -2.85rem; top: 0.25rem;
  width: 16px; height: 16px;
  background: var(--mana-orange);
  border: 3px solid var(--bg-primary);
}

.timeline__item:nth-child(2)::before { background: var(--mana-teal); }
.timeline__item:nth-child(3)::before { background: var(--mana-gold); }
.timeline__item:nth-child(4)::before { background: var(--mana-dark-teal); }
.timeline__item:nth-child(5)::before { background: var(--mana-orange); }

.timeline__date {
  font-weight: 700; font-size: 0.85rem;
  color: var(--mana-teal); text-transform: uppercase;
  letter-spacing: 0.05em;
}

.timeline__desc {
  color: var(--text-secondary); font-size: 0.95rem;
  margin-top: 0.25rem;
}

/* ═══════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════ */
.cta-section {
  background: linear-gradient(135deg, var(--mana-dark-teal) 0%, #0A5C65 50%, var(--mana-dark-teal) 100%);
  color: #fff; text-align: center;
  padding: var(--section-pad-y) var(--section-pad-x);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 200px; height: 200px;
  background: var(--mana-gold);
  border-radius: 50%;
  opacity: 0.12;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30px; left: -30px;
  width: 150px; height: 150px;
  background: var(--mana-orange);
  opacity: 0.1;
}

.cta-section h2 { color: #fff; }
.cta-section p { color: rgba(255,255,255,0.9); }

.cta-buttons {
  display: flex; flex-wrap: wrap;
  gap: 1rem; justify-content: center;
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}

.btn {
  display: inline-block; padding: 0.875rem 2.25rem;
  border-radius: 0;
  font-family: var(--font-body); font-size: 1rem; font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer; border: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 4px 4px 0 rgba(0,0,0,0.2);
}

.btn--primary {
  background: var(--mana-orange); color: #fff;
  border: 3px solid var(--mana-orange);
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.btn--primary:hover { color: #fff; background: var(--mana-light-orange); border-color: var(--mana-light-orange); }
.btn--outline {
  background: transparent; color: #fff;
  border: 3px solid rgba(255,255,255,0.7);
}
.btn--outline:hover { background: rgba(255,255,255,0.1); color: #fff; }
.btn--dark { background: var(--mana-navy); color: #fff; border: 3px solid var(--mana-navy); }
.btn--dark:hover { color: #fff; }

/* ── Giving Cards ── */
.giving-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem; margin: 2rem auto;
  max-width: 700px;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) { .giving-grid { grid-template-columns: repeat(4, 1fr); } }

a.giving-card, a.ramadan-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.giving-card {
  background: rgba(255,255,255,0.1);
  border-radius: 0; padding: 1.5rem 1rem;
  text-align: center;
  border: 2px solid rgba(255,255,255,0.2);
  transition: transform 0.2s ease, background 0.2s ease;
}

.giving-card:nth-child(1) { border-top: 6px solid var(--mana-orange); }
.giving-card:nth-child(2) { border-top: 6px solid var(--mana-gold); }
.giving-card:nth-child(3) { border-top: 6px solid var(--mana-teal); }
.giving-card:nth-child(4) { border-top: 6px solid #fff; }

.giving-card:hover {
  transform: translateY(-3px) rotate(-1deg);
  background: rgba(255,255,255,0.18);
}

.giving-card__amount {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 700;
  color: #fff; margin-bottom: 0.25rem;
}

.giving-card__name {
  font-weight: 700; font-size: 0.85rem;
  color: var(--mana-gold); margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.giving-card__desc {
  font-size: 0.78rem; color: rgba(255,255,255,0.8);
  line-height: 1.4;
}

/* ── Ramadan Giving ── */
.ramadan-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin: 2rem auto;
  max-width: 600px;
}

@media (min-width: 600px) { .ramadan-grid { grid-template-columns: repeat(3, 1fr); } }

.ramadan-card {
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.15);
  padding: 1.25rem 0.75rem;
  text-align: center;
  transition: transform 0.2s ease;
}

.ramadan-card:hover {
  transform: translateY(-2px);
  border-color: var(--mana-orange);
}

.ramadan-card__amount {
  font-family: var(--font-display);
  font-size: 1.5rem; color: var(--mana-gold);
}

.ramadan-card__name {
  font-size: 0.8rem; font-weight: 700;
  color: #fff; margin-top: 0.25rem;
}

.ramadan-card__meaning {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.75);
  margin-top: 0.25rem;
  line-height: 1.3;
}

/* ── Pie Chart Budget ── */
.budget-headline {
  color: rgba(255,255,255,0.8);
  max-width: 500px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.pie-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .pie-layout {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 4rem;
  }
}

.pie-chart-wrap {
  position: relative;
  width: 220px;
  height: 220px;
  flex-shrink: 0;
}

@media (min-width: 480px) {
  .pie-chart-wrap { width: 260px; height: 260px; }
}

@media (min-width: 768px) {
  .pie-chart-wrap { width: 300px; height: 300px; }
}

.pie-chart {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  overflow: visible;
}

.pie-slice {
  pointer-events: stroke;
}

.pie-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.pie-center__pct {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  transition: color 0.25s ease;
}

@media (min-width: 480px) { .pie-center__pct { font-size: 2.2rem; } }
@media (min-width: 768px) { .pie-center__pct { font-size: 2.5rem; } }

.pie-center__label {
  display: block;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.35rem;
  font-weight: 600;
}

.pie-center__detail {
  display: block;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.45);
  margin-top: 0.2rem;
  max-width: 140px;
}

.pie-legend {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pie-legend-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.pie-legend-item:hover,
.pie-legend-item.is-active {
  background: rgba(255,255,255,0.08);
  transform: translateX(4px);
}

.pie-legend-swatch {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.pie-legend-item:hover .pie-legend-swatch,
.pie-legend-item.is-active .pie-legend-swatch {
  transform: scale(1.3);
}

.pie-legend-text {
  flex: 1;
}

.pie-legend-name {
  font-weight: 700;
  color: #fff;
  font-size: 0.95rem;
}


.pie-legend-pct {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.1rem;
  min-width: 42px;
  text-align: right;
  transition: color 0.2s ease;
}

/* ── Legacy Banner ── */
.legacy-banner {
  background: linear-gradient(135deg, var(--mana-gold) 0%, #D4A02E 50%, var(--mana-gold) 100%);
  padding: 3rem var(--section-pad-x);
  text-align: center;
  position: relative;
}

.legacy-banner h2 {
  color: var(--mana-navy);
  font-size: 2rem;
}

@media (min-width: 768px) { .legacy-banner h2 { font-size: 2.75rem; } }

.legacy-banner p {
  color: var(--mana-dark-teal);
  max-width: 650px;
  margin: 1rem auto 0;
}

/* ── Stats Grid ── */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  margin: 2rem 0;
}

@media (min-width: 600px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

.stats-grid--large {
  gap: 1.25rem;
  margin: 2.5rem 0;
}

@media (min-width: 600px) { .stats-grid--large { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .stats-grid--large { grid-template-columns: repeat(4, 1fr); } }

.stat-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 1.75rem 1rem;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.1);
  border-color: var(--mana-gold);
}

.stat-card:nth-child(1) { border-top: 4px solid var(--mana-orange); }
.stat-card:nth-child(2) { border-top: 4px solid var(--mana-teal); }
.stat-card:nth-child(3) { border-top: 4px solid var(--mana-gold); }
.stat-card:nth-child(4) { border-top: 4px solid var(--mana-orange); }
.stat-card:nth-child(5) { border-top: 4px solid var(--mana-teal); }
.stat-card:nth-child(6) { border-top: 4px solid var(--mana-gold); }
.stat-card:nth-child(7) { border-top: 4px solid var(--mana-orange); }
.stat-card:nth-child(8) { border-top: 4px solid var(--mana-teal); }
.stat-card:nth-child(9) { border-top: 4px solid var(--mana-gold); }
.stat-card:nth-child(10) { border-top: 4px solid var(--mana-orange); }

.stat-card__value {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 900;
  color: #fff;
  display: block;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) { .stat-card__value { font-size: 2.75rem; } }

.stat-card__label {
  display: block;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.stat-card__label strong {
  color: rgba(255,255,255,0.9);
  font-weight: 700;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
  background: var(--bg-darker);
  color: rgba(255,255,255,0.5);
  padding: 3rem var(--section-pad-x) 5rem; /* Extra bottom padding for nav */
  text-align: center; font-size: 0.85rem;
}

.footer__logo {
  width: 80px; margin: 0 auto 1rem;
  opacity: 0.8;
}

.footer a { color: var(--mana-gold); text-decoration: none; }
.footer a:hover { text-decoration: underline; }

.footer__links {
  list-style: none;
  display: flex; gap: 1.5rem;
  justify-content: center; margin: 1rem 0;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════
   BOTTOM NAVIGATION (ISLA-style)
   ═══════════════════════════════════════════ */
.chapter-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--mana-navy);
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  padding-bottom: max(0.75rem, env(safe-area-inset-bottom, 0px));
  z-index: 9997;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.3);
  gap: 0.75rem;
  min-height: 60px;
  border: none;
}

/* Extend nav background below safe area on iOS */
.chapter-nav::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  height: 50px;
  background: var(--mana-navy);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  flex-shrink: 0;
}

.nav-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.nav-report-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.8;
  display: none;
}

@media (min-width: 768px) {
  .nav-report-label { display: inline; font-size: 0.75rem; }
  .nav-logo { width: 32px; height: 32px; }
}

@media (min-width: 1024px) {
  .chapter-nav { padding: 0.5rem 2rem; }
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.nav-arrow {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mana-navy);
  background: var(--mana-orange);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-arrow:hover {
  background: var(--mana-light-orange);
  transform: scale(1.08);
  box-shadow: 0 2px 8px rgba(230, 121, 49, 0.4);
}

.nav-arrow:active {
  transform: scale(0.95);
}

.nav-arrow:disabled {
  opacity: 0.35;
  background: rgba(255, 255, 255, 0.2);
  cursor: not-allowed;
}

.nav-arrow:disabled:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: none;
  box-shadow: none;
}

.nav-arrow svg {
  stroke: var(--mana-navy);
  stroke-width: 2.5;
}

.nav-arrow:disabled svg {
  stroke: rgba(255,255,255,0.5);
}

.nav-current {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  color: #fff;
  font-weight: 600;
  font-family: var(--font-body);
  border-radius: 4px;
  transition: background 0.2s ease;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 0.85rem;
  min-width: 0;
}

.nav-current:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav-chapter-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--mana-teal);
  color: #fff;
  font-size: 0.75rem;
  border-radius: 50%;
  flex-shrink: 0;
  font-weight: 700;
}

.nav-chapter-title {
  font-size: 0.75rem;
  opacity: 0.9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 480px) {
  .nav-chapter-title {
    max-width: 100px;
  }
}

/* Chapter Menu */
.chapter-menu {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.chapter-menu.is-open {
  max-height: 70vh;
  overflow-y: auto;
}

.chapter-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  background: #fff;
}

.menu-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--mana-navy);
}

.menu-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  border-radius: 4px;
  transition: background 0.2s ease, color 0.2s ease;
  cursor: pointer;
  background: none;
  border: none;
}

.menu-close:hover {
  background: #f3f4f6;
  color: var(--mana-navy);
}

.chapter-list {
  padding: 0.75rem;
  list-style: none;
}

.chapter-list li {
  margin-bottom: 0.25rem;
}

.chapter-list a {
  display: block;
  padding: 0.6rem 1rem;
  border-radius: 4px;
  color: #374151;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
  font-size: 0.9rem;
}

.chapter-list a:hover {
  background: #f3f4f6;
  color: var(--mana-navy);
}

.chapter-list a.is-active {
  background: var(--mana-teal);
  color: #fff;
}

/* ═══════════════════════════════════════════
   REVEAL / SCROLL ANIMATIONS
   ═══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal--left {
  transform: translateX(-40px);
}

.reveal--right {
  transform: translateX(40px);
}

.reveal--scale {
  transform: scale(0.95);
}

.revealed {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: 0.15s; }
.reveal-stagger.revealed > *:nth-child(4) { transition-delay: 0.2s; }
.reveal-stagger.revealed > *:nth-child(5) { transition-delay: 0.25s; }
.reveal-stagger.revealed > *:nth-child(6) { transition-delay: 0.3s; }
.reveal-stagger.revealed > *:nth-child(7) { transition-delay: 0.35s; }
.reveal-stagger.revealed > *:nth-child(8) { transition-delay: 0.4s; }
.reveal-stagger.revealed > *:nth-child(9) { transition-delay: 0.45s; }
.reveal-stagger.revealed > *:nth-child(10) { transition-delay: 0.5s; }

.reveal-stagger.revealed > * {
  opacity: 1;
  transform: translateY(0);
}

.parallax-img {
  will-change: transform;
  transition: transform 0.1s linear;
}

.lazy-img {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.lazy-img.loaded {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal--left, .reveal--right, .reveal--scale {
    opacity: 1; transform: none; transition: none;
  }
  .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
  .hero__scroll-cue { animation: none; }
  .parallax-img { transition: none; }
  .gallery-track { animation: none; }
  .photo-break__img,
  .hero__bg img,
  .split__media img,
  .cohort-card__img,
  .president-image img { animation: none !important; }
}

/* ── Interactive Enhancements ── */

/* Big numbers - pulse on hover */
.big-number {
  transition: background 0.3s ease;
  cursor: default;
}
.big-number:hover {
  filter: brightness(1.1);
}
.big-number:hover .big-number__value {
  transform: scale(1.08);
}
.big-number__value {
  transition: transform 0.3s ease;
}

/* Why pillars - expand on hover */
.why-pillar {
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  cursor: default;
}
.why-pillar:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.12);
}

/* Timeline items - slide in on hover */
.timeline__item {
  transition: transform 0.3s ease, background 0.3s ease;
  padding: 0.75rem 1.25rem;
  border-radius: 4px;
  cursor: default;
}
.timeline__item:hover {
  transform: translateX(8px);
  background: rgba(255,255,255,0.04);
}
.timeline__item::before {
  transition: transform 0.3s ease, background 0.3s ease;
}
.timeline__item:hover::before {
  transform: scale(1.3);
}

/* Pull quotes - subtle lift */
.pull-quote {
  transition: box-shadow 0.4s ease;
}
.pull-quote:hover {
  box-shadow: inset 0 0 60px rgba(0,0,0,0.08);
}

/* Cohort cards - reveal extra info */
.cohort-card__body {
  position: relative;
}
.cohort-card__img {
  transition: transform 0.5s ease;
}
.cohort-card:hover .cohort-card__img {
  transform: scale(1.06);
}

/* Giving cards - glow on hover */
.giving-card:hover {
  box-shadow: 0 0 20px rgba(226, 173, 52, 0.2);
}
.ramadan-card:hover {
  box-shadow: 0 0 16px rgba(230, 121, 49, 0.2);
}

/* Respondent info - pop on hover */
.respondent-info__item {
  transition: transform 0.3s ease, background 0.3s ease;
  cursor: default;
}
.respondent-info__item:hover {
  transform: translateY(-3px);
  background: rgba(0,0,0,0.3);
}
.respondent-info__item:hover .respondent-info__number {
  transform: scale(1.1);
}
.respondent-info__number {
  transition: transform 0.3s ease;
}

/* Data bars - glow track on hover */
.data-bar {
  cursor: default;
}
.data-bar:hover .data-bar-fill {
  filter: brightness(1.2);
}

/* Inline CTA hover */
.inline-cta {
  transition: background 0.3s ease;
}
.inline-cta:hover {
  background: #d9a130;
}

/* Challenges list - highlight row */
.challenges-list li {
  transition: background 0.2s ease, padding-left 0.2s ease;
  padding-left: 0;
  border-radius: 4px;
}
.challenges-list li:hover {
  background: rgba(255,255,255,0.05);
  padding-left: 0.5rem;
}

/* ── Phosphor Icon sizing ── */
.section-label i {
  font-size: 1.1em;
  vertical-align: -0.12em;
  margin-right: 0.2rem;
}

.why-pillar h3 i {
  font-size: 1.2em;
  vertical-align: -0.12em;
  margin-right: 0.25rem;
}

.footer__links i {
  font-size: 1.15em;
  vertical-align: -0.12em;
  margin-right: 0.15rem;
}

.btn i.ph {
  font-size: 1.15em;
  vertical-align: -0.12em;
}

.partner-card__icon {
  font-size: 2rem;
}

/* ── Utility ── */
.text-center { text-align: center; }

/* ── Focus Styles ── */
*:focus-visible {
  outline: 3px solid var(--mana-orange);
  outline-offset: 2px;
}

/* ── Inline CTA ── */
.inline-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem var(--section-pad-x);
  background: var(--mana-gold);
  text-align: center;
}

.inline-cta p {
  max-width: 500px;
  margin-bottom: 1.5rem;
  color: var(--mana-navy);
  font-weight: 500;
}

/* ── Letter signature ── */
.letter__signature {
  margin-top: 2rem;
  font-weight: 700;
}

.letter__role {
  color: var(--text-secondary);
  font-style: italic;
}

/* ── Challenges Table ── */
.challenges-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.challenges-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 0.95rem;
}

.challenges-list li span:last-child {
  font-weight: 700;
  min-width: 50px;
  text-align: right;
}

/* ── Why Block ── */
.why-block {
  background: rgba(255,255,255,0.05);
  color: #fff;
  padding: 2rem;
  border-radius: 4px;
  margin-top: 2rem;
  border-left: 6px solid var(--mana-orange);
}

.why-block h3 { color: var(--mana-gold); }
.why-block p { color: rgba(255,255,255,0.8); }

/* ── Survey respondent info ── */
.respondent-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
  text-align: center;
}

.respondent-info__item {
  padding: 1rem;
  background: rgba(0,0,0,0.2);
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.12);
}

.respondent-info__number {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--mana-gold);
  display: block;
}

.respondent-info__desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.8);
}
