/* =========================================================
   ICDHRS — Landing page
   ========================================================= */
:root {
  --ink: #0e1726;
  --ink-2: #16233a;
  --body: #344055;
  --muted: #667085;
  --line: #e4e8ee;
  --soft: #f5f7fa;
  --white: #fff;

  --primary: #0b3a7e;      /* institutional blue */
  --primary-2: #1d5fc2;
  --accent: #f08a24;       /* HQ marker + donate */
  --accent-2: #f59d43;

  --dem: #1d5fc2;
  --hr: #e23a5e;
  --sus: #1e9e68;

  --display: "Inter Tight", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Source Serif 4", Georgia, serif;

  --r: 6px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html:not(.lenis) { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6;
  color: var(--body); background: var(--white); -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
p { margin: 0 0 1em; }
svg { flex-shrink: 0; }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--accent); color: var(--ink); padding: 8px 14px; border-radius: var(--r); font-weight: 600; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.label { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin: 0; }
.label--light { color: rgba(255,255,255,.75); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 26px; border-radius: var(--r); font-weight: 600; font-size: .95rem;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn--sm { height: 42px; padding: 0 18px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { background: var(--accent-2); }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-2); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #e9eef6; }
.btn--ghost { color: #fff; border: 1px solid rgba(255,255,255,.45); }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn--outline { border: 1px solid var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--ink); }

.link { font-weight: 600; color: var(--primary); display: inline-flex; gap: 8px; align-items: center; }
.link::after { content: "→"; transition: transform .3s var(--ease); }
.link:hover::after { transform: translateX(4px); }
.link--light { color: #fff; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; color: #fff; transition: transform .45s var(--ease), color .3s; }
.topbar { background: rgba(8, 14, 26, .55); font-size: .8rem; overflow: hidden; height: 38px; transition: height .4s var(--ease); }
.topbar__inner { height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar__note { margin: 0; display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.85); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: live 2s infinite; flex-shrink: 0; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(240,138,36,.6); } 70%, 100% { box-shadow: 0 0 0 7px rgba(240,138,36,0); } }
.topbar__links { display: flex; align-items: center; gap: 22px; color: rgba(255,255,255,.75); }
.topbar__links a:hover, .topbar__lang:hover { color: #fff; }
.topbar__lang { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.75); font-size: .8rem; }
.topbar__lang svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; }

.mainbar { position: relative; border-bottom: 1px solid rgba(255,255,255,.14); transition: background .35s, border-color .35s; }
.mainbar__inner { height: 78px; display: flex; align-items: center; gap: 28px; transition: height .35s var(--ease); }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; position: relative; z-index: 2; }
.brand__mark { display: flex; align-items: flex-end; gap: 3px; height: 30px; }
.brand__mark i { display: block; width: 6px; border-radius: 1px; }
.brand__mark i:nth-child(1) { height: 16px; background: var(--dem); }
.brand__mark i:nth-child(2) { height: 30px; background: var(--hr); }
.brand__mark i:nth-child(3) { height: 22px; background: var(--sus); }
.brand__name { font-family: var(--display); font-weight: 700; font-size: 1.45rem; letter-spacing: .02em; display: flex; align-items: center; gap: 12px; line-height: 1; }
.brand__name small { font-family: var(--sans); font-weight: 500; font-size: .62rem; letter-spacing: 0; line-height: 1.3; opacity: .75; padding-left: 12px; border-left: 1px solid currentColor; }

.nav { margin-left: auto; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; }
.nav__link { height: 78px; padding: 0 14px; font-weight: 500; font-size: .93rem; display: inline-flex; align-items: center; gap: 6px; position: relative; transition: height .35s var(--ease); }
.nav__link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__item:hover .nav__link::after, .nav__item.is-open .nav__link::after { transform: scaleX(1); }

.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; color: var(--body); border-top: 1px solid var(--line);
  box-shadow: 0 24px 40px -12px rgba(14, 23, 38, .18);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .25s var(--ease), transform .3s var(--ease), visibility .25s;
}
.nav__item:hover .mega, .nav__item.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega__inner { display: grid; grid-template-columns: 1.1fr 1.6fr 1fr; gap: 48px; padding: 40px 0 44px; }
.mega__inner--cols { grid-template-columns: repeat(4, 1fr); }
.mega__intro h3 { font-size: 1.5rem; margin-bottom: 12px; }
.mega__intro p { color: var(--muted); font-size: .95rem; }
.mega__links { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 32px; align-content: start; }
.mega__links a, .mega__col a { padding: 7px 0; font-size: .95rem; color: var(--ink); transition: color .2s; }
.mega__links a:hover, .mega__col a:hover { color: var(--primary-2); }
.mega__col { display: flex; flex-direction: column; }
.mega__col h4 { font-family: var(--sans); font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.mega__col h4.is-dem { color: var(--dem); border-color: var(--dem); background: none; }
.mega__col h4.is-hr { color: var(--hr); border-color: var(--hr); background: none; }
.mega__col h4.is-sus { color: var(--sus); border-color: var(--sus); background: none; }
.mega__card { position: relative; display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 4/3; }
.mega__card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mega__card:hover img { transform: scale(1.05); }
.mega__card > span { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; color: #fff; font-weight: 600; background: linear-gradient(transparent, rgba(0,0,0,.7)); }
.mega__card--wide { grid-column: span 2; aspect-ratio: auto; background: var(--primary); color: #fff; padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.mega__card--wide > span { position: static; padding: 0; background: none; }
.mega__card-title { font-family: var(--display); font-size: 1.35rem; }
.mega__card-text { font-weight: 400 !important; opacity: .8; }
.mega__card-link { margin-top: auto; color: var(--accent-2) !important; }

.mainbar__actions { display: flex; align-items: center; gap: 10px; position: relative; z-index: 2; }
.icon-btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; transition: background .2s; }
.icon-btn:hover { background: rgba(127,127,127,.15); }
.icon-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.burger { display: none; width: 42px; height: 42px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 24px; }
.burger.is-open span:first-child { top: 20px; transform: rotate(45deg); }
.burger.is-open span:last-child { top: 20px; transform: rotate(-45deg); }

/* solid header: after scrolling, or while a mega menu is open */
.site-header.is-solid, .site-header.is-menu { color: var(--ink); }
.site-header.is-solid .mainbar, .site-header.is-menu .mainbar { background: #fff; border-color: var(--line); }
.site-header.is-solid .topbar { height: 0; }
.site-header.is-solid .mainbar__inner, .site-header.is-solid .nav__link { height: 68px; }
.site-header.is-hidden { transform: translateY(-100%); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: max(720px, 100svh); display: flex; flex-direction: column; justify-content: flex-end; color: #fff; overflow: hidden; background: var(--ink); }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 85%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8,14,26,.92) 0%, rgba(8,14,26,.72) 45%, rgba(8,14,26,.3) 100%),
    linear-gradient(0deg, rgba(8,14,26,.9) 0%, rgba(8,14,26,0) 45%);
}
.hero__content { position: relative; padding: 190px 0 56px; }
.hero__kicker { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 24px; }
.hero__title { color: #fff; font-size: clamp(2.6rem, 6vw, 5.4rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; max-width: 15ch; margin-bottom: 28px; }
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .w > span { display: inline-block; }
.hero__lead { max-width: 580px; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: rgba(255,255,255,.82); margin-bottom: 36px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

.hero__rail { position: relative; border-top: 1px solid rgba(255,255,255,.18); background: rgba(8,14,26,.4); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hero__rail-inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.rail-item { padding: 22px 28px 24px 0; display: flex; flex-direction: column; gap: 6px; border-right: 1px solid rgba(255,255,255,.14); }
.rail-item + .rail-item { padding-left: 28px; }
.rail-item:last-child { border-right: 0; }
.rail-item__tag { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--accent-2); font-weight: 600; }
.rail-item__title { font-weight: 500; line-height: 1.4; }
.rail-item:hover .rail-item__title { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Mission ---------- */
.mission { padding: clamp(80px, 11vw, 150px) 0 clamp(64px, 8vw, 110px); }
.mission__grid { display: grid; grid-template-columns: 220px 1fr; gap: 40px; }
.mission__grid .label { padding-top: 14px; }
.mission__text { font-family: var(--display); font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1.25; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 64px; }
.mission__text .word { transition: color .25s; }
.mission__text.is-split .word { color: #c9d0da; }
.mission__text.is-split .word.is-on { color: var(--ink); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.pillar { position: relative; padding: 28px 28px 8px 0; display: flex; flex-direction: column; gap: 6px; }
.pillar + .pillar { padding-left: 28px; border-left: 1px solid var(--line); }
.pillar__bar { position: absolute; top: -1px; left: 0; height: 3px; width: 48px; transition: width .5s var(--ease); }
.pillar + .pillar .pillar__bar { left: 28px; }
.pillar:hover .pillar__bar { width: calc(100% - 28px); }
.is-dem { background: var(--dem); } .is-hr { background: var(--hr); } .is-sus { background: var(--sus); }
.pillar__num { font-size: .8rem; color: var(--muted); font-weight: 600; }
.pillar__name { font-family: var(--display); font-size: 1.5rem; font-weight: 600; color: var(--ink); }
.pillar__desc { color: var(--muted); font-size: .95rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section--soft { background: var(--soft); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head h2 { margin-bottom: 16px; }
.section-head p { font-size: 1.1rem; color: var(--body); margin: 0; }
.section-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* ---------- What we do (duotone tiles) ---------- */
.themes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 28px; }
.theme { display: flex; flex-direction: column; }
.theme__img { position: relative; display: block; aspect-ratio: 16/10; border-radius: var(--r); overflow: hidden; background: var(--tone); margin-bottom: 16px; isolation: isolate; }
.theme__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05) brightness(1.2); mix-blend-mode: multiply; transition: transform .8s var(--ease), filter .5s; }
.theme__img::after { content: ""; position: absolute; inset: 0; background: var(--tone); mix-blend-mode: screen; opacity: .3; transition: opacity .5s; }
.theme:hover .theme__img img { transform: scale(1.06); filter: grayscale(.15) contrast(1.05) brightness(1); mix-blend-mode: normal; }
.theme:hover .theme__img::after { opacity: 0; }
.theme__meta { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 4px; }
.theme__title { font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: var(--ink); line-height: 1.3; }
.theme__title::after { content: " →"; opacity: 0; transition: opacity .3s; color: var(--tone); }
.theme:hover .theme__title::after { opacity: 1; }

/* ---------- Stats ---------- */
.stats { background: var(--primary); color: #fff; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 56px 32px 52px 0; display: flex; flex-direction: column; gap: 10px; border-right: 1px solid rgba(255,255,255,.16); }
.stat + .stat { padding-left: 32px; }
.stat:last-child { border-right: 0; }
.stat__num { font-family: var(--display); font-weight: 600; font-size: clamp(2.6rem, 4.6vw, 4rem); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat__label { color: rgba(255,255,255,.75); font-size: .95rem; max-width: 24ch; }

/* ---------- Where we work ---------- */
.where__layout { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
.filters { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.filter { display: flex; justify-content: space-between; align-items: center; height: 48px; padding: 0 18px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); color: var(--primary); font-weight: 600; font-size: .92rem; transition: all .25s; }
.filter b { font-weight: 600; font-size: .8rem; color: var(--muted); }
.filter:hover { border-color: var(--primary); }
.filter.is-active { background: var(--primary); color: #fff; border-color: var(--primary); }
.filter.is-active b { color: rgba(255,255,255,.7); }
.country-card { border: 1px solid var(--line); border-radius: var(--r); padding: 20px; margin-bottom: 24px; min-height: 140px; background: #fff; }
.country-card__hint { color: var(--muted); font-size: .92rem; margin: 0; }
.country-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.country-card__head img { width: 32px; height: 22px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px var(--line); }
.country-card__head strong { font-family: var(--display); font-size: 1.2rem; color: var(--ink); }
.country-card__region { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 8px; }
.country-card p { margin: 0; font-size: .92rem; }
.country-card.is-swap { animation: swapIn .45s var(--ease); }
@keyframes swapIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .88rem; }
.legend li { display: flex; align-items: center; gap: 10px; }
.sw { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.sw--hq { background: var(--accent); box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--accent); }
.sw--priority { background: #0b3a7e; }
.sw--us { background: #4f86d1; }
.sw--other { background: #c9dbef; }

.map { position: relative; background: var(--soft); border-radius: var(--r); overflow: hidden; aspect-ratio: 1.75 / 1; }
.map svg { width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
.map svg:active { cursor: grabbing; }
.map .country { fill: #c9dbef; stroke: #fff; stroke-width: .6; transition: fill .3s; vector-effect: non-scaling-stroke; }
.map .country.is-us { fill: #4f86d1; }
.map .country.is-priority { fill: #0b3a7e; cursor: pointer; }
.map .country.is-pending { fill: #c9dbef; }
.map .country.is-dim { fill: #9db8da; }
.map .country.is-priority:hover, .map .country.is-selected { fill: var(--accent); }
.map .hq-pulse { fill: var(--accent); transform-box: fill-box; transform-origin: center; animation: hq 2.4s ease-out infinite; }
.map .hq-dot { fill: var(--accent); stroke: #fff; stroke-width: 2.5; vector-effect: non-scaling-stroke; cursor: pointer; }
@keyframes hq { from { transform: scale(1); opacity: .55; } to { transform: scale(3.5); opacity: 0; } }
.map__tip { position: absolute; pointer-events: none; background: var(--ink); color: rgba(255,255,255,.8); padding: 10px 12px; border-radius: var(--r); font-size: .8rem; line-height: 1.45; max-width: 240px; opacity: 0; transform: translate(-50%, calc(-100% - 14px)); transition: opacity .15s; z-index: 2; }
.map__tip strong { display: block; font-size: .9rem; color: #fff; margin-bottom: 2px; }
.map__tip.is-on { opacity: 1; }
.map__zoom { position: absolute; right: 16px; bottom: 16px; display: flex; }
.map__zoom button { width: 36px; height: 36px; background: var(--primary); color: #fff; font-size: 1.2rem; display: grid; place-items: center; }
.map__zoom button + button { border-left: 1px solid rgba(255,255,255,.25); }
.map__zoom button:hover { background: var(--primary-2); }
.map__fallback { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: .9rem; text-align: center; padding: 24px; }

.countries { margin-top: 72px; }
.countries__head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 28px; }
.countries__head h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.countries__head p { margin: 0; color: var(--muted); }
.countries__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 32px; border-top: 1px solid var(--line); }
.c-item { display: grid; grid-template-columns: 24px 28px 1fr; gap: 12px; align-items: start; padding: 16px 8px 16px 0; border-bottom: 1px solid var(--line); cursor: pointer; transition: background .2s; }
.c-item:hover, .c-item.is-selected { background: var(--soft); }
.c-item__n { font-size: .78rem; color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 3px; padding-left: 4px; }
.c-item img { width: 28px; height: 19px; object-fit: cover; border-radius: 2px; margin-top: 3px; box-shadow: 0 0 0 1px var(--line); }
.c-item__name { display: block; font-weight: 600; color: var(--ink); }
.c-item__focus { display: block; font-size: .85rem; color: var(--muted); line-height: 1.45; }
.c-item.is-hidden { display: none; }

/* ---------- Featured issue (editorial split) ---------- */
.issue { padding: 0 0 clamp(72px, 9vw, 120px); }
.issue__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.issue__head h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); font-weight: 500; max-width: 12ch; }
.issue__panel { position: relative; background: var(--soft); display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; overflow: hidden; border-radius: var(--r); }
.issue__text { position: relative; z-index: 1; padding: clamp(32px, 5vw, 72px); align-self: center; font-family: var(--serif); font-size: 1.12rem; line-height: 1.7; color: #2b3445; }
.issue__text .link { font-family: var(--sans); font-size: 1rem; margin-top: 8px; }
.issue__media { position: absolute; inset: 0 0 0 38%; overflow: hidden; }
.issue__media img { width: 100%; height: 115%; object-fit: cover; }
.issue__media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--soft) 0%, rgba(245,247,250,.85) 18%, rgba(245,247,250,0) 50%); }
.issue__credit { position: absolute; left: clamp(32px, 5vw, 72px); bottom: 20px; margin: 0; font-size: .78rem; color: var(--muted); z-index: 1; }

/* ---------- Latest (dark) ---------- */
.latest { background: var(--ink); color: rgba(255,255,255,.8); padding: clamp(72px, 9vw, 120px) 0; }
.latest h2, .latest h3 { color: #fff; }
.news { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
.story { display: flex; flex-direction: column; }
.story__img { display: block; aspect-ratio: 4/3; overflow: hidden; border-radius: var(--r); margin-bottom: 18px; }
.story--lead .story__img { aspect-ratio: 16/10; }
.story__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.story:hover .story__img img { transform: scale(1.04); }
.story__kicker { font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--accent-2); margin-bottom: 8px; }
.story h3 { font-size: 1.25rem; line-height: 1.3; margin-bottom: 10px; }
.story--lead h3 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); }
.story h3 a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.story:hover h3 a { background-size: 100% 1px; }
.story__dek { color: rgba(255,255,255,.7); }
.story time { font-size: .85rem; color: rgba(255,255,255,.5); }

.latest__bottom { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; margin-top: 64px; padding-top: 48px; border-top: 1px solid rgba(255,255,255,.14); }
.mini-head { font-size: 1.1rem; margin-bottom: 8px; }
.event { display: grid; grid-template-columns: 64px 1fr 24px; gap: 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.12); transition: padding .3s var(--ease); }
.event:hover { padding-left: 8px; }
.event__date { text-align: center; text-transform: uppercase; font-size: .72rem; letter-spacing: .1em; color: rgba(255,255,255,.6); line-height: 1.1; }
.event__date b { display: block; font-family: var(--display); font-size: 1.8rem; letter-spacing: -0.02em; color: #fff; }
.event__body strong { display: block; color: #fff; font-weight: 600; }
.event__body small { color: rgba(255,255,255,.55); font-size: .88rem; }
.event__arrow { color: var(--accent-2); transition: transform .3s var(--ease); }
.event:hover .event__arrow { transform: translateX(4px); }
.report { background: var(--primary); border-radius: var(--r); padding: 32px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; transition: background .3s; }
.report:hover { background: #0d4593; }
.report__tag { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--accent-2); }
.report__title { font-family: var(--display); font-size: 1.7rem; color: #fff; font-weight: 600; line-height: 1.15; }
.report__text { color: rgba(255,255,255,.75); margin-bottom: 12px; }

/* ---------- Get involved ---------- */
.involve { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.involve__card { position: relative; display: block; aspect-ratio: 4/5; border-radius: var(--r); overflow: hidden; color: #fff; }
.involve__card img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.involve__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,14,26,0) 35%, rgba(8,14,26,.88) 100%); }
.involve__card:hover img { transform: scale(1.06); }
.involve__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px; z-index: 1; display: flex; flex-direction: column; gap: 8px; }
.involve__title { font-family: var(--display); font-size: 1.5rem; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.involve__title::after { content: "→"; width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-size: 1rem; transition: transform .35s var(--ease), background .3s; }
.involve__card:hover .involve__title::after { transform: rotate(-45deg); background: var(--accent); }
.involve__text { color: rgba(255,255,255,.8); font-size: .95rem; }

/* ---------- Donate ---------- */
.donate { position: relative; padding: clamp(80px, 10vw, 140px) 0; color: #fff; overflow: hidden; }
.donate__bg { position: absolute; inset: -12% 0; }
.donate__bg img { width: 100%; height: 100%; object-fit: cover; }
.donate__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,58,126,.96) 0%, rgba(11,58,126,.85) 45%, rgba(11,58,126,.5) 100%); }
.donate__grid { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.donate h2 { color: #fff; margin: 16px 0 20px; max-width: 16ch; }
.donate__copy > p { color: rgba(255,255,255,.85); font-size: 1.1rem; max-width: 52ch; }
.donate__copy .donate__legal { font-size: .88rem; color: rgba(255,255,255,.65); margin-top: 24px; }
.give { background: #fff; color: var(--body); border-radius: 10px; padding: 32px; box-shadow: 0 40px 80px -20px rgba(0,0,0,.4); }
.give__freq { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--r); padding: 4px; margin-bottom: 20px; }
.give__freq button { height: 42px; border-radius: 4px; font-weight: 600; font-size: .92rem; color: var(--muted); transition: all .25s; }
.give__freq button.is-active { background: var(--ink); color: #fff; }
.give__amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 10px; }
.give__amounts button { height: 52px; border: 1px solid var(--line); border-radius: var(--r); font-weight: 600; color: var(--ink); transition: all .2s; }
.give__amounts button:hover { border-color: var(--ink); }
.give__amounts button.is-active { border-color: var(--primary); background: #eaf1fb; color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }
.give__other { display: flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: var(--r); padding: 0 16px; height: 52px; margin-bottom: 16px; }
.give__other:focus-within { border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }
.give__other span { color: var(--muted); font-weight: 600; }
.give__other input { border: 0; outline: 0; font: inherit; width: 100%; height: 100%; color: var(--ink); background: none; }
.give__impact { font-size: .92rem; color: var(--ink); border-left: 3px solid var(--accent); padding: 4px 0 4px 12px; margin-bottom: 20px; min-height: 2.6em; }
.give__secure { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 14px 0 0; font-size: .8rem; color: var(--muted); }
.give__secure svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }

/* ---------- Newsletter ---------- */
.newsletter { padding: 72px 0; }
.newsletter__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.newsletter h2 { font-size: clamp(1.8rem, 2.8vw, 2.4rem); margin-bottom: 8px; }
.newsletter__inner p { margin: 0; color: var(--muted); }
.newsletter__form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter__form input { flex: 1; min-width: 220px; height: 50px; padding: 0 18px; border: 1px solid var(--line); border-radius: var(--r); font: inherit; outline: 0; transition: border-color .2s; }
.newsletter__form input:focus { border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }
.newsletter__msg { flex-basis: 100%; font-size: .9rem; color: var(--sus) !important; font-weight: 600; min-height: 1.4em; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.65); font-size: .92rem; padding-top: 80px; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; }
.brand--light { color: #fff; margin-bottom: 28px; }
.footer address { font-style: normal; line-height: 1.8; margin-bottom: 24px; }
.footer address a:hover { color: #fff; }
.social { display: flex; gap: 8px; }
.social a { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; display: grid; place-items: center; transition: all .25s; }
.social a:hover { background: #fff; border-color: #fff; }
.social svg { width: 16px; height: 16px; fill: #fff; transition: fill .25s; }
.social a:hover svg { fill: var(--ink); }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 { color: #fff; font-family: var(--sans); font-size: .85rem; font-weight: 600; margin-bottom: 6px; letter-spacing: 0; }
.footer__col a:hover { color: #fff; }
.footer__word { font-family: var(--display); font-weight: 700; font-size: clamp(5rem, 21vw, 19rem); line-height: .8; letter-spacing: -0.05em; color: rgba(255,255,255,.06); margin-top: 64px; user-select: none; white-space: nowrap; text-align: center; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 24px 0 32px; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; }
.footer__bottom p { margin: 0; }
.footer__bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__bottom a:hover { color: #fff; }

/* ---------- Animation initial states (only when GSAP is running) ---------- */
.anim [data-hero], .anim [data-hero-rail], .anim [data-fade], .anim [data-tile] { opacity: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .brand__name small { display: none; }
  .nav__link { padding: 0 10px; font-size: .9rem; }
  .nav__link::after { left: 10px; right: 10px; }
}

@media (max-width: 1024px) {
  .burger { display: block; }
  .mainbar__actions { margin-left: auto; }
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); height: 100vh; height: 100dvh;
    background: #fff; color: var(--ink); padding: 96px 24px 32px; overflow-y: auto;
    transform: translateX(100%); visibility: hidden; transition: transform .5s var(--ease), visibility 0s .5s;
    box-shadow: -20px 0 60px rgba(0,0,0,.2);
  }
  .nav.is-open { transform: none; visibility: visible; transition: transform .5s var(--ease); }
  /* the fixed drawer must not be trapped by a transformed/filtered ancestor */
  .site-header.is-nav-open { transform: none !important; }
  .nav__list { flex-direction: column; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__link, .site-header.is-solid .nav__link { height: 60px; width: 100%; justify-content: space-between; padding: 0; font-size: 1.1rem; font-weight: 600; }
  .nav__link::after { position: static; width: 8px; height: 8px; background: none; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .3s; }
  .nav__item:hover .nav__link::after { transform: rotate(45deg); }
  .nav__item.is-open .nav__link::after { transform: rotate(225deg); }
  .mega { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
  .nav__item:hover .mega { transform: none; }
  .nav__item.is-open .mega { grid-template-rows: 1fr; }
  .mega > .wrap { overflow: hidden; width: 100%; min-height: 0; }
  .mega__inner, .mega__inner--cols { display: flex; flex-direction: column; gap: 20px; padding: 0; }
  .nav__item.is-open .mega__inner { padding-bottom: 20px; }
  .mega__intro, .mega__card { display: none; }
  .mega__links { grid-template-columns: 1fr; }
  .site-header.is-nav-open { color: var(--ink); }
  .site-header.is-nav-open .mainbar { background: transparent; border-color: transparent; }

  .mission__grid { grid-template-columns: 1fr; gap: 20px; }
  .themes { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.16); }
  .where__layout { grid-template-columns: 1fr; }
  .where__side { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
  .where__side .filters { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .filter { height: 40px; gap: 10px; }
  .countries__list { grid-template-columns: repeat(2, 1fr); }
  .news { grid-template-columns: 1fr 1fr; }
  .story--lead { grid-column: 1 / -1; }
  .latest__bottom, .donate__grid, .newsletter__inner { grid-template-columns: 1fr; }
  .involve { grid-template-columns: 1fr 1fr; }
  .involve__card:last-child { grid-column: 1 / -1; aspect-ratio: 16/8; }
  .footer__top { grid-template-columns: repeat(4, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .wrap { width: calc(100% - 32px); }
  .topbar__note { display: none; }
  .topbar__inner { justify-content: flex-end; }
  .mainbar__inner { gap: 8px; }
  .mainbar__actions { margin-left: auto; }
  .mainbar__actions .btn { display: none; }
  .hero { min-height: 100svh; }
  .hero__content { padding: 150px 0 40px; }
  .hero__rail-inner { grid-template-columns: 1fr; }
  .rail-item, .rail-item + .rail-item { padding: 16px 0; border-right: 0; }
  .rail-item:nth-child(n+2) { display: none; }
  .mission__grid { grid-template-columns: 1fr; gap: 16px; }
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .pillar + .pillar .pillar__bar { left: 0; }
  .themes { gap: 28px 16px; }
  .theme__title { font-size: 1rem; }
  .stat, .stat + .stat { padding: 36px 16px 32px 0; }
  .stat:nth-child(even) { padding-left: 16px; }
  .where__side { grid-template-columns: 1fr; }
  .map { aspect-ratio: 1.3 / 1; }
  .countries__head { grid-template-columns: 1fr; gap: 12px; }
  .countries__list { grid-template-columns: 1fr; }
  .issue__panel { grid-template-columns: 1fr; min-height: 0; }
  .issue__media { position: relative; inset: auto; aspect-ratio: 4/3; order: -1; }
  .issue__media img { height: 100%; }
  .issue__media::before { background: linear-gradient(0deg, var(--soft) 0%, rgba(245,247,250,0) 40%); }
  .issue__text { padding: 8px 24px 64px; }
  .issue__credit { left: 24px; }
  .news, .involve { grid-template-columns: 1fr; }
  .involve__card, .involve__card:last-child { aspect-ratio: 4/3; grid-column: auto; }
  .give { padding: 22px; }
  .give__amounts { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  html:not(.lenis) { scroll-behavior: auto; }
}
