/* ==========================================================================
   AMC 2025 Annual Report — Master Stylesheet
   Association of Muslim Chaplains
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens / Custom Properties
   -------------------------------------------------------------------------- */

:root {
  --color-primary: #029056;
  --color-emerald: #1B9B6E;
  --color-deep-teal: #1A5F7A;
  --color-navy: #14344A;
  --color-sky: #7FBCD2;
  --color-mint: #E5F0EA;
  --color-ice: #E2EDF3;
  --color-warm-white: #FAFCFB;
  --color-charcoal: #2D3436;
  --color-slate: #5A6B7B;
  --color-copper: #B07D4F;

  --gradient-hero: linear-gradient(135deg, #14344A 0%, #1A5F7A 50%, #1B9B6E 100%);
  --gradient-dark: linear-gradient(160deg, #14344A, #1A5F7A);
  --gradient-card: linear-gradient(135deg, #EDF6F2, #EBF3F7);
  --gradient-cta: linear-gradient(135deg, #1B9B6E, #029056);

  --font-heading: 'Poppins', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-arabic: 'Amiri', serif;

  /* Cohort colors */
  --healthcare: var(--color-emerald);
  --education: var(--color-deep-teal);
  --community: var(--color-sky);
  --corrections: var(--color-copper);
  --military: var(--color-navy);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(20, 52, 74, 0.06);
  --shadow-md: 0 4px 12px rgba(20, 52, 74, 0.08);
  --shadow-lg: 0 8px 24px rgba(20, 52, 74, 0.1);

  /* Radius — tighter, more intentional */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
}


/* --------------------------------------------------------------------------
   2. Reset & Base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--color-charcoal);
  background-color: var(--color-warm-white);
  padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-overflow-scrolling: touch;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-deep-teal);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--color-emerald);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

ul, ol {
  padding-left: 1.25rem;
}

details summary {
  cursor: pointer;
}


/* --------------------------------------------------------------------------
   3. Accessibility Utilities
   -------------------------------------------------------------------------- */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-navy);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  z-index: 10000;
  text-decoration: none;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0;
  outline: 3px solid var(--color-emerald);
  outline-offset: 2px;
}

/* Global focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--color-deep-teal);
  outline-offset: 2px;
}


/* --------------------------------------------------------------------------
   4. Scroll Progress Bar
   -------------------------------------------------------------------------- */

#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--gradient-cta);
  z-index: 9999;
  transition: width 0.1s linear;
}


/* --------------------------------------------------------------------------
   5. Layout — Sections & Containers
   -------------------------------------------------------------------------- */

.chapter-section {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.chapter-section + .chapter-section::before {
  content: '';
  display: block;
  width: 100%;
  max-width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(20, 52, 74, 0.15), transparent);
  margin: 0 auto;
  position: relative;
  top: 0;
  box-shadow: 0 1px 3px rgba(20, 52, 74, 0.06);
}

/* Dark sections and sections with colored backgrounds get no divider bar */
.chapter-section.dark-section::before,
.chapter-section.mint-section::before,
.chapter-section.ice-section::before {
  display: none;
}

/* Sections after dark sections get a subtle divider */
.dark-section + .chapter-section::before {
  display: block;
  background: linear-gradient(90deg, transparent, rgba(20, 52, 74, 0.12), transparent);
}

.section-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 4.5rem 2rem;
}

/* --------------------------------------------------------------------------
   Table of Contents
   -------------------------------------------------------------------------- */

.toc-section {
  padding: 3rem 2rem 2rem;
  max-width: 720px;
  margin: 0 auto;
}

.toc-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--color-deep-teal);
  text-align: center;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  column-gap: 2rem;
}

.toc-list li {
  break-inside: avoid;
  margin-bottom: 0.25rem;
}

.toc-link {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
}

.toc-link:hover {
  background: rgba(26, 95, 122, 0.08);
}

.toc-number {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--color-deep-teal);
  min-width: 1.5rem;
}

.toc-text {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--color-navy);
}

.toc-link:hover .toc-text {
  color: var(--color-deep-teal);
}

@media (max-width: 600px) {
  .toc-list {
    columns: 1;
  }
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  color: var(--color-navy);
  margin-bottom: 0.6rem;
  letter-spacing: -0.03em;
  text-align: center;
}

/* section-title::after is now defined in the additional styles section */

.section-title--light {
  color: #fff;
}

.section-subtitle {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--color-slate);
  margin-bottom: 3rem;
  letter-spacing: 0.01em;
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle--light {
  color: rgba(255, 255, 255, 0.7);
}

.cohort-asterisk {
  display: inline-block;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--color-slate);
  margin-top: 0.25rem;
}

.subsection-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: var(--color-navy);
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  text-align: center;
}

.priorities-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  color: var(--color-navy);
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  text-align: center;
}


/* --------------------------------------------------------------------------
   6. Section Background Variants
   -------------------------------------------------------------------------- */

.mint-section {
  background-color: var(--color-mint);
}

.ice-section {
  background-color: var(--color-ice);
}

.dark-section {
  background: var(--gradient-dark);
  color: #fff;
}

.dark-section .section-title {
  color: #fff;
}

.dark-section .section-title::after {
  background: rgba(255, 255, 255, 0.35);
}

.dark-section .section-subtitle {
  color: rgba(255, 255, 255, 0.65);
}

.dark-section .subsection-title {
  color: var(--color-sky);
}

.dark-section a {
  color: var(--color-sky);
}

.dark-section a:hover {
  color: #fff;
}

.dark-section .cta-button,
.dark-section .cta-button:hover {
  color: #fff;
}


/* --------------------------------------------------------------------------
   7. Accent Line
   -------------------------------------------------------------------------- */

.gold-accent-line {
  display: none;
}


/* --------------------------------------------------------------------------
   8. Section Divider
   -------------------------------------------------------------------------- */

.section-divider {
  display: none;
}


/* --------------------------------------------------------------------------
   9. Hero Section
   -------------------------------------------------------------------------- */

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-navy);
  position: relative;
  overflow: hidden;
}

/* Hero floating photo mosaic background */
.hero-mosaic {
  position: absolute;
  inset: -10%;
  z-index: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform: rotate(-8deg) scale(1.3);
  transform-origin: center center;
}

.hero-mosaic-row {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
  will-change: transform;
}

.hero-mosaic-tile {
  width: 200px;
  height: 200px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
}

/* Slow scrolling animation - alternating directions */
.hero-mosaic-row--1 { animation: mosaicScrollLeft 60s linear infinite; }
.hero-mosaic-row--2 { animation: mosaicScrollRight 70s linear infinite; }
.hero-mosaic-row--3 { animation: mosaicScrollLeft 55s linear infinite; }
.hero-mosaic-row--4 { animation: mosaicScrollRight 65s linear infinite; }
.hero-mosaic-row--5 { animation: mosaicScrollLeft 75s linear infinite; }

@keyframes mosaicScrollLeft {
  0%   { transform: translateX(0); }
  100% { transform: translateX(calc(-200px * 8 - 6px * 8)); }
}

