/* ==========================================================================
   ICWAC — Imbabazi Center for Women and Children
   Design system. Flat colour only: no gradients anywhere.
   Palette sampled from the organisation logo:
     pink  #E5008C   blue  #1478E0   orange #FF890E
   ========================================================================== */

/* --------------------------------------------------------------- tokens -- */
:root {
  /* brand — straight from the logo */
  --pink:        #E5008C;
  --pink-700:    #B0006C;
  --pink-100:    #FCDCEE;
  --pink-50:     #FDEDF6;

  --blue:        #1478E0;
  --blue-700:    #0B57A8;
  --blue-900:    #08325F;
  --blue-100:    #D6E7FA;
  --blue-50:     #EDF4FD;

  --orange:      #FF890E;
  --orange-700:  #D46A00;
  --orange-100:  #FFE4C4;
  --orange-50:   #FFF4E7;

  /* supporting */
  --teal:        #00998C;
  --teal-700:    #007067;
  --teal-50:     #E3F4F2;

  --ink:         #0E1A2B;
  --ink-2:       #23334A;
  --slate:       #5C6B80;
  --slate-2:     #8493A6;
  --line:        #E2E7EE;
  --line-2:      #EEF1F6;
  --cream:       #FBF7F2;
  --paper:       #FFFFFF;

  /* type */
  --font-display: 'Outfit', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body:    'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --step--1: clamp(.82rem, .80rem + .10vw, .90rem);
  --step-0:  clamp(1rem, .96rem + .18vw, 1.075rem);
  --step-1:  clamp(1.15rem, 1.08rem + .32vw, 1.35rem);
  --step-2:  clamp(1.42rem, 1.28rem + .62vw, 1.85rem);
  --step-3:  clamp(1.75rem, 1.50rem + 1.10vw, 2.55rem);
  --step-4:  clamp(2.15rem, 1.70rem + 2.00vw, 3.60rem);
  --step-5:  clamp(2.60rem, 1.85rem + 3.40vw, 5.10rem);

  /* space + shape */
  --gut: clamp(1.15rem, .8rem + 1.6vw, 2.5rem);
  --sect: clamp(4rem, 2.6rem + 5.4vw, 7.5rem);
  --r-s: 8px;
  --r:   16px;
  --r-l: 26px;
  --maxw: 1260px;

  --sh-1: 0 1px 2px rgba(14,26,43,.06), 0 6px 18px rgba(14,26,43,.05);
  --sh-2: 0 2px 4px rgba(14,26,43,.06), 0 18px 40px rgba(14,26,43,.10);
  --sh-3: 0 30px 70px rgba(14,26,43,.16);
}

