/* =========================================================
   AOWD — Assembly of the World Diasporas
   Modern blue redesign · Manrope + Inter · Vanilla CSS · BEM
   ========================================================= */

:root {
  --navy:        #0C2143;
  --navy-2:      #13294F;
  --blue:        #1B3A6B;
  --accent:      #3B6EF5;
  --accent-2:    #6E9BFF;
  --accent-deep: #2451CC;
  --white:       #FFFFFF;
  --paper:       #EEF3FB;
  --paper-2:     #F6F9FE;
  --line:        #DCE5F2;
  --line-soft:   #E9EFF8;
  --ink:         #0C2143;
  --muted:       #5E6E8C;

  --grad-blue: linear-gradient(135deg, #3B6EF5 0%, #2451CC 100%);
  --grad-deep: linear-gradient(150deg, #0C2143 0%, #15336B 55%, #1E47A0 100%);
  --grad-mesh:
    radial-gradient(ellipse 60% 70% at 15% 20%, rgba(59,110,245,0.35) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 85% 75%, rgba(110,155,255,0.30) 0%, transparent 60%),
    radial-gradient(ellipse 70% 80% at 60% 10%, rgba(36,81,204,0.25) 0%, transparent 55%);

  --sh-sm: 0 2px 8px rgba(12,33,67,0.05);
  --sh-md: 0 14px 36px -16px rgba(12,33,67,0.18);
  --sh-lg: 0 36px 70px -28px rgba(12,33,67,0.30);
  --sh-accent: 0 18px 40px -14px rgba(59,110,245,0.5);

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 30px;
  --r-pill: 999px;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 56px);

  --ff: "Manrope", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --ff-body: "Inter", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: #0A1B3A;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--ff); font-weight: 800; color: var(--ink); letter-spacing: -0.03em; line-height: 1.05; }
p { margin: 0; }
::selection { background: var(--accent); color: var(--white); }
html { -webkit-tap-highlight-color: transparent; }
a, button, [role="button"], .vcard, .wcard, .tcard, .pgcard, .pjcard, .bcard, .ecard, .dn-tier, .linkarrow { -webkit-tap-highlight-color: transparent; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(40px, 4.5vw, 64px) 0 clamp(72px, 9vw, 130px); position: relative; }

/* ---------- shared ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff); font-size: 12px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px; }
.eyebrow--light { color: var(--accent-2); }
.eyebrow--light::before { background: var(--accent-2); }
.eyebrow--center { justify-content: center; }

.h-title { font-size: clamp(32px, 4.4vw, 56px); letter-spacing: -0.035em; color: var(--ink); text-wrap: balance; }
.h-title--light { color: var(--white); }
.lead { font-size: clamp(16px, 1.2vw, 18px); line-height: 1.7; color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; font-family: var(--ff); font-weight: 700;
  font-size: 13px; letter-spacing: 0.04em; border-radius: var(--r-pill);
  border: 1px solid transparent;
  transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s ease,
              background .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn__arrow { transition: transform .3s cubic-bezier(.16,1,.3,1); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--primary { background: var(--grad-blue); color: var(--white); box-shadow: var(--sh-accent); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -14px rgba(59,110,245,0.65); }
.btn--outline { background: transparent; color: var(--accent); border-color: rgba(59,110,245,0.4); }
.btn--outline:hover { background: var(--accent); color: var(--white); transform: translateY(-3px); box-shadow: var(--sh-accent); }
.btn--ghost { color: var(--white); border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.08); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--ghost:hover { background: rgba(255,255,255,0.18); border-color: var(--white); transform: translateY(-3px); }
.btn--light { background: var(--white); color: var(--accent-deep); }
.btn--light:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -14px rgba(0,0,0,0.4); }

.linkarrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--ff); font-weight: 700; font-size: 12.5px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent);
  transition: gap .25s ease, color .25s ease;
}
.linkarrow:hover { gap: 14px; color: var(--accent-deep); }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .40s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; } }

/* ============================================================
   HEADER — floating glass capsule
   ============================================================ */
.nav { position: sticky; top: 16px; z-index: 100; padding: 0 var(--gutter); margin-top: 16px; margin-bottom: -84px; pointer-events: none; }
.nav__inner {
  max-width: var(--container); margin: 0 auto; pointer-events: auto;
  display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 18px;
  background: rgba(255,255,255,0.72); backdrop-filter: saturate(180%) blur(22px); -webkit-backdrop-filter: saturate(180%) blur(22px);
  border: 1px solid rgba(255,255,255,0.6); border-radius: var(--r-pill);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 10px 30px -12px rgba(12,33,67,0.2);
  transition: box-shadow .35s ease, background .35s ease; position: relative;
}
.nav.is-scrolled .nav__inner { background: rgba(255,255,255,0.9); box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 16px 40px -14px rgba(12,33,67,0.28); }
.nav__brand { display: flex; align-items: center; gap: 13px; margin-right: auto; }
.nav__logo { width: 58px; height: 58px; object-fit: contain; transition: transform .3s ease; flex-shrink: 0; }
.nav__brand:hover .nav__logo { transform: rotate(-5deg); }
.nav__wordmark { font-family: var(--ff); font-weight: 800; font-size: 15px; line-height: 1.12; color: var(--blue); letter-spacing: -0.01em; }
.nav__menu { display: flex; align-items: center; gap: 2px; }
.nav__link {
  position: relative; display: inline-flex; align-items: center;
  font-family: var(--ff); font-weight: 600; font-size: 13px; color: var(--blue);
  padding: 9px 11px; border-radius: var(--r-pill); transition: background .25s ease, color .25s ease;
}
.nav__link:hover, .nav__link.is-active { background: rgba(59,110,245,0.08); color: var(--accent-deep); }
/* Mobile-only nav links (e.g., Donate) — hidden on desktop, visible inside burger */
.nav__link--mobile-only { display: none !important; }
@media (max-width: 1180px) {
  .nav.is-open .nav__menu .nav__link--mobile-only { display: flex !important; }
}
.nav__actions { display: flex; align-items: center; gap: 6px; padding-left: 8px; border-left: 1px solid rgba(12,33,67,0.1); }
.nav__cta { padding: 11px 32px; font-size: 12px; }
.nav__burger { display: none; width: 42px; height: 42px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; border-radius: 50%; }
.nav__burger span { width: 20px; height: 2px; background: var(--blue); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.lang { position: relative; }
.lang__toggle { display: inline-flex; align-items: center; gap: 6px; padding: 9px 13px; font-family: var(--ff); font-weight: 700; font-size: 12px; letter-spacing: 0.08em; color: var(--blue); border-radius: var(--r-pill); transition: background .2s; }
.lang__toggle:hover { background: rgba(59,110,245,0.08); }
.lang__caret { transition: transform .25s cubic-bezier(.16,1,.3,1); }
.lang.is-open .lang__caret { transform: rotate(180deg); }
.lang__menu { position: absolute; top: calc(100% + 10px); right: 0; min-width: 170px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); box-shadow: var(--sh-md); padding: 6px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s; }
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: none; }
.lang__menu a { display: block; padding: 10px 12px; font-size: 13px; color: var(--blue); border-radius: 8px; transition: background .15s; }
.lang__menu a:hover { background: rgba(59,110,245,0.07); }
.lang__menu [aria-selected="true"] a { background: rgba(59,110,245,0.1); color: var(--accent); font-weight: 700; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 68vh; display: flex; align-items: center;
  overflow: hidden; isolation: isolate; color: var(--white);
  background:
    radial-gradient(ellipse 70% 60% at 82% 8%, rgba(59,110,245,0.30) 0%, rgba(59,110,245,0) 55%),
    radial-gradient(ellipse 90% 70% at 10% 100%, rgba(12,33,67,0.6) 0%, rgba(12,33,67,0) 60%),
    linear-gradient(160deg, #0A1B3A 0%, #0B2148 55%, #0C1A38 100%);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; display: block; }
.hero__grid {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 100% 100% at 50% 40%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 100% 100% at 50% 40%, #000 30%, transparent 85%);
}
.hero__glow {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: radial-gradient(circle 420px at 84% 6%, rgba(110,155,255,0.35) 0%, rgba(110,155,255,0) 70%);
}
.hero__overlay { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 70% 70% at 30% 50%, rgba(8,18,40,0.35) 0%, transparent 70%), linear-gradient(180deg, rgba(8,18,40,0) 55%, rgba(8,18,40,0.55) 100%); }
.hero__inner { width: 100%; max-width: var(--container); margin: 0 auto; padding: 140px var(--gutter) 56px; display: grid; grid-template-columns: 1.45fr 0.85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__content { min-width: 0; }

/* centered hero composition */
.hero__inner--center {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 0;
  padding: 112px var(--gutter) 64px;
}
.hero__logo {
  width: clamp(88px, 9vw, 124px); height: auto; margin-bottom: 8px;
  filter: brightness(0) invert(1) drop-shadow(0 0 28px rgba(110,155,255,0.5));
  animation: heroLogoFloat 6s ease-in-out infinite;
}
@keyframes heroLogoFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.hero__inner--center .hero__title { max-width: 20ch; line-height: 1.1; margin: 0 auto 32px; }
.hero__inner--center .hero__sub { line-height: 1.55; margin: 0 auto 44px; }
.hero__inner--center .hero__actions { justify-content: center; margin-bottom: 60px; }

.hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px; border-radius: var(--r-pill); background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-family: var(--ff); font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--white); margin-bottom: 28px; }
.hero__eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 10px var(--accent-2); }
.hero__title { font-size: clamp(34px, 4.6vw, 62px); line-height: 1.18; letter-spacing: -0.03em; color: var(--white); max-width: 18ch; margin-bottom: 26px; text-shadow: 0 4px 40px rgba(0,0,0,0.3); }
.hero__title em { font-style: normal; background: linear-gradient(120deg, var(--accent-2), #BFD2FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.65; color: rgba(255,255,255,0.85); max-width: 56ch; margin-bottom: 38px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__stats { display: grid; grid-template-columns: 1fr; gap: 12px; }

/* stats as a centered row of cards */
.hero__stats--row { grid-template-columns: repeat(4, 1fr); gap: 16px; width: 100%; max-width: 980px; }
.hero__stats--row .hero__stat { flex-direction: column; align-items: flex-start; gap: 10px; padding: 22px 24px 20px 28px; }
.hero__stats--row .hero__stat::before { top: 22px; bottom: auto; height: 26px; }
.hero__stats--row .hero__stat:hover { transform: translateY(-5px); }
.hero__stats--row .hero__stat:hover::before { top: 18px; height: 34px; bottom: auto; }
.hero__stats--row .hero__stat-num { min-width: 0; }
.hero__stat {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 20px;
  padding: 18px 24px 18px 26px; border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.04) 100%);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: transform .35s cubic-bezier(.16,1,.3,1), background .3s, border-color .3s;
}
.hero__stat::before {
  content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px;
  border-radius: 3px; background: var(--grad-blue);
  opacity: 0.65; transition: opacity .3s, top .3s, bottom .3s;
}
.hero__stat:hover {
  transform: translateX(6px);
  background: linear-gradient(135deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.06) 100%);
  border-color: rgba(110,155,255,0.4);
}
.hero__stat:hover::before { opacity: 1; top: 8px; bottom: 8px; }
.hero__stat-num { font-family: var(--ff); font-weight: 800; font-size: clamp(30px, 2.6vw, 38px); letter-spacing: -0.03em; color: var(--white); line-height: 1; flex-shrink: 0; min-width: 78px; }
.hero__stat-num span { color: var(--accent-2); }
.hero__stat-num .count { color: var(--white); }
.hero__stat-label { font-size: 13px; color: rgba(255,255,255,0.75); letter-spacing: 0.02em; line-height: 1.3; }
.hero__scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.hero__scroll-line { width: 1px; height: 38px; background: linear-gradient(var(--accent-2), transparent); animation: scrolldn 2s ease-in-out infinite; }
@keyframes scrolldn { 0%,100%{opacity:.3; transform:scaleY(.6);} 50%{opacity:1; transform:scaleY(1);} }

/* ============================================================
   ABOUT
   ============================================================ */
/* ============================================================
   MISSION STATEMENT
   ============================================================ */
.mission { background: var(--white); position: relative; }
.mission__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
.mission__head { position: sticky; top: 110px; }
.mission__heading { font-family: var(--ff); font-weight: 800; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.1; letter-spacing: -0.035em; color: var(--ink); margin: 18px 0 26px; }
.mission__tags { display: flex; flex-wrap: wrap; gap: 10px; }
.mission__tags li {
  font-family: var(--ff); font-weight: 600; font-size: 12.5px; letter-spacing: 0.01em;
  color: var(--accent-deep); padding: 8px 15px; border-radius: var(--r-pill);
  background: rgba(59,110,245,0.08); border: 1px solid rgba(59,110,245,0.18);
}
.mission__body { position: relative; padding-top: 8px; }
.mission__quotebox { position: relative; }
.mission__quote {
  position: absolute; top: -28px; left: -6px; z-index: 0;
  font-family: var(--ff); font-weight: 800; font-size: 130px; line-height: 1;
  color: rgba(59,110,245,0.12);
}
.mission__quote--end {
  top: auto; left: auto; right: -2px; bottom: -44px;
}
.mission__lead {
  position: relative; z-index: 1;
  font-family: var(--ff); font-weight: 600;
  font-size: clamp(20px, 1.9vw, 30px); line-height: 1.42; letter-spacing: -0.02em;
  color: var(--ink); margin: 0 0 24px; text-wrap: pretty;
}
.mission__lead em { font-style: normal; color: var(--accent); font-weight: 700; }
.mission__text {
  font-size: clamp(15px, 1.1vw, 17px); line-height: 1.7; color: var(--muted);
  max-width: 60ch; text-wrap: pretty;
}