@keyframes mosaicScrollRight {
  0%   { transform: translateX(calc(-200px * 8 - 6px * 8)); }
  100% { transform: translateX(0); }
}

/* Dark overlay for text readability */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(20, 52, 74, 0.82) 0%,
    rgba(26, 95, 122, 0.72) 50%,
    rgba(27, 155, 110, 0.65) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: url(../assets/patterns/islamic-geo.svg);
  background-repeat: repeat;
  background-size: 300px 300px;
  opacity: 0.07;
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 720px;
}

.bismillah {
  font-family: var(--font-arabic);
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.2s;
}

.hero-logo {
  width: 220px;
  margin: 0 auto 2.5rem;
  filter: drop-shadow(0 4px 24px rgba(27, 155, 110, 0.25));
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.4s;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  color: #fff;
  margin-bottom: 0.75rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.6s;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.75rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.8s;
}

.hero-tagline {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(0.75rem, 1.8vw, 0.9rem);
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 1s;
}

.scroll-cue {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0;
  animation: scrollCueFadeIn 0.8s ease forwards 1.4s;
  transition: opacity 0.3s ease;
}

.scroll-cue-line {
  display: block;
  width: 1.5px;
  height: 40px;
  margin-top: 0.5rem;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite 2.2s;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.4; transform: scaleY(0.7); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollCueFadeIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* bounce removed — replaced by scroll-cue */


/* --------------------------------------------------------------------------
   10. Letter Layouts
   -------------------------------------------------------------------------- */

.letter-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.letter-layout--reversed {
  grid-template-columns: 1fr 220px;
}

.letter-layout--reversed .portrait-circle {
  order: 2;
}

.portrait-circle {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--gradient-card);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(20, 52, 74, 0.1);
}

.portrait-photo {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto;
  display: block;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(20, 52, 74, 0.1);
}

.portrait-initials {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 2.2rem;
  color: var(--color-deep-teal);
}

.portrait-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-navy);
  text-align: center;
  margin-top: 0.75rem;
}

.portrait-title {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--color-slate);
  text-align: center;
  margin-top: 0.15rem;
}

.letter-body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-charcoal);
}

.letter-body p {
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.letter-closing {
  font-style: italic;
}

.salaam {
  color: var(--color-deep-teal);
}


/* --------------------------------------------------------------------------
   11. Pull Quotes
   -------------------------------------------------------------------------- */

.pull-quote {
  border: none;
  border-left: 4px solid var(--color-deep-teal);
  padding: 2.5rem 3rem;
  margin: 3rem auto;
  max-width: 800px;
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  line-height: 1.75;
  color: var(--color-navy);
  background: linear-gradient(135deg, rgba(26, 95, 122, 0.08), rgba(20, 52, 74, 0.05));
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
}

.pull-quote::before {
  content: '\201C';
  position: absolute;
  top: -0.1em;
  left: 1.5rem;
  font-family: var(--font-heading);
  font-size: 5rem;
  font-style: normal;
  color: var(--color-deep-teal);
  opacity: 0.25;
  line-height: 1;
}

.pull-quote--small {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  padding: 2rem 2.5rem;
}

.pull-quote cite {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-style: normal;
  font-size: 0.85rem;
  color: var(--color-slate);
  margin-top: 1rem;
}


/* --------------------------------------------------------------------------
   12. Cards — Base
   -------------------------------------------------------------------------- */

.card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(20, 52, 74, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(20, 52, 74, 0.12);
}

.card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-navy);
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.card-text {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-charcoal);
}

.card-icon {
  color: #fff;
  font-size: 2.2rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  background: var(--gradient-cta);
  box-shadow: 0 4px 16px rgba(27, 155, 110, 0.25);
}

.card-speaker {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--color-emerald);
  margin-top: 0.5rem;
  letter-spacing: 0.01em;
}


/* --------------------------------------------------------------------------
   13. Card Grids
   -------------------------------------------------------------------------- */

.card-grid {
  display: grid;
  gap: 1.5rem;
}

.card-grid--two {
  grid-template-columns: repeat(2, 1fr);
}

.card-grid--three {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid--four {
  grid-template-columns: repeat(4, 1fr);
}


/* --------------------------------------------------------------------------
   14. Card Variants
   -------------------------------------------------------------------------- */

.priority-card {
  padding: 2.25rem;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.priority-card .card-icon {
  margin-bottom: 1.25rem;
}

.priority-card--light {
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-charcoal);
  backdrop-filter: blur(4px);
}

.priority-card--light .card-title {
  color: var(--color-navy);
}

.session-card {
  background: var(--color-ice);
}

.retreat-card {
  background: #fff;
}

.research-card {
  background: #fff;
}

.partner-card {
  background: #fff;
}

.partner-card .card-text {
  font-size: 1rem;
}


/* --------------------------------------------------------------------------
   15. Cohort Grid & Cards
   -------------------------------------------------------------------------- */

.cohort-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.cohort-card {
  border: none;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.cohort-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  opacity: 0.06;
  transform: translate(30%, -30%);
  pointer-events: none;
}

.cohort-card--healthcare::after { background: var(--healthcare); }
.cohort-card--education::after { background: var(--education); }
.cohort-card--community::after { background: var(--community); }
.cohort-card--corrections::after { background: var(--color-copper); }
.cohort-card--military::after { background: var(--military); }

.cohort-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.cohort-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-lg);
  flex-shrink: 0;
}

.cohort-card--healthcare .cohort-icon { background: var(--healthcare); }
.cohort-card--education .cohort-icon { background: var(--education); }
.cohort-card--community .cohort-icon { background: var(--community); }
.cohort-card--corrections .cohort-icon { background: var(--color-copper); }
.cohort-card--military .cohort-icon { background: var(--military); }

.cohort-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-navy);
  letter-spacing: -0.01em;
}

.cohort-count {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 3.2rem);
  color: var(--color-deep-teal);
  line-height: 1;
  margin-bottom: 0.15rem;
}

.cohort-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-slate);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cohort-vp {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-emerald);
  margin-bottom: 0.75rem;
}

.cohort-story {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-charcoal);
}

.cohort-quotes {
  margin-top: 3rem;
}


/* --------------------------------------------------------------------------
   16. Stats
   -------------------------------------------------------------------------- */

.stats-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.stat-block {
  text-align: center;
  padding: 1.5rem 2rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.7);
  min-width: 140px;
}

.stat-block--highlight {
  background: var(--color-emerald);
}

.stat-block--highlight .stat-number {
  color: #fff;
}

.stat-block--highlight .stat-label {
  color: rgba(255, 255, 255, 0.85);
}

.stat-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--color-deep-teal);
  display: block;
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-number--large {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
}

.stat-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-slate);
  margin-top: 0.5rem;
  display: block;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dark-section .stat-block {
  background: rgba(255, 255, 255, 0.06);
}

.dark-section .stat-number {
  color: #fff;
}

.dark-section .stat-label {
  color: rgba(255, 255, 255, 0.6);
}


/* --------------------------------------------------------------------------
   17. Professional Development Timeline
   -------------------------------------------------------------------------- */