/* ---------------------------------------------------------------- reset -- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.68;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -.022em;
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p  { text-wrap: pretty; }
ul, ol { padding-left: 1.15em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--orange-100); color: var(--ink); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 999;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 0 0 var(--r-s) var(--r-s);
  transition: top .18s;
}
.skip:focus { top: 0; }

/* --------------------------------------------------------------- layout -- */
.wrap { width: min(100% - (var(--gut) * 2), var(--maxw)); margin-inline: auto; }
.wrap-wide { width: min(100% - (var(--gut) * 2), 1480px); margin-inline: auto; }
.section { padding-block: var(--sect); }
.section-sm { padding-block: clamp(2.6rem, 1.8rem + 3vw, 4.5rem); }
.bg-cream { background: var(--cream); }
.bg-blue-50 { background: var(--blue-50); }
.bg-pink-50 { background: var(--pink-50); }
.bg-orange-50 { background: var(--orange-50); }
.bg-ink { background: var(--ink); color: #D7DEE8; }
.bg-ink h1, .bg-ink h2, .bg-ink h3, .bg-ink h4 { color: #fff; }
.bg-blue { background: var(--blue-900); color: #CFE0F3; }
.bg-blue h2, .bg-blue h3 { color: #fff; }

.grid { display: grid; gap: clamp(1.1rem, .7rem + 1.4vw, 2rem); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.g-auto { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.g-auto-sm { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
@media (max-width: 960px) { .g-3, .g-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .g-2, .g-3, .g-4 { grid-template-columns: 1fr; } }

.stack > * + * { margin-top: 1rem; }
.center { text-align: center; }
.mxw-60 { max-width: 60ch; }
.mxw-52 { max-width: 52ch; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.hide { display: none !important; }

/* ---------------------------------------------------------- typography --- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display);
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--pink);
}
.eyebrow::before {
  content: ''; width: 26px; height: 3px; background: currentColor; border-radius: 2px;
}
.eyebrow-c { justify-content: center; }
.lead { font-size: var(--step-1); color: var(--slate); line-height: 1.6; }
.muted { color: var(--slate); }
.small { font-size: var(--step--1); }

.sect-head { max-width: 54rem; }
.sect-head.center { margin-inline: auto; }
.sect-head h2 { margin-top: .9rem; max-width: 20ch; }
.sect-head p { margin-top: 1.1rem; color: var(--slate); font-size: var(--step-1); max-width: 56ch; }
.sect-head.center h2, .sect-head.center p { margin-inline: auto; }

/* A solid ink swash under a word — no gradient, just a flat block. */
.mark { position: relative; display: inline-block; white-space: nowrap; }
.mark::after {
  content: ''; position: absolute; left: -.06em; right: -.06em; bottom: .06em; height: .30em;
  background: var(--orange-100); z-index: -1; border-radius: 3px;
}
.mark-pink::after { background: var(--pink-100); }
.mark-blue::after { background: var(--blue-100); }
.t-pink { color: var(--pink); } .t-blue { color: var(--blue); }
.t-orange { color: var(--orange-700); } .t-teal { color: var(--teal); }

/* -------------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 650; font-size: var(--step-0);
  line-height: 1; padding: 1rem 1.6rem; border-radius: 100px; border: 2px solid transparent;
  cursor: pointer; transition: transform .18s ease, background-color .18s, color .18s, border-color .18s, box-shadow .18s;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .icn { width: 19px; height: 19px; }
.btn-primary { background: var(--orange); color: #221200; box-shadow: 0 6px 0 var(--orange-700); }
.btn-primary:hover { background: #FF960F; }
.btn-primary:active { box-shadow: 0 2px 0 var(--orange-700); transform: translateY(4px); }
.btn-pink { background: var(--pink); color: #fff; box-shadow: 0 6px 0 var(--pink-700); }
.btn-pink:hover { background: #F5089A; }
.btn-pink:active { box-shadow: 0 2px 0 var(--pink-700); transform: translateY(4px); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 6px 0 var(--blue-700); }
.btn-blue:hover { background: #1B84F0; }
.btn-blue:active { box-shadow: 0 2px 0 var(--blue-700); transform: translateY(4px); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-2); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn-on-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-on-dark:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-sm { padding: .7rem 1.1rem; font-size: var(--step--1); }
.btn-lg { padding: 1.15rem 2.1rem; font-size: var(--step-1); }
.btn-block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }
.btn-row.center { justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 650; color: var(--blue);
  border-bottom: 2px solid var(--blue-100); padding-bottom: 2px;
  transition: gap .18s, border-color .18s;
}
.link-arrow:hover { gap: .85rem; border-color: var(--blue); }
.link-arrow .icn { width: 18px; height: 18px; }

/* ---------------------------------------------------------------- chips -- */
.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-display); font-weight: 650; font-size: .76rem;
  letter-spacing: .06em; text-transform: uppercase;
  padding: .4rem .8rem; border-radius: 100px;
  background: var(--blue-50); color: var(--blue-700);
}
.chip-pink { background: var(--pink-50); color: var(--pink-700); }
.chip-orange { background: var(--orange-50); color: var(--orange-700); }
.chip-teal { background: var(--teal-50); color: var(--teal-700); }
.chip-ink { background: rgba(255,255,255,.14); color: #fff; }
.chip-solid-pink { background: var(--pink); color: #fff; }
.chip-solid-teal { background: var(--teal); color: #fff; }

/* --------------------------------------------------------------- header -- */
.topbar {
  background: var(--ink); color: #A9B7C9; font-size: .82rem;
  padding: .55rem 0;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.topbar a { display: inline-flex; align-items: center; gap: .4rem; transition: color .15s; }
.topbar a:hover { color: #fff; }
.topbar .icn { width: 15px; height: 15px; color: var(--orange); }
.topbar-links { display: flex; gap: 1.3rem; align-items: center; flex-wrap: wrap; }
.topbar-social { display: flex; gap: .55rem; }
.topbar-social a {
  width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.09);
  align-items: center; justify-content: center;
}
.topbar-social a:hover { background: var(--pink); color: #fff; }
.topbar-social .icn { width: 14px; height: 14px; color: inherit; }

.site-head {
  position: sticky; top: 0; z-index: 90;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s;
}
.site-head.is-stuck { box-shadow: 0 6px 26px rgba(14,26,43,.10); }
.head-inner { display: flex; align-items: center; gap: 1.5rem; padding: .7rem 0; }

/* The logo carries the brand — keep it big and unmissable. */
.brand { display: flex; align-items: center; gap: .85rem; flex-shrink: 0; }
.brand img {
  height: 78px; width: auto;
  transition: height .22s ease;
}
.site-head.is-stuck .brand img { height: 62px; }
.brand-txt { display: none; }
@media (min-width: 1180px) {
  .brand-txt { display: block; border-left: 2px solid var(--line); padding-left: .9rem; }
  .brand-txt strong {
    display: block; font-family: var(--font-display); font-size: 1.02rem; font-weight: 750;
    color: var(--ink); line-height: 1.15; letter-spacing: -.01em; max-width: 15ch;
  }
  .brand-txt span { font-size: .74rem; letter-spacing: .13em; text-transform: uppercase; color: var(--pink); font-weight: 650; }
}

.nav { margin-left: auto; display: flex; align-items: center; gap: .2rem; }
.nav ul { list-style: none; padding: 0; margin: 0; }
.nav-list { display: flex; align-items: stretch; gap: .15rem; list-style: none; padding: 0; margin: 0; }
/* Each item is the anchor its dropdown hangs from. */
.nav-item { position: relative; display: flex; }
.nav-link {
  position: relative;
  display: flex; align-items: center; gap: .3rem;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  padding: .7rem .78rem; border-radius: var(--r-s); color: var(--ink);
  transition: color .15s, background-color .15s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--blue); background: var(--blue-50); }
.nav-item.is-current > .nav-link { color: var(--blue); }
.nav-item.is-current > .nav-link::after {
  content: ''; position: absolute; left: .78rem; right: .78rem; bottom: -2px; height: 3px;
  background: var(--pink); border-radius: 2px;
}
.nav-link .icn { width: 15px; height: 15px; opacity: .6; transition: transform .18s; }
.nav-item:hover > .nav-link .icn { transform: rotate(180deg); }
.submenu {
  position: absolute; top: 100%; left: 0; min-width: 252px;
  margin-top: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--sh-2); padding: .5rem; z-index: 50;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .16s, transform .16s, visibility .16s;
}
/* Bridges the gap between link and panel so the pointer can travel across it. */
.submenu::before { content: ''; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
/* The last items would otherwise overflow the right edge of the window. */
.nav-list > .nav-item:nth-last-child(-n+2) .submenu { left: auto; right: 0; }
.nav-item:hover > .submenu, .nav-item:focus-within > .submenu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.submenu a {
  display: block; padding: .6rem .8rem; border-radius: var(--r-s);
  font-size: .93rem; font-weight: 550; color: var(--ink-2);
}
.submenu a:hover { background: var(--blue-50); color: var(--blue-700); }
.nav-cta { margin-left: .6rem; }

.burger {
  display: none; margin-left: auto; background: var(--ink); color: #fff; border: 0;
  width: 48px; height: 48px; border-radius: var(--r-s); cursor: pointer;
  align-items: center; justify-content: center;
}
@media (max-width: 1080px) {
  .nav-list, .nav-cta { display: none; }
  .burger { display: flex; }
  .brand img { height: 62px; }
  .site-head.is-stuck .brand img { height: 54px; }
}

/* mobile drawer */
.drawer {
  position: fixed; inset: 0 0 0 auto; width: min(400px, 88vw); z-index: 200;
  background: #fff; padding: 1.4rem; overflow-y: auto;
  transform: translateX(101%); transition: transform .3s cubic-bezier(.4,0,.2,1);
  box-shadow: var(--sh-3);
}
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.4rem; }
.drawer-head img { height: 58px; }
.drawer-close { background: var(--cream); border: 0; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.drawer nav ul { list-style: none; padding: 0; }
.drawer nav > ul > li { border-bottom: 1px solid var(--line-2); }
.drawer nav a {
  display: block; padding: .95rem .2rem; font-family: var(--font-display);
  font-weight: 650; font-size: 1.06rem; color: var(--ink);
}
.drawer nav ul ul a { padding-left: 1.1rem; font-size: .95rem; font-weight: 500; color: var(--slate); }
.drawer .btn { margin-top: 1.3rem; }
.scrim {
  position: fixed; inset: 0; background: rgba(14,26,43,.55); z-index: 150;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.scrim.open { opacity: 1; visibility: visible; }
body.no-scroll { overflow: hidden; }

/* ----------------------------------------------------------------- hero -- */
.hero { position: relative; background: var(--ink); overflow: hidden; }
/* Photo layer fills the hero; .hero-body alone decides how tall the hero is. */
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity .9s ease, visibility .9s;
}
.hero-slide.active { opacity: 1; visibility: visible; }
.hero-slide img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06); transition: transform 8s linear;
}
.hero-slide.active img { transform: scale(1); }
.hero-veil { position: absolute; inset: 0; background: rgba(9,18,32,.60); }
.hero-veil::after {
  /* flat colour band anchored to the bottom-left copy block, not a gradient */
  content: ''; position: absolute; inset: auto 0 0 0; height: 62%;
  background: rgba(9,18,32,.30);
}
.hero-body {
  position: relative; z-index: 2; display: flex; align-items: flex-end;
  min-height: clamp(540px, 74vh, 760px); padding-block: clamp(2.5rem, 1.8rem + 3vw, 4.5rem);
}
.hero-body > .wrap { width: min(100% - (var(--gut) * 2), var(--maxw)); }

/* All slide copy stacks in one grid cell so the block never changes height
   and the bottom-aligned content cannot jump between slides. */
.hero-copies { display: grid; }
.hero-copy {
  grid-area: 1 / 1; max-width: 52rem; align-self: end;
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .55s ease, transform .55s ease, visibility .55s;
}
.hero-copy.active { opacity: 1; visibility: visible; transform: none; }
.hero-copy .eyebrow { color: var(--orange); }
.hero-copy .hero-title {
  font-size: var(--step-5); color: #fff; margin-top: 1rem; max-width: 22ch;
}
.hero-copy p { color: #D9E2ED; font-size: var(--step-1); margin-top: 1.3rem; max-width: 46ch; }
.hero-copy .btn-row { margin-top: 2rem; }

/* Dots sit in the flow, directly under the copy, so they line up with it. */
.hero-dots { display: flex; gap: .6rem; margin-top: clamp(2rem, 3vw, 3rem); }
.hero-dot {
  width: 42px; height: 5px; padding: 0; border: 0; border-radius: 3px; cursor: pointer;
  background: rgba(255,255,255,.35); transition: background-color .2s;
}
.hero-dot:hover { background: rgba(255,255,255,.6); }
.hero-dot.active { background: var(--orange); }

/* Anchored to the same left edge as .wrap rather than the window edge. */
.hero-badge {
  position: absolute; z-index: 3; top: clamp(1.5rem, 3vw, 2.6rem);
  left: calc((100% - min(100% - (var(--gut) * 2), var(--maxw))) / 2);
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--pink); color: #fff; padding: .55rem 1rem; border-radius: 100px;
  font-family: var(--font-display); font-weight: 650; font-size: .82rem;
}
@media (max-width: 700px) { .hero-badge { display: none; } }

/* --------------------------------------------------------------- ticker -- */
.ticker {
  background: var(--pink); color: #fff; overflow: hidden; padding: .95rem 0;
  border-block: 3px solid var(--pink-700);
}
.ticker-track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; align-items: center; }
.ticker-item {
  display: inline-flex; align-items: center; gap: 1.5rem; padding-right: 1.5rem;
  font-family: var(--font-display); font-weight: 650; font-size: clamp(.95rem, .9rem + .3vw, 1.2rem);
  white-space: nowrap;
}
.ticker-item::after {
  content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); flex: none;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- cards -- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-l);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-2); border-color: transparent; }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 1.5rem 1.5rem 1.7rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.card-body h3 { font-size: var(--step-1); }
.card-body p { color: var(--slate); font-size: .97rem; }
.card-foot { margin-top: auto; padding-top: .5rem; }

/* program card with a flat accent rule */
.p-card { position: relative; }
.p-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 6px; z-index: 2;
  background: var(--blue);
}
.p-card[data-accent="pink"]::before { background: var(--pink); }
.p-card[data-accent="orange"]::before { background: var(--orange); }
.p-card[data-accent="teal"]::before { background: var(--teal); }
.p-card[data-accent="ink"]::before { background: var(--ink); }
.p-icon {
  position: absolute; right: 1.2rem; top: -30px; z-index: 3;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue); color: #fff; border: 4px solid #fff;
}
.p-card[data-accent="pink"] .p-icon { background: var(--pink); }
.p-card[data-accent="orange"] .p-icon { background: var(--orange); color: #23150a; }
.p-card[data-accent="teal"] .p-icon { background: var(--teal); }
.p-card[data-accent="ink"] .p-icon { background: var(--ink); }
.p-card .card-body { position: relative; padding-top: 2.1rem; }

/* ---------------------------------------------------------------- stats -- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
.bg-ink .stats, .bg-blue .stats { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.16); }
.stat { background: #fff; padding: 2rem 1.5rem; text-align: center; }
.bg-ink .stat, .bg-blue .stat { background: var(--ink); }
.bg-blue .stat { background: var(--blue-900); }
.stat .icn { color: var(--pink); margin: 0 auto .8rem; width: 30px; height: 30px; }
.bg-ink .stat .icn, .bg-blue .stat .icn { color: var(--orange); }
.stat-num {
  font-family: var(--font-display); font-weight: 750; font-size: clamp(2.3rem, 1.7rem + 2.4vw, 3.5rem);
  color: var(--ink); line-height: 1; letter-spacing: -.03em;
}
.bg-ink .stat-num, .bg-blue .stat-num { color: #fff; }
.stat-label { margin-top: .6rem; font-size: .93rem; color: var(--slate); }
.bg-ink .stat-label, .bg-blue .stat-label { color: #A9B7C9; }

/* ------------------------------------------------------------ split blk -- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.split-media { position: relative; }
.split-media > img { width: 100%; aspect-ratio: 5/6; object-fit: cover; border-radius: var(--r-l); }
.split-media.tall > img { aspect-ratio: 4/5; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } .split.rev > *:first-child { order: 2; } }

/* flat colour frame behind an image */
.framed { position: relative; }
.framed::before {
  content: ''; position: absolute; inset: 22px -22px -22px 22px; border-radius: var(--r-l);
  background: var(--blue-100); z-index: -1;
}
.framed.pink::before { background: var(--pink-100); }
.framed.orange::before { background: var(--orange-100); }

.float-card {
  position: absolute; left: -18px; bottom: -22px; background: #fff; border-radius: var(--r);
  box-shadow: var(--sh-2); padding: 1.2rem 1.4rem; display: flex; gap: .9rem; align-items: center;
  max-width: 270px; border: 1px solid var(--line);
}
.float-card .icn { flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--pink-50); color: var(--pink); }
.float-card b { display: block; font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); line-height: 1; }
.float-card span { font-size: .82rem; color: var(--slate); }
@media (max-width: 560px) { .float-card { position: static; margin-top: 1rem; max-width: none; } }

/* ------------------------------------------------------------- children -- */
.kid-card { position: relative; text-align: left; }
.kid-card .card-media { aspect-ratio: 3 / 4; }
.kid-status {
  position: absolute; left: 1rem; top: 1rem; z-index: 2;
  background: var(--teal); color: #fff; padding: .35rem .8rem; border-radius: 100px;
  font-family: var(--font-display); font-weight: 650; font-size: .74rem; letter-spacing: .05em; text-transform: uppercase;
}
.kid-status.sponsored { background: var(--slate); }
.kid-meta { display: flex; flex-wrap: wrap; gap: .45rem; }
.kid-price {
  display: flex; align-items: baseline; gap: .35rem; padding-top: .3rem;
  font-family: var(--font-display);
}
.kid-price b { font-size: 1.5rem; color: var(--pink); }
.kid-price span { font-size: .85rem; color: var(--slate); }

/* ----------------------------------------------------------------- team -- */
.person { text-align: center; }
.person-photo {
  width: 100%; aspect-ratio: 1; border-radius: var(--r-l); overflow: hidden;
  background: var(--blue-50); display: grid; place-items: center; margin-bottom: 1.1rem;
  border: 1px solid var(--line);
}
.person-photo img { width: 100%; height: 100%; object-fit: cover; }
.person-initials {
  font-family: var(--font-display); font-weight: 750; font-size: 3rem; color: var(--blue);
  letter-spacing: -.02em;
}
.person h4 { font-size: var(--step-1); }
.person .role { color: var(--pink); font-weight: 600; font-size: .9rem; margin-top: .25rem; }
.person .bio { color: var(--slate); font-size: .93rem; margin-top: .7rem; }

/* --------------------------------------------------------------- quotes -- */
.quote-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-l);
  padding: 2rem; display: flex; flex-direction: column; gap: 1.2rem; height: 100%;
}
.quote-card .icn.q { color: var(--orange); width: 34px; height: 34px; }
.quote-card blockquote { font-size: var(--step-1); color: var(--ink); line-height: 1.5; font-family: var(--font-display); font-weight: 500; }
.quote-who { display: flex; align-items: center; gap: .85rem; margin-top: auto; }
.quote-who img, .quote-who .av {
  width: 50px; height: 50px; border-radius: 50%; object-fit: cover; flex: none;
  background: var(--pink-50); color: var(--pink); display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700;
}
.quote-who b { display: block; font-family: var(--font-display); color: var(--ink); }
.quote-who span { font-size: .85rem; color: var(--slate); }

