/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Brand palette */
  --white:        #FFFFFF;
  --blue:         #005C9E;
  --blue-mid:     #2271B3;
  --blue-light:   #EBF3F8;
  --blue-dim:     #D6E8F4;
  --red:          #E03C31;
  --red-dark:     #C42D23;
  --dark:         #111111;
  --gray:         #4A4A4A;
  --gray-light:   #767676;
  --bg:           #F5F5F7;
  --border:       #EAEAEA;
  --cream:        #FAF8F5;

  /* Category colors */
  --cat-program:  #005C9E;
  --cat-family:   #D97706;
  --cat-research: #059669;
  --cat-event:    #7C3AED;
  --cat-partner:  #DB2777;
  --cat-advocacy: #E03C31;

  /* Easing */
  --ease-out:    cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  /* Spacing scale */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 5rem;

  /* Type */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Satoshi', system-ui, sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 20px;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
h1,h2,h3,h4 { font-family: var(--font-display); line-height: 1.18; }

/* ============================================================
   UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  transition: background 160ms var(--ease-out),
              color 160ms var(--ease-out),
              transform 120ms var(--ease-out);
  white-space: nowrap;
}
.btn-red { background: var(--red); color: var(--white); }
@media (hover: hover) and (pointer: fine) {
  .btn-red:hover { background: var(--red-dark); }
}
.btn-red:active { transform: scale(0.97); }

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}
@media (hover: hover) and (pointer: fine) {
  .btn-outline:hover { background: var(--blue); color: var(--white); }
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,248,245,0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray);
  transition: color 140ms ease;
}
.nav-links a:hover { color: var(--blue); }
.nav-links a[aria-current="page"] { color: var(--blue); font-weight: 600; }

.nav-donate {
  font-size: 0.88rem;
  font-weight: 600;
  padding: 9px 22px;
  border-radius: 40px;
  border: 1.5px solid var(--red);
  color: var(--red);
  background: transparent;
  cursor: pointer;
  transition: background 160ms var(--ease-out), color 160ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .nav-donate:hover { background: var(--red); color: var(--white); }
}

/* Mobile nav */
#nav-toggle { display: none; }
.hamburger  { display: none; }
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger {
    display: flex; flex-direction: column; gap: 5px;
    cursor: pointer; padding: 8px; border: none; background: none;
  }
  .hamburger span {
    display: block; width: 22px; height: 2px;
    background: var(--dark); border-radius: 2px;
    transition: transform 200ms var(--ease-out), opacity 140ms ease;
  }
  #nav-toggle:checked ~ .nav-inner .nav-links {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--border);
    padding: var(--space-md); gap: var(--space-sm);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  }
  #nav-toggle:checked ~ .nav-inner .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  #nav-toggle:checked ~ .nav-inner .hamburger span:nth-child(2) { opacity: 0; }
  #nav-toggle:checked ~ .nav-inner .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ============================================================
   CATEGORY LABELS
   ============================================================ */
.cat {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 40px;
  line-height: 1;
}
.cat-program  { background: color-mix(in srgb, var(--cat-program) 10%, transparent);  color: var(--cat-program); }
.cat-family   { background: color-mix(in srgb, var(--cat-family) 12%, transparent);   color: var(--cat-family); }
.cat-research { background: color-mix(in srgb, var(--cat-research) 12%, transparent); color: var(--cat-research); }
.cat-event    { background: color-mix(in srgb, var(--cat-event) 10%, transparent);    color: var(--cat-event); }
.cat-partner  { background: color-mix(in srgb, var(--cat-partner) 10%, transparent);  color: var(--cat-partner); }
.cat-advocacy { background: color-mix(in srgb, var(--cat-advocacy) 10%, transparent); color: var(--cat-advocacy); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: var(--space-2xl) 0 var(--space-lg);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr 1.5fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-sm);
}
.footer-about {
  font-size: 0.88rem;
  line-height: 1.75;
  max-width: 32ch;
}
.footer-col-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-md);
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: color 130ms ease;
}
.footer-links a:hover { color: var(--white); }
.mpesa-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: var(--space-md);
}
.mpesa-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4ade80;
  margin-bottom: 10px;
}
.mpesa-detail {
  font-size: 0.88rem;
  color: var(--white);
  margin-bottom: var(--space-sm);
}
.mpesa-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.mpesa-steps li {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  gap: 8px;
}
.step-num {
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-nl-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 40px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.07);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
  margin-bottom: 10px;
  transition: border-color 140ms ease;
}
.footer-nl-input::placeholder { color: rgba(255,255,255,0.35); }
.footer-nl-input:focus { border-color: rgba(255,255,255,0.35); }
.footer-nl-btn {
  background: #2271B3;
  border: none;
  border-radius: 40px;
  padding: 10px 18px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 140ms ease;
}
.footer-nl-btn:hover { background: #1a5a96; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}
.footer-bottom-copy { font-size: 0.82rem; color: rgba(255,255,255,0.35); }
.footer-bottom-links { display: flex; gap: var(--space-md); }
.footer-bottom-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  transition: color 130ms ease;
}
.footer-bottom-links a:hover { color: rgba(255,255,255,0.65); }
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   FOCUS VISIBLE
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}