.program-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-left: 2px solid rgba(127, 188, 210, 0.25);
  padding-left: 1.5rem;
  margin: 2rem 0;
}

.program-card {
  display: flex;
  flex-direction: row;
  gap: 1.25rem;
  position: relative;
}

.program-card::before {
  content: '';
  position: absolute;
  left: -1.72rem;
  top: 0.75rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-emerald);
}

.program-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  background: var(--color-deep-teal);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  min-width: 68px;
  text-align: center;
  flex-shrink: 0;
}

.program-month {
  font-size: 0.9rem;
  line-height: 1.2;
}

.program-year {
  font-size: 0.7rem;
  opacity: 0.7;
}

.program-content {
  flex-grow: 1;
}

.program-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--color-navy);
  margin-bottom: 0.2rem;
}

.dark-section .program-title {
  color: #fff;
}

.program-theme {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.88rem;
  color: var(--color-sky);
  margin-bottom: 0.3rem;
}

.program-desc {
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--color-charcoal);
}

.dark-section .program-desc {
  color: rgba(255, 255, 255, 0.8);
}


/* --------------------------------------------------------------------------
   18. Map
   -------------------------------------------------------------------------- */

.map-wrapper {
  max-width: 900px;
  margin: 2rem auto;
  position: relative;
}

#map-container {
  width: 100%;
  aspect-ratio: 3 / 2;
  background-color: var(--color-mint);
  border-radius: var(--radius-lg);
  overflow: visible;
}

.map-tooltip {
  position: absolute;
  display: none;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  background: var(--color-navy);
  color: #fff;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  z-index: 100;
  pointer-events: none;
  white-space: nowrap;
}

.map-tooltip.visible {
  display: block;
}

.sr-table {
  width: 100%;
  margin-top: 1.5rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  border-collapse: collapse;
}

.sr-table th,
.sr-table td {
  padding: 0.5rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(20, 52, 74, 0.08);
}

.sr-table th {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--color-deep-teal);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}


/* --------------------------------------------------------------------------
   19. Charts
   -------------------------------------------------------------------------- */

.chart-section {
  margin-top: 3rem;
  text-align: center;
}

.chart-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--color-navy);
  margin-bottom: 2rem;
  text-align: center;
}

.chart-layout {
  display: flex;
  flex-direction: row;
  gap: 3rem;
  align-items: center;
  justify-content: center;
  max-width: 600px;
  margin: 0 auto;
}

#cohort-chart,
#finance-chart {
  width: 300px;
  min-height: 300px;
  flex-shrink: 0;
}

.chart-legend {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--color-charcoal);
}

.legend-item strong {
  font-weight: 700;
  color: var(--color-navy);
  margin-left: auto;
  padding-left: 0.5rem;
}

.legend-color {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--legend-bg, var(--color-emerald));
  flex-shrink: 0;
}


/* --------------------------------------------------------------------------
   20. Retreat Info
   -------------------------------------------------------------------------- */

.retreat-info {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin: 2rem 0;
  align-items: center;
  box-shadow: 0 2px 8px rgba(20, 52, 74, 0.06);
}

.retreat-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-grow: 1;
}

.retreat-detail {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.92rem;
  color: var(--color-charcoal);
}

.retreat-detail strong {
  font-weight: 600;
  color: var(--color-navy);
}

.retreat-photo-placeholder {
  width: 280px;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--color-mint), var(--color-ice));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(45, 52, 54, 0.3);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  flex-shrink: 0;
}


/* --------------------------------------------------------------------------
   21. Activity Highlights
   -------------------------------------------------------------------------- */

.activity-highlights {
  margin-top: 3rem;
  text-align: center;
}

.activity-highlights .subsection-title {
  text-align: center;
}

.activity-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin: 2rem 0;
  padding: 2rem 0;
}

.activity-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-charcoal);
  text-align: center;
  min-width: 120px;
}

.activity-icon {
  font-size: 2.5rem;
  color: #fff;
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-deep-teal);
  border-radius: var(--radius-lg);
  line-height: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(26, 95, 122, 0.2);
}

.activity-item:hover .activity-icon {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 24px rgba(26, 95, 122, 0.3);
}


/* --------------------------------------------------------------------------
   22. Chips & Tags
   -------------------------------------------------------------------------- */

.chip {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  background-color: rgba(27, 155, 110, 0.08);
  color: var(--color-deep-teal);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.chip--outline {
  background: var(--color-navy);
  color: #fff;
  border: none;
  font-size: 0.95rem;
  padding: 0.55rem 1.25rem;
}

.speaker-chips,
.partner-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.terms-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0;
}

.term-chip {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  background: rgba(26, 95, 122, 0.06);
  color: var(--color-deep-teal);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  cursor: default;
}

.term-chip:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(20, 52, 74, 0.1);
}

.term-chip--accent {
  background: var(--color-navy);
  color: #fff;
  font-size: 1.3rem;
  padding: 0.85rem 2rem;
}

.term-chip--accent:hover {
  background: var(--color-deep-teal);
  box-shadow: 0 6px 20px rgba(20, 52, 74, 0.2);
}


/* --------------------------------------------------------------------------
   23. Key Terms
   -------------------------------------------------------------------------- */

.key-terms {
  text-align: center;
  padding: 3rem 0;
}

.key-terms-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

.key-terms-intro {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-slate);
  margin-bottom: 1.5rem;
}


/* --------------------------------------------------------------------------
   24. Presenters Box
   -------------------------------------------------------------------------- */

.presenters-box {
  background-color: var(--color-ice);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.presenters-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

.presenters-list {
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--color-charcoal);
}

.recordings-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  background: rgba(27, 155, 110, 0.1);
  color: var(--color-emerald);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  margin-top: 1rem;
}

.recordings-badge .badge-icon {
  font-size: 1.2rem;
}


/* --------------------------------------------------------------------------
   25. Finance
   -------------------------------------------------------------------------- */

.fundraising-events {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.event-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(20, 52, 74, 0.1);
}

.event-date {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #fff;
  font-size: 0.82rem;
  white-space: nowrap;
  flex-shrink: 0;
  background: var(--color-deep-teal);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.event-content {
  flex-grow: 1;
}

.event-content h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

.event-content p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-charcoal);
}

.plans-roadmap {
  margin-top: 3rem;
}

.roadmap-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.roadmap-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-charcoal);
  background: #fff;
  padding: 1.75rem 1.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
}

.roadmap-item:hover {
  transform: translateY(-3px);
}

.dark-section .roadmap-item {
  color: var(--color-charcoal);
  background: rgba(255, 255, 255, 0.95);
}

.roadmap-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-emerald);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(27, 155, 110, 0.25);
}

.fundraising-section {
  text-align: center;
}

.fundraising-section p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-charcoal);
  max-width: 800px;
  margin: 0 auto;
}


/* --------------------------------------------------------------------------
   26. Looking Ahead / CTA
   -------------------------------------------------------------------------- */

.cta-section {
  text-align: center;
  margin-top: 3rem;
  padding: 3rem 0;
}