/* ---------------------------------------------------------------- steps -- */
.steps { counter-reset: s; display: grid; gap: 1.2rem; }
.step {
  display: grid; grid-template-columns: 64px 1fr; gap: 1.3rem; align-items: start;
  padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--r); background: #fff;
}
.step::before {
  counter-increment: s; content: counter(s, decimal-leading-zero);
  font-family: var(--font-display); font-weight: 750; font-size: 1.5rem;
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue-50); color: var(--blue);
}
.step:nth-child(2)::before { background: var(--pink-50); color: var(--pink); }
.step:nth-child(3)::before { background: var(--orange-50); color: var(--orange-700); }
.step:nth-child(4)::before { background: var(--teal-50); color: var(--teal); }
.step h4 { margin-bottom: .35rem; }
.step p { color: var(--slate); font-size: .96rem; }

/* ------------------------------------------------------------- give tier -- */
.tier {
  border: 2px solid var(--line); border-radius: var(--r-l); padding: 1.9rem; background: #fff;
  display: flex; flex-direction: column; gap: .9rem; position: relative;
  transition: border-color .2s, transform .2s;
}
.tier:hover { border-color: var(--blue); transform: translateY(-4px); }
.tier.popular { border-color: var(--pink); }
.tier-flag {
  position: absolute; top: -13px; left: 1.9rem; background: var(--pink); color: #fff;
  font-family: var(--font-display); font-weight: 650; font-size: .72rem; letter-spacing: .1em;
  text-transform: uppercase; padding: .35rem .8rem; border-radius: 100px;
}
.tier .icn.t { width: 44px; height: 44px; padding: 10px; border-radius: var(--r-s); background: var(--blue-50); color: var(--blue); }
.tier.popular .icn.t { background: var(--pink-50); color: var(--pink); }
.tier-amt { font-family: var(--font-display); font-weight: 750; font-size: 2.4rem; color: var(--ink); line-height: 1; letter-spacing: -.03em; }
.tier-amt small { font-size: .95rem; font-weight: 500; color: var(--slate); letter-spacing: 0; }
.tier p { color: var(--slate); font-size: .95rem; }
.tier .btn { margin-top: auto; }