.about { background: var(--white); }
.about__top { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 760px; margin: 0 auto clamp(28px, 3vw, 44px); }
.about__title { font-size: clamp(34px, 4.6vw, 58px); margin-top: 20px; }
.about__lead { font-size: clamp(18px, 1.5vw, 23px); line-height: 1.55; color: var(--blue); font-weight: 500; margin-top: 24px; }
.about__text { color: var(--muted); margin-top: 18px; max-width: 60ch; }
.about__top .btn { margin-top: 32px; }

/* unified stat panel with dividers */
.about__panel {
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.about__stat {
  position: relative;
  padding: clamp(30px, 3.4vw, 48px);
  border-right: 1px solid var(--line);
  transition: background .35s ease;
}
.about__stat::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 3px; height: 0; background: var(--grad-blue);
  transition: height .4s cubic-bezier(.16,1,.3,1);
}
.about__stat:last-child { border-right: 0; }
.about__stat:hover { background: var(--white); }
.about__stat:hover::before { height: 60%; }
.about__stat-num { font-family: var(--ff); font-weight: 800; font-size: clamp(38px, 4vw, 56px); letter-spacing: -0.04em; color: var(--accent); line-height: 1; }
.about__stat-num span { color: var(--accent-2); }
.about__stat-label { font-family: var(--ff); font-weight: 700; font-size: 14px; color: var(--ink); margin-top: 14px; }
.about__stat-desc { font-size: 13.5px; color: var(--muted); margin-top: 6px; line-height: 1.5; }

/* ============================================================
   PILLARS (What We Do) — bento
   ============================================================ */
.pillars { background: var(--paper-2); }
.pillars__head { display: grid; grid-template-columns: 1fr 0.8fr; gap: 32px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
/* editorial numbered list */
.plist { border-top: 1px solid var(--line); }
.plist__row {
  position: relative; isolation: isolate;
  display: grid;
  grid-template-columns: 78px minmax(200px, 1fr) 1.5fr 48px;
  gap: clamp(18px, 3vw, 48px);
  align-items: center;
  padding: clamp(26px, 3vw, 38px) clamp(14px, 2vw, 30px);
  border-bottom: 1px solid var(--line);
  transition: padding .4s cubic-bezier(.16,1,.3,1);
}
.plist__row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--grad-blue); border-radius: 0 3px 3px 0; transition: width .4s cubic-bezier(.16,1,.3,1); }
.plist__row::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(59,110,245,0.06), rgba(59,110,245,0)); opacity: 0; transition: opacity .35s ease; }
.plist__row:hover { padding-left: clamp(26px, 3vw, 46px); }
.plist__row:hover::before { width: 4px; }
.plist__row:hover::after { opacity: 1; }
.plist__num {
  font-family: var(--ff); font-weight: 800; font-size: clamp(30px, 3.4vw, 48px);
  letter-spacing: -0.04em; line-height: 1;
  background: var(--grad-blue); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0.55; transition: opacity .35s ease;
}
.plist__row:hover .plist__num { opacity: 1; }
.plist__title { font-family: var(--ff); font-weight: 700; font-size: clamp(20px, 2vw, 30px); letter-spacing: -0.03em; color: var(--ink); line-height: 1.12; transition: color .25s ease; }
.plist__row:hover .plist__title { color: var(--accent-deep); }
.plist__text { font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.plist__arrow { justify-self: end; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: var(--accent); transition: background .3s, color .3s, border-color .3s, transform .35s cubic-bezier(.16,1,.3,1); }
.plist__arrow svg { width: 20px; height: 20px; }
.plist__row:hover .plist__arrow { background: var(--accent); color: var(--white); border-color: var(--accent); transform: translateX(4px); }

/* ============================================================
   MEDIA — bento mosaic
   ============================================================ */
/* ============================================================
   BLOG
   ============================================================ */
.blog { background: var(--white); }
.blog__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(36px, 4vw, 56px); }
.blog__head-text { max-width: 640px; }
.blog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bcard {
  display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--line-soft); border-radius: var(--r-md); overflow: hidden;
  box-shadow: var(--sh-sm); cursor: pointer;
  transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s ease, border-color .3s;
}
.bcard:hover { transform: translateY(-8px); box-shadow: 0 30px 54px -22px rgba(59,110,245,0.38); border-color: rgba(59,110,245,0.25); }
.bcard__media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.bcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.16,1,.3,1); }
.bcard:hover .bcard__media img { transform: scale(1.06); }
.bcard__cat {
  position: absolute; top: 14px; left: 14px; padding: 7px 13px; border-radius: var(--r-pill);
  background: rgba(12,33,67,0.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2); color: var(--white);
  font-family: var(--ff); font-weight: 700; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
}
.bcard__body { display: flex; flex-direction: column; gap: 12px; padding: 22px 24px 26px; flex: 1; }
.bcard__meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); font-weight: 500; letter-spacing: 0.02em; }
.bcard__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.bcard__title { font-family: var(--ff); font-weight: 700; font-size: clamp(18px, 1.4vw, 22px); letter-spacing: -0.025em; line-height: 1.2; color: var(--ink); transition: color .25s; }
.bcard:hover .bcard__title { color: var(--accent-deep); }
.bcard__excerpt { font-size: 14.5px; line-height: 1.6; color: var(--muted); flex: 1; }
.bcard__link { margin-top: 2px; }
.bcard__photos {
  position: absolute; bottom: 14px; right: 14px; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px; border-radius: var(--r-pill); background: rgba(7,20,48,0.58);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.20);
  color: #fff; font-family: var(--ff); font-weight: 700; font-size: 11.5px; letter-spacing: 0.02em;
}
.bcard__photos svg { width: 13px; height: 13px; }

/* ============================================================
   EVENT ARCHIVE (report cards — blog-style)
   ============================================================ */
.archive { background: var(--paper); }
.archive__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(36px, 4vw, 56px); }
.archive__head-text { max-width: 640px; }
.archive__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ============================================================
   PARTNER EVENTS (banner cards + countdown)
   ============================================================ */
.events { background: var(--paper); }
.events__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(36px, 4vw, 56px); }
.events__head-text { max-width: 640px; }
.events__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.ecard {
  position: relative; display: block; min-height: 440px; border-radius: var(--r-md);
  overflow: hidden; isolation: isolate; color: var(--white); box-shadow: var(--sh-lg);
  transition: transform .55s cubic-bezier(.16,1,.3,1), box-shadow .45s ease;
}
.ecard:hover { transform: translateY(-8px); box-shadow: 0 42px 72px -26px rgba(12,33,67,0.55); }
.ecard__bg { position: absolute; inset: 0; z-index: -2; }
.ecard__bg img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.16,1,.3,1); }
.ecard:hover .ecard__bg img { transform: scale(1.08); }
.ecard__overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12,33,67,0.10) 0%, rgba(12,33,67,0.52) 46%, rgba(7,20,48,0.94) 100%); }

.ecard__live {
  position: absolute; top: 16px; right: 16px; z-index: 2; display: none;
  align-items: center; gap: 7px; padding: 6px 13px 6px 11px; border-radius: var(--r-pill);
  background: rgba(220,53,69,0.92); color: #fff; font-family: var(--ff); font-weight: 700;
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  box-shadow: 0 8px 22px -6px rgba(220,53,69,0.6);
}
.ecard__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: livepulse 1.3s ease-in-out infinite; }
.ecard.is-live .ecard__live { display: inline-flex; }
@keyframes livepulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }

.ecard__content { position: relative; z-index: 1; display: flex; flex-direction: column; height: 100%; min-height: 440px; padding: 24px; }
.ecard__date {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  padding: 8px 14px; border-radius: var(--r-pill); background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.26); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-family: var(--ff); font-weight: 700; font-size: 12.5px; letter-spacing: 0.02em; color: #fff;
}
.ecard__date svg { width: 14px; height: 14px; }
.ecard__title { margin-top: auto; font-family: var(--ff); font-weight: 800; font-size: clamp(20px, 1.55vw, 25px); line-height: 1.16; letter-spacing: -0.03em; color: var(--white); text-wrap: balance; }
.ecard__place { display: flex; align-items: center; gap: 7px; margin-top: 11px; font-size: 13.5px; color: rgba(255,255,255,0.82); font-weight: 500; }
.ecard__place svg { width: 14px; height: 14px; opacity: .85; flex-shrink: 0; }

.ecard__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 18px; }
.ecard__countdown { display: inline-flex; align-items: stretch; gap: 5px; }
.ecard__unit {
  display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 38px; padding: 6px 7px;
  border-radius: 10px; background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.16); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.ecard__num { font-family: var(--ff); font-weight: 700; font-size: 15px; line-height: 1.1; letter-spacing: -0.02em; color: #fff; font-variant-numeric: tabular-nums; }
.ecard__lbl { font-size: 8px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.6); font-weight: 600; }

.ecard__cta { display: inline-flex; align-items: center; gap: 8px; font-family: var(--ff); font-weight: 700; font-size: 13.5px; letter-spacing: 0.02em; color: #fff; transition: gap .3s ease; }
.ecard__cta .btn__arrow { transition: transform .3s ease; }
.ecard:hover .ecard__cta { gap: 14px; }
.ecard:hover .ecard__cta .btn__arrow { transform: translateX(4px); }

/* ============================================================
   MEDIA
   ============================================================ */
.media { background: var(--paper); }
.media__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(36px, 4vw, 56px); }
.media__head-text { max-width: 620px; }
/* interactive gallery: featured + thumbnails */
.gallery { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; align-items: stretch; }
.gallery__main { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--sh-lg); background: var(--navy); }
.gallery__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity .6s ease; }
.gallery__img.is-active { opacity: 1; }
.gallery__main:hover .gallery__img.is-active { transform: scale(1.04); transition: opacity .6s ease, transform 6s ease; }
.gallery__main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(8,18,40,0.65) 100%); pointer-events: none; }
.gallery__caption { position: absolute; left: 26px; right: 26px; bottom: 24px; z-index: 1; display: inline-flex; align-items: center; gap: 10px; font-family: var(--ff); font-weight: 600; font-size: clamp(14px, 1.2vw, 17px); letter-spacing: -0.01em; color: var(--white); text-shadow: 0 2px 12px rgba(0,0,0,0.4); }
.gallery__caption-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 12px var(--accent-2); flex-shrink: 0; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; align-content: start; }
.gallery__thumb { position: relative; overflow: hidden; padding: 0; cursor: pointer; border-radius: var(--r-sm); border: 2px solid transparent; background: var(--paper); aspect-ratio: 4 / 3; transition: border-color .3s ease, transform .35s cubic-bezier(.16,1,.3,1), box-shadow .3s ease; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.16,1,.3,1), opacity .3s; opacity: 0.82; }
.gallery__thumb::after { content: ""; position: absolute; inset: 0; background: rgba(12,33,67,0.18); transition: opacity .3s; }
.gallery__thumb:hover img, .gallery__thumb.is-active img { opacity: 1; transform: scale(1.06); }
.gallery__thumb:hover::after, .gallery__thumb.is-active::after { opacity: 0; }
.gallery__thumb:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.gallery__thumb.is-active { border-color: var(--accent); }

/* ============================================================
   PROJECTS
   ============================================================ */