.cta-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  color: #fff;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.cta-text {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
  margin: 0 auto 2rem;
}

.cta-button {
  display: inline-block;
  background: var(--color-emerald);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 1.1rem 3rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 4px 16px rgba(27, 155, 110, 0.3);
}

.cta-button:hover {
  color: #fff;
  background: var(--color-primary);
  box-shadow: 0 6px 24px rgba(27, 155, 110, 0.4);
  transform: translateY(-2px);
}

.cta-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(27, 155, 110, 0.3);
}


/* --------------------------------------------------------------------------
   27. Board Section
   -------------------------------------------------------------------------- */

.board-section {
  margin-top: 3rem;
  padding-top: 2.5rem;
}

.board-title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
  text-align: center;
  letter-spacing: -0.01em;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
  max-width: 800px;
  margin: 0 auto;
}

.board-member {
  text-align: center;
  color: #fff;
  padding: 1rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  transition: background 0.25s ease;
}

.board-member:hover {
  background: rgba(255, 255, 255, 0.1);
}

.board-member strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.88rem;
  margin-bottom: 0.1rem;
}

.board-member span {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.78rem;
  opacity: 0.55;
}

/* Board section groups */
.board-group-label {
  font-family: var(--font-heading, 'Poppins', sans-serif);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: none;
  text-align: center;
}

.board-group + .board-group {
  margin-top: 1.75rem;
}

.board-grid--staff {
  grid-template-columns: repeat(2, 1fr);
}

.board-member--staff {
  background: rgba(2, 144, 86, 0.12);
  border: 1px solid rgba(2, 144, 86, 0.25);
}

.board-member--staff strong {
  color: #7ECFAB;
}


/* --------------------------------------------------------------------------
   28. Chapter Navigation (fixed bottom)
   -------------------------------------------------------------------------- */

.chapter-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--color-navy);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 1000;
  height: calc(56px + env(safe-area-inset-bottom, 0px));
  padding: 0 max(1rem, env(safe-area-inset-left, 0px)) env(safe-area-inset-bottom, 0px) max(1rem, env(safe-area-inset-right, 0px));
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  margin-right: auto;
}

.nav-logo {
  width: 56px;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
}

.nav-report-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.85;
}

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

.nav-prev,
.nav-next {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: #fff;
  transition: all 0.2s ease;
  flex-shrink: 0;
  touch-action: manipulation;
}

.nav-prev:hover,
.nav-next:hover {
  background: var(--color-emerald);
  transform: scale(1.08);
}

.nav-prev:disabled,
.nav-next:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

.nav-prev:disabled:hover,
.nav-next:disabled:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: none;
}

.nav-chapter-btn {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.82rem;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #fff;
  padding: 0.35rem 0.75rem;
  min-height: 44px;
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease;
  text-align: center;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  touch-action: manipulation;
}

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

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

.nav-chapter-name {
  font-size: 0.78rem;
  opacity: 0.85;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}


/* --------------------------------------------------------------------------
   29. Chapter Menu (fullscreen overlay)
   -------------------------------------------------------------------------- */

.chapter-menu {
  position: fixed;
  inset: 0;
  background: rgba(20, 52, 74, 0.96);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overscroll-behavior: contain;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
}

.chapter-menu[aria-hidden="true"] {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.chapter-menu-inner {
  max-width: 460px;
  width: 100%;
  padding: 2rem;
}

.chapter-menu-close {
  position: absolute;
  top: max(1.5rem, env(safe-area-inset-top, 0px));
  right: max(1.5rem, env(safe-area-inset-right, 0px));
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.4rem;
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease, color 0.2s ease;
  touch-action: manipulation;
}

.chapter-menu-close:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.chapter-menu-title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
}

.chapter-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.chapter-menu-list li a {
  display: block;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  padding: 0.75rem 0;
  min-height: 44px;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: color 0.2s ease, padding-left 0.2s ease;
  touch-action: manipulation;
}

.chapter-menu-list li a:hover {
  color: #fff;
  padding-left: 0.5rem;
}

.chapter-menu-list li a.active,
.chapter-menu-list li.active a {
  color: #fff;
  font-weight: 600;
}


/* --------------------------------------------------------------------------
   30. Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background-color: var(--color-navy);
  padding: 4rem 2rem 6rem;
  text-align: center;
}

.footer-inner {
  max-width: 600px;
  margin: 0 auto;
}

.footer-logo {
  margin: 0 auto 1.25rem;
  opacity: 0.7;
  width: 100px;
}

.footer-text {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.25rem;
}

.footer-text--small {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin: 1.25rem 0;
  flex-wrap: wrap;
  padding: 0;
}

.footer-links a {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.82rem;
  color: var(--color-sky);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-links i {
  font-size: 0.95rem;
}

.footer-copyright {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.25);
  margin-top: 1.5rem;
}


/* --------------------------------------------------------------------------
   31. Membership Notes
   -------------------------------------------------------------------------- */

.membership-notes {
  font-family: var(--font-body);
  text-align: center;
  color: var(--color-slate);
  padding-top: 1.5rem;
  font-size: 0.88rem;
  line-height: 1.6;
}

.membership-notes p {
  font-size: 1.05rem;
}


/* --------------------------------------------------------------------------
   32. Org Mentions
   -------------------------------------------------------------------------- */