/* ------------------------------------------------------------- accordion -- */
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-q {
  width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem;
  padding: 1.5rem .2rem; font-family: var(--font-display); font-weight: 650;
  font-size: var(--step-1); color: var(--ink); line-height: 1.35;
}
.acc-q .icn { flex: none; margin-top: 3px; color: var(--pink); transition: transform .25s; }
.acc-item.open .acc-q .icn { transform: rotate(180deg); }
.acc-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.acc-item.open .acc-a { grid-template-rows: 1fr; }
.acc-a > div { overflow: hidden; }
.acc-a p { color: var(--slate); padding: 0 3rem 1.6rem .2rem; }

/* --------------------------------------------------------------- galley -- */
.gal { columns: 3; column-gap: 1rem; }
@media (max-width: 900px) { .gal { columns: 2; } }
@media (max-width: 560px) { .gal { columns: 1; } }
.gal a {
  display: block; break-inside: avoid; margin-bottom: 1rem; border-radius: var(--r);
  overflow: hidden; position: relative; background: var(--cream);
}
.gal img { width: 100%; transition: transform .5s ease; }
.gal a:hover img { transform: scale(1.05); }
.gal-cap {
  position: absolute; inset: auto 0 0 0; padding: 2rem 1rem .9rem;
  background: rgba(14,26,43,.72); color: #fff; font-size: .88rem;
  opacity: 0; transition: opacity .25s;
}
.gal a:hover .gal-cap { opacity: 1; }

.strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: .6rem; }
.strip a { aspect-ratio: 1; overflow: hidden; border-radius: var(--r-s); }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.strip a:hover img { transform: scale(1.08); }
@media (max-width: 900px) { .strip { grid-template-columns: repeat(3, 1fr); } }

/* lightbox */
.lb {
  position: fixed; inset: 0; z-index: 300; background: rgba(9,15,25,.94);
  display: none; align-items: center; justify-content: center; padding: 4vh 4vw;
}
.lb.open { display: flex; }
.lb img { max-width: 100%; max-height: 82vh; border-radius: var(--r-s); object-fit: contain; }
.lb-cap { position: absolute; bottom: 4vh; left: 0; right: 0; text-align: center; color: #C7D2E0; font-size: .92rem; }
.lb-btn {
  position: absolute; background: rgba(255,255,255,.12); border: 0; color: #fff;
  width: 52px; height: 52px; border-radius: 50%; cursor: pointer; display: grid; place-items: center;
}
.lb-btn:hover { background: var(--pink); }
.lb-close { top: 3vh; right: 4vw; }
.lb-prev { left: 3vw; top: 50%; transform: translateY(-50%); }
.lb-next { right: 3vw; top: 50%; transform: translateY(-50%); }

/* -------------------------------------------------------------- partners -- */
.logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.logos > * { background: #fff; padding: 1.6rem 1.2rem; display: grid; place-items: center; min-height: 120px; }
.logos img { max-height: 62px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .65; transition: filter .25s, opacity .25s; }
.logos a:hover img { filter: none; opacity: 1; }
.logo-name { font-family: var(--font-display); font-weight: 650; color: var(--slate); text-align: center; font-size: .95rem; }

/* ----------------------------------------------------------------- page -- */
.page-head { background: var(--ink); color: #C7D2E0; position: relative; overflow: hidden; }
.page-head img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.page-head .wrap { position: relative; z-index: 2; padding-block: clamp(3.4rem, 2.4rem + 4vw, 6rem); }
.page-head h1 { color: #fff; max-width: 20ch; }
.page-head p { margin-top: 1rem; max-width: 58ch; font-size: var(--step-1); color: #C7D2E0; }
.crumb { display: flex; gap: .5rem; align-items: center; font-size: .86rem; color: #93A3B8; margin-bottom: 1.1rem; flex-wrap: wrap; }
.crumb a:hover { color: #fff; }
.crumb .sep { opacity: .5; }

.prose { max-width: 72ch; }
.prose p { margin-bottom: 1.15rem; color: var(--ink-2); }
.prose h2 { font-size: var(--step-2); margin: 2.4rem 0 1rem; }
.prose h3 { font-size: var(--step-1); margin: 2rem 0 .8rem; }
.prose ul, .prose ol { margin-bottom: 1.2rem; }
.prose li { margin-bottom: .5rem; }
.prose li::marker { color: var(--pink); }
.prose a { color: var(--blue); border-bottom: 1px solid var(--blue-100); }
.prose a:hover { border-color: var(--blue); }
.prose blockquote {
  border-left: 4px solid var(--orange); padding: .3rem 0 .3rem 1.4rem; margin: 1.8rem 0;
  font-family: var(--font-display); font-size: var(--step-1); color: var(--ink);
}
.prose img { border-radius: var(--r); margin: 1.6rem 0; }

.tick-list { list-style: none; padding: 0; display: grid; gap: .8rem; }
.tick-list li { display: grid; grid-template-columns: 26px 1fr; gap: .8rem; align-items: start; }
.tick-list .icn {
  width: 24px; height: 24px; padding: 4px; border-radius: 50%;
  background: var(--teal-50); color: var(--teal); flex: none;
}

/* ---------------------------------------------------------------- forms -- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: .89rem; color: var(--ink); }
.field label .req { color: var(--pink); }
.field input, .field select, .field textarea {
  width: 100%; padding: .92rem 1rem; border: 2px solid var(--line); border-radius: var(--r-s);
  background: #fff; transition: border-color .18s, background-color .18s; font-size: .98rem;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); background: var(--blue-50);
}
.field .hint { font-size: .8rem; color: var(--slate-2); }
.hp { position: absolute !important; left: -9999px; }

.amount-picker { display: flex; flex-wrap: wrap; gap: .6rem; }
.amount-opt { position: relative; }
.amount-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.amount-opt span {
  display: block; padding: .8rem 1.2rem; border: 2px solid var(--line); border-radius: 100px;
  font-family: var(--font-display); font-weight: 650; cursor: pointer; transition: all .18s;
}
.amount-opt input:checked + span { border-color: var(--pink); background: var(--pink); color: #fff; }
.amount-opt input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }

.alert {
  padding: 1rem 1.2rem; border-radius: var(--r-s); margin-bottom: 1.2rem;
  display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem;
  border-left: 4px solid;
}
.alert .icn { flex: none; }
.alert-success { background: var(--teal-50); border-color: var(--teal); color: #05564F; }
.alert-error   { background: var(--pink-50); border-color: var(--pink); color: var(--pink-700); }
.alert-info    { background: var(--blue-50); border-color: var(--blue); color: var(--blue-700); }

/* --------------------------------------------------------------- newsltr -- */
.newsletter { background: var(--blue-900); border-radius: var(--r-l); padding: clamp(2rem, 1.4rem + 3vw, 3.6rem); color: #CFE0F3; }
.newsletter h2 { color: #fff; }
.news-form { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.6rem; }
.news-form input {
  flex: 1 1 240px; padding: 1rem 1.2rem; border-radius: 100px; border: 2px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08); color: #fff;
}
.news-form input::placeholder { color: #90A9C6; }
.news-form input:focus { outline: none; border-color: var(--orange); background: rgba(255,255,255,.14); }

/* ----------------------------------------------------------------- CTA --- */
.cta-band { background: var(--pink); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #FFE3F3; font-size: var(--step-1); margin-top: 1rem; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; flex-wrap: wrap; }
.cta-inner > div { max-width: 40rem; }
.cta-inner h2 { max-width: 18ch; }
.cta-inner p { max-width: 52ch; }

/* -------------------------------------------------------------- footer --- */
.site-foot { background: var(--ink); color: #93A3B8; padding-top: clamp(3rem, 2rem + 3vw, 5rem); }
.foot-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 2.5rem; padding-bottom: 3rem; }
@media (max-width: 980px) { .foot-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-top { grid-template-columns: 1fr; } }
.foot-brand img { height: 96px; width: auto; background: #fff; padding: 10px; border-radius: var(--r); }
.foot-brand p { margin-top: 1.2rem; font-size: .94rem; max-width: 38ch; }
.foot-col h5 {
  font-family: var(--font-display); color: #fff; font-size: 1.02rem; font-weight: 650;
  margin-bottom: 1.1rem; letter-spacing: -.01em;
}
.foot-col ul { list-style: none; padding: 0; display: grid; gap: .65rem; }
.foot-col a { font-size: .94rem; transition: color .15s, padding-left .15s; }
.foot-col a:hover { color: #fff; padding-left: 5px; }
.foot-contact li { display: grid; grid-template-columns: 22px 1fr; gap: .7rem; font-size: .94rem; align-items: start; }
.foot-contact .icn { width: 18px; height: 18px; color: var(--orange); margin-top: 3px; }
.foot-social { display: flex; gap: .6rem; margin-top: 1.4rem; }
.foot-social a {
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.09);
  display: grid; place-items: center; transition: background-color .18s, color .18s;
}
.foot-social a:hover { background: var(--pink); color: #fff; }
.foot-bar {
  border-top: 1px solid rgba(255,255,255,.1); padding: 1.4rem 0; display: flex;
  justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .86rem;
}
.foot-bar a:hover { color: #fff; }
.reg-badge {
  display: inline-block; margin-top: 1.2rem; padding: .55rem .9rem; border-radius: var(--r-s);
  background: rgba(255,255,255,.07); font-size: .8rem; color: #A9B7C9; line-height: 1.5;
}

.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  width: 50px; height: 50px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--ink); color: #fff; display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .25s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--pink); }

/* --------------------------------------------------------------- motion -- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .09s; }
.reveal[data-d="2"] { transition-delay: .18s; }
.reveal[data-d="3"] { transition-delay: .27s; }
.reveal[data-d="4"] { transition-delay: .36s; }
.reveal[data-d="5"] { transition-delay: .45s; }

/* --------------------------------------------------------------- misc ---- */
.pill-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter-btn {
  border: 2px solid var(--line); background: #fff; border-radius: 100px; cursor: pointer;
  padding: .6rem 1.1rem; font-family: var(--font-display); font-weight: 600; font-size: .9rem;
  transition: all .18s;
}
.filter-btn:hover { border-color: var(--ink); }
.filter-btn.active { background: var(--ink); border-color: var(--ink); color: #fff; }

.empty {
  text-align: center; padding: 4rem 1.5rem; border: 2px dashed var(--line);
  border-radius: var(--r-l); color: var(--slate);
}
.empty .icn { width: 42px; height: 42px; margin: 0 auto 1rem; color: var(--slate-2); }

.pager { display: flex; gap: .4rem; justify-content: center; margin-top: 3rem; flex-wrap: wrap; }
.pager a, .pager span {
  min-width: 44px; height: 44px; padding: 0 .8rem; border-radius: var(--r-s);
  display: grid; place-items: center; border: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 600;
}
.pager a:hover { border-color: var(--ink); }
.pager .on { background: var(--ink); border-color: var(--ink); color: #fff; }

.contact-box {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-l);
  padding: 1.7rem; display: flex; gap: 1.1rem; align-items: flex-start;
}
.contact-box .icn {
  flex: none; width: 46px; height: 46px; padding: 11px; border-radius: 50%;
  background: var(--blue-50); color: var(--blue);
}
.contact-box h4 { font-size: 1.05rem; margin-bottom: .3rem; }
.contact-box p, .contact-box a { color: var(--slate); font-size: .95rem; }
.contact-box a:hover { color: var(--blue); }

.map-frame { border-radius: var(--r-l); overflow: hidden; border: 1px solid var(--line); }
.map-frame iframe { display: block; width: 100%; height: 420px; border: 0; }

/* related / next-prev */
.jump-row { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 2rem; border-top: 1px solid var(--line); margin-top: 3rem; }

@media print {
  .site-head, .site-foot, .topbar, .to-top, .ticker, .btn { display: none !important; }
  body { color: #000; }
}

/* ------------------------------------------------------- article + rail -- */
.with-aside {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: start;
}
.with-aside > aside { position: sticky; top: 120px; display: grid; gap: 1.2rem; }
@media (max-width: 940px) {
  .with-aside { grid-template-columns: 1fr; }
  .with-aside > aside { position: static; }
}
.rail-box { border: 1px solid var(--line); border-radius: var(--r-l); padding: 1.7rem; background: #fff; }
.rail-box h4 { font-size: 1.05rem; }

/* ------------------------------------------------- statement + level cards --
   Note: inside clamp()/calc(), the + and - operators MUST be surrounded by
   whitespace or the browser discards the whole declaration.               */

/* Vision / mission blocks */
.statement {
  border-radius: var(--r-l);
  padding: clamp(1.8rem, 1.2rem + 2.4vw, 3rem);
  display: flex; flex-direction: column;
}
.statement .s-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center; flex: none;
}
.statement h3 { font-size: var(--step-1); margin-top: 1.4rem; color: #fff; }
.statement p {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.22rem, 1rem + .78vw, 1.6rem);
  line-height: 1.32; color: #fff;
  /* Both cards share a height, so pinning the statement to the bottom keeps
     the short one and the long one reading as a matched pair. */
  margin-top: auto; padding-top: 1.2rem;
}
.statement--blue { background: var(--blue-900); }
.statement--blue .s-icon { background: var(--orange); color: #221200; }
.statement--pink { background: var(--pink); }
.statement--pink .s-icon { background: #fff; color: var(--pink); }

/* Sponsorship level panels */
.level-card {
  background: #fff; border: 2px solid var(--line); border-radius: var(--r-l);
  padding: clamp(1.7rem, 1.2rem + 2vw, 2.6rem);
  display: flex; flex-direction: column; align-items: flex-start;
}
.level-card--blue { border-color: var(--blue); }
.level-card--pink { border-color: var(--pink); }
.level-card .tick-list { width: 100%; }
/* Push the call to action to the foot of the card so both cards line up,
   and let it span the full content width despite align-items: flex-start. */
.level-card > .btn { margin-top: auto; padding-top: 1rem; align-self: stretch; width: 100%; }
.level-card > .tick-list { margin-bottom: 1.8rem; }

/* Generic roomy panel */
.panel {
  border: 2px solid var(--line); border-radius: var(--r-l);
  padding: clamp(1.6rem, 1.2rem + 2vw, 2.6rem);
}