.projects { background: var(--white); }
.projects__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(36px, 4vw, 56px); }
.projects__head-text { max-width: 640px; }
/* editorial alternating rows */
.projects__list { display: flex; flex-direction: column; gap: clamp(40px, 5vw, 80px); }
.prow {
  display: grid; grid-template-columns: 1.08fr 1fr;
  gap: clamp(28px, 5vw, 72px); align-items: center;
}
.prow:nth-child(even) { grid-template-columns: 1fr 1.08fr; }
.prow:nth-child(even) .prow__media { order: 2; }
.prow__media {
  position: relative; overflow: hidden;
  aspect-ratio: 16/11; border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
}
.prow__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(59,110,245,0.16), transparent 60%); opacity: 0; transition: opacity .4s; }
.prow__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.16,1,.3,1); }
.prow:hover .prow__media img { transform: scale(1.05); }
.prow:hover .prow__media::after { opacity: 1; }
.prow__body { display: flex; flex-direction: column; align-items: flex-start; }
.prow__tag { font-family: var(--ff); font-weight: 600; font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.prow__tag b { color: var(--accent); font-weight: 800; margin-right: 4px; }
.prow__title { font-family: var(--ff); font-weight: 800; font-size: clamp(24px, 2.8vw, 38px); letter-spacing: -0.035em; color: var(--ink); line-height: 1.08; margin-bottom: 18px; transition: color .25s ease; }
.prow:hover .prow__title { color: var(--accent-deep); }
.prow__text { font-size: clamp(15px, 1.15vw, 17px); line-height: 1.65; color: var(--muted); margin-bottom: 26px; max-width: 48ch; }

/* ============================================================
   DONATE — gradient mesh banner
   ============================================================ */
.donate { position: relative; overflow: hidden; isolation: isolate; background: var(--grad-deep); color: var(--white); padding: clamp(80px, 9vw, 130px) 0; }
.donate__mesh { position: absolute; inset: 0; z-index: -1; background: var(--grad-mesh); opacity: 0.9; animation: meshfloat 16s ease-in-out infinite alternate; }
.donate__grid-lines { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 80px 80px; mask-image: radial-gradient(ellipse at 50% 50%, #000 10%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 10%, transparent 75%); }
@keyframes meshfloat { 0%{transform:translate3d(0,0,0) scale(1);} 100%{transform:translate3d(-3%,2%,0) scale(1.08);} }
.donate__inner { max-width: 860px; margin: 0 auto; text-align: center; }
.donate__title { font-size: clamp(34px, 5vw, 60px); color: var(--white); margin: 22px 0 24px; }
.donate__text { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.65; color: rgba(255,255,255,0.85); margin: 0 auto 18px; max-width: 60ch; }
.donate__note { font-size: 14px; color: rgba(255,255,255,0.62); max-width: 56ch; margin: 0 auto 40px; }
.donate__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--white); }
.faq__inner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.faq__head { position: sticky; top: 110px; }
.faq__title { font-size: clamp(30px, 3.6vw, 46px); margin-bottom: 16px; }
.faq__list { display: flex; flex-direction: column; gap: 14px; }
.faq__item { border-radius: var(--r-sm); background: var(--paper-2); border: 1px solid var(--line-soft); overflow: hidden; transition: border-color .3s, box-shadow .3s, background .3s; }
.faq__item.is-open { background: var(--white); border-color: rgba(59,110,245,0.3); box-shadow: var(--sh-md); }
.faq__q { width: 100%; display: flex; align-items: center; gap: 18px; padding: 22px 24px; text-align: left; }
.faq__q-num { font-family: var(--ff); font-weight: 800; font-size: 13px; color: var(--accent); flex-shrink: 0; }
.faq__q-text { font-family: var(--ff); font-weight: 700; font-size: clamp(16px, 1.2vw, 19px); letter-spacing: -0.02em; color: var(--ink); flex: 1; line-height: 1.3; }
.faq__icon { position: relative; width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%; background: rgba(59,110,245,0.1); transition: background .3s, transform .35s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--accent); transition: transform .35s, background .3s; }
.faq__icon::before { top: 50%; left: 7px; right: 7px; height: 2px; margin-top: -1px; }
.faq__icon::after { left: 50%; top: 7px; bottom: 7px; width: 2px; margin-left: -1px; }
.faq__item.is-open .faq__icon { background: var(--accent); transform: rotate(180deg); }
.faq__item.is-open .faq__icon::before { background: var(--white); }
.faq__item.is-open .faq__icon::after { background: var(--white); transform: scaleY(0); }
.faq__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s cubic-bezier(.16,1,.3,1); }
.faq__item.is-open .faq__panel { grid-template-rows: 1fr; }
.faq__panel-inner { overflow: hidden; min-height: 0; }
.faq__panel-inner p { padding: 0 24px 24px 60px; font-size: 15px; line-height: 1.7; color: var(--muted); }
.faq__panel-inner a { color: var(--accent); border-bottom: 1px solid var(--accent); }

/* ============================================================
   CONTACT — split elevated card
   ============================================================ */
.contact { background: var(--paper); }
.contact__card { display: grid; grid-template-columns: 0.9fr 1.1fr; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-lg); background: var(--white); }
.contact__aside { position: relative; overflow: hidden; isolation: isolate; padding: clamp(40px, 5vw, 64px); background: var(--grad-deep); color: var(--white); display: flex; flex-direction: column; }
.contact__aside::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grad-mesh); opacity: 0.7; }
.contact__title { font-size: clamp(30px, 3.4vw, 44px); color: var(--white); margin: 18px 0 18px; }
.contact__intro { font-size: 15.5px; line-height: 1.7; color: rgba(255,255,255,0.82); margin-bottom: 36px; }
.contact__info { display: grid; gap: 16px; margin-bottom: auto; }
.contact__info-row { display: flex; flex-direction: column; gap: 3px; }
.contact__info-key { font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.55); font-weight: 700; font-family: var(--ff); }
.contact__info-val { font-size: 16px; color: var(--white); font-weight: 600; transition: color .2s; }
a.contact__info-val:hover { color: var(--accent-2); }
.contact__social { display: flex; gap: 10px; margin-top: 34px; }
.contact__social a { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.8); transition: transform .25s, background .25s, border-color .25s, color .25s; }
.contact__social a:hover { transform: translateY(-3px); background: var(--accent); border-color: var(--accent); color: var(--white); }
.contact__social svg { width: 18px; height: 18px; }
.contact__form { padding: clamp(40px, 5vw, 64px); display: grid; gap: 22px; align-content: start; }
.contact__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field__label { font-family: var(--ff); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.field__label span { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--line); }
.field__input { font-family: inherit; font-size: 15px; color: var(--ink); background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 16px; outline: none; width: 100%; transition: border-color .2s, box-shadow .2s, background .2s; }
.field__input::placeholder { color: #9AA8C2; }
.field__input:focus { border-color: var(--accent); background: var(--white); box-shadow: 0 0 0 4px rgba(59,110,245,0.12); }
.field__input--select { appearance: none; -webkit-appearance: none; cursor: pointer; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%231B3A6B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field__input--area { resize: vertical; min-height: 130px; line-height: 1.6; }
.contact__submit { justify-content: center; width: 100%; margin-top: 6px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative;
  background: var(--grad-deep);
  color: rgba(255,255,255,0.72);
  padding: clamp(72px, 8vw, 110px) 0 32px;
  isolation: isolate;
  overflow: hidden;
}
.footer::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 85% 90%, rgba(59,110,245,0.28) 0%, transparent 60%);
}
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.footer__brand { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.footer__logo {
  width: 96px; height: 96px; object-fit: contain;
  background: var(--white); padding: 10px; border-radius: var(--r-md);
  box-shadow: 0 16px 36px -16px rgba(0,0,0,0.4);
}
.footer__about { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.7); max-width: 360px; }
.footer__h { font-family: var(--ff); font-weight: 700; font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--white); margin-bottom: 20px; position: relative; padding-left: 16px; }
.footer__h::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 8px; height: 2px; background: var(--accent-2); border-radius: 2px; }
.footer__list { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.footer__list a, .footer__list span { color: rgba(255,255,255,0.68); transition: color .2s; }
.footer__list a:hover { color: var(--accent-2); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: clamp(48px, 6vw, 72px); padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.14); font-size: 12.5px; color: rgba(255,255,255,0.6); }
.footer__legal { display: flex; gap: 24px; }
.footer__legal a { transition: color .2s; }
.footer__legal a:hover { color: var(--accent-2); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .about__top { grid-template-columns: 1fr; gap: 32px; }
  .mission__grid { grid-template-columns: 1fr; gap: 28px; }
  .mission__head { position: static; }
  .pillars__head { grid-template-columns: 1fr; }
  .blog__grid { grid-template-columns: repeat(2, 1fr); }
  .archive__grid { grid-template-columns: repeat(2, 1fr); }
  .events__grid { grid-template-columns: repeat(2, 1fr); }
  .faq__inner { grid-template-columns: 1fr; gap: 36px; }
  .faq__head { position: static; }
  .contact__card { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 1180px) {
  .nav__menu { display: none; }
  .nav__burger { display: flex; }
  .nav.is-open .nav__menu { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: calc(100% + 12px); left: 0; right: 0; background: rgba(255,255,255,0.97); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px; gap: 4px; box-shadow: var(--sh-lg); max-height: calc(100vh - 96px); max-height: calc(100dvh - 96px); overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
}
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); margin-top: 12px; }
  .hero__stats--row { grid-template-columns: repeat(2, 1fr); max-width: 560px; }
  .plist__row { grid-template-columns: 60px 1fr 44px; column-gap: 20px; row-gap: 8px; }
  .plist__text { grid-column: 2 / 4; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__main { aspect-ratio: 16/10; }
  .gallery__thumbs { grid-template-columns: repeat(3, 1fr); grid-auto-rows: auto; }
  .gallery__thumb { aspect-ratio: 4/3; }
  .prow, .prow:nth-child(even) { grid-template-columns: 1fr; gap: 22px; }
  .prow:nth-child(even) .prow__media { order: 0; }
}
@media (max-width: 600px) {
  .hero__inner { padding: 120px var(--gutter) 48px; }
  .hero__stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero__stat { padding: 16px 18px; }
  .about__panel { grid-template-columns: 1fr; }
  .about__stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .about__stat:last-child { border-bottom: 0; }
  .plist__row { grid-template-columns: 48px 1fr; }
  .plist__arrow { display: none; }
  .plist__text { grid-column: 1 / 3; }
  .gallery__main { min-height: 240px; }
  .blog__grid { grid-template-columns: 1fr; }
  .archive__grid { grid-template-columns: 1fr; }
  .events__grid { grid-template-columns: 1fr; }
  .ecard { min-height: 400px; }
  .ecard__content { min-height: 400px; }
  .contact__row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .donate__actions .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero {
  position: relative; overflow: hidden; isolation: isolate; color: var(--white);
  padding: clamp(150px, 18vh, 200px) 0 clamp(80px, 10vw, 120px);
  background:
    radial-gradient(ellipse 70% 60% at 82% 8%, rgba(59,110,245,0.30) 0%, rgba(59,110,245,0) 55%),
    radial-gradient(ellipse 90% 70% at 10% 100%, rgba(12,33,67,0.6) 0%, rgba(12,33,67,0) 60%),
    linear-gradient(160deg, #0A1B3A 0%, #0B2148 55%, #0C1A38 100%);
}
.about-hero__inner { position: relative; z-index: 1; }
.crumbs { display: flex; align-items: center; gap: 9px; font-family: var(--ff); font-weight: 600; font-size: 13px; letter-spacing: 0.02em; color: rgba(255,255,255,0.55); margin-bottom: 26px; }
.crumbs a { color: rgba(255,255,255,0.55); transition: color .2s ease; }
.crumbs a:hover { color: #fff; }
.crumbs span:last-child { color: var(--accent-2); }
.about-hero .hero__eyebrow { margin-bottom: 22px; }
.about-hero__title { font-family: var(--ff); font-weight: 800; font-size: clamp(34px, 5vw, 64px); line-height: 1.08; letter-spacing: -0.035em; color: #fff; max-width: 17ch; text-shadow: 0 4px 40px rgba(0,0,0,0.3); }
.about-hero__title em { font-style: normal; background: linear-gradient(120deg, var(--accent-2), #BFD2FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about-hero__title--wide { max-width: none; }
.about-hero__sub { margin-top: 24px; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.65; color: rgba(255,255,255,0.85); max-width: 62ch; }

/* mission (text + image, 2-col) */
.amission { background: var(--white); }
.amission__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 5vw, 80px); align-items: stretch; }
.amission__heading { font-family: var(--ff); font-weight: 800; font-size: clamp(26px, 3vw, 42px); line-height: 1.12; letter-spacing: -0.035em; color: var(--ink); margin-top: 18px; }
.amission__text p { font-size: clamp(15px, 1.1vw, 17px); line-height: 1.75; color: var(--muted); margin-top: 18px; }
.amission__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.amission__media { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-lg); background: var(--navy); min-height: 400px; }
.amission__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.16,1,.3,1); }
.amission__media:hover img { transform: scale(1.05); }

/* values */
.values { background: var(--paper); }
.values__head { max-width: 640px; }
.values__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: clamp(36px, 4vw, 56px); }
.vcard { position: relative; overflow: hidden; padding: 30px 28px 32px; border: 1px solid var(--line-soft); border-radius: var(--r-md); background: var(--paper-2); transition: transform .45s cubic-bezier(.16,1,.3,1), box-shadow .4s ease, border-color .3s ease; }
.vcard::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--grad-blue); transform: scaleY(0); transform-origin: top; transition: transform .45s cubic-bezier(.16,1,.3,1); }
.vcard:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: rgba(59,110,245,0.22); }
.vcard:hover::before { transform: scaleY(1); }
.vcard__num { font-family: var(--ff); font-weight: 800; font-size: 15px; letter-spacing: 0.04em; background: var(--grad-blue); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vcard__title { font-family: var(--ff); font-weight: 700; font-size: clamp(18px, 1.5vw, 22px); letter-spacing: -0.025em; color: var(--ink); margin-top: 16px; }
.vcard__text { font-size: 14.5px; line-height: 1.62; color: var(--muted); margin-top: 10px; }

/* what-we-do pillar cards */
.wcard { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 30px 28px 32px; border: 1px solid var(--line-soft); border-radius: var(--r-md); background: var(--white); transition: transform .45s cubic-bezier(.16,1,.3,1), box-shadow .4s ease, border-color .3s ease; }
.wcard::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--grad-blue); transform: scaleY(0); transform-origin: top; transition: transform .45s cubic-bezier(.16,1,.3,1); }
.wcard:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: rgba(59,110,245,0.22); }
.wcard:hover::before { transform: scaleY(1); }
.wcard__top { display: flex; align-items: center; justify-content: space-between; }
.wcard__icon { width: 54px; height: 54px; border-radius: 16px; background: var(--grad-blue); color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 12px 26px -10px rgba(59,110,245,0.6); transition: transform .4s cubic-bezier(.16,1,.3,1); }
.wcard:hover .wcard__icon { transform: scale(1.06) rotate(-4deg); }
.wcard__icon svg { width: 26px; height: 26px; }
.wcard__num { font-family: var(--ff); font-weight: 800; font-size: 28px; letter-spacing: -0.03em; color: rgba(59,110,245,0.22); }
.wcard__title { font-family: var(--ff); font-weight: 700; font-size: clamp(19px, 1.5vw, 23px); letter-spacing: -0.025em; color: var(--ink); margin-top: 22px; }
.wcard__text { font-size: 14.5px; line-height: 1.62; color: var(--muted); margin-top: 11px; flex: 1; }
.wcard__link { margin-top: 20px; }