.org-mentions {
  margin-top: 3rem;
  text-align: center;
  padding: 2.5rem;
  background: var(--color-navy);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.org-mentions .partner-chips {
  justify-content: center;
  gap: 0.75rem;
}

.org-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.org-mentions .chip--outline {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1rem;
  padding: 0.6rem 1.5rem;
  white-space: normal;
  text-align: center;
}


/* --------------------------------------------------------------------------
   33. Scroll Reveal Animations
   -------------------------------------------------------------------------- */

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

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.stagger-children > *:nth-child(1) { transition-delay: 0.06s; }
.stagger-children > *:nth-child(2) { transition-delay: 0.12s; }
.stagger-children > *:nth-child(3) { transition-delay: 0.18s; }
.stagger-children > *:nth-child(4) { transition-delay: 0.24s; }
.stagger-children > *:nth-child(5) { transition-delay: 0.3s; }
.stagger-children > *:nth-child(6) { transition-delay: 0.36s; }
.stagger-children > *:nth-child(7) { transition-delay: 0.42s; }
.stagger-children > *:nth-child(8) { transition-delay: 0.48s; }

/* Term chips animate with scale */
.terms-grid .term-chip {
  opacity: 0;
  transform: translateY(12px) scale(0.9);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.terms-grid.visible .term-chip {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.terms-grid .term-chip:nth-child(1) { transition-delay: 0.05s; }
.terms-grid .term-chip:nth-child(2) { transition-delay: 0.1s; }
.terms-grid .term-chip:nth-child(3) { transition-delay: 0.15s; }
.terms-grid .term-chip:nth-child(4) { transition-delay: 0.2s; }
.terms-grid .term-chip:nth-child(5) { transition-delay: 0.25s; }
.terms-grid .term-chip:nth-child(6) { transition-delay: 0.3s; }
.terms-grid .term-chip:nth-child(7) { transition-delay: 0.35s; }
.terms-grid .term-chip:nth-child(8) { transition-delay: 0.4s; }


/* --------------------------------------------------------------------------
   34. Reduced Motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .reveal-left,
  .reveal-right {
    opacity: 1;
    transform: none;
  }

  .bismillah,
  .hero-logo,
  .hero-title,
  .hero-subtitle,
  .hero-tagline,
  .scroll-cue {
    opacity: 1;
    animation: none;
  }

  .scroll-cue-line {
    animation: none;
  }
}


/* --------------------------------------------------------------------------
   35. Responsive — Tablet (max-width: 768px)
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {
  .section-inner {
    padding: 3rem 1.875rem;
  }

  .letter-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .letter-layout--reversed {
    grid-template-columns: 1fr;
  }

  .letter-layout--reversed .portrait-circle {
    order: 0;
  }

  .card-grid--three {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid--four {
    grid-template-columns: repeat(2, 1fr);
  }

  .chart-layout {
    flex-direction: column;
  }

  .retreat-info {
    flex-direction: column;
  }

  .retreat-photo-placeholder {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  .event-card {
    flex-direction: column;
    gap: 0.75rem;
  }

  .stats-row {
    gap: 1.25rem;
  }

  .board-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .footer-links {
    gap: 1rem;
  }

  .org-mentions {
    padding: 2rem 1.25rem;
  }

  .org-mentions .chip--outline {
    font-size: 0.88rem;
    padding: 0.5rem 1rem;
  }

  .hero-mosaic-tile {
    width: 140px;
    height: 140px;
  }
}


/* --------------------------------------------------------------------------
   36. Responsive — Mobile (max-width: 480px)
   -------------------------------------------------------------------------- */

@media (max-width: 480px) {
  .section-inner {
    padding: 2.5rem 1.375rem;
  }

  .section-title {
    font-size: 1.35rem;
  }

  .card-grid--two,
  .card-grid--three,
  .card-grid--four {
    grid-template-columns: 1fr;
  }

  .cohort-grid {
    grid-template-columns: 1fr;
  }

  .stats-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .stat-block {
    padding: 0.75rem;
    min-width: unset;
  }

  .hero-logo {
    width: 180px;
  }

  .hero-content {
    padding: 1.5rem 1rem;
  }

  .hero-mosaic-tile {
    width: 110px;
    height: 110px;
  }

  .hero-mosaic {
    gap: 4px;
  }

  .hero-mosaic-row {
    gap: 4px;
  }

  .pull-quote {
    font-size: 1.05rem;
    padding: 1.5rem 1.25rem;
  }

  .letter-body {
    font-size: 1rem;
  }

  .card {
    padding: 1.25rem;
  }

  .chapter-nav {
    gap: 0.25rem;
    padding: 0 0.5rem;
  }

  .nav-report-label {
    display: none;
  }

  .nav-logo {
    width: 48px;
    height: auto;
  }

  .nav-chapter-name {
    display: none;
  }

  .program-card {
    flex-direction: column;
    gap: 0.75rem;
  }

  .program-date {
    flex-direction: row;
    gap: 0.35rem;
    min-width: auto;
    width: fit-content;
  }

  .activity-icons {
    gap: 1rem;
  }

  .terms-grid {
    gap: 0.4rem;
  }

  .term-chip {
    font-size: 0.82rem;
    padding: 0.35rem 0.9rem;
  }

  .board-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.75rem;
  }
}


/* --------------------------------------------------------------------------
   37. Responsive — Desktop (min-width: 1024px)
   -------------------------------------------------------------------------- */

@media (min-width: 1024px) {
  .section-inner {
    padding: 5rem 2rem;
  }
}


/* --------------------------------------------------------------------------
   38. Responsive — Wide (min-width: 1280px)
   -------------------------------------------------------------------------- */

@media (min-width: 1280px) {
  .section-inner {
    max-width: 1120px;
  }
}


/* --------------------------------------------------------------------------
   Photo Gallery & Inline Photos
   -------------------------------------------------------------------------- */

.section-photo {
  margin: 2rem 0;
  border-radius: var(--radius-lg, 12px);
  overflow: hidden;
}

.section-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg, 12px);
  cursor: pointer;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.section-photo img:hover {
  transform: scale(1.01);
  filter: brightness(1.05);
}

.photo-caption {
  font-size: 0.82rem;
  color: var(--color-slate, #5A6B7B);
  text-align: center;
  margin-top: 0.6rem;
  font-style: italic;
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md, 8px);
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, filter 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(1.08);
}

.gallery-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 0.75rem 0.6rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: white;
  font-size: 0.78rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover figcaption {
  opacity: 1;
}

/* Lightbox overlay */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  cursor: pointer;
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md, 8px);
  cursor: default;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s ease;
  z-index: 10001;
}

.lightbox-close:hover {
  opacity: 1;
}

/* Responsive gallery */
@media (max-width: 768px) {
  .photo-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .gallery-item img {
    height: 160px;
  }

  .gallery-item figcaption {
    opacity: 1;
    font-size: 0.72rem;
    padding: 1.5rem 0.5rem 0.4rem;
  }
}

@media (max-width: 480px) {
  .photo-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-item img {
    height: 200px;
  }
}


/* --------------------------------------------------------------------------
   38b. Section Photo Galleries
   -------------------------------------------------------------------------- */