/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --red:        #C0392B;
  --red-dark:   #A93226;
  --blue:       #1A3A5C;
  --blue-mid:   #2563A8;
  --blue-light: #EAF1FB;
  --ink:        #0F1C2B;
  --ink-2:      #334155;
  --ink-3:      #64748B;
  --cream:      #FAF8F5;
  --white:      #FEFEFE;
  --border:     #DDE4EE;
  --green:      #16A34A;

  --ease-out:     cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out:  cubic-bezier(0.77, 0, 0.175, 1);

  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 7rem;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 24px;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  color: var(--ink);
}

/* ============================================================
   UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  transition: background 180ms var(--ease-out),
              color 180ms var(--ease-out),
              transform 140ms var(--ease-out),
              box-shadow 180ms var(--ease-out);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.btn-red {
  background: var(--red);
  color: var(--white);
}
@media (hover: hover) and (pointer: fine) {
  .btn-red:hover {
    background: var(--red-dark);
    transform: scale(0.98);
  }
}
.btn-red:active { transform: scale(0.96); }

.btn-blue-outline {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}
@media (hover: hover) and (pointer: fine) {
  .btn-blue-outline:hover {
    background: var(--blue);
    color: var(--white);
  }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: var(--space-2xl) 0;
  background: var(--cream);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-mid);
  background: var(--blue-light);
  padding: 6px 14px;
  border-radius: 40px;
  margin-bottom: var(--space-md);
}
.hero-eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-mid);
}

.hero-headline {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  color: var(--ink);
  max-width: 14ch;
  margin-bottom: var(--space-md);
}

.hero-headline .hero-word-hear {
  position: relative;
  display: inline-block;
  color: var(--blue);
}
.hero-word-hear::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0; right: 0;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
  transform-origin: left;
  transform: scaleX(1);
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink-2);
  max-width: 52ch;
  margin-bottom: var(--space-lg);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* Hero image */
.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 9/10;
  background: var(--blue-light);
  transition: transform 500ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .hero-image-wrap:hover { transform: scale(1.02); }
}

.hero-real-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-image-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 2;
  background: rgba(255,254,254,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.82rem;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-image-caption strong { color: var(--ink); font-weight: 600; }
.hero-badge {
  flex-shrink: 0;
  background: var(--green);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 9px;
  border-radius: 40px;
  text-transform: uppercase;
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip {
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.trust-inner {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
  justify-content: center;
}

.trust-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}

.trust-logos {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
  justify-content: center;
}

.trust-logo {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-3);
  opacity: 0.55;
  letter-spacing: 0.04em;
  filter: grayscale(1);
  transition: opacity 150ms ease;
}
.trust-logo:hover { opacity: 0.8; }

/* ============================================================
   SECTION LABELS
   ============================================================ */
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 0.75rem;
}

.section-heading {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--ink);
  max-width: 20ch;
}

.section-intro {
  font-size: 1.02rem;
  color: var(--ink-2);
  max-width: 60ch;
  margin-top: 0.75rem;
}

/* ============================================================
   WHAT WE DO
   ============================================================ */
.what-we-do {
  padding: var(--space-2xl) 0;
  background: var(--cream);
}

.what-header {
  margin-bottom: var(--space-xl);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  border: 1px solid var(--border);
  transition: transform 200ms var(--ease-out),
              box-shadow 200ms var(--ease-out);
  cursor: default;
}
@media (hover: hover) and (pointer: fine) {
  .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(15,28,43,0.1), 0 4px 16px rgba(15,28,43,0.06);
  }
}

.card-icon {
  width: 48px; height: 48px;
  background: var(--blue-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: var(--blue-mid);
}
.card-icon svg { width: 24px; height: 24px; }

.card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.6rem;
  letter-spacing: 0.02em;
}

.card-text {
  font-size: 0.93rem;
  color: var(--ink-2);
  line-height: 1.7;
}

/* ============================================================
   IMPACT
   ============================================================ */
.impact {
  padding: var(--space-2xl) 0;
  background: var(--blue);
  color: var(--white);
}

.impact-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-xl);
  align-items: center;
}

.impact-intro .section-label { color: rgba(255,255,255,0.55); }
.impact-intro .section-heading { color: var(--white); }
.impact-intro .section-intro { color: rgba(255,255,255,0.72); max-width: 38ch; }

.impact-counters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.counter-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
}

.counter-number {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}

.counter-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
}

.counter-arrow {
  display: flex;
  align-items: center;
  color: var(--green);
}

.counter-label {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  font-weight: 400;
}

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.testimonial {
  padding: var(--space-2xl) 0;
  background: var(--cream);
}

.testimonial-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.testimonial-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #d6e8f7 0%, #e8d0c0 100%);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.testimonial-visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.testimonial-visual:hover .testimonial-visual-img {
  transform: scale(1.02);
}

