/* =========================================================
   TWIGA Health Care Foundation — site styles
   Mobile-first. Brand: navy #083157, teal #1395A6, green #22c55e
   ========================================================= */
:root {
  --navy: #083157;
  --navy-900: #04182c;
  --navy-700: #0b3d6b;
  --teal: #1395a6;
  --teal-600: #0e7a8a;
  --teal-50: #e8f6f8;
  --green: #22c55e;
  --green-600: #16a34a;
  --coral: #ff6b4a;
  --ink: #0f1b2d;
  --body: #3d4b5f;
  --muted: #6b7a90;
  --line: #e4eaf1;
  --bg: #ffffff;
  --bg-soft: #f4f8fb;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(8, 49, 87, .06);
  --shadow: 0 18px 50px -18px rgba(8, 49, 87, .25);
  --shadow-lg: 0 40px 80px -30px rgba(8, 49, 87, .35);
  --grad: linear-gradient(135deg, #1395a6 0%, #0e7a8a 45%, #083157 100%);
  --grad-green: linear-gradient(135deg, #22c55e, #1395a6);
  --header-h: 72px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Fraunces', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 15.5px; line-height: 1.7; color: var(--body);
  background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; transition: color .2s; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(1.9rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.4rem); }
h3 { font-size: clamp(1.08rem, 2vw, 1.3rem); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -.01em; }
.grad-text { background: var(--grad-green); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 2000; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid rgba(19, 149, 166, .55); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }
.section { padding: 72px 0; position: relative; }
@media (min-width: 900px) { .section { padding: 112px 0; } }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--navy-900); color: #b9c7d8; }
.section-dark h2, .section-dark h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow.light { color: #7fe3b0; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ''; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head p { font-size: 1.07rem; color: var(--muted); }
.section-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.section-head-row .section-head { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--teal); display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: .95rem; line-height: 1; border: 2px solid transparent;
  cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s; white-space: nowrap; font-family: inherit;
}
.btn i { transition: transform .35s var(--ease); }
.btn:hover i.fa-arrow-right { transform: translateX(4px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 12px 30px -12px rgba(19, 149, 166, .7); }
.btn-primary:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 20px 40px -14px rgba(19, 149, 166, .8); }
.btn-green { background: var(--grad-green); color: #fff; box-shadow: 0 12px 30px -12px rgba(34, 197, 94, .6); }
.btn-green:hover { color: #fff; transform: translateY(-3px); }
.btn-ghost { background: transparent; color: var(--navy); border-color: rgba(8, 49, 87, .18); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-3px); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { color: var(--teal); transform: translateY(-3px); box-shadow: var(--shadow); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn-outline-light:hover { color: var(--navy); background: #fff; border-color: #fff; transform: translateY(-3px); }
.btn-sm { padding: 10px 18px; font-size: .85rem; }
.btn-block { width: 100%; }
.link-arrow { font-weight: 700; display: inline-flex; align-items: center; gap: 8px; color: var(--teal); }
.link-arrow i { transition: transform .3s var(--ease); }
.link-arrow:hover i { transform: translateX(5px); }

/* ---------- Header ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 1300; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 0; background: var(--grad-green); transition: width .1s linear; }
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--header-h);
  background: rgba(255, 255, 255, .82); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(8, 49, 87, .06); transition: box-shadow .3s, background .3s, transform .45s var(--ease);
}
.site-header.scrolled { background: rgba(255, 255, 255, .95); box-shadow: 0 10px 30px -15px rgba(8, 49, 87, .25); }
.site-header.hide { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; gap: 16px; height: 100%; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy); flex-shrink: 0; }
.brand img { height: 40px; width: auto; }
.brand-text { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 5px; line-height: 1.05; max-width: 150px; }
.brand-text strong { font-size: 1.12rem; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.brand-text em { font-style: normal; font-size: 1.12rem; font-weight: 800; color: var(--teal); letter-spacing: -.02em; }
.brand-text small { flex-basis: 100%; font-size: .62rem; font-weight: 800; letter-spacing: .32em; color: var(--green-600); text-transform: uppercase; margin-top: 3px; }
.brand-light .brand-text strong { color: #fff; }
.brand-light .brand-text em { color: #6fd6e3; }
.brand-light img { background: #fff; border-radius: 12px; padding: 4px 6px; height: 48px; }
.main-nav { display: none; }
.btn-donate { margin-left: auto; padding: 10px 16px; font-size: .85rem; background: var(--grad-green); color: #fff; box-shadow: 0 10px 24px -10px rgba(34, 197, 94, .7); }
.btn-donate:hover { color: #fff; transform: translateY(-2px); }
.btn-donate i { animation: beat 2.4s ease-in-out infinite; }
@keyframes beat { 0%, 60%, 100% { transform: scale(1); } 30% { transform: scale(1.22); } 45% { transform: scale(.95); } }
.menu-toggle { width: 46px; height: 46px; border: 0; background: var(--bg-soft); border-radius: 14px; display: grid; place-content: center; gap: 5px; cursor: pointer; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .4s var(--ease), opacity .3s; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 420px) { .btn-donate span { display: none; } .btn-donate { padding: 12px; } .brand-text { max-width: 120px; } }

@media (min-width: 1100px) {
  :root { --header-h: 84px; }
  .menu-toggle { display: none; }
  .brand img { height: 46px; }
  .main-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
  .btn-donate { margin-left: 14px; padding: 12px 22px; }
  .main-nav > a, .has-sub > a {
    display: inline-flex; align-items: center; gap: 6px; padding: 10px 13px; font-size: .9rem; font-weight: 600; color: var(--ink);
    border-radius: 999px; position: relative;
  }
  .main-nav > a:hover, .has-sub:hover > a { color: var(--teal); background: var(--teal-50); }
  .main-nav a.active { color: var(--teal); }
  .main-nav > a.active::after, .has-sub > a.active::after {
    content: ''; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; border-radius: 50%; background: var(--green); transform: translateX(-50%);
  }
  .has-sub { position: relative; }
  .has-sub i.fa-chevron-down { font-size: .6rem; transition: transform .3s; }
  .has-sub:hover i.fa-chevron-down { transform: rotate(180deg); }
  .sub {
    position: absolute; top: calc(100% + 10px); left: 50%; min-width: 290px; padding: 10px; background: #fff; border-radius: 20px;
    box-shadow: var(--shadow-lg); border: 1px solid var(--line); opacity: 0; visibility: hidden;
    transform: translate(-50%, 12px); transition: all .35s var(--ease);
  }
  .sub::before { content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
  .has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .sub a { display: flex; gap: 14px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; color: var(--ink); font-weight: 700; font-size: .92rem; line-height: 1.3; }
  .sub a i { width: 38px; height: 38px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; background: var(--teal-50); color: var(--teal); transition: all .3s; }
  .sub a small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; margin-top: 3px; }
  .sub a:hover { background: var(--bg-soft); }
  .sub a:hover i { background: var(--teal); color: #fff; transform: rotate(-8deg); }
}

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 990; background: var(--navy-900); color: #fff; padding: calc(var(--header-h) + 18px) 0 30px;
  clip-path: circle(0% at calc(100% - 40px) 36px); transition: clip-path .7s var(--ease); overflow-y: auto; visibility: hidden;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 36px); visibility: visible; }
.menu-open { overflow: hidden; }
.menu-open .site-header { background: #fff; }
.mobile-menu-inner { max-width: 560px; margin: 0 auto; padding: 0 22px; }
.mobile-menu nav a {
  display: flex; align-items: baseline; gap: 16px; font-size: 1.65rem; font-weight: 800; color: #fff; padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .07); letter-spacing: -.02em;
  opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .6s var(--ease), color .2s;
}
.mobile-menu nav a span { font-size: .75rem; color: #6fd6e3; font-weight: 700; letter-spacing: .1em; }
.mobile-menu nav a.active, .mobile-menu nav a:hover { color: #7fe3b0; }
.menu-open .mobile-menu nav a { opacity: 1; transform: none; }
.menu-open .mobile-menu nav a:nth-child(1) { transition-delay: .12s; }
.menu-open .mobile-menu nav a:nth-child(2) { transition-delay: .16s; }
.menu-open .mobile-menu nav a:nth-child(3) { transition-delay: .2s; }
.menu-open .mobile-menu nav a:nth-child(4) { transition-delay: .24s; }
.menu-open .mobile-menu nav a:nth-child(5) { transition-delay: .28s; }
.menu-open .mobile-menu nav a:nth-child(6) { transition-delay: .32s; }
.menu-open .mobile-menu nav a:nth-child(7) { transition-delay: .36s; }
.menu-open .mobile-menu nav a:nth-child(8) { transition-delay: .4s; }
.mobile-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; }
.mobile-chips a { padding: 9px 16px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: #fff; font-weight: 600; font-size: .9rem; }
.mobile-social { display: flex; gap: 10px; margin-top: 22px; justify-content: center; }
.mobile-social a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; }

/* ---------- Hero slider ---------- */
.hero { position: relative; height: 100svh; min-height: 600px; max-height: 980px; overflow: hidden; background: var(--navy-900); color: #fff; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.2s ease, visibility 1.2s; }
.hero-slide.active { opacity: 1; visibility: visible; z-index: 1; }
.hero-slide .bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.12); }
.hero-slide.active .bg { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.14) translate3d(0, 0, 0); } to { transform: scale(1.02) translate3d(-1%, -1%, 0); } }
.hero-slide::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4, 24, 44, .35) 0%, rgba(4, 24, 44, .15) 30%, rgba(4, 24, 44, .78) 78%, rgba(4, 24, 44, .95) 100%),
              linear-gradient(90deg, rgba(4, 24, 44, .65) 0%, rgba(4, 24, 44, 0) 65%);
}
.hero-content { position: absolute; inset: auto 0 0 0; z-index: 2; padding-bottom: 120px; }
.hero-content .container > * { max-width: 760px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; font-size: .8rem; font-weight: 700;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(8px); margin-bottom: 20px; letter-spacing: .04em;
}
.hero-tag i { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: #fff; font-size: .75rem; }
.hero h1, .hero .h1 { color: #fff; font-size: clamp(2rem, 6vw, 3.9rem); line-height: 1.06; letter-spacing: -.035em; margin-bottom: 18px; }
.hero h1 .serif, .hero .h1 .serif { color: #7fe3b0; font-weight: 500; }
.hero p.lead { font-size: clamp(1rem, 2.2vw, 1.2rem); color: rgba(255, 255, 255, .85); max-width: 600px; margin-bottom: 30px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-slide .anim { opacity: 0; transform: translateY(40px); }
.hero-slide.active .anim { animation: rise 1s var(--ease) forwards; }
.hero-slide.active .anim.d1 { animation-delay: .25s; }
.hero-slide.active .anim.d2 { animation-delay: .45s; }
.hero-slide.active .anim.d3 { animation-delay: .65s; }
.hero-slide.active .anim.d4 { animation-delay: .85s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero-controls { position: absolute; z-index: 3; left: 0; right: 0; bottom: 34px; }
.hero-controls .container { display: flex; align-items: center; gap: 18px; }
.hero-dots { display: flex; gap: 8px; flex: 1; max-width: 520px; }
.hero-dot { flex: 1; height: 4px; border: 0; padding: 0; border-radius: 4px; background: rgba(255, 255, 255, .25); cursor: pointer; overflow: hidden; position: relative; }
.hero-dot span { position: absolute; inset: 0; width: 0; background: #fff; border-radius: 4px; }
.hero-dot.active span { animation: fill var(--slide-ms, 7000ms) linear forwards; }
.hero-dot.done span { width: 100%; }
@keyframes fill { to { width: 100%; } }
.hero-arrows { display: flex; gap: 8px; margin-left: auto; }
.hero-arrows button {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08);
  color: #fff; cursor: pointer; backdrop-filter: blur(6px); transition: all .3s;
}
.hero-arrows button:hover { background: #fff; color: var(--navy); }
.hero-count { font-weight: 700; font-size: .85rem; color: rgba(255, 255, 255, .7); letter-spacing: .1em; min-width: 56px; }
.hero-count b { color: #fff; font-size: 1.1rem; }
.scroll-cue { position: absolute; z-index: 3; right: 24px; bottom: 110px; display: none; flex-direction: column; align-items: center; gap: 10px; color: rgba(255, 255, 255, .7); font-size: .7rem; letter-spacing: .25em; text-transform: uppercase; writing-mode: vertical-rl; }
.scroll-cue::after { content: ''; width: 1px; height: 60px; background: linear-gradient(#fff, transparent); animation: cue 2s ease-in-out infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (min-width: 900px) { .scroll-cue { display: flex; } .hero-content { padding-bottom: 150px; } }
@media (max-width: 600px) { .hero-arrows { display: none; } .hero-content { padding-bottom: 96px; } .hero-btns .btn { flex: 1; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + 70px) 0 80px; color: #fff; overflow: hidden; background: var(--navy-900); isolation: isolate; }
.page-hero .bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: -2; transform: scale(1.08); animation: heroZoom 14s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, rgba(4, 24, 44, .94) 0%, rgba(8, 49, 87, .8) 45%, rgba(19, 149, 166, .45) 100%); }
.page-hero h1 { color: #fff; max-width: 900px; animation: rise 1s var(--ease) .1s both; }
.page-hero h1 .serif { color: #7fe3b0; }
.page-hero p { font-size: 1.12rem; color: rgba(255, 255, 255, .82); max-width: 680px; animation: rise 1s var(--ease) .25s both; margin: 0; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: rgba(255, 255, 255, .7); margin-bottom: 18px; animation: rise 1s var(--ease) both; flex-wrap: wrap; }
.crumbs a { color: rgba(255, 255, 255, .85); }
.crumbs a:hover { color: #fff; }
.crumbs i { font-size: .6rem; opacity: .6; }
.page-hero .shape { position: absolute; border-radius: 50%; filter: blur(2px); z-index: -1; opacity: .55; }
.page-hero .shape.s1 { width: 340px; height: 340px; right: -80px; top: -60px; background: radial-gradient(circle, rgba(34, 197, 94, .45), transparent 70%); animation: float 9s ease-in-out infinite; }
.page-hero .shape.s2 { width: 220px; height: 220px; right: 22%; bottom: -90px; background: radial-gradient(circle, rgba(19, 149, 166, .6), transparent 70%); animation: float 11s ease-in-out infinite reverse; }
@keyframes float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-20px, 25px); } }
.wave { position: absolute; left: 0; right: 0; bottom: -1px; height: 50px; color: #fff; z-index: 1; }
.wave.soft { color: var(--bg-soft); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.from-left { transform: translateX(-40px); }
.reveal.from-right { transform: translateX(40px); }
.reveal.zoom { transform: scale(.92); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Stats ---------- */
.stats-band { position: relative; z-index: 5; margin-top: -60px; }
.stats-card {
  display: grid; grid-template-columns: repeat(2, 1fr); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  overflow: hidden; border: 1px solid var(--line);
}
.stat { padding: 26px 18px; text-align: center; position: relative; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat:nth-child(3) { border-left: 0; }
.stat:nth-child(n+3) { border-top: 1px solid var(--line); }
.stat .num { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; color: var(--navy); letter-spacing: -.04em; line-height: 1; }
.stat .num span { background: var(--grad-green); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat p { margin: 8px 0 0; font-size: .88rem; font-weight: 600; color: var(--muted); }
.stat i { color: var(--teal); font-size: 1.2rem; margin-bottom: 10px; display: block; }
@media (min-width: 800px) {
  .stats-card { grid-template-columns: repeat(4, 1fr); }
  .stat { padding: 36px 22px; }
  .stat:nth-child(3) { border-left: 1px solid var(--line); }
  .stat:nth-child(n+3) { border-top: 0; }
}

/* ---------- Grids ---------- */
.grid { display: grid; gap: 22px; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } .grid { gap: 28px; } }
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 80px; } .split.wide-left { grid-template-columns: 1.15fr .85fr; } }

/* ---------- About / VMV ---------- */
.about-visual { position: relative; padding: 0 0 40px 0; }
.about-visual .img-main { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; max-height: 560px; width: 85%; }
.about-visual .img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-visual .img-float { position: absolute; right: 0; bottom: 0; width: 48%; border-radius: 22px; overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow-lg); aspect-ratio: 1; animation: float 8s ease-in-out infinite; }
.about-visual .img-float img { width: 100%; height: 100%; object-fit: cover; }
.about-visual .badge-float {
  position: absolute; left: -6px; top: 30px; background: #fff; border-radius: 18px; padding: 14px 18px; display: flex; gap: 12px; align-items: center;
  box-shadow: var(--shadow); font-weight: 700; color: var(--navy); font-size: .9rem; line-height: 1.25; animation: float 7s ease-in-out infinite reverse;
}
.about-visual .badge-float i { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-green); color: #fff; }
.check-list { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--ink); }
.check-list li i { color: var(--green-600); margin-top: 5px; }

.vmv-grid { display: grid; gap: 22px; }
@media (min-width: 900px) { .vmv-grid { grid-template-columns: repeat(3, 1fr); } }
.vmv-card {
  position: relative; padding: 36px 30px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line);
  overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.vmv-card::before { content: ''; position: absolute; inset: 0; background: var(--grad); opacity: 0; transition: opacity .5s; z-index: 0; }
.vmv-card > * { position: relative; z-index: 1; }
.vmv-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.vmv-card:hover::before { opacity: 1; }
.vmv-card:hover h3, .vmv-card:hover p { color: #fff; }
.vmv-card:hover .vmv-icon { background: rgba(255, 255, 255, .15); color: #fff; }
.vmv-card .vmv-icon { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; font-size: 1.5rem; background: var(--teal-50); color: var(--teal); margin-bottom: 22px; transition: all .5s; }
.vmv-card h3 { transition: color .4s; }
.vmv-card p { margin: 0; transition: color .4s; font-size: 1.02rem; }
.vmv-card .big-num { position: absolute; right: 22px; top: 12px; font-size: 5rem; font-weight: 800; color: rgba(8, 49, 87, .04); line-height: 1; z-index: 0; }
.vmv-card:hover .big-num { color: rgba(255, 255, 255, .08); }

/* ---------- Cards (articles) ---------- */
.card {
  background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease); height: 100%; color: inherit;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); color: inherit; }
.card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card-media img { transform: scale(1.08); }
.card-media .chip { position: absolute; left: 14px; top: 14px; }
.card-media .play-badge {
  position: absolute; right: 14px; bottom: 14px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .95); color: #e11d2a; box-shadow: var(--shadow);
}
.card-media .count-badge { position: absolute; right: 14px; top: 14px; background: rgba(4, 24, 44, .7); color: #fff; padding: 5px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; backdrop-filter: blur(6px); }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .8rem; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.card-meta i { color: var(--teal); margin-right: 4px; }
.card h3 { font-size: 1.15rem; margin-bottom: 10px; transition: color .3s; }
.card:hover h3 { color: var(--teal); }
.card p { font-size: .95rem; color: var(--muted); margin-bottom: 18px; }
.card .link-arrow { margin-top: auto; font-size: .9rem; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: rgba(255, 255, 255, .95); color: var(--navy); box-shadow: var(--shadow-sm); }
.chip.teal { background: var(--teal); color: #fff; }
.chip.green { background: var(--green); color: #fff; }
.chip.soft { background: var(--teal-50); color: var(--teal-600); box-shadow: none; }

/* Featured article */
.feature-card { display: grid; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-900); color: #fff; box-shadow: var(--shadow-lg); min-height: 420px; position: relative; isolation: isolate; }
.feature-card .fc-media { position: absolute; inset: 0; z-index: -1; }
.feature-card .fc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.feature-card:hover .fc-media img { transform: scale(1.06); }
.feature-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 24, 44, .1) 20%, rgba(4, 24, 44, .92) 100%); }
.feature-card .fc-body { align-self: end; padding: 28px; }
.feature-card h3 { color: #fff; font-size: clamp(1.4rem, 3vw, 2.1rem); }
.feature-card p { color: rgba(255, 255, 255, .8); max-width: 620px; }
.feature-card .card-meta { color: rgba(255, 255, 255, .75); }
.feature-card .card-meta i { color: #7fe3b0; }
.feature-card:hover { color: #fff; }
@media (min-width: 900px) { .feature-card .fc-body { padding: 44px; } }

.latest-grid { display: grid; gap: 24px; }
@media (min-width: 1000px) { .latest-grid { grid-template-columns: 1.25fr 1fr; } .latest-side { display: grid; gap: 18px; } }
.mini-card { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; padding: 12px; border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: all .4s var(--ease); color: inherit; }
.mini-card:hover { transform: translateX(6px); box-shadow: var(--shadow); color: inherit; border-color: transparent; }
.mini-card .mc-img { aspect-ratio: 1; border-radius: 14px; overflow: hidden; position: relative; }
.mini-card .mc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mini-card:hover .mc-img img { transform: scale(1.1); }
.mini-card h4 { font-size: 1rem; margin: 6px 0 6px; line-height: 1.3; transition: color .3s; }
.mini-card:hover h4 { color: var(--teal); }
.mini-card .card-meta { margin: 0; font-size: .75rem; }
@media (min-width: 640px) { .mini-card { grid-template-columns: 150px 1fr; } }
.latest-side .mini-card { height: 100%; }

/* ---------- Stories ---------- */
.stories-wrap { position: relative; }
.story-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3 / 4; display: block; color: #fff; isolation: isolate; box-shadow: var(--shadow); }
.story-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.story-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(4, 24, 44, .95) 100%); transition: opacity .5s; }
.story-card:hover img { transform: scale(1.08); }
.story-card .sc-body { position: absolute; inset: auto 0 0 0; padding: 26px; transform: translateY(30px); transition: transform .6s var(--ease); }
.story-card:hover .sc-body { transform: none; }
.story-card .quote-mark { font-family: var(--serif); font-size: 4rem; line-height: .6; color: #7fe3b0; display: block; height: 30px; }
.story-card h3 { color: #fff; font-size: 1.25rem; margin: 6px 0 10px; }
.story-card .sc-more { opacity: 0; transition: opacity .5s .1s; font-weight: 700; color: #7fe3b0; font-size: .9rem; }
.story-card:hover .sc-more { opacity: 1; }
.story-card:hover { color: #fff; }
@media (hover: none) { .story-card .sc-body { transform: none; } .story-card .sc-more { opacity: 1; } }

.h-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 18px; margin: 0 -16px; scrollbar-width: none; }
.h-scroll::-webkit-scrollbar { display: none; }
.h-scroll > * { scroll-snap-align: start; }
@media (min-width: 640px) { .h-scroll { grid-auto-columns: 46%; } }
@media (min-width: 1000px) { .h-scroll { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 0; padding: 0; gap: 24px; } .h-scroll.cols-3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Programmes ---------- */
.prog-card {
  position: relative; padding: 30px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden;
  transition: all .5s var(--ease); display: flex; flex-direction: column; color: inherit; height: 100%; isolation: isolate;
}
.prog-card .pc-bg { position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .6s; }
.prog-card .pc-bg img { width: 100%; height: 100%; object-fit: cover; }
.prog-card .pc-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(8, 49, 87, .9), rgba(19, 149, 166, .88)); }
.prog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; color: #fff; }
.prog-card:hover .pc-bg { opacity: 1; }
.prog-card .pc-icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; font-size: 1.45rem; background: var(--teal-50); color: var(--teal); margin-bottom: 20px; transition: all .5s var(--ease); }
.prog-card:hover .pc-icon { background: #fff; color: var(--teal); transform: rotate(-8deg) scale(1.05); }
.prog-card h3 { font-size: 1.12rem; transition: color .4s; }
.prog-card p { font-size: .92rem; color: var(--muted); transition: color .4s; margin-bottom: 18px; }
.prog-card:hover h3, .prog-card:hover p { color: #fff; }
.prog-card .pc-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: .85rem; color: var(--teal); }
.prog-card:hover .pc-foot { color: #7fe3b0; }
.prog-card .pc-num { position: absolute; right: 18px; top: 14px; font-weight: 800; font-size: .8rem; color: var(--line); letter-spacing: .1em; }
.prog-card:hover .pc-num { color: rgba(255, 255, 255, .4); }

.prog-row { display: grid; gap: 30px; align-items: center; padding: 34px 0; }
.prog-row + .prog-row { border-top: 1px solid var(--line); }
.prog-row .pr-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.prog-row .pr-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.prog-row:hover .pr-media img { transform: scale(1.06); }
.prog-row .pr-media .pc-icon { position: absolute; left: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: #fff; color: var(--teal); font-size: 1.4rem; box-shadow: var(--shadow); }
.prog-row .pr-num { font-size: .85rem; font-weight: 800; color: var(--teal); letter-spacing: .15em; }
.prog-row h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); margin-top: 6px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 24px; padding: 0; list-style: none; }
.tag-list li { padding: 8px 14px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--navy); }
.tag-list li i { color: var(--green-600); margin-right: 6px; }
@media (min-width: 900px) {
  .prog-row { grid-template-columns: 1fr 1fr; gap: 64px; padding: 56px 0; }
  .prog-row:nth-child(even) .pr-media { order: 2; }
}

/* Approach */
.approach { display: grid; gap: 20px; counter-reset: ap; }
@media (min-width: 900px) { .approach { grid-template-columns: repeat(3, 1fr); } }
.approach-item { padding: 34px 30px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); transition: all .5s var(--ease); position: relative; overflow: hidden; }
.approach-item:hover { background: rgba(255, 255, 255, .09); transform: translateY(-6px); }
.approach-item i { font-size: 1.7rem; color: #7fe3b0; margin-bottom: 18px; display: block; }
.approach-item h3 { color: #fff; font-size: 1.5rem; }
.approach-item p { margin: 0; }
.approach-item::after { counter-increment: ap; content: '0' counter(ap); position: absolute; right: 24px; top: 18px; font-weight: 800; font-size: 3.4rem; color: rgba(255, 255, 255, .05); line-height: 1; }

/* Marquee */
.marquee { overflow: hidden; padding: 26px 0; background: var(--navy); color: #fff; position: relative; }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; font-size: clamp(1.1rem, 2.6vw, 1.7rem); font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.marquee span i { color: var(--green); font-size: .9em; }
.marquee span .serif { color: #7fe3b0; font-weight: 500; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Quote */
.quote-band { position: relative; overflow: hidden; isolation: isolate; color: #fff; text-align: center; }
.quote-band .bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: -2; background-attachment: fixed; }
@supports (-webkit-touch-callout: none) { .quote-band .bg { background-attachment: scroll; } }
.quote-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, rgba(4, 24, 44, .92), rgba(14, 122, 138, .85)); }
.quote-band blockquote { margin: 0 auto; max-width: 900px; font-family: var(--serif); font-style: italic; font-size: clamp(1.35rem, 3vw, 2.1rem); line-height: 1.38; color: #fff; }
.quote-band blockquote::before { content: '“'; display: block; font-size: 5rem; line-height: .7; color: #7fe3b0; margin-bottom: 10px; }
.quote-band cite { display: block; margin-top: 26px; font-style: normal; font-weight: 700; color: #7fe3b0; letter-spacing: .04em; }
.quote-band cite small { display: block; color: rgba(255, 255, 255, .7); font-weight: 500; margin-top: 4px; }

/* Partners */
.partner-band { display: grid; gap: 30px; align-items: center; padding: 40px; border-radius: var(--radius-lg); background: var(--grad); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.partner-band::before { content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%; right: -120px; top: -160px; background: radial-gradient(circle, rgba(255, 255, 255, .16), transparent 70%); z-index: -1; animation: float 10s ease-in-out infinite; }
.partner-band h2 { color: #fff; }
.partner-band p { color: rgba(255, 255, 255, .85); }
@media (min-width: 900px) { .partner-band { grid-template-columns: 1.2fr .8fr; padding: 64px; } }
.partner-logos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.partner-logos .pl { background: #fff; border-radius: 18px; padding: 18px; display: grid; place-items: center; min-height: 96px; color: var(--navy); font-weight: 800; text-align: center; font-size: .9rem; line-height: 1.3; box-shadow: var(--shadow); transition: transform .4s var(--ease); }
.partner-logos .pl:hover { transform: translateY(-4px) rotate(-1deg); }
.partner-logos .pl small { display: block; font-weight: 600; color: var(--muted); font-size: .72rem; }
.partner-logos .pl.ghost { background: rgba(255, 255, 255, .1); color: #fff; border: 1px dashed rgba(255, 255, 255, .4); box-shadow: none; }
.partner-logos .pl.ghost small { color: rgba(255, 255, 255, .7); }

/* CTA */
.cta-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; padding: 56px 28px; text-align: center; color: #fff; isolation: isolate; }
.cta-band .bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.cta-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, rgba(4, 24, 44, .9), rgba(19, 149, 166, .8)); }
.cta-band h2 { color: #fff; max-width: 760px; margin: 0 auto 14px; }
.cta-band p { max-width: 620px; margin: 0 auto 28px; color: rgba(255, 255, 255, .85); }
.cta-band .hero-btns { justify-content: center; }
@media (min-width: 900px) { .cta-band { padding: 90px 60px; } }

/* ---------- Newsletter / footer ---------- */
.newsletter-band { background: var(--grad); color: #fff; padding: 56px 0; position: relative; overflow: hidden; }
.newsletter-band::after { content: ''; position: absolute; width: 380px; height: 380px; border-radius: 50%; left: -120px; bottom: -220px; background: rgba(255, 255, 255, .07); }
.newsletter-inner { display: grid; gap: 26px; align-items: center; position: relative; z-index: 1; }
.newsletter-band h2 { color: #fff; margin-bottom: 6px; font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
.newsletter-band p { color: rgba(255, 255, 255, .85); margin: 0; }
.newsletter-form { display: flex; flex-wrap: wrap; gap: 10px; background: rgba(255, 255, 255, .12); padding: 8px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(6px); }
.newsletter-form input[type=email] { flex: 1; min-width: 0; border: 0; background: transparent; color: #fff; font: inherit; padding: 10px 16px; outline: none; }
.newsletter-form input::placeholder { color: rgba(255, 255, 255, .7); }
.newsletter-form .nl-msg { flex-basis: 100%; margin: 4px 16px 4px; font-weight: 600; }
@media (min-width: 900px) { .newsletter-inner { grid-template-columns: 1fr 1fr; gap: 60px; } }
@media (max-width: 480px) { .newsletter-form { border-radius: 22px; } .newsletter-form .btn { width: 100%; } }

.site-footer { background: var(--navy-900); color: #93a6bd; padding: 70px 0 calc(28px + env(safe-area-inset-bottom)); font-size: .93rem; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1fr 1fr; }
.footer-brand, .footer-contact { grid-column: 1 / -1; }
.footer-brand p { margin: 18px 0; max-width: 380px; }
.footer-col h4, .footer-contact h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a { display: block; color: #93a6bd; padding: 5px 0; transition: color .2s, transform .3s var(--ease); }
.footer-col a:hover { color: #7fe3b0; transform: translateX(4px); }
.footer-contact p { display: flex; gap: 12px; margin-bottom: 10px; }
.footer-contact i { color: #6fd6e3; margin-top: 5px; width: 16px; }
.footer-contact a { color: #93a6bd; word-break: break-word; }
.footer-contact a:hover { color: #fff; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .06); color: #fff; transition: all .3s var(--ease); }
.footer-social a:hover { background: var(--teal); transform: translateY(-4px); color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 50px; padding-top: 24px; font-size: .82rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #93a6bd; }
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr 1.5fr; }
  .footer-brand, .footer-contact { grid-column: auto; }
}

.mobile-donate-bar {
  position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 900; display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px; border-radius: 999px; background: var(--grad-green); color: #fff; font-weight: 800; box-shadow: 0 18px 40px -12px rgba(4, 24, 44, .5);
  transform: translateY(150%); transition: transform .5s var(--ease);
}
.mobile-donate-bar.show { transform: none; }
.mobile-donate-bar:hover { color: #fff; }
@media (min-width: 900px) { .mobile-donate-bar { display: none; } }
.to-top { position: fixed; right: 18px; bottom: 22px; z-index: 900; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; cursor: pointer; box-shadow: var(--shadow); opacity: 0; transform: translateY(20px); transition: all .4s var(--ease); display: none; }
.to-top.show { opacity: 1; transform: none; }
.to-top:hover { background: var(--teal); }
@media (min-width: 900px) { .to-top { display: block; } }

/* ---------- Video ---------- */
.video-card { border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-900); box-shadow: var(--shadow-lg); margin: 30px 0; }
.video-cover { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; cursor: pointer; background: #000; overflow: hidden; }
.video-cover img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform 1s var(--ease), opacity .4s; }
.video-cover:hover img { transform: scale(1.05); opacity: 1; }
.play-btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 84px; height: 84px; border-radius: 50%; background: #fff; color: #e11d2a; display: grid; place-items: center; font-size: 1.6rem; box-shadow: 0 0 0 0 rgba(255, 255, 255, .6); animation: pulse 2.2s infinite; padding-left: 5px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .55); } 70% { box-shadow: 0 0 0 26px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
.video-label { position: absolute; left: 16px; bottom: 16px; padding: 8px 14px; border-radius: 999px; background: rgba(4, 24, 44, .75); color: #fff; font-weight: 700; font-size: .82rem; backdrop-filter: blur(6px); }
.video-label i { color: #ff3b3b; margin-right: 4px; }
.video-actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 14px; background: var(--navy-900); }
.video-actions .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .25); }
.video-actions .btn-ghost:hover { color: #fff; border-color: #ff3b3b; background: #ff3b3b; }
.video-actions .btn { flex: 1; }
@media (min-width: 640px) { .video-actions .btn { flex: 0 0 auto; } }

.modal { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 16px; visibility: hidden; opacity: 0; transition: opacity .35s, visibility .35s; }
.modal.open { visibility: visible; opacity: 1; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(2, 12, 24, .88); backdrop-filter: blur(8px); }
.modal-box { position: relative; width: min(1100px, 100%); transform: scale(.94); transition: transform .45s var(--ease); }
.modal.open .modal-box { transform: none; }
.video-frame { aspect-ratio: 16 / 9; background: #000; border-radius: 18px; overflow: hidden; box-shadow: 0 40px 100px rgba(0, 0, 0, .6); }
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.modal-close { position: absolute; right: 0; top: -56px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); font-size: 1.1rem; cursor: pointer; }
.modal-actions { display: flex; justify-content: center; margin-top: 16px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(2, 12, 24, .95); display: grid; place-items: center; visibility: hidden; opacity: 0; transition: opacity .35s, visibility .35s; padding: 60px 12px; }
.lightbox.open { visibility: visible; opacity: 1; }
.lightbox figure { margin: 0; max-width: min(1200px, 100%); text-align: center; }
.lightbox img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); animation: lbIn .45s var(--ease); }
@keyframes lbIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.lightbox figcaption { color: #cfd9e5; margin-top: 14px; font-size: .95rem; }
.lightbox button { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; font-size: 1.1rem; cursor: pointer; transition: background .3s; }
.lightbox button:hover { background: var(--teal); }
.lb-close { right: 16px; top: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; left: 50%; top: 26px; transform: translateX(-50%); color: #cfd9e5; font-weight: 700; font-size: .85rem; letter-spacing: .1em; }
@media (max-width: 640px) { .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; } .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); } }

/* ---------- Galleries ---------- */
.photo-grid { columns: 2 160px; column-gap: 12px; }
.photo-grid a { display: block; margin-bottom: 12px; border-radius: 14px; overflow: hidden; position: relative; break-inside: avoid; }
.photo-grid img { width: 100%; transition: transform .9s var(--ease), filter .5s; }
.photo-grid a::after { content: '\f00e'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 1.4rem; background: rgba(8, 49, 87, .45); opacity: 0; transition: opacity .4s; }
.photo-grid a:hover img { transform: scale(1.06); }
.photo-grid a:hover::after { opacity: 1; }
.photo-grid figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; color: #fff; font-size: .82rem; font-weight: 600; background: linear-gradient(transparent, rgba(4, 24, 44, .85)); z-index: 1; }
@media (min-width: 900px) { .photo-grid { columns: 3 220px; column-gap: 16px; } .photo-grid a { margin-bottom: 16px; } }
.photo-grid.big { columns: 2 140px; }
@media (min-width: 900px) { .photo-grid.big { columns: 4 200px; } }

.filters { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 14px; margin-bottom: 26px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filters a, .filters button { flex-shrink: 0; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy); font-weight: 700; font-size: .88rem; cursor: pointer; transition: all .3s; font-family: inherit; }
.filters a:hover, .filters button:hover { border-color: var(--teal); color: var(--teal); }
.filters a.active, .filters button.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.filters .count { opacity: .6; margin-left: 4px; font-size: .8em; }

/* ---------- Article ---------- */
.article-hero { position: relative; padding: calc(var(--header-h) + 50px) 0 0; background: var(--navy-900); color: #fff; overflow: hidden; }
.article-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 80% 0%, rgba(19, 149, 166, .35), transparent 60%), radial-gradient(ellipse at 0% 100%, rgba(34, 197, 94, .18), transparent 50%); }
.article-hero .container { position: relative; }
.article-hero h1 { color: #fff; font-size: clamp(1.65rem, 4.2vw, 2.8rem); max-width: 980px; animation: rise 1s var(--ease) .1s both; }
.article-hero .card-meta { color: rgba(255, 255, 255, .75); font-size: .9rem; margin: 18px 0 34px; animation: rise 1s var(--ease) .25s both; }
.article-hero .card-meta i { color: #7fe3b0; }
.article-cover { position: relative; border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden; max-height: 620px; aspect-ratio: 16 / 9; animation: rise 1.1s var(--ease) .35s both; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-layout { display: grid; gap: 40px; padding: 50px 0 80px; }
@media (min-width: 1000px) { .article-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 70px; } }
.prose { font-size: 1.08rem; line-height: 1.85; color: #2c3a4e; max-width: 760px; }
.prose > p:first-child { font-size: 1.22rem; color: var(--ink); font-weight: 500; }
.prose h2 { font-size: 1.55rem; margin: 1.6em 0 .6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--teal); }
.prose blockquote { margin: 1.6em 0; padding: 22px 26px; border-left: 4px solid var(--green); background: var(--bg-soft); border-radius: 0 16px 16px 0; font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--navy); line-height: 1.5; }
.prose a { text-decoration: underline; text-decoration-color: rgba(19, 149, 166, .35); text-underline-offset: 3px; word-break: break-word; }
.article-aside { display: grid; gap: 20px; align-content: start; }
@media (min-width: 1000px) { .article-aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.aside-box { padding: 24px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
.aside-box h4 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.share-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.share-btns a, .share-btns button { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 0; cursor: pointer; color: #fff; font-size: 1rem; transition: transform .3s var(--ease); }
.share-btns a:hover, .share-btns button:hover { transform: translateY(-4px); color: #fff; }
.s-wa { background: #25d366; } .s-fb { background: #1877f2; } .s-x { background: #111; } .s-in { background: #0a66c2; } .s-cp { background: var(--navy); }
.link-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.link-list a { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-weight: 700; color: var(--navy); font-size: .92rem; line-height: 1.3; transition: all .3s var(--ease); }
.link-list a i { color: var(--teal); }
.link-list a:hover { border-color: var(--teal); transform: translateX(4px); }
.link-list a small { display: block; font-weight: 500; color: var(--muted); font-size: .75rem; word-break: break-all; }
.prog-pill { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); color: var(--navy); font-weight: 700; line-height: 1.3; transition: all .3s; }
.prog-pill i { width: 46px; height: 46px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal); }
.prog-pill small { display: block; font-weight: 600; color: var(--muted); font-size: .75rem; }
.prog-pill:hover { border-color: var(--teal); }
.gallery-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 40px 0 18px; }
.gallery-title h2 { font-size: 1.5rem; margin: 0; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border-radius: var(--radius-lg); padding: 28px 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
@media (min-width: 700px) { .form-card { padding: 44px; } }
.form-card h3 { font-size: 1.1rem; margin: 26px 0 14px; display: flex; align-items: center; gap: 10px; }
.form-card h3:first-of-type { margin-top: 0; }
.form-card h3 i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal); font-size: .9rem; }
.form-grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .form-grid { grid-template-columns: 1fr 1fr; } .field-full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span { font-size: .85rem; font-weight: 700; color: var(--ink); }
.field b { color: var(--coral); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg-soft);
  color: var(--ink); transition: border-color .25s, box-shadow .25s, background .25s; -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%23083157' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(19, 149, 166, .12); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #e5484d; }
.field-error { color: #d43d42; font-weight: 600; font-size: .8rem; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 26px; }
.form-foot small { color: var(--muted); }
.alert { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 16px; margin-bottom: 24px; font-weight: 600; }
.alert i { font-size: 1.3rem; margin-top: 2px; }
.alert-ok { background: #e9f9ef; color: #146c3a; border: 1px solid #bfe9cf; }
.alert-err { background: #fdeeee; color: #a42a2e; border: 1px solid #f5c9ca; }
.amount-picks { display: flex; flex-wrap: wrap; gap: 8px; }
.amount-picks button { padding: 12px 18px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-weight: 800; color: var(--navy); cursor: pointer; transition: all .25s; }
.amount-picks button:hover, .amount-picks button.active { border-color: var(--teal); background: var(--teal); color: #fff; }

.info-list { display: grid; gap: 14px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: all .4s var(--ease); }
.info-item:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.info-item i { width: 50px; height: 50px; flex-shrink: 0; border-radius: 16px; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 1.1rem; }
.info-item h4 { margin: 0 0 2px; font-size: 1rem; }
.info-item p, .info-item a { margin: 0; color: var(--muted); word-break: break-word; }

/* Team */
.team-card { text-align: center; }
.team-card .tc-img { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; background: var(--bg-soft); }
.team-card .tc-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1s var(--ease), filter .6s; filter: grayscale(.25); }
.team-card:hover .tc-img img { transform: scale(1.06); filter: none; }
.team-card .tc-img::after { content: ''; position: absolute; inset: auto 0 0 0; height: 5px; background: var(--grad-green); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.team-card:hover .tc-img::after { transform: scaleX(1); }
.team-card h4 { margin: 0 0 4px; font-size: 1.05rem; }
.team-card p { margin: 0; font-size: .87rem; color: var(--teal); font-weight: 600; line-height: 1.4; }
.team-grid { display: grid; gap: 22px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .team-grid { grid-template-columns: repeat(4, 1fr); gap: 30px; } .team-grid.cols-3 { grid-template-columns: repeat(3, 1fr); max-width: 900px; margin: 0 auto; } .team-grid.cols-5 { grid-template-columns: repeat(5, 1fr); } }

/* Timeline */
.timeline { position: relative; display: grid; gap: 26px; padding-left: 34px; }
.timeline::before { content: ''; position: absolute; left: 10px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--teal), var(--green)); }
.tl-item { position: relative; padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.tl-item::before { content: ''; position: absolute; left: -31px; top: 28px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--teal); }
.tl-item .tl-when { font-size: .75rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: var(--teal); }
.tl-item h3 { margin: 6px 0 8px; }
.tl-item p { margin: 0; }
@media (min-width: 900px) { .timeline { grid-template-columns: repeat(3, 1fr); padding: 34px 0 0; } .timeline::before { left: 0; right: 0; top: 10px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--teal), var(--green)); } .tl-item::before { left: 24px; top: -32px; } }

.values-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.value { padding: 24px; border-radius: 20px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); transition: all .4s var(--ease); }
.value:hover { background: rgba(255, 255, 255, .1); transform: translateY(-5px); }
.value i { color: #7fe3b0; font-size: 1.3rem; margin-bottom: 12px; display: block; }
.value h4 { color: #fff; margin-bottom: 6px; }
.value p { margin: 0; font-size: .93rem; }

/* Founder */
.founder { display: grid; gap: 34px; align-items: center; }
.founder-img { position: relative; max-width: 440px; }
.founder-img img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; box-shadow: var(--shadow-lg); }
.founder-img::before { content: ''; position: absolute; inset: 22px -22px -22px 22px; border-radius: var(--radius-lg); border: 2px solid var(--teal); z-index: -1; }
@media (min-width: 900px) { .founder { grid-template-columns: .8fr 1.2fr; gap: 80px; } }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq details { border-radius: 18px; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-50); color: var(--teal); font-size: 1.2rem; transition: transform .4s var(--ease), background .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--teal); color: #fff; }
.faq .faq-a { padding: 0 22px 20px; color: var(--body); }
.faq .faq-a p:last-child { margin: 0; }

/* Involve cards */
.inv-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; display: flex; align-items: flex-end; color: #fff; isolation: isolate; box-shadow: var(--shadow); }
.inv-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.inv-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 24, 44, .05) 20%, rgba(4, 24, 44, .92) 100%); }
.inv-card:hover img { transform: scale(1.08); }
.inv-card .ic-body { padding: 30px; }
.inv-card .ic-icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--grad-green); font-size: 1.3rem; margin-bottom: 16px; }
.inv-card h3 { color: #fff; font-size: 1.6rem; }
.inv-card p { color: rgba(255, 255, 255, .85); }
.inv-card:hover { color: #fff; }

.area-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.area-grid span { padding: 12px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-weight: 700; color: var(--navy); font-size: .92rem; transition: all .3s var(--ease); }
.area-grid span i { color: var(--teal); margin-right: 8px; }
.area-grid span:hover { background: var(--navy); color: #fff; transform: translateY(-3px); }
.area-grid span:hover i { color: #7fe3b0; }

.impact-area { padding: 28px; border-radius: 20px; background: #fff; border: 1px solid var(--line); position: relative; transition: all .4s var(--ease); }
.impact-area:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.impact-area .ia-num { font-size: 2.6rem; font-weight: 800; line-height: 1; background: var(--grad-green); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 12px; display: block; }
.impact-area h3 { font-size: 1.15rem; }
.impact-area p { margin: 0; font-size: .95rem; color: var(--muted); }

.empty-state { text-align: center; padding: 60px 20px; border-radius: var(--radius-lg); background: var(--bg-soft); border: 2px dashed var(--line); }
.empty-state i { font-size: 2.4rem; color: var(--teal); margin-bottom: 16px; }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 46px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 46px; height: 46px; padding: 0 14px; border-radius: 14px; display: grid; place-items: center; border: 1px solid var(--line); font-weight: 700; color: var(--navy); background: #fff; }
.pagination a:hover { border-color: var(--teal); color: var(--teal); }
.pagination .current { background: var(--navy); color: #fff; border-color: var(--navy); }

.search-box { position: relative; max-width: 380px; width: 100%; }
.search-box input { width: 100%; padding: 14px 18px 14px 46px; border-radius: 999px; border: 1.5px solid var(--line); font: inherit; font-size: 16px; background: #fff; }
.search-box input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(19, 149, 166, .12); }
.search-box i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); }

.bg-dots { background-image: radial-gradient(rgba(8, 49, 87, .08) 1.5px, transparent 1.5px); background-size: 22px 22px; }
.center { text-align: center; }
.mt-40 { margin-top: 40px; }
.lead-text { font-size: 1.12rem; }
.stats-card.flow { gap: 1px; background: var(--line); }
.stats-card.flow .stat { background: #fff; border: 0 !important; }

/* ---------- Programme tabs: Projects / Impact Stories ---------- */
.ptab-bar { position: relative; display: inline-flex; gap: 4px; padding: 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); margin-bottom: 28px; max-width: 100%; }
.ptab { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border: 0; border-radius: 999px; background: transparent; font: inherit; font-weight: 800; font-size: .95rem; color: var(--navy); cursor: pointer; transition: color .35s; white-space: nowrap; }
.ptab span { font-size: .75rem; padding: 2px 9px; border-radius: 999px; background: var(--teal-50); color: var(--teal); transition: all .35s; }
.ptab.active { color: #fff; }
.ptab.active span { background: rgba(255, 255, 255, .2); color: #fff; }
.ptab-ink { position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 6px; width: 0; border-radius: 999px; background: var(--grad); box-shadow: 0 10px 24px -10px rgba(19, 149, 166, .8); transition: left .5s var(--ease), width .5s var(--ease); }
@media (max-width: 520px) { .ptab-bar { display: flex; } .ptab { flex: 1; justify-content: center; padding: 12px 10px; font-size: .88rem; } }
.ptab-panel { animation: panelIn .6s var(--ease); }
.ptab-panel[hidden] { display: none; }
@keyframes panelIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

.proj-card { text-align: left; font: inherit; color: inherit; padding: 0; cursor: pointer; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease); width: 100%; height: 100%; }
.proj-card:hover { transform: translateY(-8px) scale(1.01); box-shadow: var(--shadow-lg); }
.proj-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.proj-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.proj-card:hover .proj-media img { transform: scale(1.08); }
.proj-media .chip { position: absolute; left: 14px; top: 14px; }
.proj-media .count-badge { position: absolute; right: 14px; top: 14px; background: rgba(4, 24, 44, .7); color: #fff; padding: 5px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; }
.proj-media .play-badge { position: absolute; right: 14px; bottom: 14px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #e11d2a; }
.proj-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 24px; flex: 1; }
.proj-body .card-meta { margin: 0; }
.proj-body strong { font-size: 1.12rem; color: var(--ink); line-height: 1.3; transition: color .3s; }
.proj-card:hover strong { color: var(--teal); }
.proj-impact { display: flex; gap: 10px; padding: 12px 14px; border-radius: 12px; background: #e9f9ef; color: #146c3a; font-size: .88rem; font-weight: 600; line-height: 1.45; }
.proj-impact i { margin-top: 3px; }
.proj-body .link-arrow { margin-top: auto; font-size: .9rem; }

/* Pop-up sheet with a bounce */
.pmodal { position: fixed; inset: 0; z-index: 1500; display: flex; align-items: flex-end; justify-content: center; visibility: hidden; }
.pmodal.open { visibility: visible; }
.pmodal-backdrop { position: absolute; inset: 0; background: rgba(2, 12, 24, .7); backdrop-filter: blur(6px); opacity: 0; transition: opacity .4s; }
.pmodal.open .pmodal-backdrop { opacity: 1; }
.pmodal-sheet { position: relative; width: min(980px, 100%); max-height: 92vh; background: #fff; border-radius: 28px 28px 0 0; overflow: hidden; transform: translateY(105%); box-shadow: 0 -30px 80px rgba(0, 0, 0, .35); display: flex; flex-direction: column; }
.pmodal.open .pmodal-sheet { animation: bounceUp .75s cubic-bezier(.34, 1.56, .64, 1) forwards; }
.pmodal.closing .pmodal-sheet { animation: sheetDown .35s ease-in forwards; }
@keyframes bounceUp { 0% { transform: translateY(105%); } 70% { transform: translateY(-2%); } 100% { transform: translateY(0); } }
@keyframes sheetDown { from { transform: translateY(0); } to { transform: translateY(105%); } }
@keyframes bounceUpDesk { 0% { transform: translateY(60px) scale(.9); opacity: 0; } 60% { transform: translateY(-8px) scale(1.02); opacity: 1; } 100% { transform: none; opacity: 1; } }
@keyframes sheetDownDesk { to { transform: translateY(40px) scale(.95); opacity: 0; } }
@media (min-width: 900px) {
  .pmodal { align-items: center; padding: 24px; }
  .pmodal-sheet { border-radius: 28px; max-height: 90vh; }
  .pmodal.open .pmodal-sheet { animation-name: bounceUpDesk; }
  .pmodal.closing .pmodal-sheet { animation-name: sheetDownDesk; }
}
.pmodal-close { position: absolute; right: 14px; top: 14px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .95); color: var(--navy); font-size: 1.1rem; cursor: pointer; box-shadow: var(--shadow); }
.pmodal-content { overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.pm-cover { aspect-ratio: 16 / 7; overflow: hidden; background: var(--navy-900); }
.pm-cover img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 8s ease-out forwards; }
.pm-body { padding: 24px 20px 40px; }
@media (min-width: 700px) { .pm-body { padding: 34px 44px 50px; } }
.pm-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.pm-body h2 { font-size: clamp(1.4rem, 3.5vw, 2rem); }
.pm-impact { margin: 18px 0 24px; padding: 20px 22px; border-radius: 18px; background: linear-gradient(135deg, #e9f9ef, #e8f6f8); border: 1px solid #c9eed8; }
.pm-impact h4 { color: #146c3a; margin-bottom: 8px; display: flex; gap: 8px; align-items: center; }
.pm-impact ul { margin: 0; padding-left: 1.2em; }
.pm-impact li { margin-bottom: 6px; font-weight: 600; color: var(--ink); }
.pm-impact li::marker { color: var(--green-600); }
.pm-impact p { margin: 0; font-weight: 600; }
.pm-section { margin-top: 26px; }
.pm-section h4 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; display: flex; gap: 8px; align-items: center; }
.pm-section h4 i { color: var(--teal); }
.pm-section .prose { font-size: 1rem; }
.pm-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.pm-photos a { display: block; aspect-ratio: 1; border-radius: 12px; overflow: hidden; }
.pm-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pm-photos a:hover img { transform: scale(1.1); }

/* ---------- Refinements: gradients and story bounce ---------- */
.section-soft { background: linear-gradient(180deg, #f4f8fb 0%, #eaf6f4 100%); }
.section-head h2, .page-hero h1 { background: linear-gradient(120deg, var(--navy) 0%, var(--teal-600) 70%, var(--teal) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-head h2 .serif, .page-hero h1 .serif { -webkit-text-fill-color: initial; }
.page-hero h1 { background: linear-gradient(120deg, #fff 0%, #bdf3d4 100%); -webkit-background-clip: text; background-clip: text; }
.stat .num { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { background: linear-gradient(90deg, var(--teal), var(--green-600)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow::before { background: linear-gradient(90deg, var(--teal), var(--green)); }
.eyebrow.light { background: none; -webkit-background-clip: initial; background-clip: initial; color: #7fe3b0; }
.btn-primary { background: linear-gradient(135deg, #22c55e 0%, #1395a6 45%, #083157 100%); background-size: 200% 200%; background-position: 0% 50%; transition: background-position .6s var(--ease), transform .3s, box-shadow .3s; }
.btn-primary:hover { background-position: 100% 50%; }
.vmv-card, .prog-card, .card, .proj-card { position: relative; }
.prog-card::before, .proj-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad-green); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); z-index: 2; }
.prog-card:hover::before, .proj-card:hover::before { transform: scaleX(1); }
.site-footer { background: linear-gradient(160deg, #04182c 0%, #083157 60%, #0b4a63 100%); }
.newsletter-band { background: linear-gradient(120deg, #083157 0%, #0e7a8a 55%, #22c55e 130%); }
.ptab-bar { background: linear-gradient(135deg, #fff, #f1faf7); }
/* Story cards bounce up when they appear */
.story-card.bounce-in { opacity: 0; transform: translateY(70px) scale(.94); }
.story-card.bounce-in.in, .ptab-panel.active .story-card.bounce-in { animation: storyBounce .95s cubic-bezier(.34, 1.56, .64, 1) var(--d, 0s) forwards; }
@keyframes storyBounce { 0% { opacity: 0; transform: translateY(70px) scale(.94); } 60% { opacity: 1; transform: translateY(-10px) scale(1.01); } 80% { transform: translateY(4px); } 100% { opacity: 1; transform: none; } }
.ptab-panel.active .story-card.bounce-in:nth-child(2) { animation-delay: .12s; }
.ptab-panel.active .story-card.bounce-in:nth-child(3) { animation-delay: .24s; }
.ptab-panel.active .story-card.bounce-in:nth-child(n+4) { animation-delay: .36s; }
@media (prefers-reduced-motion: reduce) { .story-card.bounce-in { opacity: 1; transform: none; animation: none !important; } }
.no-js .story-card.bounce-in { opacity: 1; transform: none; }
.section-head.center .eyebrow::after { background: linear-gradient(90deg, var(--green), var(--teal)); }
.section-dark .section-head h2 { background: linear-gradient(120deg, #fff 0%, #bdf3d4 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-dark .eyebrow { background: none; -webkit-background-clip: initial; background-clip: initial; color: #7fe3b0; }

/* ---------- Phone fixes: no overlap, no sideways scroll ---------- */
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
.mobile-menu, .mobile-menu-inner, .mobile-menu nav { max-width: 100%; overflow-x: hidden; }
.latest-side { display: grid; gap: 14px; }
@media (max-width: 999px) { .latest-side .mini-card { height: auto; } }
h1, h2, h3, h4, p, a, li { overflow-wrap: break-word; }

/* ---------- Phone font sizes (about 13pt headlines, 10.5pt body) ---------- */
@media (max-width: 600px) {
  body { font-size: 14px; line-height: 1.6; }
  h1, .page-hero h1, .article-hero h1 { font-size: 22px; line-height: 1.2; letter-spacing: -.01em; }
  .hero h1, .hero .h1 { font-size: 24px; line-height: 1.18; letter-spacing: -.01em; margin-bottom: 12px; }
  h2, .prog-row h2, .pm-body h2, .newsletter-band h2 { font-size: 18px; line-height: 1.25; letter-spacing: -.005em; }
  h3, .feature-card h3, .story-card h3 { font-size: 16px; line-height: 1.3; }
  h4, .mini-card h4, .prog-card h3 { font-size: 15px; line-height: 1.3; }
  p, li, .section-head p, .page-hero p, .hero p.lead, .lead-text, .vmv-card p { font-size: 14px; line-height: 1.6; }
  .hero p.lead { margin-bottom: 20px; }
  .prog-card p, .card p, .proj-impact, .card-meta, small, .chip { font-size: 12.5px; }
  .eyebrow { font-size: 11px; }
  .prose { font-size: 14.5px; line-height: 1.75; }
  .prose > p:first-child { font-size: 15.5px; }
  .prose h2 { font-size: 18px; }
  .prose blockquote, .quote-band blockquote { font-size: 17px; }
  .stat .num { font-size: 26px; }
  .marquee span { font-size: 16px; }
  .btn { font-size: 14px; padding: 12px 20px; }
  .section { padding-top: 56px; padding-bottom: 56px; }
  .section-head { margin-bottom: 26px; }
  .brand-text strong, .brand-text em { font-size: 15px; }
  .ptab { font-size: 13px; }
  .story-card .sc-body { padding: 18px; }
}

/* ---------- Photos inside articles ---------- */
.inline-photos { display: grid; gap: 10px; margin: 1.6em 0; }
.inline-photos.n2 { grid-template-columns: 1fr 1fr; }
.inline-photos.n3 { grid-template-columns: 1fr 1fr; }
.inline-photos.n3 figure:first-child { grid-column: 1 / -1; }
.inline-photos figure { margin: 0; }
.inline-photos a { display: block; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); }
.inline-photos img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; transition: transform .8s var(--ease); }
.inline-photos.n2 img, .inline-photos.n3 figure:not(:first-child) img { aspect-ratio: 4 / 3; }
.inline-photos a:hover img { transform: scale(1.05); }
.inline-photos figcaption { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.inline-more { margin-top: 2em; }
.prose .inline-more .photo-grid img { margin: 0; }

.prose h3 { font-size: 1.2rem; margin: 1.5em 0 .5em; color: var(--navy); }
.prose .video-card { margin: 1em 0 1.8em; }
@media (max-width: 600px) { .prose h3 { font-size: 16px; } }