.section-gallery {
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.section-gallery.section-gallery--compact {
  margin-bottom: 2.5rem;
}

.section-gallery .gallery-item img {
  height: 200px;
}

.section-gallery--compact .gallery-item img {
  height: 180px;
}

@media (max-width: 768px) {
  .section-gallery .gallery-item img {
    height: 150px;
  }
  .section-gallery--compact .gallery-item img {
    height: 140px;
  }
}

@media (max-width: 480px) {
  .section-gallery .gallery-item img {
    height: 180px;
  }
  .section-gallery--compact .gallery-item img {
    height: 160px;
  }
}

/* --------------------------------------------------------------------------
   38c. Hero Mosaic Mobile Adjustments
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {
  .hero-mosaic {
    transform: rotate(-8deg) scale(1.5);
  }

  .hero-mosaic-tile {
    width: 140px;
    height: 140px;
  }

  .hero-overlay {
    background: linear-gradient(
      135deg,
      rgba(20, 52, 74, 0.88) 0%,
      rgba(26, 95, 122, 0.78) 50%,
      rgba(27, 155, 110, 0.72) 100%
    );
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-mosaic-row {
    animation: none !important;
  }
}

/* --------------------------------------------------------------------------
   39. Print Styles
   -------------------------------------------------------------------------- */

@media print {
  body {
    background: #fff;
    color: #000;
    padding-bottom: 0;
    font-size: 11pt;
  }

  .chapter-nav,
  .chapter-menu,
  #progress-bar,
  .scroll-cue,
  .skip-link {
    display: none !important;
  }

  .hero-section {
    min-height: auto;
    background: none !important;
    color: #000;
    page-break-after: always;
  }

  .hero-pattern,
  .hero-mosaic,
  .hero-overlay {
    display: none;
  }

  .hero-title,
  .hero-subtitle,
  .hero-tagline,
  .bismillah {
    color: #000 !important;
    opacity: 1 !important;
    animation: none !important;
  }

  .chapter-section {
    page-break-inside: avoid;
  }

  .dark-section {
    background: none !important;
    color: #000;
  }

  .dark-section .section-title,
  .dark-section .section-subtitle,
  .dark-section .subsection-title,
  .dark-section .stat-number,
  .dark-section .stat-label,
  .dark-section .program-title,
  .dark-section .program-desc,
  .dark-section .roadmap-item {
    color: #000 !important;
  }

  .cta-title,
  .cta-text,
  .board-title,
  .board-member,
  .board-member strong,
  .board-member span,
  .footer-text,
  .footer-copyright {
    color: #000 !important;
    opacity: 1 !important;
  }

  .site-footer {
    background: none !important;
  }

  .mint-section,
  .ice-section {
    background: none !important;
  }

  .card {
    box-shadow: none;
    border: 1px solid #ddd;
    break-inside: avoid;
  }

  .card:hover {
    transform: none;
  }

  .reveal,
  .reveal-left,
  .reveal-right {
    opacity: 1 !important;
    transform: none !important;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  .cta-button {
    background: none !important;
    color: #000 !important;
    border: 2px solid #000;
    animation: none !important;
    box-shadow: none !important;
  }
}

/* --------------------------------------------------------------------------
   40. Location Badge
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   41. Strategy & Extra Polish
   -------------------------------------------------------------------------- */

.strategy-intro {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--color-charcoal);
  max-width: 800px;
  margin: 0 auto 2rem;
  text-align: center;
}

.strategy-intro p {
  font-size: 1.05rem;
}

.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  color: var(--color-emerald);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(27, 155, 110, 0.08);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-sm);
}

.location-flag {
  font-size: 1rem;
}


/* --------------------------------------------------------------------------
   42. Bento Cohort Cards (Redesigned)
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   42. Bento Cohort Cards (Redesigned)
   -------------------------------------------------------------------------- */

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.bento-card {
  border-radius: var(--radius-xl);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
}

/* Large faded background icon */
.bento-card::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.bento-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

/* Cohort-specific backgrounds — richer gradients */
.bento-card--healthcare {
  background: linear-gradient(160deg, #22b07e 0%, #14805a 50%, #0d5e42 100%);
  color: #fff;
}
.bento-card--education {
  background: linear-gradient(160deg, #2480a0 0%, #1A5F7A 50%, #11404f 100%);
  color: #fff;
}
.bento-card--community {
  background: linear-gradient(160deg, #a3d8ea 0%, #7FBCD2 40%, #5a9fb8 100%);
  color: #14344A;
}
.bento-card--corrections {
  background: linear-gradient(160deg, #c99560 0%, #B07D4F 50%, #8a5f38 100%);
  color: #fff;
}
.bento-card--military {
  background: linear-gradient(160deg, #1d4a66 0%, #14344A 50%, #0b1e2d 100%);
  color: #fff;
}

/* Summary card */
.bento-card--summary {
  background: linear-gradient(160deg, var(--color-mint) 0%, #dceee6 50%, var(--color-ice) 100%);
  color: var(--color-navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.bento-card--summary::after {
  display: none;
}

.bento-summary-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(3.2rem, 7vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--color-navy);
}

.bento-summary-number .stat-number {
  font-size: inherit;
  color: inherit;
}

.bento-summary-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-slate);
  margin-top: 0.35rem;
  margin-bottom: 1rem;
}

.bento-summary-cohorts {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.bento-cohort-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--dot-bg, #ccc);
}

.bento-summary-names {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--color-slate);
  letter-spacing: 0.02em;
}

/* Top row: label + icon */
.bento-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.bento-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
}

.bento-icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.bento-card--community .bento-icon-circle {
  background: rgba(20, 52, 74, 0.1);
}

/* Large faded icon in background */
.bento-card .bento-bg-icon {
  position: absolute;
  bottom: -10px;
  right: -10px;
  font-size: 7rem;
  opacity: 0.07;
  pointer-events: none;
  line-height: 1;
}

/* Big number */
.bento-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(3rem, 7vw, 4rem);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 0.1rem;
  position: relative;
  z-index: 1;
}

.bento-number .stat-number {
  font-size: inherit;
  color: inherit;
  display: inline-block;
}

.bento-members {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 1rem;
  display: block;
  position: relative;
  z-index: 1;
}

/* VP */
.bento-vp {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  opacity: 0.85;
  margin-bottom: 0.65rem;
  position: relative;
  z-index: 1;
}

/* Story text */
.bento-story {
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.6;
  opacity: 0.75;
  margin-top: auto;
  position: relative;
  z-index: 1;
}


/* --------------------------------------------------------------------------
   43. Professional Development Flow (Redesigned)
   -------------------------------------------------------------------------- */

.pd-flow {
  position: relative;
  padding-left: 2.5rem;
  margin-top: 1.5rem;
}

.pd-flow-line {
  position: absolute;
  left: 0.6rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.2);
}

.pd-event {
  position: relative;
  margin-bottom: 1.25rem;
}

.pd-event-dot {
  position: absolute;
  left: -2.15rem;
  top: 1.1rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-emerald);
  border: 2px solid rgba(255, 255, 255, 0.3);
  z-index: 1;
}

.pd-event:hover .pd-event-dot {
  transform: scale(1.3);
  box-shadow: 0 0 0 6px rgba(27, 155, 110, 0.15);
}

.pd-event-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md, 8px);
  padding: 1rem 1.25rem;
}

.pd-event:hover .pd-event-card {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  border-color: rgba(27, 155, 110, 0.3);
}

.pd-event-date {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.72rem;
  color: #fff;
  background: rgba(27, 155, 110, 0.35);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.pd-event-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 0.3rem;
}

.pd-event-theme {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.88rem;
  color: var(--color-sky);
  margin-bottom: 0.4rem;
}

.pd-event-desc {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}


/* --------------------------------------------------------------------------
   44. Map Legend Fix (prevent masking)
   -------------------------------------------------------------------------- */

#map-container {
  overflow: visible;
}

.map-wrapper {
  overflow: visible;
  padding-bottom: 3.5rem;
}


/* --------------------------------------------------------------------------
   45. Cohort Chart Section Spacing
   -------------------------------------------------------------------------- */

.chart-section--cohort {
  margin-top: 4.5rem;
}

.chart-title--large {
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin-bottom: 1rem;
}


/* --------------------------------------------------------------------------
   46. Financial Statement
   -------------------------------------------------------------------------- */

.financial-statement {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 800px;
  margin: 2.5rem auto;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 2px 12px rgba(20, 52, 74, 0.06);
}

.fin-column-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-navy);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-emerald);
}

.fin-group {
  margin-bottom: 1.25rem;
}

.fin-group-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--color-slate);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.fin-line {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--color-charcoal);
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(20, 52, 74, 0.05);
}