.pillars__more { display: flex; justify-content: center; margin-top: clamp(40px, 4vw, 56px); }

/* about — team */
.team { background: var(--paper-2); }
.team:has(.pillars__more) { padding-bottom: clamp(32px, 3.5vw, 52px); }
.team .values__head { max-width: none; }
.team__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.4vw, 28px); margin-top: clamp(36px, 4vw, 56px); }
.tcard { display: flex; flex-direction: column; align-items: center; text-align: center; }
.tcard__photo { position: relative; width: 100%; aspect-ratio: 4 / 5; border-radius: var(--r-md); overflow: hidden; background: var(--paper-2); display: flex; align-items: flex-end; justify-content: center; transition: transform .45s cubic-bezier(.16,1,.3,1); }
.tcard:hover .tcard__photo { transform: translateY(-6px); }
.tcard__photo > svg { width: 66%; height: auto; color: rgba(255,255,255,0.22); }
.tcard__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tcard__name { font-family: var(--ff); font-weight: 700; font-size: clamp(18px, 1.4vw, 21px); letter-spacing: -0.025em; color: var(--ink); margin-top: 18px; }
.tcard__role { font-size: 14px; font-weight: 600; color: var(--accent-deep); margin-top: 5px; }
.tcard__social { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); color: var(--muted); margin-top: 14px; transition: background .25s ease, color .25s ease, border-color .25s ease, transform .3s ease; }
.tcard__social:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-2px); }
.tcard__social svg { width: 17px; height: 17px; }

/* service detail page — content + sticky sidebar */
.service { background: var(--white); }
.svc-layout { display: grid; grid-template-columns: 1fr 350px; gap: clamp(40px, 5vw, 84px); align-items: start; }
.svc-main { min-width: 0; }
.service__lead { font-family: var(--ff); font-weight: 600; font-size: clamp(19px, 1.7vw, 25px); line-height: 1.5; letter-spacing: -0.015em; color: var(--ink); }
.service__text { font-size: clamp(15px, 1.1vw, 17px); line-height: 1.75; color: var(--muted); margin-top: 22px; }
.svc-block__title { font-family: var(--ff); font-weight: 800; font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -0.035em; color: var(--ink); margin: clamp(40px, 4vw, 60px) 0 6px; }
.svc-list { list-style: none; margin: 0; padding: 0; }
.svc-list li { position: relative; padding: 17px 0 17px 28px; border-bottom: 1px solid var(--line-soft); font-size: 15px; line-height: 1.55; color: var(--muted); }
.svc-list li::before { content: ""; position: absolute; left: 0; top: 26px; width: 14px; height: 2px; border-radius: 2px; background: var(--accent); }

/* sidebar */
.svc-side { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 18px; }
.svc-support { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-md); padding: 26px 26px 28px; background: var(--grad-deep); color: #fff; }
.svc-support::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grad-mesh); opacity: 0.55; }
.svc-side__label { display: block; font-family: var(--ff); font-weight: 700; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; }
.svc-support .svc-side__label { color: var(--accent-2); }
.svc-support p { color: rgba(255,255,255,0.84); font-size: 14px; line-height: 1.6; margin: 13px 0 20px; }
.svc-support .btn { width: 100%; justify-content: center; }
.svc-pillars { border: 1px solid var(--line-soft); border-radius: var(--r-md); padding: 22px 24px 10px; background: var(--paper-2); }
.svc-pillars .svc-side__label { color: var(--muted); }
.svc-pillars ul { list-style: none; margin: 12px 0 0; padding: 0; }
.svc-pillars li + li { border-top: 1px solid var(--line-soft); }
.svc-pillars a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; font-family: var(--ff); font-weight: 600; font-size: 14px; color: var(--accent-deep); transition: color .2s ease, padding-left .25s ease; }
.svc-pillars a:hover { color: var(--accent); padding-left: 5px; }
.svc-pillars a .arrow { color: var(--accent); transition: transform .3s ease; }
.svc-pillars a:hover .arrow { transform: translateX(3px); }

@media (max-width: 900px) {
  .svc-layout { grid-template-columns: 1fr; gap: 40px; }
  .svc-side { position: static; }
}

/* projects page */
.projects-page { background: var(--white); padding-top: clamp(36px, 4vw, 56px); }
.service--tight { padding-top: clamp(36px, 4vw, 56px); }
.pjfilter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(18px, 2vw, 28px); }
.pjfilter__btn { padding: 10px 20px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--white); font-family: var(--ff); font-weight: 600; font-size: 13.5px; color: var(--muted); cursor: pointer; transition: background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease; }
.pjfilter__btn:hover { border-color: var(--accent); color: var(--accent-deep); }
.pjfilter__btn.is-active { background: var(--grad-blue); color: #fff; border-color: transparent; box-shadow: var(--sh-accent); }
.pjgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pjcard { display: flex; flex-direction: column; border: 1px solid var(--line-soft); border-radius: var(--r-md); overflow: hidden; background: var(--white); color: inherit; transition: transform .45s cubic-bezier(.16,1,.3,1), box-shadow .4s ease, border-color .3s ease; }
.pjcard:hover { transform: translateY(-8px); box-shadow: 0 30px 54px -22px rgba(59,110,245,0.38); border-color: rgba(59,110,245,0.25); }
.pjcard--soon:hover { transform: translateY(-4px); }
.pjcard__media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.pjcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.16,1,.3,1); }
.pjcard:hover .pjcard__media img { transform: scale(1.06); }
.pjcard--soon .pjcard__media img { filter: grayscale(0.35) brightness(0.86); }
.pjcard__cat { position: absolute; top: 14px; left: 14px; padding: 7px 13px; border-radius: var(--r-pill); background: rgba(7,20,48,0.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font-family: var(--ff); font-weight: 700; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; }
.pjcard__body { display: flex; flex-direction: column; gap: 12px; padding: 22px 24px 26px; flex: 1; }
.pjcard__status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--ff); font-weight: 600; font-size: 12.5px; color: var(--muted); }
.pjcard__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); flex-shrink: 0; }
.pjcard__status.is-active .pjcard__dot { background: #22c55e; box-shadow: 0 0 8px rgba(34,197,94,0.5); }
.pjcard__status.is-dev .pjcard__dot { background: #f59e0b; }
.pjcard__status.is-soon { color: var(--accent); }
.pjcard__status.is-soon .pjcard__dot { background: var(--accent); }
.pjcard__title { font-family: var(--ff); font-weight: 700; font-size: clamp(18px, 1.4vw, 22px); letter-spacing: -0.025em; line-height: 1.2; color: var(--ink); transition: color .25s; }
.pjcard:hover .pjcard__title { color: var(--accent-deep); }
.pjcard__text { font-size: 14.5px; line-height: 1.6; color: var(--muted); flex: 1; }
.pjcard__link { margin-top: 2px; }
.pjcard__tba { font-family: var(--ff); font-weight: 600; font-size: 13px; color: var(--muted); opacity: 0.75; }
.pjcard.is-hidden { display: none; }
@media (max-width: 1024px) { .pjgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pjgrid { grid-template-columns: 1fr; } }

/* project detail */
.pjstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 20px); margin-bottom: clamp(38px, 4vw, 52px); }
.pjstat { padding: 22px 24px 24px; border: 1px solid var(--line-soft); border-radius: var(--r-md); background: var(--paper-2); text-align: center; }
.pjstat__num { font-family: var(--ff); font-weight: 800; font-size: clamp(26px, 2.8vw, 38px); letter-spacing: -0.04em; color: var(--accent); line-height: 1; }
.pjstat__label { font-family: var(--ff); font-weight: 600; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.svc-list--strands b { color: var(--ink); font-weight: 700; }
.pjdetails { border: 1px solid var(--line-soft); border-radius: var(--r-md); padding: 20px 24px 8px; background: var(--paper-2); }
.pjdetails .svc-side__label { color: var(--muted); }
.pjdetails__row { padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.pjdetails__row:last-child { border-bottom: 0; }
.pjdetails__key { display: block; font-family: var(--ff); font-weight: 700; font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.pjdetails__val { display: block; font-family: var(--ff); font-weight: 600; font-size: 14px; color: var(--ink); margin-top: 4px; }
.pjdetails__val.is-active { color: #16a34a; }
@media (max-width: 600px) { .pjstats { grid-template-columns: 1fr; } }

/* blog article */
.article-figure { position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 3 / 2; width: 100%; margin: 0 0 clamp(26px, 3vw, 40px); border: 1px solid var(--line-soft); }
.article-figure img { width: 100%; height: 100%; object-fit: cover; }
.svc-quote { position: relative; margin: clamp(30px, 3.4vw, 46px) 0; padding: clamp(22px, 2.4vw, 30px) clamp(26px, 2.8vw, 36px); border-left: 3px solid var(--accent); background: var(--paper-2); border-radius: 0 var(--r-md) var(--r-md) 0; }
.svc-quote p { font-family: var(--ff); font-weight: 600; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.45; letter-spacing: -0.02em; color: var(--ink); }
.svc-quote::before { content: "\201C"; position: absolute; top: clamp(6px, 0.6vw, 10px); right: clamp(18px, 1.8vw, 26px); font-family: var(--ff); font-weight: 800; font-size: clamp(56px, 6vw, 88px); line-height: 1; color: rgba(59,110,245,0.16); }
.article-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(34px, 4vw, 52px); padding-top: clamp(22px, 2.4vw, 30px); border-top: 1px solid var(--line-soft); }
.article-tags__tag { padding: 8px 16px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--paper-2); font-family: var(--ff); font-weight: 600; font-size: 12.5px; color: var(--muted); }

/* ===== archive report gallery ===== */
.agall { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.agall__item { position: relative; overflow: hidden; border-radius: var(--r-md); aspect-ratio: 4/3; cursor: pointer; border: 0; padding: 0; background: var(--navy); display: block; }
.agall__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.16,1,.3,1); }
.agall__item:hover img { transform: scale(1.06); }
.agall__item::after { content: ""; position: absolute; inset: 0; background: rgba(8,18,40,0); transition: background .35s ease; }
.agall__item:hover::after { background: rgba(8,18,40,0.18); }
.agall__plus { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.18); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display: grid; place-items: center; color: #fff; z-index: 1; opacity: 0; transform: scale(.8); transition: opacity .3s, transform .3s; }
.agall__item:hover .agall__plus { opacity: 1; transform: scale(1); }
.agall__plus svg { width: 16px; height: 16px; }
@media (max-width: 600px) { .agall { grid-template-columns: 1fr; } }

/* ===== media page ===== */
.media-page { background: var(--white); padding-top: clamp(36px, 4vw, 56px); }
.media-arch { background: var(--paper); }
.media-head { margin-bottom: clamp(28px, 3vw, 44px); max-width: 720px; }
.media-head .lead { margin-top: 14px; }

/* carousel */
.mcar { position: relative; }
.mcar__track { margin-inline: calc(50% - 50vw); overflow: hidden; }
.mcar__strip { display: flex; width: max-content; animation: mcar-scroll 36s linear infinite; will-change: transform; }
.mcar__track:hover .mcar__strip { animation-play-state: paused; }
.mcar__slide { flex: 0 0 auto; width: clamp(340px, 32vw, 580px); margin-right: 6px; position: relative; overflow: hidden; border-radius: var(--r-md); aspect-ratio: 4 / 3; background: var(--navy); display: block; }
.mcar__slide img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.16,1,.3,1); }
.mcar__slide:hover img { transform: scale(1.06); }
.mcar__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 36%, rgba(8,18,40,0.8) 100%); opacity: 0; transition: opacity .4s ease; pointer-events: none; }
.mcar__slide:hover::after { opacity: 1; }
.mcar__cap { position: absolute; left: clamp(18px,2vw,24px); right: clamp(18px,2vw,24px); bottom: clamp(16px,2vw,22px); z-index: 1; color: #fff; opacity: 0; transform: translateY(10px); transition: opacity .4s ease, transform .45s cubic-bezier(.16,1,.3,1); }
.mcar__slide:hover .mcar__cap { opacity: 1; transform: none; }
@keyframes mcar-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .mcar__strip { animation: none; } }
.mcar__cat { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: var(--r-pill); background: rgba(59,110,245,0.92); font-family: var(--ff); font-weight: 700; font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; }
.mcar__title { display: block; font-family: var(--ff); font-weight: 700; font-size: clamp(18px,1.6vw,24px); letter-spacing: -0.025em; line-height: 1.2; margin-top: 12px; text-shadow: 0 2px 16px rgba(0,0,0,0.45); }
.mcar__loc { display: inline-flex; align-items: center; gap: 8px; font-family: var(--ff); font-size: 13.5px; font-weight: 500; opacity: 0.92; margin-top: 6px; }
.mcar__loc::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 10px var(--accent-2); flex-shrink: 0; }
.mcar__bar { display: flex; align-items: center; gap: clamp(16px,2vw,28px); margin-top: clamp(20px,2.2vw,28px); }
.mcar__progress { flex: 1; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.mcar__progress span { display: block; height: 100%; width: 0; background: var(--grad-blue); border-radius: 3px; }
.mcar__nav { display: flex; gap: 10px; }
.mcar__btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background .25s, color .25s, border-color .25s, box-shadow .25s, transform .25s; }
.mcar__btn:hover { background: var(--grad-blue); color: #fff; border-color: transparent; box-shadow: var(--sh-accent); }
.mcar__btn svg { width: 18px; height: 18px; }

/* grid */
.mgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mgrid__item { position: relative; overflow: hidden; border-radius: var(--r-md); aspect-ratio: 4/3; cursor: pointer; border: 0; padding: 0; background: var(--navy); display: block; }
.mgrid__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.16,1,.3,1); }
.mgrid__item:hover img { transform: scale(1.07); }
.mgrid__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,18,40,0) 45%, rgba(8,18,40,0.62) 100%); opacity: 0; transition: opacity .35s ease; }
.mgrid__item:hover::after { opacity: 1; }
.mgrid__tag { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 1; transform: translateY(10px); opacity: 0; transition: transform .45s cubic-bezier(.16,1,.3,1), opacity .35s ease; color: #fff; }
.mgrid__item:hover .mgrid__tag, .mgrid__item:focus-visible .mgrid__tag { transform: translateY(0); opacity: 1; }
.mgrid__cat { display: inline-block; padding: 5px 11px; border-radius: var(--r-pill); background: rgba(59,110,245,0.92); font-family: var(--ff); font-weight: 700; font-size: 10.5px; letter-spacing: 0.05em; text-transform: uppercase; }
.mgrid__loc { display: block; font-family: var(--ff); font-weight: 700; font-size: 14.5px; letter-spacing: -0.015em; margin-top: 8px; text-shadow: 0 2px 12px rgba(0,0,0,0.55); }
.mgrid__plus { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.18); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display: grid; place-items: center; color: #fff; z-index: 1; opacity: 0; transform: scale(.8); transition: opacity .35s, transform .35s; }
.mgrid__item:hover .mgrid__plus { opacity: 1; transform: scale(1); }
.mgrid__plus svg { width: 16px; height: 16px; }
.mgrid__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 900px) { .mgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .mgrid { grid-template-columns: 1fr; } }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: clamp(20px, 5vw, 64px); background: rgba(6,14,32,0.9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility .4s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__figure { position: relative; margin: 0; max-width: min(1040px, 92vw); transform: scale(.96); transition: transform .45s cubic-bezier(.16,1,.3,1); }
.lightbox.is-open .lightbox__figure { transform: scale(1); }
.lightbox__img { display: block; max-width: 100%; max-height: 78vh; object-fit: contain; border-radius: var(--r-md); box-shadow: var(--sh-lg); }
.lightbox__cap { margin-top: 16px; color: #fff; text-align: center; font-family: var(--ff); }
.lightbox__cap b { font-weight: 700; font-size: 17px; }
.lightbox__cap span { display: block; font-weight: 500; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent-2); margin-top: 6px; }
.lightbox__close { position: absolute; top: -16px; right: -16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); cursor: pointer; display: grid; place-items: center; box-shadow: var(--sh-md); transition: transform .3s ease; }
.lightbox__close:hover { transform: rotate(90deg); }
.lightbox__arrow { position: fixed; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; border: 0; background: rgba(255,255,255,0.14); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .25s ease; }
.lightbox__arrow:hover { background: rgba(255,255,255,0.3); }
.lightbox__arrow--prev { left: clamp(12px, 3vw, 40px); }
.lightbox__arrow--next { right: clamp(12px, 3vw, 40px); }
.lightbox__close svg, .lightbox__arrow svg { width: 20px; height: 20px; }
@media (max-width: 600px) { .lightbox__arrow { display: none; } .lightbox__close { top: -10px; right: -10px; } }

