/* ==========================================================================
   Somali Irish Centre — public site
   Palette is taken from the logo: sun gold, Irish green, Somali blue, navy.
   ========================================================================== */

@font-face {
  font-family: 'Jakarta';
  src: url('/fonts/jakarta/plus-jakarta-sans-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 200 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Jakarta';
  src: url('/fonts/jakarta/plus-jakarta-sans-latin-ext-wght-normal.woff2') format('woff2-variations');
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  src: url('/fonts/fraunces/fraunces-latin-wght-italic.woff2') format('woff2-variations');
  font-weight: 100 900; font-style: italic; font-display: swap;
}

:root {
  --navy-950: #041427;
  --navy-900: #071d38;
  --navy-800: #0b2a4f;
  --navy-700: #123a68;
  --blue: #1b8fd0;
  --blue-600: #1474b0;
  --sky: #4cc3ee;
  --green: #1d8b3c;
  --lime: #8cc63f;
  --gold: #f7b500;
  --gold-300: #ffd54a;
  --teal: #0f9b8e;
  --rose: #e0475b;

  --ink: #0d1b2e;
  --text: #33445a;
  --muted: #64748b;
  --line: #e3e9f1;
  --bg: #ffffff;
  --soft: #f4f7fb;
  --cream: #fffaf0;

  --grad-brand: linear-gradient(135deg, var(--green) 0%, var(--blue) 55%, var(--navy-700) 100%);
  --grad-gold: linear-gradient(100deg, var(--gold-300), var(--gold) 60%, #f39a00);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(13, 27, 46, .06), 0 2px 8px rgba(13, 27, 46, .05);
  --shadow: 0 2px 4px rgba(13, 27, 46, .04), 0 12px 32px -8px rgba(13, 27, 46, .14);
  --shadow-lg: 0 30px 60px -20px rgba(4, 20, 39, .35);
  --container: 1200px;
  --header-h: 88px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: 'Jakarta', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1.0625rem; line-height: 1.65; color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-700); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -.022em; margin: 0 0 .6em; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); letter-spacing: -.03em; }