.fin-line--total {
  font-weight: 600;
  color: var(--color-navy);
  border-bottom: 1px solid rgba(20, 52, 74, 0.12);
  padding-top: 0.5rem;
  margin-top: 0.25rem;
}

.fin-line--grand {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-navy);
  padding: 0.75rem 0 0;
  margin-top: 0.5rem;
  border-top: 2px solid var(--color-navy);
}


/* --------------------------------------------------------------------------
   47. Number Flip Animation
   -------------------------------------------------------------------------- */

.stat-number {
  display: inline-block;
  min-width: 2ch;
  text-align: center;
}

.stat-number--large {
  min-width: 3ch;
}

.stat-block {
  min-width: 160px;
}

@keyframes flipIn {
  0% {
    opacity: 0;
    transform: rotateX(90deg) translateY(-8px);
  }
  100% {
    opacity: 1;
    transform: rotateX(0deg) translateY(0);
  }
}

.stat-number.flip-done {
  animation: flipIn 0.4s ease-out forwards;
}


/* --------------------------------------------------------------------------
   48. Financial Accounts Visual
   -------------------------------------------------------------------------- */

.fin-accounts {
  margin-top: 3rem;
  text-align: center;
}

.fin-accounts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 700px;
  margin: 1.5rem auto;
}

.fin-account-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(20, 52, 74, 0.06);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fin-account-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(20, 52, 74, 0.1);
}

.fin-account-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.fin-account-name {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-slate);
  margin-bottom: 0.25rem;
}

.fin-account-amount {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--color-navy);
  margin-bottom: 0.75rem;
}

.fin-account-bar {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(20, 52, 74, 0.06);
  overflow: hidden;
}

.fin-account-fill {
  height: 100%;
  border-radius: 3px;
  min-width: 3px;
  transition: width 1s ease-out;
}

.fin-accounts-note {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--color-slate);
  margin-top: 1.5rem;
}

.fin-accounts-note strong {
  color: var(--color-navy);
}


/* --------------------------------------------------------------------------
   49. Financial Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {
  .financial-statement {
    grid-template-columns: 1fr;
  }

  .fin-accounts-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
  }
}

@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-card {
    padding: 1.5rem;
  }
  .bento-number {
    font-size: 2.8rem;
  }
}

/* ============================================
   ADDITIONAL STYLES FOR MISSING CONTENT
   ============================================ */

/* Card list (bullet lists inside cards) */
.card-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}

.card-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--color-slate, #4a5568);
}

.card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-emerald, #1B9B6E);
}

.card-list--compact li {
  font-size: 0.82rem;
  margin-bottom: 0.35rem;
}

/* Mission link badge on priority cards */
.card-mission-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-emerald, #1B9B6E);
  margin-bottom: 0.5rem;
  padding: 0.25rem 0.6rem;
  background: rgba(27, 155, 110, 0.08);
  border-radius: 4px;
}

.card-mission-link i {
  font-size: 0.85rem;
}

/* Legend note (small parenthetical) */
.legend-note {
  font-size: 0.75rem;
  color: #888;
  font-weight: 400;
}

/* ============================================
   FINANCIAL STATEMENT TABLE
   ============================================ */

.fin-statement {
  max-width: 640px;
  margin: 2rem auto;
}

.fin-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-size: 0.95rem;
}