.testimonial-visual-caption {
  position: relative;
  z-index: 2;
  width: 100%;
  background: rgba(15,28,43,0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: var(--space-md);
  color: rgba(255,255,255,0.95);
  font-size: 0.82rem;
  text-align: center;
}
.testimonial-visual-caption em { font-style: normal; color: rgba(255,255,255,0.8); font-weight: 500; }

.testimonial-content {
  position: relative;
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 8rem;
  line-height: 1;
  color: var(--blue-light);
  position: absolute;
  top: -2.5rem;
  left: -1.5rem;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

.quote-card {
  position: relative;
  z-index: 1;
  border-left: 4px solid var(--red);
  padding-left: var(--space-lg);
  transition: transform 200ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .quote-card:hover { transform: translateX(4px); }
}

.quote-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: var(--space-md);
}

.quote-attr {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quote-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}
.quote-location {
  font-size: 0.8rem;
  color: var(--ink-3);
}

.quote-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--space-md);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue-mid);
  transition: gap 160ms var(--ease-out);
}
.quote-link:hover { gap: 10px; }

/* ============================================================
   EHDI FLOW
   ============================================================ */
.ehdi {
  padding: var(--space-2xl) 0;
  background: var(--white);
}

.ehdi-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}
.ehdi-header .section-heading { max-width: none; }

.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

/* dashed connector line */
.steps-row::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: repeating-linear-gradient(
    to right,
    var(--border) 0,
    var(--border) 8px,
    transparent 8px,
    transparent 16px
  );
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 var(--space-sm) var(--space-lg);
  transition: transform 200ms var(--ease-out);
}

.step-inner {
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-sm);
  width: 100%;
  border-top: 3px solid transparent;
  transition: border-color 180ms ease, box-shadow 180ms ease;
  background: var(--white);
}
@media (hover: hover) and (pointer: fine) {
  .step:hover .step-inner {
    border-color: var(--blue-mid);
    box-shadow: 0 4px 24px rgba(37,99,168,0.1);
  }
}

.step-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  box-shadow: 0 4px 16px rgba(26,58,92,0.25);
}

.step-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.step-text {
  font-size: 0.85rem;
  color: var(--ink-2);
  line-height: 1.65;
}

/* ============================================================
   EVENT
   ============================================================ */
.event {
  padding: var(--space-2xl) 0;
  background: var(--cream);
}

.event-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
}

.event-art {
  background: linear-gradient(140deg, #1A3A5C 0%, #2563A8 60%, #1e5280 100%);
  padding: var(--space-xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  position: relative;
  overflow: hidden;
}
.event-art::before {
  content: '';
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
  right: -80px; top: -80px;
}
.event-art::after {
  content: '';
  position: absolute;
  width: 180px; height: 180px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
  right: 20px; bottom: -60px;
}
.event-img-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  z-index: 0;
}
.event-date-chip {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  color: var(--white);
  width: fit-content;
  position: relative;
  z-index: 2;
}
.event-date-day {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}
.event-date-month {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.8;
}

.event-title-art {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  position: relative;
  z-index: 2;
  margin-top: auto;
}

.event-content {
  padding: var(--space-xl) var(--space-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-md);
}

.event-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
}

.event-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.event-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--ink-2);
}
.event-meta-row svg { color: var(--blue-mid); flex-shrink: 0; }

.event-desc {
  font-size: 0.93rem;
  color: var(--ink-2);
  max-width: 48ch;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner { gap: var(--space-lg); }
  .cards-grid { gap: var(--space-sm); }
  .impact-inner { grid-template-columns: 1fr; gap: var(--space-lg); }
  .impact-intro .section-intro { max-width: 60ch; }
}

@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image-wrap { aspect-ratio: 4/3; }
  .hero-headline { max-width: none; }

  .trust-inner { gap: var(--space-md); }
  .trust-logos { gap: var(--space-md); }

  .cards-grid { grid-template-columns: 1fr; }

  .impact-counters { grid-template-columns: 1fr 1fr; }
  .counter-num { font-size: 2.2rem; }

  .testimonial-inner { grid-template-columns: 1fr; }
  .testimonial-visual { aspect-ratio: 3/2; }

  .steps-row { grid-template-columns: 1fr 1fr; gap: var(--space-md); }
  .steps-row::before { display: none; }

  .event-card { grid-template-columns: 1fr; }
  .event-art { min-height: 220px; }
}

@media (max-width: 480px) {
  :root {
    --space-2xl: 4.5rem;
    --space-xl: 3rem;
  }
  .steps-row { grid-template-columns: 1fr; }
  .impact-counters { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   LOAD ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow  { animation: fadeUp 500ms var(--ease-out) both; }
.hero-headline { animation: fadeUp 550ms 80ms var(--ease-out) both; }
.hero-sub      { animation: fadeUp 550ms 160ms var(--ease-out) both; }
.hero-actions  { animation: fadeUp 500ms 240ms var(--ease-out) both; }
.hero-image-wrap { animation: fadeUp 600ms 120ms var(--ease-out) both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   FOCUS VISIBLE
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--blue-mid);
  outline-offset: 3px;
  border-radius: 4px;
}