/* ===== contact page ===== */
.contact-page { background: var(--white); padding-top: clamp(36px, 4vw, 56px); }
.ct-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 3.5vw, 56px); align-items: start; }
.ct-form { margin-top: clamp(22px, 2.6vw, 32px); display: grid; gap: 18px; }
.ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ct-form .field__input, .ct-form .field__input--area { background-color: var(--paper-2); }
.ct-form .btn { justify-content: center; }
.ct-sent { margin-top: 4px; padding: 14px 18px; border-radius: var(--r-md); background: rgba(59,110,245,0.08); border: 1px solid rgba(59,110,245,0.28); color: var(--accent-deep); font-family: var(--ff); font-weight: 600; font-size: 14px; line-height: 1.5; display: none; }
.ct-sent.is-on { display: block; }
.ct-info { padding: clamp(26px, 3vw, 38px); border-radius: var(--r-lg); background: var(--grad-deep); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.ct-info__head { font-family: var(--ff); font-weight: 700; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 6px; }
.ct-info__row { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.13); }
.ct-info__row:first-of-type { padding-top: 4px; }
.ct-info__row:last-child { border-bottom: 0; padding-bottom: 0; }
.ct-info__label { display: block; font-family: var(--ff); font-weight: 700; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 5px; }
.ct-info__val { font-family: var(--ff); font-weight: 700; font-size: 15.5px; color: #fff; }
.ct-info__val a { color: #fff; transition: color .25s; }
.ct-info__val a:hover { color: var(--accent-2); }
.ct-follow { margin-top: 18px; padding: clamp(22px, 2.4vw, 30px); border: 1px solid var(--line-soft); border-radius: var(--r-lg); background: var(--white); }
.ct-follow__head { font-family: var(--ff); font-weight: 700; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.ct-follow__list { display: flex; flex-direction: column; gap: 10px; }
.ct-follow__item { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--r-md); font-family: var(--ff); font-weight: 600; font-size: 14px; color: var(--ink); transition: border-color .25s ease, background .25s ease, transform .25s ease; }
.ct-follow__item:hover { border-color: var(--accent); background: var(--paper-2); transform: translateX(3px); }
.ct-follow__item svg { width: 18px; height: 18px; color: var(--accent-deep); flex-shrink: 0; }
@media (max-width: 880px) { .ct-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .ct-row { grid-template-columns: 1fr; } }

/* ===== donate page ===== */
.donate-page { background: var(--white); padding-top: clamp(36px, 4vw, 56px); }
.dn-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.5vw, 18px); margin-top: clamp(30px, 3.4vw, 46px); }
.dn-stat { padding: 20px 22px; border: 1px solid rgba(255,255,255,0.16); border-radius: var(--r-md); background: rgba(255,255,255,0.05); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.dn-stat__num { font-family: var(--ff); font-weight: 800; font-size: clamp(24px, 2.6vw, 38px); letter-spacing: -0.04em; color: #fff; line-height: 1; }
.dn-stat__num span { color: var(--accent-2); }
.dn-stat__label { font-family: var(--ff); font-weight: 600; font-size: 11px; letter-spacing: 0.07em; text-transform: uppercase; color: rgba(255,255,255,0.72); margin-top: 9px; }
.dn-head { max-width: 680px; margin: 0 auto clamp(26px, 3vw, 40px); text-align: center; }
.dn-head .eyebrow { justify-content: center; }
.dn-toggle-wrap { display: flex; justify-content: center; margin-bottom: clamp(26px, 3vw, 40px); }
.dn-toggle { display: inline-flex; padding: 5px; border-radius: var(--r-pill); background: var(--paper); border: 1px solid var(--line); }
.dn-toggle__btn { padding: 11px 28px; border-radius: var(--r-pill); border: 0; background: transparent; font-family: var(--ff); font-weight: 700; font-size: 14px; color: var(--muted); cursor: pointer; transition: color .25s ease, background .25s ease, box-shadow .25s ease; }
.dn-toggle__btn.is-active { background: var(--grad-blue); color: #fff; box-shadow: var(--sh-accent); }
.dn-panel { display: none; }
.dn-panel.is-active { display: block; }
.dn-card { max-width: 560px; margin: 0 auto; padding: clamp(26px, 3vw, 40px); border: 1px solid var(--line-soft); border-radius: var(--r-lg); background: var(--paper-2); box-shadow: var(--sh-md); }
.dn-card__label { display: block; font-family: var(--ff); font-weight: 700; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.dn-amts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.dn-amt { padding: 16px 0; border-radius: var(--r-md); border: 1.5px solid var(--line); background: var(--white); font-family: var(--ff); font-weight: 700; font-size: 17px; color: var(--ink); cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.dn-amt:hover { border-color: var(--accent); }
.dn-amt.is-active { border-color: var(--accent); background: rgba(59,110,245,0.08); color: var(--accent-deep); }
.dn-custom { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--white); transition: border-color .2s; }
.dn-custom:focus-within { border-color: var(--accent); }
.dn-custom > span { font-family: var(--ff); font-weight: 700; color: var(--muted); }
.dn-custom input { flex: 1; border: 0; background: transparent; padding: 15px 0; font-family: var(--ff); font-weight: 700; font-size: 16px; color: var(--ink); outline: none; }
.dn-selected { margin-top: 18px; font-family: var(--ff); font-size: 14px; color: var(--muted); text-align: center; }
.dn-selected b { color: var(--ink); font-size: 18px; }
.dn-btn { width: 100%; justify-content: center; margin-top: 18px; }
.dn-note { margin-top: 16px; font-size: 12.5px; line-height: 1.6; color: var(--muted); text-align: center; }
.dn-bankwrap { max-width: 560px; margin: clamp(22px, 2.6vw, 36px) auto 0; }
.dn-bankwrap[hidden] { display: none; }
.dn-bankwrap .dn-bank { animation: dnReveal .5s cubic-bezier(.16,1,.3,1) both; }
@keyframes dnReveal { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
/* combined 2-col donate layout */
.dn-layout { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(28px, 3.5vw, 56px); align-items: start; }
.dn-head--left { text-align: left; max-width: none; margin: 0 0 clamp(20px, 2.4vw, 30px); }
.dn-head--left .eyebrow { justify-content: flex-start; }
.dn-main .dn-toggle { display: inline-flex; margin-bottom: clamp(22px, 2.6vw, 30px); }
.dn-main .dn-card { max-width: none; margin: 0; }
.dn-main .dn-tiers { grid-template-columns: repeat(2, 1fr); }
.dn-aside { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 100px; }
.dn-whycard { padding: clamp(24px, 2.8vw, 34px); border-radius: var(--r-lg); background: var(--grad-deep); color: #fff; }
.dn-whycard__head { display: block; font-family: var(--ff); font-weight: 700; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-2); }
.dn-whycard__list { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.dn-whycard__list li { position: relative; padding-left: 28px; font-size: 14.5px; line-height: 1.5; color: rgba(255,255,255,0.9); }
.dn-whycard__list li::before { content: ""; position: absolute; left: 0; top: 1px; width: 19px; height: 19px; border-radius: 50%; background: rgba(110,155,255,0.22); }
.dn-whycard__list li::after { content: ""; position: absolute; left: 6px; top: 4.5px; width: 5px; height: 9px; border-right: 2px solid var(--accent-2); border-bottom: 2px solid var(--accent-2); transform: rotate(40deg); }
.dn-qcard { padding: clamp(22px, 2.6vw, 32px); border: 1px solid var(--line-soft); border-radius: var(--r-lg); background: var(--white); }
.dn-qcard__head { display: block; font-family: var(--ff); font-weight: 700; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.dn-qcard p { margin-top: 10px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.dn-qcard .btn { margin-top: 16px; width: 100%; justify-content: center; }
@media (max-width: 920px) { .dn-layout { grid-template-columns: 1fr; } .dn-aside { position: static; } }
@media (max-width: 560px) { .dn-main .dn-tiers { grid-template-columns: 1fr; } }
.dn-tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.dn-tier { position: relative; display: flex; flex-direction: column; padding: clamp(22px, 2.4vw, 30px) clamp(20px, 2vw, 26px); border: 1px solid var(--line-soft); border-radius: var(--r-lg); background: var(--white); cursor: pointer; transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .35s ease, border-color .3s ease; }
.dn-tier:hover { transform: translateY(-6px); box-shadow: 0 30px 54px -22px rgba(59,110,245,0.34); border-color: rgba(59,110,245,0.25); }
.dn-tier--featured { border-color: var(--line-soft); box-shadow: none; }
.dn-tier.is-selected { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent), 0 34px 58px -22px rgba(59,110,245,0.42); transform: translateY(-6px); }
.dn-tier.is-selected::before { content: ""; position: absolute; top: 16px; right: 16px; width: 24px; height: 24px; border-radius: 50%; background: var(--grad-blue); box-shadow: 0 6px 16px -4px rgba(59,110,245,0.6); }
.dn-tier.is-selected::after { content: ""; position: absolute; top: 22px; right: 25px; width: 5px; height: 9px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(40deg); }
.dn-tier__badge { align-self: flex-start; padding: 5px 12px; border-radius: var(--r-pill); background: var(--grad-blue); color: #fff; font-family: var(--ff); font-weight: 700; font-size: 10px; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 14px; }
.dn-tier__name { font-family: var(--ff); font-weight: 700; font-size: clamp(18px, 1.5vw, 21px); letter-spacing: -0.02em; color: var(--ink); }
.dn-tier__price { font-family: var(--ff); font-weight: 800; font-size: clamp(28px, 3vw, 38px); letter-spacing: -0.04em; color: var(--accent-deep); margin-top: 6px; line-height: 1; }
.dn-tier__price span { font-size: 14px; font-weight: 600; color: var(--muted); }
.dn-tier__list { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.dn-tier__list li { position: relative; padding-left: 26px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.dn-tier__list li::before { content: ""; position: absolute; left: 0; top: 2px; width: 17px; height: 17px; border-radius: 50%; background: rgba(59,110,245,0.12); }
.dn-tier__list li::after { content: ""; position: absolute; left: 5.5px; top: 5.5px; width: 5px; height: 8px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(40deg); }
.dn-tier__btn { margin-top: 22px; width: 100%; justify-content: center; }
.dn-give2 { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 3.5vw, 56px); align-items: start; }
.dn-bank { padding: clamp(24px, 2.6vw, 34px); border: 1px solid var(--line-soft); border-radius: var(--r-lg); background: var(--white); }
.dn-bank__row { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
.dn-bank__row:last-child { border-bottom: 0; }
.dn-bank__key { font-family: var(--ff); font-weight: 600; font-size: 13px; color: var(--muted); }
.dn-bank__val { font-family: var(--ff); font-weight: 700; font-size: 14px; color: var(--ink); text-align: right; }
.dn-bank__note { margin-top: 16px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.dn-why__list { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.dn-why__list li { position: relative; padding-left: 36px; font-size: 15.5px; line-height: 1.5; color: var(--ink); }
.dn-why__list li::before { content: ""; position: absolute; left: 0; top: 0; width: 23px; height: 23px; border-radius: 50%; background: var(--grad-blue); }
.dn-why__list li::after { content: ""; position: absolute; left: 7.5px; top: 5px; width: 6px; height: 10px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(40deg); }
.dn-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(34px, 4vw, 54px); padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--line); }
.dn-trust__item { display: flex; align-items: center; gap: 11px; font-family: var(--ff); font-weight: 600; font-size: 13px; color: var(--muted); }
.dn-trust__item svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; }
@media (max-width: 980px) { .dn-tiers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .dn-give2 { grid-template-columns: 1fr; } .dn-trust { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .dn-tiers { grid-template-columns: 1fr; } .dn-amts { grid-template-columns: repeat(2, 1fr); } .dn-stats { grid-template-columns: repeat(2, 1fr); } }

/* history timeline (scroll-synced image) */
.history { background: var(--white); }
.history__scroll { position: relative; height: 300vh; }
.history__pin { position: sticky; top: 0; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.history__head { margin-bottom: clamp(26px, 3vw, 44px); max-width: none; }
.history__grid { display: grid; grid-template-columns: 0.82fr 1fr; gap: clamp(40px, 5vw, 72px); align-items: center; width: 100%; }
.history__time { position: relative; height: min(64vh, 500px); overflow: hidden; padding: 14px 0 14px 16px; }
.tline { list-style: none; margin: 0; padding: 0 0 0 38px; position: relative; will-change: transform; }
.tline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(rgba(59,110,245,0.12) 0%, var(--accent) 50%, rgba(59,110,245,0.12) 100%); }
.tline__item { position: relative; padding-bottom: 38px; }
.tline__item:last-child { padding-bottom: 0; }
.tline__item::before { content: ""; position: absolute; left: -38px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 3px solid var(--accent); box-shadow: 0 0 0 5px rgba(59,110,245,0.10); }
.tline__year { display: inline-block; font-family: var(--ff); font-weight: 800; font-size: 14px; letter-spacing: 0.04em; color: var(--accent); }
.tline__title { font-family: var(--ff); font-weight: 700; font-size: clamp(18px, 1.6vw, 23px); letter-spacing: -0.025em; color: var(--ink); margin-top: 5px; }
.tline__text { font-size: 14.5px; line-height: 1.65; color: var(--muted); margin-top: 8px; max-width: 60ch; }
.tline__item { transition: opacity .35s ease; }
.tline__item.is-active::before { background: var(--accent); box-shadow: 0 0 0 6px rgba(59,110,245,0.15); }
.tline__item.is-active .tline__title { color: var(--accent-deep); }
@media (min-width: 1025px) { .tline__item:not(.is-active) { opacity: 0.45; } }

.history__media { margin: 0; order: -1; }
.history__frame { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-lg); height: min(64vh, 500px); background: var(--navy); }
.history__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s cubic-bezier(.16,1,.3,1); }
.history__img.is-active { opacity: 1; }
.history__badge { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; padding: 8px 16px; border-radius: var(--r-pill); background: rgba(7,20,48,0.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.22); color: #fff; font-family: var(--ff); font-weight: 800; font-size: 15px; letter-spacing: 0.04em; }

/* impact report — chart + KPI dashboard */
.report { background: var(--paper); }
.report__head { max-width: 640px; }
.report__panel {
  display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(26px, 3vw, 48px);
  margin-top: clamp(40px, 4vw, 60px); padding: clamp(24px, 3vw, 40px);
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-lg); box-shadow: var(--sh-lg);
}
.report__main { min-width: 0; display: flex; flex-direction: column; }
.report__chart-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.report__big { font-family: var(--ff); font-weight: 800; font-size: clamp(40px, 4.2vw, 60px); letter-spacing: -0.045em; color: var(--accent); line-height: 1; }
.report__big span { color: var(--accent-2); }
.report__big-label { font-family: var(--ff); font-weight: 600; font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 9px; }
.report__chip { align-self: flex-start; padding: 8px 15px; border-radius: var(--r-pill); background: rgba(59,110,245,0.09); color: var(--accent-deep); font-family: var(--ff); font-weight: 700; font-size: 12px; letter-spacing: 0.02em; white-space: nowrap; }
.report__chart { width: 100%; height: auto; display: block; clip-path: inset(0 100% 0 0); }
.report__panel.is-in .report__chart { clip-path: inset(0 0 0 0); transition: clip-path 1.9s cubic-bezier(.16,1,.3,1) .15s; }
.report__years { display: flex; justify-content: space-between; padding: 12px 4px 0; font-family: var(--ff); font-weight: 700; font-size: 12px; color: var(--muted); }
.report__side { display: flex; flex-direction: column; justify-content: center; gap: clamp(16px, 2vw, 24px); border-left: 1px solid var(--line-soft); padding-left: clamp(24px, 3vw, 40px); }
.report__kpi-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.report__kpi-num { font-family: var(--ff); font-weight: 800; font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.02em; color: var(--ink); }
.report__kpi-label { font-size: 12.5px; line-height: 1.3; color: var(--muted); font-weight: 500; text-align: right; }
.report__track { margin-top: 11px; height: 7px; border-radius: 99px; background: var(--line-soft); overflow: hidden; }
.report__bar { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--grad-blue); }
.report__panel.is-in .report__bar { width: var(--w); transition: width 1.5s cubic-bezier(.16,1,.3,1) .35s; }

@media (max-width: 1024px) {
  .amission__grid { grid-template-columns: 1fr; gap: 28px; }
  .amission__media { aspect-ratio: 16 / 10; order: -1; }
  .amission__text { order: 1; }
  .values__grid { grid-template-columns: repeat(2, 1fr); }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .history__scroll { height: auto; }
  .history__pin { position: static; min-height: 0; display: block; }
  .history__grid { grid-template-columns: 1fr; }
  .history__media {
    display: block;
    margin-bottom: clamp(24px, 4vw, 36px);
  }
  .history__frame { height: clamp(220px, 38vh, 300px); }
  .history__time { height: auto; overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .tline { transform: none !important; padding-top: clamp(20px, 4vw, 32px); }
  .report__panel { grid-template-columns: 1fr; }
  .report__side { border-left: none; border-top: 1px solid var(--line-soft); padding-left: 0; padding-top: clamp(24px, 4vw, 32px); display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 36px; }
}
/* Leaders page — no swiper; 2 cards per row, compact centered photo */
@media (max-width: 1024px) {
  #leaders .team__grid, #leaders .team__grid--3 { grid-template-columns: repeat(2, 1fr) !important; gap: clamp(16px, 3vw, 26px); }
  #leaders .tcard { align-items: center; text-align: center; }
  #leaders .tcard__photo { width: 100%; max-width: 200px; aspect-ratio: 1 / 1; margin: 0 auto; }
}
@media (max-width: 560px) {
  #leaders .tcard__photo { max-width: 150px; }
}

@media (max-width: 600px) {
  /* gap between the stats swiper (with dots) and the following text */
  .pjstats.m-swiper { margin-bottom: clamp(26px, 7vw, 40px) !important; }
  /* history carousel: compact fixed card height (no resize, no inner scroll) — text clamps with ellipsis */
  .hcar .swiper-slide { height: auto !important; }
  .hcar .mcard { display: flex !important; flex-direction: column; align-items: stretch !important; height: min(70vh, 480px); gap: 14px !important; }
  .hcar .mcard__media { flex: none; width: 100%; height: clamp(170px, 46vw, 196px); aspect-ratio: auto; }
  .hcar .mcard__body { flex: 1 1 auto; min-height: 0; overflow: hidden; }
  .hcar .mcard { cursor: pointer; }
  .hcar .mcard__text { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
  .hcar .mcard__text ~ .mcard__text { display: none; }
  .hcar .mcard__readmore { margin-top: 8px; }
  /* tap a card to reveal its full text */
  .hcar .mcard.is-expanded { height: auto !important; }
  .hcar .mcard.is-expanded .mcard__body { overflow: visible; }
  .hcar .mcard.is-expanded .mcard__text { -webkit-line-clamp: unset; display: block; overflow: visible; }
  .hcar .mcard.is-expanded .mcard__text ~ .mcard__text { display: block; margin-top: 12px; }
  /* breathing room between a section heading and its card swiper */
  .values__head, .report__head, .programs__intro { margin-bottom: clamp(26px, 7vw, 38px); }
  .leaders-group__label { margin-bottom: clamp(22px, 6vw, 32px) !important; }
  .leaders-group + .leaders-group { margin-top: clamp(36px, 9vw, 52px); }
  .values__grid { grid-template-columns: 1fr; }
  .report__side { grid-template-columns: 1fr; }
  .report__chart-top { flex-direction: column; }
  .amission__actions .btn { width: 100%; justify-content: center; }
  .history__media { display: block !important; margin-bottom: 22px !important; }
  .history__frame { height: clamp(200px, 50vw, 260px) !important; }
  .history__badge { font-size: 13px; padding: 6px 12px; }
  /* amission media — compact framed photo on mobile */
  .amission__media {
    min-height: 0 !important;
    aspect-ratio: 4 / 3 !important;
    border-radius: 14px !important;
    box-shadow: none !important;
    margin: 0 !important;
  }
  .amission__media img {
    object-position: center top !important;
  }
}

/* ============================================================
   MOBILE SWIPER (auto-applied on ≤600px to multi-card sections)
   ============================================================ */
@media (max-width: 600px) {
  .m-swiper {
    display: block !important;
    position: relative;
    padding: 0 0 38px !important;
    margin: 0 !important;
    overflow: hidden !important;
    width: 100%;
    box-sizing: border-box;
    border-top: 0 !important;
  }
  .m-swiper .swiper-wrapper {
    display: flex;
    align-items: stretch;
    box-sizing: content-box;
  }
  .m-swiper .swiper-slide {
    flex-shrink: 0;
    width: 100% !important;
    height: auto;
    display: flex;
    box-sizing: border-box;
  }
  .m-swiper .swiper-slide > * {
    width: 100%;
    margin: 0 !important;
  }
  .m-swiper .swiper-slide .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  /* pagination dots */
  .m-swiper .swiper-pagination,
  .m-gallery-swiper .swiper-pagination {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    z-index: 4;
    pointer-events: auto;
  }
  .m-swiper .swiper-pagination-bullet,
  .m-gallery-swiper .swiper-pagination-bullet {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(15, 30, 60, 0.22);
    opacity: 1;
    border: 0;
    padding: 0;
    cursor: pointer;
    transition: background .25s ease, transform .25s ease, width .25s ease;
  }
  .m-swiper .swiper-pagination-bullet-active,
  .m-gallery-swiper .swiper-pagination-bullet-active {
    background: var(--accent, #3b6ef5);
    transform: scale(1.15);
    width: 22px;
    border-radius: 4px;
  }
  /* unified accent-blue dots across ALL swipers */

  /* .plist transform: rows become slides — strip the top border + row borders */
  .plist.m-swiper { border-top: 0 !important; }
  .plist.m-swiper .swiper-slide .plist__row {
    padding: 24px 22px !important;
    border: 1px solid var(--line-soft, #e6ecf5);
    border-radius: 16px;
    background: var(--paper-2, #f5f8ff);
    grid-template-columns: 56px 1fr !important;
    grid-template-areas: "num title" "num text" !important;
    gap: 14px 16px !important;
  }
  .plist.m-swiper .plist__num { grid-area: num; }
  .plist.m-swiper .plist__title { grid-area: title; }
  .plist.m-swiper .plist__text { grid-area: text; grid-column: auto !important; }
  .plist.m-swiper .plist__arrow { display: none !important; }
  .plist.m-swiper .plist__row::before,
  .plist.m-swiper .plist__row::after { display: none !important; }

  /* .about__panel transform: stats as slides — remove vertical dividers */
  .about__panel.m-swiper { background: transparent !important; padding: 0 !important; }
  .about__panel.m-swiper .swiper-slide .about__stat {
    padding: 26px 22px !important;
    border: 1px solid var(--line-soft, #e6ecf5) !important;
    border-radius: 16px;
    background: var(--paper-2, #f5f8ff);
    text-align: left;
  }
  .about__panel.m-swiper .about__stat::before { display: none !important; }

  /* GALLERY: mobile single-image swiper */
  .m-gallery-swiper {
    display: block !important;
    position: relative;
    overflow: hidden !important;
    padding-bottom: 38px !important;
    width: 100%;
  }
  .m-gallery-swiper .swiper-wrapper { display: flex; align-items: stretch; }
  .m-gallery-swiper .swiper-slide { flex-shrink: 0; width: 100% !important; height: auto; }
  .m-gallery-swiper .gallery__main {
    position: relative;
    aspect-ratio: 4 / 3;
    width: 100%;
    margin: 0;
    border-radius: var(--r-lg, 20px);
    overflow: hidden;
    box-shadow: none !important;
    background: var(--navy, #0c2143);
  }
  .m-gallery-swiper .gallery__main::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(8,18,40,0.7) 100%);
    pointer-events: none;
  }
  .m-gallery-swiper .gallery__img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 1;
    display: block;
  }
  .m-gallery-swiper .gallery__caption {
    position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 1;
    display: flex; align-items: center; gap: 10px;
    font-family: var(--ff); font-weight: 600;
    font-size: 14px; color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
    line-height: 1.3;
  }
  .m-gallery-swiper .gallery__caption-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--accent-2, #8aa9ff);
    box-shadow: 0 0 12px var(--accent-2, #8aa9ff);
    flex-shrink: 0;
  }

  /* ============================================================
     HEADS — title + button in ONE row on mobile
     ============================================================ */
  .blog__head, .archive__head, .events__head, .media__head, .projects__head {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
    margin-bottom: 24px !important;
  }
  .blog__head-text, .archive__head-text, .events__head-text,
  .media__head-text, .projects__head-text {
    flex: 1 1 auto;
    min-width: 0;
  }
  .blog__head .h-title, .archive__head .h-title, .events__head .h-title,
  .media__head .h-title, .projects__head .h-title {
    font-size: clamp(22px, 7vw, 28px) !important;
    margin-top: 10px !important;
    line-height: 1.15 !important;
  }
  .blog__head .lead, .archive__head .lead, .events__head .lead,
  .media__head .lead, .projects__head .lead { display: none !important; }
  .blog__head .btn, .archive__head .btn, .events__head .btn,
  .media__head .btn, .projects__head .btn {
    flex-shrink: 0;
    padding: 0 !important;
    width: 44px; height: 44px;
    border-radius: 50%;
    align-self: flex-end;
    margin-bottom: 4px;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .blog__head .btn span:not(.btn__arrow),
  .archive__head .btn span:not(.btn__arrow),
  .events__head .btn span:not(.btn__arrow),
  .media__head .btn span:not(.btn__arrow),
  .projects__head .btn span:not(.btn__arrow) { display: none !important; }
  .blog__head .btn .btn__arrow, .archive__head .btn .btn__arrow,
  .events__head .btn .btn__arrow, .media__head .btn .btn__arrow,
  .projects__head .btn .btn__arrow {
    font-size: 18px;
    margin: 0 !important;
  }

  /* ============================================================
     NAV — logo only on mobile (hide wordmark + Support button)
     ============================================================ */
  .nav__wordmark { display: none !important; }
  .nav__brand { gap: 0 !important; }
  .nav__logo { width: 46px; height: 46px; }
  .nav__cta { display: none !important; }

  /* ============================================================
     MOBILE TYPOGRAPHY & SPACING — tighter rhythm
     ============================================================ */
  .section { padding: 32px 0 48px !important; }
  .h-title { font-size: clamp(26px, 8vw, 34px) !important; line-height: 1.15 !important; }
  .eyebrow { font-size: 12px !important; }
  .lead { font-size: 15px !important; line-height: 1.55 !important; }

  /* About section */
  .about__top { margin: 0 auto 24px !important; padding: 0 4px; }
  .about__title { font-size: clamp(28px, 8vw, 34px) !important; margin-top: 12px !important; line-height: 1.15 !important; }
  .about__lead { font-size: 16px !important; line-height: 1.5 !important; margin-top: 14px !important; }
  .about__text { font-size: 14.5px !important; line-height: 1.6 !important; margin-top: 12px !important; }
  .about__top .btn { margin-top: 20px !important; }

  /* Mission section */
  .mission__lead { font-size: 18px !important; line-height: 1.45 !important; margin-bottom: 16px !important; }
  .mission__text { font-size: 14.5px !important; line-height: 1.6 !important; }

  /* Pillars head */
  .pillars__head { grid-template-columns: 1fr !important; gap: 14px !important; margin-bottom: 24px !important; }
  .pillars__head .h-title { margin-top: 10px !important; }
  .pillars__head .lead { display: none !important; }
  .pillars__more { margin-top: 22px !important; }

  /* Donate section */
  .donate__text { font-size: 15px !important; line-height: 1.55 !important; }
  .donate__note { font-size: 13px !important; }

  /* ============================================================
     MOBILE — flat card look (no shadows, no hover transforms, no glow)
     ============================================================ */
  .bcard, .ecard, .vcard, .tcard, .pjcard, .about__stat, .plist__row {
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    filter: none !important;
    transition: none !important;
    transform: none !important;
  }
  .bcard:hover, .ecard:hover, .vcard:hover, .tcard:hover, .pjcard:hover,
  .bcard:active, .ecard:active, .vcard:active, .tcard:active, .pjcard:active,
  .bcard:focus, .ecard:focus, .vcard:focus, .tcard:focus, .pjcard:focus {
    transform: none !important;
    box-shadow: none !important;
    filter: none !important;
  }
  .pjcard { border-radius: 16px !important; }
  .bcard { border-radius: 16px !important; }
  .vcard::before, .pjcard::before, .pjcard::after,
  .plist__row::before, .plist__row::after { display: none !important; }

  /* ============================================================
     SWIPER CONTAINERS — strip parent backgrounds/borders so dots
     are clearly BELOW cards, not visually inside
     ============================================================ */
  .about__panel.m-swiper,
  .blog__grid.m-swiper,
  .events__grid.m-swiper,
  .archive__grid.m-swiper,
  .values__grid.m-swiper,
  .team__grid.m-swiper,
  .pjgrid.m-swiper,
  .plist.m-swiper,
  .pjstats.m-swiper {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: hidden !important;
    padding: 0 0 44px !important;
    gap: 0 !important;
  }
  /* Pagination dots — clearly BELOW the card with breathing room */
  .m-swiper .swiper-pagination,
  .m-gallery-swiper .swiper-pagination {
    bottom: 14px !important;
  }
  .m-swiper .swiper-slide { background: transparent !important; }

  /* Slide spacing — card needs a bit of bottom margin so it never touches dots */
  .m-swiper .swiper-slide > * { margin-bottom: 0 !important; }

  /* ============================================================
     ARCHIVE PHOTO GALLERY (.agall) — mobile swiper, autoplay 2s
     ============================================================ */
  .m-agall-swiper {
    display: block !important;
    position: relative;
    overflow: hidden !important;
    padding: 0 0 38px !important;
    width: 100%;
    box-shadow: none !important;
    grid-template-columns: none !important;
    gap: 0 !important;
  }
  .m-agall-swiper .swiper-wrapper { display: flex; align-items: stretch; }
  .m-agall-swiper .swiper-slide {
    flex-shrink: 0;
    width: 100% !important;
    height: auto;
    display: flex;
  }
  .m-agall-swiper .agall__item {
    width: 100% !important;
    aspect-ratio: 4 / 3 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: none !important;
    margin: 0 !important;
  }
  .m-agall-swiper .agall__item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transform: none !important;
  }
  .m-agall-swiper .swiper-pagination {
    position: absolute;
    left: 0; right: 0;
    bottom: 10px;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 4;
  }
  .m-agall-swiper .swiper-pagination-bullet {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: rgba(15, 30, 60, 0.22);
    opacity: 1;
    transition: background .25s, width .25s, transform .25s;
  }
  .m-agall-swiper .swiper-pagination-bullet-active {
    background: var(--accent, #3b6ef5);
    transform: scale(1.15);
    width: 22px;
    border-radius: 4px;
  }

  /* ============================================================
     HISTORY MEDIA — mobile swiper (year-by-year photos)
     ============================================================ */
  .m-history-swiper {
    display: block !important;
    position: relative;
    overflow: hidden !important;
    padding: 0 0 38px !important;
    margin: 0 0 22px !important;
    width: 100% !important;
    box-shadow: none !important;
  }
  .m-history-swiper .swiper-wrapper { display: flex; align-items: stretch; }
  .m-history-swiper .swiper-slide {
    flex-shrink: 0;
    width: 100% !important;
    height: auto;
    padding: 0 !important;
    box-sizing: border-box;
  }
  .m-history-swiper .history__frame {
    position: relative;
    width: 100%;
    height: clamp(240px, 60vw, 340px);
    border-radius: 18px;
    overflow: hidden;
    background: var(--navy, #0c2143);
    box-shadow: none !important;
    margin: 0 !important;
  }
  .m-history-swiper .history__img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 1 !important;
    display: block;
  }
  .m-history-swiper .history__badge {
    position: absolute; left: 14px; bottom: 14px;
    display: inline-flex; align-items: center;
    padding: 6px 14px; border-radius: 99px;
    background: rgba(7,20,48,0.6);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.22);
    color: #fff;
    font-family: var(--ff);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.04em;
  }
  .m-history-swiper .swiper-pagination {
    position: absolute;
    left: 0; right: 0;
    bottom: 10px;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 4;
  }
  .m-history-swiper .swiper-pagination-bullet {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: rgba(15, 30, 60, 0.22);
    opacity: 1;
    transition: background .25s, width .25s, transform .25s;
  }
  .m-history-swiper .swiper-pagination-bullet-active {
    background: var(--accent, #3b6ef5);
    transform: scale(1.15);
    width: 22px;
    border-radius: 4px;
  }

  /* ============================================================
     KILL ALL CARD/GALLERY SHADOWS ON MOBILE (final override)
     ============================================================ */
  .gallery__main,
  .gallery__thumb,
  .m-gallery-swiper,
  .m-gallery-swiper .gallery__main,
  .m-gallery-swiper .swiper-slide,
  .m-gallery-swiper .swiper-slide > * {
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    filter: none !important;
  }

  /* ============================================================
     ABOUT PAGE — Team via swiper (1 card per slide)
     ============================================================ */
  .team__grid.m-swiper .swiper-slide .tcard {
    align-items: center;
    text-align: center;
    max-width: 320px;
    margin: 0 auto;
  }
  .team__grid.m-swiper .tcard__photo {
    aspect-ratio: 1 / 1 !important;
    border-radius: 16px !important;
    max-width: 280px;
    margin: 0 auto;
  }
  .team__grid.m-swiper .tcard__name {
    font-size: 17px !important;
    margin-top: 14px !important;
  }
  .team__grid.m-swiper .tcard__role {
    font-size: 13.5px !important;
    margin-top: 4px !important;
  }

  /* ============================================================
     DONATE — segmented tabs (One-time / Monthly / Bank Transfer)
     compact so text doesn't wrap
     ============================================================ */
  .dn-toggle {
    width: 100%;
    display: flex !important;
    padding: 4px !important;
  }
  .dn-toggle__btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 9px 8px !important;
    font-size: 12px !important;
    text-align: center;
    white-space: nowrap;
    letter-spacing: -0.005em;
  }
  .dn-toggle-wrap { margin-bottom: 20px !important; }
}


/* ============================================================
   TOUCH DEVICES — no hover-state shadows/glow lingering after tap
   ============================================================ */
@media (hover: none) and (pointer: coarse) {
  .bcard, .ecard, .vcard, .tcard, .pjcard,
  .bcard:hover, .ecard:hover, .vcard:hover, .tcard:hover, .pjcard:hover,
  .bcard:active, .ecard:active, .vcard:active, .tcard:active, .pjcard:active,
  .bcard:focus, .ecard:focus, .vcard:focus, .tcard:focus, .pjcard:focus {
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    filter: none !important;
    transform: none !important;
  }
  /* touch: dropdown is controlled ONLY by tap (.is-open) — kill sticky :hover/:focus-within */
  .nav__group:hover .nav__panel, .nav__group:focus-within .nav__panel { opacity: 0; visibility: hidden; transform: translateY(8px); }
  .nav__group:hover .nav__group__btn, .nav__group:focus-within .nav__group__btn { background: transparent; color: inherit; }
  .nav__group:hover .nav__caret, .nav__group:focus-within .nav__caret { transform: none; }
  .nav__group.is-open .nav__panel { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav__group.is-open .nav__group__btn { background: rgba(59,110,245,0.08); color: var(--accent-deep); }
  .nav__group.is-open .nav__caret { transform: rotate(180deg); }
}


/* ============================================================
   HIDE ORIGINAL BLOCKS REPLACED BY MOBILE SWIPER
   (Placed LAST — wins source-order tie against any media-query)
   ============================================================ */
html body .is-swipered,
html body .history__media.is-swipered,
html body .gallery.is-swipered,
html body .amission__media.is-swipered { display: none !important; }

/* =========================================================
   Leaders page — initials monogram avatars (photos pending)
   reuses .team__grid / .tcard from the About page
   ========================================================= */
.leaders-group { margin-top: clamp(40px, 5vw, 72px); }
.leaders-group__label { display: flex; align-items: baseline; gap: 14px; }
.leaders-group__label .eyebrow { margin: 0; }
.leaders-group__rule { flex: 1; height: 1px; background: var(--line-soft); }
.tcard__photo--mono { align-items: center; background: var(--grad-blue); }
.tcard__mono { font-family: var(--ff); font-weight: 800; font-size: clamp(32px, 4vw, 46px); letter-spacing: 0.01em; color: #fff; opacity: .94; }
.tcard__role--muted { color: var(--muted); }

/* =========================================================
   History page — achievements timeline (.htl)
   media frames are photo-ready placeholders until images arrive
   ========================================================= */
.htl { position: relative; margin-top: clamp(40px, 5vw, 64px); }
.htl::before { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px; background: var(--line-soft); }
.htl__item { position: relative; padding-left: 64px; padding-bottom: clamp(36px, 4.5vw, 56px); }
.htl__item:last-child { padding-bottom: 0; }
.htl__dot { position: absolute; left: 11px; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--white); border: 3px solid var(--accent); box-shadow: 0 0 0 5px rgba(59,110,245,0.10); }
.htl__year { display: inline-block; font-family: var(--ff); font-weight: 800; font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-deep); background: var(--paper-2); border: 1px solid var(--line-soft); padding: 5px 12px; border-radius: 999px; }
.htl__title { font-family: var(--ff); font-weight: 700; font-size: clamp(19px, 1.7vw, 24px); letter-spacing: -0.02em; color: var(--ink); margin-top: 14px; }
.htl__text { font-size: 15px; line-height: 1.68; color: var(--muted); margin-top: 10px; max-width: 66ch; }
.htl__text + .htl__text { margin-top: 12px; }
.htl__media { margin-top: 18px; width: 100%; max-width: 480px; aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; background: var(--paper-2); border: 1px solid var(--line-soft); }
.htl__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.htl__ph { display: flex; align-items: center; justify-content: center; gap: 10px; height: 100%; color: var(--muted); background: linear-gradient(135deg, var(--paper-2), #fff); }
.htl__ph svg { width: 20px; height: 20px; opacity: .5; }
.htl__ph span { font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em; }
@media (max-width: 560px) { .htl__item { padding-left: 50px; } .htl::before { left: 15px; } .htl__dot { left: 7px; } }

/* =========================================================
   Projects page — Programs & Initiatives 2026–2027 (.pglist)
   reuses .vcard styling; 2-column for longer descriptions
   ========================================================= */
.programs__intro { max-width: 880px; }
.programs__intro .service__text { margin-top: 14px; }
.pglist { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2vw, 24px); margin-top: clamp(36px, 4vw, 56px); }
.pgcard .vcard__num { font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; }
@media (max-width: 760px) { .pglist { grid-template-columns: 1fr; } }

/* History page uses the pinned milestone component with more items —
   give it a longer scroll track on desktop (mobile falls back to swiper). */
@media (min-width: 1025px) { .history__scroll--long { height: 560vh; } }

/* =========================================================
   Header dropdown groups (About ▾ / Programs ▾)
   ========================================================= */
.nav__group { position: relative; display: inline-flex; }
.nav__group__btn { cursor: pointer; gap: 5px; background: none; border: 0; font-family: var(--ff); font-size: 13px; font-weight: 600; }
.nav__group__btn .nav__caret { transition: transform .25s ease; }
.nav__group:hover .nav__group__btn,
.nav__group:focus-within .nav__group__btn,
.nav__group.is-open .nav__group__btn { background: rgba(59,110,245,0.08); color: var(--accent-deep); }
/* current-page (is-active) group button: accent text only, NO pill — pill is reserved for the OPEN dropdown */
.nav__group:not(.is-open) .nav__group__btn.is-active { background: transparent; }
.nav__group:hover .nav__caret,
.nav__group.is-open .nav__caret { transform: rotate(180deg); }
/* invisible hover-bridge so the gap to the panel doesn't drop :hover */
.nav__group::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
.nav__panel {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 226px;
  background: rgba(255,255,255,0.98); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
  border: 1px solid var(--line); border-radius: var(--r-md); padding: 8px;
  box-shadow: var(--sh-lg); display: flex; flex-direction: column; gap: 2px; z-index: 60;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
}
.nav__group:hover .nav__panel,
.nav__group.is-open .nav__panel { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__panel .nav__link { width: 100%; justify-content: flex-start; }

@media (max-width: 1180px) {
  /* inside the mobile burger menu: groups become labelled, always-open sections */
  .nav__group { display: flex; flex-direction: column; align-items: stretch; }
  .nav__group::after { display: none; }
  .nav__group__btn { justify-content: space-between; }
  .nav__panel {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-left: 2px solid var(--line-soft); background: transparent;
    min-width: 0; margin-left: 6px;
    max-height: 0; overflow: hidden; padding: 0 0 0 14px;
    transition: max-height .32s ease, padding .28s ease;
  }
  .nav__group.is-open .nav__panel { max-height: 60vh; padding: 2px 0 8px 14px; }
  .nav__panel .nav__link { font-size: 13px; }
  /* burger menu: ONLY tap (.is-open) toggles highlight + caret — never sticky :hover/:focus */
  .nav__group:hover .nav__group__btn,
  .nav__group:focus-within .nav__group__btn { background: transparent; color: inherit; }
  .nav__group:hover .nav__caret,
  .nav__group:focus-within .nav__caret { transform: none; }
  .nav__group.is-open .nav__group__btn { background: rgba(59,110,245,0.08); color: var(--accent-deep); }
  .nav__group.is-open .nav__caret { transform: rotate(180deg); }
}

/* =========================================================
   Economic Development — contribution callout
   ========================================================= */
.ed-callout { display: flex; align-items: center; gap: clamp(20px, 3vw, 34px); margin: clamp(26px, 3vw, 36px) 0; padding: clamp(24px, 3vw, 34px); border: 1px solid var(--line-soft); border-radius: var(--r-lg); background: var(--paper-2); }
.ed-callout__num { flex: none; font-family: var(--ff); font-weight: 800; font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.02em; line-height: 1; background: var(--grad-blue); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ed-callout__num span { font-size: 0.5em; font-weight: 700; letter-spacing: 0.02em; color: var(--muted); -webkit-text-fill-color: var(--muted); }
.ed-callout__text { margin: 0; font-size: 15px; line-height: 1.62; color: var(--ink); }
@media (max-width: 560px) { .ed-callout { flex-direction: column; align-items: flex-start; gap: 14px; } }

/* Advocacy — appeal signature */
.av-sign { margin-top: clamp(28px, 3vw, 40px); font-family: var(--ff); font-weight: 700; font-style: italic; color: var(--ink); }

/* History page — full client text in the pinned milestone component:
   taller window + frame and slightly smaller body so long entries fit. */
@media (min-width: 1025px) {
  .history--full .history__time { height: min(82vh, 680px); }
  .history--full .history__frame { height: min(82vh, 680px); }
}
.history--full .tline__text { font-size: 14px; line-height: 1.6; }
.history--full .tline__text + .tline__text { margin-top: 10px; }
.history__cta { margin-top: 22px; }

/* Leaders page — per-group column counts (Board & Branch = 3-up; Advisory keeps 4-up) */
@media (min-width: 1025px) {
  .team__grid--3 { grid-template-columns: repeat(3, 1fr); }
  .team__grid--3 .tcard__photo { aspect-ratio: 5 / 5.4; }
}

/* =========================================================
   History page — stacking milestone cards (photo + text),
   cards overlap on scroll (sticky stack)
   ========================================================= */
.stack { margin-top: clamp(40px, 5vw, 64px); }
.stackcard {
  position: sticky; top: calc(96px + var(--i, 0) * 12px);
  display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(26px, 3.4vw, 54px);
  align-items: center; background: var(--white); border: 1px solid var(--line-soft);
  border-radius: var(--r-lg); box-shadow: var(--sh-lg); padding: clamp(22px, 2.4vw, 36px);
  margin-bottom: clamp(28px, 4vh, 56px);
}
.stackcard:last-child { margin-bottom: 0; }
.stackcard__media { position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-2); }
.stackcard__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.stackcard__num { position: absolute; top: 18px; left: 18px; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(7,20,48,0.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.25); color: #fff; font-family: var(--ff); font-weight: 800; font-size: 15px; }
.stackcard__year { display: inline-block; font-family: var(--ff); font-weight: 800; font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-deep); }
.stackcard__title { font-family: var(--ff); font-weight: 700; font-size: clamp(21px, 1.9vw, 29px); letter-spacing: -0.025em; color: var(--ink); margin-top: 12px; }
.stackcard__text { font-size: 15px; line-height: 1.66; color: var(--muted); margin-top: 14px; }
.stackcard__text + .stackcard__text { margin-top: 12px; }
@media (max-width: 860px) {
  .stackcard { position: static; grid-template-columns: 1fr; gap: 22px; }
  .stackcard__media { aspect-ratio: 16 / 10; }
}

/* History stacking-cards section sits on a clean white background */
.stack-section { background: var(--white); }

/* =========================================================
   History page — milestones as a carousel (Swiper)
   ========================================================= */
.hcar { position: relative; margin-top: clamp(40px, 5vw, 64px); }
.hcar .swiper-slide { height: auto; }
.mcard { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(26px, 3.4vw, 54px); align-items: center; height: 100%; background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-lg); box-shadow: var(--sh-lg); padding: clamp(22px, 2.4vw, 40px); }
.mcard__media { position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-2); }
.mcard__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mcard__num { position: absolute; top: 18px; left: 18px; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(7,20,48,0.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.25); color: #fff; font-family: var(--ff); font-weight: 800; font-size: 15px; }
.mcard__year { display: inline-block; font-family: var(--ff); font-weight: 800; font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-deep); }
.mcard__title { font-family: var(--ff); font-weight: 700; font-size: clamp(21px, 1.9vw, 29px); letter-spacing: -0.025em; color: var(--ink); margin-top: 12px; }
.mcard__text { font-size: 15px; line-height: 1.66; color: var(--muted); margin-top: 14px; }
.mcard__text + .mcard__text { margin-top: 12px; }
.hcar__nav { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 30px; }
.hcar__btn { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--accent-deep); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .25s ease, color .25s ease, border-color .25s ease, transform .3s ease; }
.hcar__btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateY(-2px); }
.hcar__btn svg { width: 20px; height: 20px; }
.hcar__btn.swiper-button-disabled { opacity: .4; cursor: default; transform: none; background: var(--white); color: var(--accent-deep); border-color: var(--line); }
.hcar__count { min-width: 64px; text-align: center; font-family: var(--ff); font-weight: 700; font-size: 14px; letter-spacing: 0.04em; color: var(--muted); }
.hcar__count .swiper-pagination-current { color: var(--accent-deep); }
@media (max-width: 860px) {
  .mcard { grid-template-columns: 1fr; gap: 22px; }
  .mcard__media { aspect-ratio: 16 / 10; }
}

/* keep the fraction counter inside the nav row (override Swiper's absolute pagination) */
.hcar .hcar__count.swiper-pagination { position: static; width: auto; left: auto; bottom: auto; transform: none; }

/* carousel cards — no shadow */
.mcard { box-shadow: none; }

/* =========================================================
   Programs 2026–2027 — image cards (photo-ready placeholders)
   overrides the earlier text-only .pglist
   ========================================================= */
.pglist { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 26px); margin-top: clamp(36px, 4vw, 56px); }
.pgcard { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line-soft); border-radius: var(--r-md); background: var(--white); transition: transform .45s cubic-bezier(.16,1,.3,1), box-shadow .4s ease, border-color .3s ease; }
.pgcard:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: rgba(59,110,245,0.22); }
.pgcard__media { position: relative; aspect-ratio: 16 / 10; background: var(--paper-2); overflow: hidden; }
.pgcard__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pgcard__cat { position: absolute; top: 14px; left: 14px; z-index: 2; font-family: var(--ff); font-weight: 700; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; background: rgba(7,20,48,0.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.22); padding: 6px 12px; border-radius: 999px; }
.pgcard__body { padding: 22px 22px 26px; }
.pgcard__title { font-family: var(--ff); font-weight: 700; font-size: clamp(17px, 1.4vw, 20px); letter-spacing: -0.02em; color: var(--ink); }
.pgcard__text { font-size: 14px; line-height: 1.6; color: var(--muted); margin-top: 10px; }
@media (max-width: 900px) { .pglist { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pglist { grid-template-columns: 1fr; } }

/* program cards that link to a post */
a.pgcard { text-decoration: none; color: inherit; }
.pgcard__readmore { margin-top: 16px; }

/* program cards — equal layout: body fills height, "Read article" pinned to bottom */
.pgcard__body { flex: 1; display: flex; flex-direction: column; }
.pgcard__text { margin-bottom: 0; }
.pgcard__readmore { margin-top: auto; padding-top: 18px; }

/* About history — title and "view full history" button on one row */
.history__head-row { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; margin-top: 18px; }
.history__head-row .h-title { margin-top: 0; }
.history__head-row .history__cta { margin-top: 0; flex: none; }

/* program post — back link */
.post-back { display: inline-flex; align-items: center; gap: 9px; font-family: var(--ff); font-weight: 600; font-size: 14px; color: var(--accent-deep); margin-bottom: 22px; transition: gap .25s ease, color .25s ease; }
.post-back:hover { gap: 13px; color: var(--accent); }
.post-back .post-back__arrow { display: inline-block; transform: rotate(180deg); }

/* project/program detail — feature image above the stats */
.svc-figure { margin: 0 0 clamp(26px, 3vw, 40px); border-radius: var(--r-lg); overflow: hidden; box-shadow: none; aspect-ratio: 16 / 8; background: var(--paper-2); }
.svc-figure img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s cubic-bezier(.16,1,.3,1); }
.svc-figure:hover img { transform: scale(1.04); }

/* history carousel — "Read article" link on photo+article milestones */
.mcard__readmore { display: inline-flex; align-items: center; margin-top: 18px; }