.fin-table-section-header {
  background: var(--color-deep-teal, #14344A);
  color: #fff;
  font-family: var(--font-heading, 'Poppins', sans-serif);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  text-align: left;
  letter-spacing: 0.02em;
}

.fin-table-subheader td {
  font-weight: 600;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-emerald, #1B9B6E);
  padding: 0.65rem 1rem 0.35rem;
  border-bottom: none;
}

.fin-table tbody tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.fin-table td {
  padding: 0.5rem 1rem;
  vertical-align: middle;
}

.fin-amount {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  white-space: nowrap;
}

.fin-table-subtotal td {
  font-weight: 600;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  padding-top: 0.6rem;
}

.fin-table-total td {
  font-weight: 700;
  font-size: 1.05rem;
  border-top: 2px solid var(--color-deep-teal, #14344A);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  color: var(--color-deep-teal, #14344A);
}

@media (max-width: 480px) {
  .fin-table {
    font-size: 0.85rem;
  }
  .fin-table td,
  .fin-table-section-header {
    padding-left: 0.6rem;
    padding-right: 0.6rem;
  }
}

/* ============================================
   EXECUTIVE SUMMARY - Horizontal Highlights
   ============================================ */

.exec-highlights {
  max-width: 720px;
  margin: 2rem auto 0;
}

.exec-highlight-row {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.exec-highlight-row:last-child {
  border-bottom: none;
}

.exec-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--color-emerald, #1B9B6E);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.exec-content {
  flex: 1;
  min-width: 0;
}

.exec-label {
  font-family: var(--font-heading, 'Poppins', sans-serif);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-deep-teal, #14344A);
  margin: 0 0 0.35rem;
}

.exec-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.exec-item {
  font-size: 0.95rem;
  color: var(--color-slate, #4a5568);
  line-height: 1.5;
}

.exec-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-copper, #B07D4F);
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .exec-highlight-row {
    gap: 0.75rem;
  }
  .exec-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  .exec-items {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  .exec-divider {
    display: none;
  }
}

/* ============================================
   COHORT DETAIL ACCORDION
   ============================================ */

.cohort-details {
  max-width: 760px;
  margin: 2.5rem auto 0;
}

.cohort-detail {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.cohort-detail:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.cohort-detail-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 0.5rem;
  min-height: 48px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading, 'Poppins', sans-serif);
  font-size: 1rem;
  touch-action: manipulation;
  font-weight: 600;
  color: var(--color-deep-teal, #14344A);
  transition: color 0.2s ease;
}

.cohort-detail-toggle:hover {
  color: var(--color-emerald, #1B9B6E);
}

.cohort-detail-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.cohort-detail-label i {
  font-size: 1.2rem;
  color: var(--color-emerald, #1B9B6E);
}

.cohort-detail-arrow {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.cohort-detail.open .cohort-detail-arrow {
  transform: rotate(180deg);
}

.cohort-detail-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 0.5rem;
}

.cohort-detail.open .cohort-detail-body {
  max-height: 600px;
  padding: 0 0.5rem 1.25rem;
}

.cohort-detail-body p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-slate, #4a5568);
  margin: 0 0 0.75rem;
}

.cohort-detail-body p:last-child {
  margin-bottom: 0;
}

/* ============================================
   TERM CHIP TOOLTIPS
   ============================================ */

.term-chip[data-tooltip] {
  position: relative;
  cursor: help;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.25);
}

.term-chip[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  width: 280px;
  padding: 0.75rem 1rem;
  background: var(--color-deep-teal, #14344A);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.55;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  z-index: 100;
  text-align: left;
  font-family: var(--font-body, 'DM Sans', sans-serif);
}

.term-chip[data-tooltip]::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--color-deep-teal, #14344A);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 101;
}

.term-chip[data-tooltip]:hover::after,
.term-chip[data-tooltip]:focus::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.term-chip[data-tooltip]:hover::before,
.term-chip[data-tooltip]:focus::before {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 600px) {
  .term-chip[data-tooltip]::after {
    width: 220px;
    font-size: 0.78rem;
    left: 0;
    transform: translateX(0) translateY(4px);
  }
  .term-chip[data-tooltip]:hover::after {
    transform: translateX(0) translateY(0);
  }
  .term-chip[data-tooltip]::before {
    left: 20px;
  }
}

/* ============================================
   PRIORITY PANELS (2026 Priorities redesign)
   ============================================ */

.priority-panels {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 760px;
  margin: 0 auto;
}

.priority-panel {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.priority-panel-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem 1.5rem 1rem;
}

.priority-panel-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--color-emerald, #1B9B6E);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.priority-panel-title {
  font-family: var(--font-heading, 'Poppins', sans-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-deep-teal, #14344A);
  margin: 0.25rem 0 0;
}

.priority-panel-body {
  padding: 0 1.5rem 1.5rem;
}

.priority-panel-intro {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--color-slate, #4a5568);
  margin: 0 0 1rem;
}

.priority-change {
  padding: 0.75rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.priority-change:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.priority-change-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-emerald, #1B9B6E);
  margin-bottom: 0.3rem;
}

.priority-change p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--color-slate, #4a5568);
  margin: 0;
}

.priority-goals {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.priority-goal {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.priority-goal-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-emerald, #1B9B6E);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}

.priority-goal p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--color-slate, #4a5568);
  margin: 0;
}

.priority-outcome {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: rgba(27, 155, 110, 0.06);
  border-left: 3px solid var(--color-emerald, #1B9B6E);
  border-radius: 0 8px 8px 0;
}

.priority-outcome i {
  flex-shrink: 0;
  font-size: 1.2rem;
  color: var(--color-emerald, #1B9B6E);
  margin-top: 0.15rem;
}

.priority-outcome p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--color-slate, #4a5568);
  margin: 0;
}

@media (max-width: 480px) {
  .priority-panel-header {
    padding: 1rem 1rem 0.75rem;
    gap: 0.75rem;
  }
  .priority-panel-body {
    padding: 0 1rem 1rem;
  }
  .priority-panel-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  .fin-table {
    font-size: 0.85rem;
  }
  .fin-amount {
    white-space: nowrap;
    font-size: 0.82rem;
  }
  .fin-table-section-header {
    font-size: 0.95rem;
  }
  .map-wrapper {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
  }
  .cta-button {
    width: 100%;
    text-align: center;
  }
  .pull-quote p {
    font-size: 1rem;
  }
}


/* --------------------------------------------------------------------------
   Extra Small Mobile (max-width: 320px)
   -------------------------------------------------------------------------- */

@media (max-width: 320px) {
  .section-inner {
    padding: 2rem 1.125rem;
  }
  .section-title {
    font-size: 1.2rem;
  }
  .hero-title {
    font-size: 1.3rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .bento-number {
    font-size: 2.2rem;
  }
  .stat-number--large {
    font-size: 2rem;
  }
  .priority-panel-title {
    font-size: 1rem;
  }
  .card-title {
    font-size: 0.95rem;
  }
  .nav-prev,
  .nav-next {
    width: 40px;
    height: 40px;
  }
}


/* ==========================================================================
   ADDITIONAL STYLES — Photo Mosaic, Donate CTAs, Nav Link, Aspect Ratios
   ========================================================================== */

/* --------------------------------------------------------------------------
   Nav Brand as Link
   -------------------------------------------------------------------------- */

a.nav-brand {
  text-decoration: none;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-right: auto;
  transition: opacity 0.2s ease;
}

a.nav-brand:hover {
  opacity: 0.85;
  color: #fff;
}

/* --------------------------------------------------------------------------
   Section Title — More Prominent
   -------------------------------------------------------------------------- */

.section-title {
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--color-emerald);
  margin: 0.8rem auto 0;
  border-radius: 1px;
  opacity: 0.6;
}

.section-title--light::after {
  background: rgba(255, 255, 255, 0.4);
}


/* --------------------------------------------------------------------------
   Photo Mosaic Gallery
   -------------------------------------------------------------------------- */

.photo-mosaic {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.mosaic-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1 / 1;
}

.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.4s ease, filter 0.3s ease;
}

.mosaic-item:hover img {
  transform: scale(1.05);
  filter: brightness(1.08);
}

.mosaic-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 0.6rem 0.5rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
  color: white;
  font-size: 0.72rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mosaic-item:hover figcaption {
  opacity: 1;
}

@media (max-width: 768px) {
  .photo-mosaic {
    grid-template-columns: repeat(3, 1fr);
  }

  .mosaic-item figcaption {
    opacity: 1;
    font-size: 0.68rem;
    padding: 1rem 0.5rem 0.35rem;
  }
}

@media (max-width: 480px) {
  .photo-mosaic {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.35rem;
  }
}


/* --------------------------------------------------------------------------
   Image Aspect Ratio — Prevent head cut-off
   -------------------------------------------------------------------------- */

.gallery-item img,
.section-gallery .gallery-item img {
  object-position: center 20%;
}

.section-gallery--compact .gallery-item img {
  object-position: center 25%;
}


/* --------------------------------------------------------------------------
   Donate Interstitial CTAs
   -------------------------------------------------------------------------- */

.donate-interstitial {
  width: 100%;
  background: linear-gradient(135deg, rgba(27, 155, 110, 0.06) 0%, rgba(26, 95, 122, 0.06) 100%);
  border-top: 1px solid rgba(27, 155, 110, 0.1);
  border-bottom: 1px solid rgba(27, 155, 110, 0.1);
  padding: 1.25rem 2rem;
}

.donate-interstitial--alt {
  background: linear-gradient(135deg, rgba(20, 52, 74, 0.04) 0%, rgba(27, 155, 110, 0.04) 100%);
  border-color: rgba(20, 52, 74, 0.08);
}

.donate-interstitial-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.donate-interstitial-text {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--color-slate);
  margin: 0;
  text-align: center;
}

.donate-interstitial-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: #fff;
  background: var(--color-emerald);
  padding: 0.7rem 1.8rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 3px 12px rgba(27, 155, 110, 0.25);
}

.donate-interstitial-btn:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27, 155, 110, 0.35);
}

.donate-interstitial-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(27, 155, 110, 0.25);
}

.donate-interstitial-btn i {
  font-size: 0.95rem;
}

@media (max-width: 480px) {
  .donate-interstitial {
    padding: 1rem 1rem;
  }

  .donate-interstitial-inner {
    flex-direction: column;
    gap: 0.75rem;
  }

  .donate-interstitial-btn {
    width: 100%;
    justify-content: center;
  }

  .org-mentions {
    padding: 1.5rem 1rem;
    margin-left: -0.25rem;
    margin-right: -0.25rem;
  }

  .org-mentions .chip--outline {
    font-size: 0.82rem;
    padding: 0.45rem 0.85rem;
  }

  .org-mentions .partner-chips {
    gap: 0.5rem;
  }
}