h3, .h3 { font-size: 1.3rem; }
.h4 { font-size: 1.12rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
em { font-family: 'Fraunces', Georgia, serif; font-style: italic; font-weight: 600; letter-spacing: -.01em; }
.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--gold); color: var(--ink); padding: .7rem 1rem; font-weight: 700; }
.skip:focus { left: 1rem; top: 1rem; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.narrow { max-width: 860px; }
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; position: relative; }
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section--soft { background: var(--soft); }
.section-head { max-width: 720px; margin: 0 auto clamp(2.2rem, 4vw, 3.2rem); text-align: center; }
.section-head p:last-child { margin-bottom: 0; color: var(--muted); font-size: 1.1rem; }
.section-head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; text-align: left; flex-wrap: wrap; }
.section-head--split > p { max-width: 460px; }
.section-head--split h2 { margin-bottom: 0; }
.section-foot { margin-top: 2.5rem; text-align: center; }
.lead { font-size: 1.15rem; color: var(--text); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 1rem;
  font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-600);
}
.eyebrow::before { content: ''; width: 22px; height: 3px; border-radius: 3px; background: var(--grad-gold); }
.eyebrow--light { color: var(--gold-300); }
.eyebrow .dot { display: none; }
.section-head .eyebrow { justify-content: center; }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  --bg: var(--navy-800); --fg: #fff; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.4rem; border-radius: 999px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg); font: inherit; font-weight: 700; font-size: .98rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); color: var(--fg); box-shadow: 0 10px 24px -10px rgba(4, 20, 39, .45); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.05em; height: 1.05em; }
.btn--primary { --bg: var(--navy-800); }
.btn--primary:hover { --bg: var(--navy-700); }
.btn--gold { --bg: var(--gold); --fg: var(--navy-950); background: var(--grad-gold); }
.btn--gold:hover { box-shadow: 0 12px 28px -10px rgba(247, 181, 0, .7); }
.btn--ghost { --bg: rgba(255, 255, 255, .06); --fg: #fff; --bd: rgba(255, 255, 255, .28); backdrop-filter: blur(6px); }
.btn--ghost:hover { --bg: rgba(255, 255, 255, .14); --bd: rgba(255, 255, 255, .5); }
.btn--ghost-dark { --bg: transparent; --fg: var(--navy-800); --bd: var(--line); }
.btn--ghost-dark:hover { --bd: var(--navy-800); box-shadow: none; }
.btn--outline { --bg: #fff; --fg: var(--navy-800); --bd: #cdd8e5; }
.btn--outline:hover { --bd: var(--navy-800); }
.btn--sm { padding: .6rem 1.05rem; font-size: .9rem; }
.btn--lg { padding: 1rem 1.7rem; font-size: 1.03rem; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--navy-800); text-decoration: none; }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ── Icon tiles ──────────────────────────────────────────────────────── */
.icon-tile {
  --c1: var(--blue); --c2: var(--sky);
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; flex-shrink: 0;
  color: #fff; background: linear-gradient(135deg, var(--c1), var(--c2));
  box-shadow: 0 10px 20px -10px var(--c1), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.icon-tile .icon { width: 24px; height: 24px; }
.icon-tile--lg { width: 64px; height: 64px; border-radius: 20px; }
.icon-tile--lg .icon { width: 30px; height: 30px; }
.icon-tile--blue { --c1: #1474b0; --c2: #3cb5ea; }
.icon-tile--green { --c1: #157a33; --c2: #7cc142; }
.icon-tile--gold { --c1: #f29a00; --c2: #ffd23f; color: var(--navy-950); }
.icon-tile--navy { --c1: #071d38; --c2: #1d4f8a; }
.icon-tile--teal { --c1: #0b7f75; --c2: #2cc5b2; }
.icon-tile--rose { --c1: #c32640; --c2: #f0697a; }

/* ── Top bar & header ────────────────────────────────────────────────── */
.topbar { background: var(--navy-950); color: #b9c7da; font-size: .84rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; }
.topbar__contact, .topbar__social { display: flex; align-items: center; gap: 1.4rem; }
.topbar a, .topbar span { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: .45rem; }
.topbar a:hover { color: #fff; }
.topbar .icon { width: 15px; height: 15px; color: var(--gold); }
.topbar__social { gap: .9rem; }
.topbar__social .icon { color: #b9c7da; }
.topbar__social a:hover .icon { color: #fff; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -14px rgba(13, 27, 46, .25); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); padding: .45rem 0; }
.header--logo-md { --logo: 60px; }
.header--logo-lg { --logo: 72px; }
.header--logo-xl { --logo: 88px; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--ink); min-width: 0; }
.brand img { width: var(--logo, 72px); height: var(--logo, 72px); object-fit: contain; transition: width .25s, height .25s; }
.header.is-scrolled .brand img { width: calc(var(--logo, 72px) * .8); height: calc(var(--logo, 72px) * .8); }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand__text strong { font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; }
.brand__text small { font-size: .74rem; color: var(--muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand--light { color: #fff; }
.brand--light small { color: #9fb2cb; }
.brand--light img { width: 76px; height: 76px; background: #fff; border-radius: 18px; padding: 6px; }

.nav { display: flex; align-items: center; gap: 1.2rem; }
.nav ul { list-style: none; display: flex; gap: .15rem; margin: 0; padding: 0; }
.nav ul a { display: block; padding: .5rem .72rem; border-radius: 10px; color: var(--ink); font-weight: 650; font-size: .95rem; text-decoration: none; position: relative; }
.nav ul a:hover { background: var(--soft); color: var(--navy-800); }
.nav ul a[aria-current]::after { content: ''; position: absolute; left: .72rem; right: .72rem; bottom: .1rem; height: 3px; border-radius: 3px; background: var(--grad-gold); }
.nav__cta { display: flex; gap: .5rem; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; padding: 0 12px; flex-direction: column; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; background: var(--navy-900); color: #d5e0ee; padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(7rem, 12vw, 9rem); isolation: isolate; }
.hero__aurora, .page-hero__aurora, .impact__aurora, .footer__glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 55% at 85% 10%, rgba(76, 195, 238, .35), transparent 70%),
    radial-gradient(35% 50% at 10% 90%, rgba(29, 139, 60, .38), transparent 70%),
    radial-gradient(30% 40% at 60% 100%, rgba(247, 181, 0, .22), transparent 70%),
    linear-gradient(160deg, var(--navy-950), var(--navy-800));
}
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(to bottom, #000, transparent 85%); }
.hero__rays { position: absolute; width: 900px; right: -220px; top: -60px; color: var(--gold); opacity: .08; z-index: -1; transform: rotate(8deg); }
.hero__inner { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { color: #fff; margin-bottom: 1.4rem; font-size: clamp(2.3rem, 4.8vw, 3.75rem); }
.hero h1 em { display: block; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .1em; }
.hero__lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); max-width: 560px; color: #c3d2e5; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.4rem; }
.hero__trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; font-size: .92rem; color: #a9bbd2; }
.hero__trust li { display: inline-flex; align-items: center; gap: .45rem; }
.hero__trust .icon { color: var(--lime); }
.hero__visual { position: relative; min-height: 480px; }
.hero__photo { position: absolute; overflow: hidden; border-radius: 28px; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .12); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo--main { inset: 0 0 60px 40px; }
.hero__photo--second { width: 44%; aspect-ratio: 1; left: 0; bottom: 0; border: 6px solid var(--navy-900); border-radius: 24px; }
.glass-card {
  position: absolute; display: flex; align-items: center; gap: .9rem; padding: .9rem 1.15rem;
  background: rgba(255, 255, 255, .94); color: var(--ink); border-radius: 18px; box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
}
.glass-card strong { display: block; font-size: 1.55rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.glass-card span { font-size: .84rem; color: var(--muted); font-weight: 600; }
.glass-card--stat { right: -14px; bottom: 24px; animation: float 6s ease-in-out infinite; }
.glass-card--badge { left: 18%; top: -18px; max-width: 290px; padding: .7rem 1rem; font-size: .84rem; animation: float 7s ease-in-out infinite reverse; }
.glass-card--badge span { color: var(--ink); line-height: 1.35; }
.glass-card--badge .icon { color: var(--gold); width: 26px; height: 26px; }
.glass-card--inline { position: absolute; left: 1rem; bottom: 1rem; animation: none; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ── Metrics ─────────────────────────────────────────────────────────── */
.metrics { position: relative; z-index: 2; margin-top: clamp(-5.5rem, -9vw, -4rem); }
.metrics--flat { margin-top: 0; padding-top: 3rem; }
.metrics__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.metric-card {
  position: relative; overflow: hidden; background: #fff; border-radius: var(--radius); padding: 1.5rem 1.5rem 1.4rem;
  box-shadow: var(--shadow); border: 1px solid var(--line); display: flex; flex-direction: column; gap: .2rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.metric-card::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--grad-brand); opacity: 0; transition: opacity .3s; }
.metric-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.metric-card:hover::after { opacity: 1; }
.metric-card .icon-tile { margin-bottom: .9rem; width: 46px; height: 46px; border-radius: 14px; }
.metric-card strong { font-size: clamp(2rem, 3.4vw, 2.6rem); color: var(--ink); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.metric-card > span:last-child { color: var(--muted); font-weight: 600; font-size: .95rem; line-height: 1.4; }

/* ── Partners ────────────────────────────────────────────────────────── */
.partners { padding: 3rem 0 1rem; }
.partners__inner { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; justify-content: center; }
.partners p { margin: 0; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.partners ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 2.6rem; }
.partners a { display: block; text-decoration: none; color: var(--muted); font-weight: 700; }
.partners img { height: 46px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: .7; mix-blend-mode: multiply; transition: filter .3s, opacity .3s; }
.partners a:hover img { filter: none; opacity: 1; }

/* ── Split sections ──────────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.split--reverse .split__text { order: 1; }
.photo-stack { position: relative; padding: 0 0 2rem 2rem; }
.photo-stack::before { content: ''; position: absolute; left: 0; bottom: 0; width: 70%; height: 70%; border-radius: var(--radius); background: var(--grad-brand); opacity: .9; }
.photo-stack__main { position: relative; width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.photo-stack__card { position: absolute; right: -1rem; bottom: 0; display: flex; gap: .8rem; align-items: center; background: #fff; border-radius: 16px; padding: .9rem 1.1rem; box-shadow: var(--shadow-lg); }
.photo-stack__card strong { display: block; color: var(--ink); }
.photo-stack__card span { font-size: .85rem; color: var(--muted); }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 1.6rem; margin: 2rem 0 2.2rem; }
.pillar { display: flex; gap: .9rem; }
.pillar__num { font-weight: 800; font-size: .85rem; color: var(--blue-600); background: #e8f4fb; border-radius: 10px; height: 34px; min-width: 34px; display: grid; place-items: center; }
.pillar h3 { font-size: 1.02rem; margin-bottom: .25rem; }
.pillar p { font-size: .93rem; color: var(--muted); margin: 0; line-height: 1.55; }

/* ── Cards & grids ───────────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }

.prog-card {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.prog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #cfdcea; }
.prog-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.3rem; }
.prog-card__stat { font-size: .8rem; font-weight: 700; color: var(--green); background: #eaf6ee; border-radius: 999px; padding: .35rem .75rem; text-align: right; }
.prog-card__stat strong { color: #116a2c; }
.prog-card h3 a { color: var(--ink); text-decoration: none; }
.prog-card h3 a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.prog-card > p { color: var(--muted); font-size: .98rem; }
.prog-card .link-arrow { margin-top: auto; padding-top: .6rem; }
.checklist { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .45rem; }
.checklist li { display: flex; gap: .55rem; align-items: flex-start; font-size: .94rem; color: var(--text); }
.checklist .icon { color: var(--green); margin-top: .2em; width: 1.05em; height: 1.05em; }
.checklist--lg li { font-size: 1.02rem; }

.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; transition: transform .3s var(--ease), box-shadow .3s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .icon-tile { margin-bottom: 1.1rem; }
.feature h3 { font-size: 1.08rem; margin-bottom: .45rem; }
.feature p { font-size: .94rem; color: var(--muted); margin: 0; }
.feature--center { text-align: center; padding: 2.2rem 1.6rem; }
.feature--center h2 { margin: 0; }

.service { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service__num { position: absolute; right: 1.4rem; top: 1rem; font-size: 3.2rem; font-weight: 800; color: var(--soft); letter-spacing: -.05em; line-height: 1; }
.service .icon-tile { margin-bottom: 1.2rem; position: relative; }
.service h2 { font-size: 1.22rem; margin-bottom: .5rem; }
.service p { color: var(--muted); margin: 0; font-size: .98rem; }

/* Mission / vision / approach */
.mvv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.mvv__card { position: relative; background: #fff; border-radius: var(--radius); padding: 2rem; border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; }
.mvv__card::before { content: ''; position: absolute; inset: 0 0 auto; height: 5px; }
.mvv__card--blue::before { background: linear-gradient(90deg, #1474b0, #3cb5ea); }
.mvv__card--green::before { background: linear-gradient(90deg, #157a33, #7cc142); }
.mvv__card--gold::before { background: var(--grad-gold); }
.mvv__card .icon-tile { margin-bottom: 1.2rem; }
.mvv__card p { margin: 0; color: var(--text); }
.values { list-style: none; padding: 0; margin: 2.4rem 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; }
.values li { display: inline-flex; align-items: center; gap: .45rem; padding: .6rem 1.1rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; color: var(--navy-800); box-shadow: var(--shadow-sm); }
.values .icon { color: var(--green); }

/* Leadership */
.leader { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; padding: clamp(2rem, 5vw, 3.5rem); border-radius: 28px; background: var(--navy-900); color: #c8d6e8; isolation: isolate; }
.leader::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 80% at 100% 0, rgba(76, 195, 238, .3), transparent 70%), radial-gradient(40% 70% at 0 100%, rgba(247, 181, 0, .2), transparent 70%); }
.leader__avatar { width: clamp(120px, 16vw, 180px); aspect-ratio: 1; border-radius: 50%; padding: 5px; background: var(--grad-gold); }
.leader__avatar span, .leader__avatar img { width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; background: var(--navy-800); color: #fff; font-size: 2.6rem; font-weight: 800; object-fit: cover; }
.leader blockquote { margin: 0 0 1.2rem; font-family: 'Fraunces', Georgia, serif; font-style: italic; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.3; color: #fff; }
.leader__name { margin: 0 0 .4rem; color: #fff; }
.leader__name strong { color: var(--gold-300); }
.leader__bio { margin: 0; max-width: 640px; }

/* Impact band */
.impact { position: relative; overflow: hidden; isolation: isolate; color: #c8d6e8; padding: clamp(4.5rem, 9vw, 7rem) 0; }
.impact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.impact h2 { color: #fff; }
.impact__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.impact-stat { padding: 1.6rem; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(8px); }
.impact-stat strong { display: block; color: #fff; font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; margin-bottom: .5rem; font-variant-numeric: tabular-nums; }
.impact-stat span { font-size: .95rem; }
.impact-stat__bar { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .1); margin-top: 1rem; overflow: hidden; }
.impact-stat__bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--grad-gold); transition: width 1.6s var(--ease) .2s; }
.impact-stat.is-visible .impact-stat__bar i { width: var(--w); }
.quote-card { position: relative; margin: 2rem 0 0; padding: 1.6rem 1.8rem 1.5rem; border-radius: var(--radius); background: rgba(255, 255, 255, .07); border-left: 4px solid var(--gold); }
.quote-card > .icon { position: absolute; right: 1.2rem; top: 1rem; width: 40px; height: 40px; color: var(--gold); opacity: .4; }
.quote-card blockquote { margin: 0 0 .7rem; font-family: 'Fraunces', Georgia, serif; font-style: italic; font-size: 1.25rem; line-height: 1.45; color: #fff; }
.quote-card figcaption { font-size: .92rem; font-weight: 700; color: var(--gold-300); }
.quote-card--light { background: var(--cream); max-width: 760px; margin: 2.5rem auto 0; }
.quote-card--light blockquote { color: var(--ink); }
.quote-card--light figcaption { color: #9a6b00; }

/* Donation tiers */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; max-width: 1000px; margin-inline: auto; }
.tier {
  position: relative; display: flex; flex-direction: column; gap: .6rem; padding: 2rem; border-radius: var(--radius); background: #fff; text-decoration: none;
  border: 1.5px solid var(--line); box-shadow: var(--shadow-sm); color: var(--text); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.tier:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold); color: var(--text); }
.tier__amount { font-size: 3rem; font-weight: 800; letter-spacing: -.05em; color: var(--ink); line-height: 1; }
.tier__desc { flex: 1; color: var(--muted); }
.tier__cta { display: inline-flex; align-items: center; gap: .4rem; font-weight: 800; color: var(--navy-800); margin-top: .6rem; }
.tier--featured { background: var(--navy-900); border-color: var(--navy-900); color: #c8d6e8; transform: scale(1.03); box-shadow: var(--shadow-lg); }
.tier--featured:hover { color: #c8d6e8; transform: scale(1.03) translateY(-6px); }
.tier--featured .tier__amount { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tier--featured .tier__desc { color: #b5c5da; }
.tier--featured .tier__cta { color: var(--gold-300); }
.tier__badge { position: absolute; top: -13px; left: 2rem; background: var(--grad-gold); color: var(--navy-950); font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: .3rem .8rem; border-radius: 999px; }
.donate-home__foot { display: flex; justify-content: center; align-items: center; gap: .5rem; margin: 2.2rem 0 0; color: var(--muted); font-size: .95rem; flex-wrap: wrap; }
.donate-home__foot .icon { color: var(--green); }

/* Volunteer */
.roles { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0; }
.role { display: inline-flex; align-items: center; gap: .7rem; padding: .5rem 1.1rem .5rem .5rem; border-radius: 16px; background: #fff; border: 1px solid var(--line); font-weight: 700; color: var(--ink); }
.role .icon-tile { width: 40px; height: 40px; border-radius: 12px; }
.role .icon-tile .icon { width: 20px; height: 20px; }
.photo-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 220px 220px; gap: 1rem; }
.photo-grid__item { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.photo-grid__item img { width: 100%; height: 100%; object-fit: cover; }
.photo-grid__item--0 { grid-row: span 2; }

/* News cards */
.post-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__placeholder { display: grid; place-items: center; height: 100%; color: #b4c3d6; background: var(--grad-brand); }
.post-card__placeholder .icon { width: 48px; height: 48px; color: rgba(255, 255, 255, .6); }
.post-card__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { display: flex; align-items: center; gap: .7rem; font-size: .84rem; color: var(--muted); margin-bottom: .8rem; font-weight: 600; }
.tag { display: inline-block; padding: .2rem .65rem; border-radius: 999px; background: #e8f4fb; color: var(--blue-600); font-size: .74rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.post-card h3 { font-size: 1.15rem; margin-bottom: .55rem; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--blue-600); }
.post-card__body > p { color: var(--muted); font-size: .95rem; }
.post-card .link-arrow { margin-top: auto; }
.feature-post { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; background: #fff; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); margin-bottom: 2.5rem; }
.feature-post__media { display: block; min-height: 340px; background: var(--grad-brand); }
.feature-post__media img { width: 100%; height: 100%; object-fit: cover; }
.feature-post__body { padding: clamp(1.8rem, 4vw, 3rem); display: flex; flex-direction: column; justify-content: center; }
.feature-post h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.feature-post h2 a { color: var(--ink); text-decoration: none; }
.feature-post .btn { align-self: flex-start; }

/* Gallery */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 230px 230px; gap: 1rem; }
.mosaic__item { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.mosaic__item--0 { grid-column: span 2; grid-row: span 2; }
.mosaic__item img, .masonry__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mosaic__item:hover img, .masonry__item:hover img { transform: scale(1.06); }
.masonry { columns: 3 300px; column-gap: 1rem; }
.masonry__item { position: relative; display: block; margin-bottom: 1rem; border-radius: 16px; overflow: hidden; break-inside: avoid; background: var(--soft); }
.masonry__item[hidden] { display: none; }
.masonry__cap { position: absolute; inset: auto 0 0; padding: 2rem 1rem .8rem; color: #fff; font-size: .88rem; font-weight: 600; background: linear-gradient(transparent, rgba(4, 20, 39, .8)); opacity: 0; transform: translateY(8px); transition: .3s var(--ease); }
.masonry__item:hover .masonry__cap, .masonry__item:focus-visible .masonry__cap { opacity: 1; transform: none; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem 1.05rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: .92rem; font-weight: 700; color: var(--navy-800); cursor: pointer; text-decoration: none; }
.filter small { font-size: .75rem; color: var(--muted); }
.filter:hover { border-color: var(--navy-800); }
.filter.is-active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.filter.is-active small { color: #a9bbd2; }

/* Documents */
.docs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.docs--list { grid-template-columns: 1fr; margin-top: 2rem; }
.doc-card { display: flex; align-items: center; gap: 1rem; padding: 1.3rem 1.4rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--text); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.doc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cfdcea; color: var(--text); }
.doc-card__body { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.doc-card__body strong { color: var(--ink); }
.doc-card__body small { color: var(--muted); font-weight: 600; }
.doc-card__body em { font-family: inherit; font-style: normal; font-weight: 400; font-size: .92rem; color: var(--muted); margin-top: .3rem; }
.doc-card__action { display: inline-flex; align-items: center; gap: .35rem; font-size: .88rem; font-weight: 800; color: var(--navy-800); white-space: nowrap; }

/* Support band */
.support-band { padding: 0 0 clamp(4rem, 8vw, 6rem); }
.support-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding: clamp(1.8rem, 4vw, 2.6rem); border-radius: 28px; background: var(--cream); border: 1px solid #f6e5b8; }
.support-band__text { display: flex; gap: 1.2rem; align-items: flex-start; max-width: 560px; }
.support-band h2 { font-size: 1.6rem; margin-bottom: .3rem; }
.support-band p { margin: 0; color: var(--text); }
.support-band__actions { display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; }
.contact-pill { display: inline-flex; align-items: center; gap: .7rem; padding: .55rem 1.1rem .55rem .6rem; border-radius: 999px; background: #fff; border: 1px solid #f0dfb0; text-decoration: none; color: var(--ink); font-weight: 700; font-size: .93rem; }
.contact-pill > .icon { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--navy-800); color: #fff; }
.contact-pill span { display: flex; flex-direction: column; line-height: 1.2; }
.contact-pill small { font-size: .72rem; color: var(--muted); font-weight: 600; }

/* ── Page hero (inner pages) ─────────────────────────────────────────── */
.page-hero { position: relative; overflow: hidden; isolation: isolate; color: #c8d6e8; padding: clamp(3.2rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 4.8rem); }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--image .page-hero__aurora { opacity: .9; background: linear-gradient(100deg, rgba(4, 20, 39, .95) 20%, rgba(7, 29, 56, .78) 60%, rgba(11, 42, 79, .5)); }
.page-hero__inner { max-width: 860px; margin-left: max(16px, calc((100% - var(--container)) / 2)); }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin-bottom: .9rem; }
.page-hero__intro { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: #c3d2e5; max-width: 720px; margin: 0; }
.page-hero__meta { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.4rem; }
.chip-light { display: inline-flex; align-items: center; padding: .35rem .85rem; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); color: #e4ecf6; font-size: .85rem; font-weight: 600; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0 0 1.4rem; font-size: .88rem; }
.crumbs li { display: flex; align-items: center; gap: .4rem; color: #8fa3bd; }
.crumbs li + li::before { content: '/'; color: #50678a; }
.crumbs a { color: #c3d2e5; text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: var(--gold-300); }

/* ── Article / prose ─────────────────────────────────────────────────── */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.article-cover { margin: 0 0 2rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.article-cover img { width: 100%; }
.article-side { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 1.2rem; }
.side-card { padding: 1.6rem; border-radius: var(--radius); background: var(--soft); border: 1px solid var(--line); }
.side-card h3 { font-size: 1.1rem; }
.side-card p { font-size: .95rem; color: var(--muted); }
.side-card--gold { background: var(--cream); border-color: #f6e5b8; }
.side-card--stat { background: var(--navy-900); border: 0; color: #c8d6e8; }
.side-card--stat strong { display: block; font-size: 3rem; font-weight: 800; letter-spacing: -.04em; color: var(--gold-300); line-height: 1; margin-bottom: .4rem; }
.side-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.side-list a { display: block; font-weight: 700; color: var(--ink); text-decoration: none; line-height: 1.35; }
.side-list a:hover { color: var(--blue-600); }
.side-list small { color: var(--muted); font-size: .82rem; }
.prose { color: var(--text); }
.prose--lg { font-size: 1.1rem; }
.prose h2 { font-size: 1.7rem; margin-top: 2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose img { border-radius: 14px; margin: 1.5rem 0; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .5rem; }
.prose li::marker { color: var(--green); }
.prose blockquote { margin: 1.6rem 0; padding: 1rem 1.4rem; border-left: 4px solid var(--gold); background: var(--cream); border-radius: 0 12px 12px 0; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border-radius: 14px; border: 0; }
.prose p:has(> img + img) { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin: 1.5rem 0; }
.prose p:has(> img + img) img { margin: 0; aspect-ratio: 1; object-fit: cover; width: 100%; cursor: zoom-in; }
.prose .gallery-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin: 1.5rem 0; }
.prose .gallery-row img { margin: 0; aspect-ratio: 1; object-fit: cover; width: 100%; cursor: zoom-in; }
.prose .lang-so { margin-top: 2rem; padding: 1.5rem 1.6rem; border-radius: 16px; background: var(--soft); border: 1px solid var(--line); }
.prose > :last-child { margin-bottom: 0; }
.share { display: flex; align-items: center; gap: .6rem; margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line); flex-wrap: wrap; }
.share span { font-weight: 700; color: var(--ink); margin-right: .4rem; }
.share a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--soft); color: var(--navy-800); border: 1px solid var(--line); transition: .2s; }
.share a:hover { background: var(--navy-800); color: #fff; }
.share .icon { width: 18px; height: 18px; }
.highlight-grid { margin-top: 1rem; }
.highlight { display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1.2rem; border-radius: 14px; background: var(--soft); border: 1px solid var(--line); font-weight: 650; color: var(--ink); }
.highlight__n { width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; background: var(--grad-brand); color: #fff; font-weight: 800; font-size: .9rem; }

/* Programmes list */
.prog-list { display: grid; gap: clamp(3rem, 7vw, 5.5rem); }
.prog-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.prog-row--alt .prog-row__media { order: 2; }
.prog-row__media { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-lg); background: var(--soft); }
.prog-row__media img { width: 100%; height: 100%; object-fit: cover; }
.prog-row__art { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, var(--c1), var(--c2)); color: rgba(255, 255, 255, .85); }
.prog-row__art .icon { width: 30%; height: 30%; stroke-width: 1.2; }
.prog-row__text .icon-tile { margin-bottom: 1.2rem; }
.prog-row__text h2 a { color: var(--ink); text-decoration: none; }

/* About fact panel, team, partners */
.fact-panel { padding: 2rem; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.fact-panel__logo { width: 96px; height: 96px; object-fit: contain; margin-bottom: 1.2rem; }
.fact-panel dl { margin: 0 0 1.5rem; display: grid; gap: .8rem; }
.fact-panel dl div { display: grid; grid-template-columns: 130px 1fr; gap: 1rem; padding-bottom: .8rem; border-bottom: 1px dashed var(--line); }
.fact-panel dt { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding-top: .15rem; }
.fact-panel dd { margin: 0; color: var(--ink); font-weight: 600; }
.fact-panel__stats { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.fact-panel__stats div { padding: 1rem; border-radius: 14px; background: var(--soft); }
.fact-panel__stats strong { display: block; font-size: 1.7rem; color: var(--navy-800); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.fact-panel__stats span { font-size: .82rem; color: var(--muted); line-height: 1.3; display: block; }
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; }
.person { background: #fff; border-radius: var(--radius); padding: 1.6rem; border: 1px solid var(--line); text-align: center; }
.person__photo { width: 120px; height: 120px; margin: 0 auto 1rem; border-radius: 50%; overflow: hidden; padding: 4px; background: var(--grad-gold); }
.person__photo img, .person__photo span { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: var(--navy-800); color: #fff; font-size: 2rem; font-weight: 800; }
.person h3 { font-size: 1.1rem; margin-bottom: .2rem; }
.person__role { color: var(--blue-600); font-weight: 700; font-size: .9rem; }
.person p:last-child { font-size: .92rem; color: var(--muted); margin: 0; }
.partner-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; }
.partner-grid a { display: flex; flex-direction: column; align-items: center; gap: .8rem; padding: 1.6rem 1rem; border-radius: var(--radius); border: 1px solid var(--line); text-decoration: none; color: var(--muted); font-weight: 700; font-size: .9rem; background: #fff; text-align: center; transition: .3s; }
.partner-grid a:hover { box-shadow: var(--shadow); color: var(--ink); }
.partner-grid img { height: 60px; width: auto; max-width: 160px; object-fit: contain; }

/* Callouts & empty states */
.callout { display: flex; gap: 1.4rem; align-items: flex-start; padding: clamp(1.6rem, 4vw, 2.4rem); border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.callout--video { margin-top: 3rem; align-items: center; flex-wrap: wrap; }
.callout--video > div { flex: 1; min-width: 240px; }
.callout--video h2 { margin-bottom: .3rem; }
.callout--video p { margin: 0; color: var(--muted); }
.callout--small { margin-top: 2rem; padding: 1.2rem; gap: 1rem; background: var(--cream); border-color: #f6e5b8; box-shadow: none; }
.callout--small p { margin: .2rem 0 0; font-size: .95rem; }
.empty { text-align: center; color: var(--muted); padding: 3rem 0; }
.empty-state { text-align: center; padding: clamp(2rem, 5vw, 3.5rem); border-radius: 24px; background: var(--soft); border: 1px solid var(--line); }
.empty-state .icon-tile { margin: 0 auto 1.2rem; }
.empty-state p { color: var(--muted); max-width: 560px; margin-inline: auto; }

/* Jobs */
.jobs { display: grid; gap: 1rem; }
.job-card { display: flex; align-items: center; gap: 1.5rem; padding: 1.6rem; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--text); transition: .3s var(--ease); }
.job-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); color: var(--text); }
.job-card h2 { margin-bottom: .3rem; }
.job-card p { margin: 0 0 .6rem; color: var(--muted); }
.job-card__meta { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; font-size: .88rem; }
.job-card__meta span { display: inline-flex; align-items: center; gap: .35rem; }
.job-card__arrow { width: 24px; height: 24px; color: var(--navy-800); }

/* Donate page */
.donate-ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-bottom: 2.5rem; }
.give-card { padding: 2rem; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.give-card .icon-tile { margin-bottom: 1.2rem; }
.give-card p { color: var(--muted); }
.bank { margin: 0 0 1.2rem; display: grid; gap: .7rem; }
.bank div { display: flex; flex-direction: column; }
.bank dt { font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.bank dd { margin: 0; font-weight: 650; color: var(--ink); }
.bank code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--soft); padding: .3rem .55rem; border-radius: 8px; cursor: copy; display: inline-block; font-size: .95rem; letter-spacing: .02em; }
.bank code.copied::after { content: ' ✓ copied'; color: var(--green); font-family: 'Jakarta', sans-serif; font-size: .8rem; }

/* ── Forms & contact ─────────────────────────────────────────────────── */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 1.8rem 0; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: 1rem; align-items: center; }
.contact-list small { display: block; font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contact-list a, .contact-list span { color: var(--ink); font-weight: 650; text-decoration: none; }
.contact-list a:hover { color: var(--blue-600); }
.contact__form { padding: clamp(1.6rem, 4vw, 2.6rem); border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form { display: grid; gap: 1.1rem; margin-top: 1.2rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field > span { font-size: .88rem; font-weight: 700; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); padding: .85rem 1rem; border-radius: 14px; border: 1.5px solid #d6e0eb; background: #fbfcfe;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(27, 143, 208, .15); }
.field--invalid input, .field--invalid textarea { border-color: var(--rose); }
.field__error { color: var(--rose); font-size: .85rem; font-weight: 600; }
.form__note { display: flex; align-items: center; gap: .5rem; font-size: .86rem; color: var(--muted); margin: 0; }
.form__note .icon { color: var(--green); }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.success { text-align: center; padding: 1.5rem 0; }
.success .icon-tile { margin: 0 auto 1.2rem; }
.map iframe { width: 100%; height: 420px; border: 0; filter: saturate(.85); }

.notfound { padding: clamp(5rem, 12vw, 9rem) 0; text-align: center; }
.notfound__code { font-size: clamp(5rem, 14vw, 9rem); font-weight: 800; letter-spacing: -.06em; line-height: 1; margin: 0; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound__links { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin-top: 1.8rem; }
.pager { display: flex; justify-content: center; gap: .5rem; margin-top: 3rem; }
.pager a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); text-decoration: none; font-weight: 700; color: var(--navy-800); }
.pager a[aria-current] { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }

/* ── Footer ──────────────────────────────────────────────────────────── */
.footer { position: relative; overflow: hidden; isolation: isolate; color: #9fb2cb; padding: clamp(3rem, 6vw, 4.5rem) 0 1.6rem; font-size: .95rem; }
.footer__glow { background: radial-gradient(40% 60% at 100% 0, rgba(76, 195, 238, .18), transparent 70%), radial-gradient(30% 50% at 0 100%, rgba(29, 139, 60, .2), transparent 70%), var(--navy-950); }
.footer__cta { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-bottom: 2.6rem; margin-bottom: 3rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer__cta h2 { color: #fff; font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin-bottom: .3rem; }
.footer__cta p { margin: 0; }
.footer__cta-actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 2.5rem; }
.footer h3 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 1.2rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.footer a:not(.btn) { color: #c3d2e5; text-decoration: none; }
.footer a:not(.btn):hover { color: var(--gold-300); }
.footer__about p { margin: 1.2rem 0; max-width: 380px; line-height: 1.6; }
.footer__contact li { display: flex; gap: .7rem; align-items: flex-start; }
.footer__contact .icon { color: var(--gold); margin-top: .25em; }
.social { display: flex; gap: .6rem; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); color: #fff; transition: .2s; }
.social a:hover { background: var(--gold); color: var(--navy-950); }
.social .icon { width: 18px; height: 18px; }
.footer__legal { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; color: #7d91ab; }
.footer__legal p { margin: 0; }
.footer__legal a { color: #9fb2cb; }

/* ── Lightbox ────────────────────────────────────────────────────────── */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(4, 20, 39, .94); padding: 4rem 1rem; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1200px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: .8rem; }
.lightbox img { max-height: calc(100vh - 9rem); width: auto; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lightbox figcaption { color: #c3d2e5; font-size: .95rem; text-align: center; }
.lightbox button { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, .2); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__nav--prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* ── Splash screen ───────────────────────────────────────────────────── */
.splash { display: none; }
.splash-on .splash {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; overflow: hidden; isolation: isolate;
  background: var(--navy-950); color: #c3d2e5; transition: opacity .6s var(--ease), visibility .6s;
  animation: splash-failsafe 0s linear 6s forwards; /* hides itself even if JavaScript fails */
}
.splash-on body { overflow: hidden; }
.splash.is-leaving { opacity: 0; visibility: hidden; }
.splash.is-leaving .splash__inner { transform: scale(1.06); }
.splash__aurora { position: absolute; inset: -20%; z-index: -1; background:
  radial-gradient(35% 40% at 70% 25%, rgba(76, 195, 238, .35), transparent 70%),
  radial-gradient(35% 40% at 25% 80%, rgba(29, 139, 60, .35), transparent 70%),
  radial-gradient(30% 35% at 50% 55%, rgba(247, 181, 0, .18), transparent 70%); animation: splash-drift 8s ease-in-out infinite alternate; }
.splash__inner { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 1.5rem; transition: transform .6s var(--ease); }
.splash__mark { position: relative; width: 200px; height: 200px; display: grid; place-items: center; margin-bottom: 1.2rem; }
.splash__rays { position: absolute; inset: 0; color: var(--gold); opacity: .55; animation: splash-spin 14s linear infinite; }
.splash__mark img { position: relative; width: 112px; height: 112px; border-radius: 30px; background: #fff; box-shadow: 0 0 0 8px rgba(255, 255, 255, .06), 0 20px 50px -10px rgba(247, 181, 0, .45); animation: splash-pop .7s var(--ease) both; }
.splash__name { margin: 0; color: #fff; font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 800; letter-spacing: -.02em; animation: splash-up .7s var(--ease) .15s both; }
.splash__tag { margin: .3rem 0 1.6rem; font-size: 1rem; color: var(--gold-300); font-family: 'Fraunces', Georgia, serif; font-style: italic; animation: splash-up .7s var(--ease) .25s both; }
.splash__bar { width: 160px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.splash__bar i { display: block; height: 100%; width: 40%; border-radius: inherit; background: var(--grad-gold); animation: splash-load 1.1s ease-in-out infinite; }
@keyframes splash-spin { to { transform: rotate(360deg); } }
@keyframes splash-pop { from { transform: scale(.6); opacity: 0; } }
@keyframes splash-up { from { transform: translateY(12px); opacity: 0; } }
@keyframes splash-load { from { transform: translateX(-110%); } to { transform: translateX(260%); } }
@keyframes splash-drift { to { transform: translate(3%, -3%) scale(1.05); } }
@keyframes splash-failsafe { to { opacity: 0; visibility: hidden; } }

/* ── Install prompt ──────────────────────────────────────────────────── */
.install {
  position: fixed; z-index: 90; left: 50%; bottom: 16px; width: min(440px, calc(100% - 24px));
  display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.1rem 1.1rem 1.1rem; border-radius: 22px;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -15px rgba(4, 20, 39, .45);
  transform: translate(-50%, 140%); transition: transform .45s var(--ease);
}
.install.is-open { transform: translate(-50%, 0); }
.install[hidden] { display: none; }
.install__icon { width: 56px; height: 56px; border-radius: 15px; flex-shrink: 0; box-shadow: 0 6px 16px -6px rgba(4, 20, 39, .35); }
.install__body { flex: 1; min-width: 0; }
.install__title { margin: 0 1.6rem .25rem 0; font-weight: 800; color: var(--ink); line-height: 1.3; }
.install__text { margin: 0 0 .9rem; font-size: .92rem; color: var(--muted); line-height: 1.5; }
.install__ios { margin: 0 0 .9rem; padding-left: 1.2rem; font-size: .9rem; color: var(--text); display: grid; gap: .35rem; }
.install__ios .icon { display: inline; vertical-align: -3px; width: 1.1em; height: 1.1em; color: var(--blue-600); }
.install--ios .install__text { display: none; }
.install__actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.install__close { position: absolute; top: .7rem; right: .7rem; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--soft); color: var(--muted); cursor: pointer; }
.install__close:hover { color: var(--ink); }
.btn--plain { --bg: transparent; --fg: var(--muted); }
.btn--plain:hover { --fg: var(--ink); box-shadow: none; }
@media (min-width: 1025px) { .install { left: auto; right: 24px; bottom: 24px; transform: translateY(140%); } .install.is-open { transform: none; } }

/* ── Push notifications ──────────────────────────────────────────────── */
.install__bell { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 15px; flex-shrink: 0; color: #fff; background: linear-gradient(135deg, #1474b0, #3cb5ea); }
.install__bell .icon { width: 28px; height: 28px; }
.side-card--push .icon-tile { margin-bottom: 1rem; }
.push-banner { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; margin-top: 2.5rem; padding: clamp(1.4rem, 3vw, 2rem); border-radius: 24px; background: linear-gradient(135deg, #eef7fd, #f3faf5); border: 1px solid #d6eaf6; }
.push-banner > div { flex: 1; min-width: 240px; }
.push-banner h2 { margin-bottom: .3rem; }
.push-banner p { margin: 0; color: var(--muted); }
[data-push-btn].is-on { --bg: var(--green); --fg: #fff; --bd: var(--green); }
[data-push-btn][disabled] { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }
.toast { position: fixed; z-index: 120; left: 50%; bottom: 24px; transform: translate(-50%, 20px); max-width: min(460px, calc(100% - 24px)); padding: .85rem 1.2rem; border-radius: 14px; background: var(--navy-900); color: #fff; font-weight: 600; font-size: .95rem; box-shadow: var(--shadow-lg); opacity: 0; transition: opacity .3s, transform .3s var(--ease); }
.toast.is-open { opacity: 1; transform: translate(-50%, 0); }

/* ── Reveal on scroll ────────────────────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease) var(--d, 0ms), transform .7s var(--ease) var(--d, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .nav ul a { padding: .5rem .5rem; font-size: .92rem; }
  .nav__cta .btn--ghost-dark { display: none; }
  .topbar__addr { display: none !important; }
}
@media (max-width: 1024px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: calc(var(--header-h) + 40px) 0 0; z-index: 49; flex-direction: column; align-items: stretch; gap: 1.5rem;
    background: #fff; padding: 1.5rem 16px 2rem; overflow-y: auto;
    opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-10px);
    transition: opacity .25s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .header.is-scrolled .nav, .nav.is-stuck { top: var(--header-h); }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
  .nav ul { flex-direction: column; gap: .2rem; }
  .nav ul a { padding: 1rem; font-size: 1.1rem; border-radius: 14px; }
  .nav ul a[aria-current] { background: var(--soft); }
  .nav ul a[aria-current]::after { display: none; }
  .nav__cta { flex-direction: column; }
  .nav__cta .btn { padding: 1rem; font-size: 1rem; }
  .nav__cta .btn--ghost-dark { display: inline-flex; }
  body.nav-open { overflow: hidden; }
  .hero__inner, .split, .impact__inner, .contact, .article-layout, .prog-row, .feature-post { grid-template-columns: 1fr; }
  .hero__visual { min-height: 420px; max-width: 600px; }
  .split--reverse .split__media, .prog-row--alt .prog-row__media { order: 0; }
  .metrics__grid, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .mvv, .tiers, .docs, .donate-ways { grid-template-columns: repeat(2, 1fr); }
  .tier--featured { transform: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .article-side { position: static; }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-template-rows: 260px 180px 180px; }
}
@media (max-width: 680px) {
  :root { --header-h: 72px; }
  body { font-size: 1rem; }
  .topbar__contact a:nth-child(2) span { display: none; }
  .brand__text small { display: none; }
  .brand img, .header.is-scrolled .brand img { width: 56px; height: 56px; }
  .hero { padding-bottom: 6rem; }
  .hero__visual { min-height: 340px; }
  .hero__photo--main { inset: 0 0 50px 24px; }
  .glass-card--badge { left: 8%; right: 8%; max-width: none; }
  .glass-card--stat { right: 0; }
  .grid-3, .mvv, .tiers, .docs, .donate-ways, .grid-2 { grid-template-columns: 1fr; }
  .metrics__grid { gap: .8rem; }
  .metric-card { padding: 1.2rem; }
  .pillars, .form__row, .impact__stats { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .leader { grid-template-columns: 1fr; text-align: center; }
  .leader__avatar { margin: 0 auto; }
  .photo-grid { grid-template-rows: 160px 160px; }
  .mosaic { grid-template-rows: 220px 140px 140px; gap: .6rem; }
  .callout { flex-direction: column; }
  .fact-panel dl div { grid-template-columns: 1fr; gap: .2rem; }
  .prose .gallery-row, .prose p:has(> img + img) { grid-template-columns: repeat(2, 1fr); }
  .support-band__actions .contact-pill { flex: 1; }
}
