:root {
  /* Inks, very deep navy/indigo */
  --ink: #0a0620;
  --ink-2: #14103a;
  --ink-3: #4a5468;
  /* Light surfaces */
  --paper: #fafbff;
  --paper-2: #ffffff;
  --paper-warm: #f5f6fb;
  --paper-cool: #f0f3ff;
  --line: #e6e7f0;
  --rule: #c9cce0;
  /* Indigo/sky, primary brand palette */
  --indigo: #3843d0;
  --indigo-deep: #2832a0;
  --indigo-soft: #e7e9fb;
  --sky: #8ea1ff;
  --sky-deep: #5c6fe8;
  --sky-tint: #f0f3ff;
  /* Mango, used sparingly: CTA buttons, single key stats */
  --mango: #fc5f36;
  --mango-deep: #e04a22;
  --marigold: #feaf31;
  --muted: #6b7388;
  /* Gradients, cooler now */
  --grad: linear-gradient(
    135deg,
    var(--indigo-deep) 0%,
    var(--indigo) 50%,
    var(--sky) 100%
  );
  --grad-text: linear-gradient(90deg, #14103a 0%, #3843d0 55%, #5c6fe8 100%);
  --grad-text-on-dark: linear-gradient(90deg, #ffffff 0%, #8ea1ff 100%);
  --sans: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Helvetica Neue',
    Arial, sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xs: 8px;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}
body {
  font-family: var(--sans);
  font-weight: 400;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  font-size: 16px;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--indigo);
}
img {
  max-width: 100%;
  display: block;
}

/* Header, flat solid nav, dark navy on light body */
.site-header {
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid rgba(142, 161, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  color: var(--paper);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}
.logo svg {
  height: 30px;
  width: auto;
  display: block;
}
/* Footer logo override (smaller, paper color) */
.foot-brand .logo svg {
  height: 26px;
}
/* Compare-table Connect logo (purple, on light bg) */
.compare-logo {
  height: 30px;
  width: auto;
  color: var(--indigo);
  display: block;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 400;
}
.site-header nav a {
  color: rgba(250, 251, 255, 0.78);
  transition: color 0.15s;
  padding: 6px 0;
  position: relative;
}
.site-header nav a:hover {
  color: var(--paper);
}
.site-header nav a.active {
  color: var(--paper);
}
.site-header nav a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -20px;
  height: 1px;
  background: var(--sky);
}
.site-header nav a.cta {
  background: var(--mango);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  transition:
    transform 0.15s,
    box-shadow 0.2s,
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
  border: 1px solid var(--mango);
}
.site-header nav a.cta:hover {
  background: var(--mango-deep);
  color: #fff;
  border-color: var(--mango-deep);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(252, 95, 54, 0.28);
}
.site-header nav a.cta.cta-ghost {
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.site-header nav a.cta.cta-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: none;
}

/* Mobile hamburger toggle (hidden on desktop; shown at <=980px via media query). */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
}
.nav-toggle:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
}
.nav-toggle-bar {
  position: absolute;
  left: 9px;
  right: 9px;
  height: 2px;
  background: var(--paper);
  border-radius: 2px;
  transition:
    transform 0.2s ease,
    opacity 0.15s ease,
    top 0.2s ease;
}
.nav-toggle-bar:nth-child(1) {
  top: 12px;
}
.nav-toggle-bar:nth-child(2) {
  top: 19px;
}
.nav-toggle-bar:nth-child(3) {
  top: 26px;
}
body.nav-open .nav-toggle-bar:nth-child(1) {
  top: 19px;
  transform: rotate(45deg);
}
body.nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
body.nav-open .nav-toggle-bar:nth-child(3) {
  top: 19px;
  transform: rotate(-45deg);
}

/* Mobile slide-down panel (hidden on desktop entirely; styles use higher
   specificity than `.site-header nav` so they win over the desktop nav rules). */
.site-header .mobile-nav {
  display: none;
}
.site-header .mobile-nav a {
  color: var(--paper);
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid rgba(142, 161, 255, 0.1);
  text-align: left;
}
.site-header .mobile-nav a:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--paper);
}
.site-header .mobile-nav a.mobile-nav-cta,
.site-header .mobile-nav a.mobile-nav-cta-secondary {
  margin: 12px 20px;
  border-radius: 999px;
  text-align: center;
  border-bottom: none;
  padding: 12px 18px;
  font-weight: 600;
}
.site-header .mobile-nav a.mobile-nav-cta {
  background: var(--mango);
  color: #fff;
}
.site-header .mobile-nav a.mobile-nav-cta-secondary {
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.4);
  margin-bottom: 0;
}

.page {
  display: none;
  animation: fade 0.3s ease-out;
}
.page.active {
  display: block;
}
@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}
.wrap-narrow {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--indigo);
}
.eyebrow.on-dark {
  color: rgba(255, 255, 255, 0.75);
}
.eyebrow.on-dark::before {
  background: rgba(142, 161, 255, 0.7);
}
.eyebrow.muted {
  color: var(--muted);
}
.eyebrow.muted::before {
  background: var(--muted);
}

/* Headings, light by default. Em accents are bold + gradient. */
h1,
h2 {
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.08;
  font-weight: 300;
}
h3 {
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-weight: 400;
}
h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.01em;
}
h1 em,
h2 em,
h3 em {
  font-style: normal;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}
/* Two-line headers */
.h-stack {
  display: block;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    transform 0.15s,
    box-shadow 0.2s,
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.btn.primary {
  background: var(--mango);
  color: #fff;
  border-color: var(--mango);
}
.btn.primary:hover {
  background: var(--mango-deep);
  border-color: var(--mango-deep);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(252, 95, 54, 0.28);
}
.btn.indigo {
  background: var(--indigo);
  color: #fff;
  border-color: var(--indigo);
}
.btn.indigo:hover {
  background: var(--indigo-deep);
  border-color: var(--indigo-deep);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(56, 67, 208, 0.32);
}
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule);
}
.btn.ghost:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn.ghost.on-dark {
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.32);
}
.btn.ghost.on-dark:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.5);
}

.breadcrumb {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  padding: 28px 0 0;
}
.breadcrumb a {
  color: var(--indigo);
}
.breadcrumb a:hover {
  color: var(--mango);
}
.breadcrumb .sep {
  padding: 0 8px;
  color: var(--rule);
}

/* HOME HERO, matches closing-cta (Talk to our team) dark gradient */
.hero-dark {
  position: relative;
  /* v11 editorial header, solid deep navy + aurora (indigo top-left, mango top-right) + faint grid */
  background: var(--ink);
  color: rgba(238, 240, 255, 0.86);
  overflow: hidden;
  padding: 110px 0 90px;
  border-bottom: 1px solid rgba(142, 161, 255, 0.14);
}
.hero-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 55% 45% at 20% 22%,
    rgba(56, 67, 208, 0.26),
    transparent 65%
  );
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}
.hero-dark::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(142, 161, 255, 0.06) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(142, 161, 255, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(
    ellipse at 50% 30%,
    rgba(0, 0, 0, 0.7),
    transparent 75%
  );
  -webkit-mask-image: radial-gradient(
    ellipse at 50% 30%,
    rgba(0, 0, 0, 0.7),
    transparent 75%
  );
  pointer-events: none;
  z-index: 0;
}
.hero-dark .wrap {
  position: relative;
  z-index: 1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-dark h1 {
  color: #fff;
  font-size: clamp(36px, 5.2vw, 64px);
  max-width: 22ch;
  margin: 18px 0 22px;
  font-weight: 200;
  letter-spacing: -0.03em;
}
/* Circle photo at the top of the homepage hero */
.home-hero-photo {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 22px;
}
.home-hero-photo .photo-circle {
  width: clamp(120px, 14vw, 180px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background-image: url("images/Program Field Photos/KMC/kmc-3.bbd5816577ec.jpg"),
    linear-gradient(135deg, #5d70d2 0%, #16006d 60%, #fc5f36 100%);
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat;
  border: 3px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.6);
}
.hero-dark h1 em {
  background: var(--grad-text-on-dark);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}
.hero-dark .lede {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 52ch;
  line-height: 1.6;
  font-weight: 300;
}
.hero-dark .hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hero-dark .micro {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.hero-dark .micro .m-num {
  font-size: 30px;
  font-weight: 200;
  letter-spacing: -0.02em;
  background: var(--grad-text-on-dark);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.hero-dark .micro .m-l {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}
.hero-video-frame {
  background: rgba(10, 6, 32, 0.5);
  border: 1px solid rgba(142, 161, 255, 0.32);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(10px);
}
.hero-video-frame .video-meta {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(142, 161, 255, 0.16);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
}
.hero-video-frame .video-meta .vt {
  font-size: 13px;
  font-weight: 500;
}
.hero-video-frame .video-meta .vc {
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
}
.video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Light hero */
.hero {
  padding: 64px 0 80px;
}
.hero h1 {
  font-size: clamp(40px, 5.6vw, 72px);
  margin: 18px 0 22px;
  max-width: 18ch;
  font-weight: 200;
}
.hero .lede {
  font-size: 18px;
  color: var(--ink-3);
  max-width: 60ch;
  line-height: 1.6;
  font-weight: 300;
}

.section {
  padding: 88px 0;
  border-top: 1px solid var(--line);
}
.section.warm {
  background: var(--paper-warm);
}
.section.cool {
  background: var(--paper-cool);
}
.section.no-border {
  border-top: none;
}
/* Dark CTA-style section background, matches the closing-cta treatment */
.section.dark {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
  border-top: none;
}
.section.dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 55% 45% at 100% 100%,
    rgba(56, 67, 208, 0.26),
    transparent 65%
  );
  pointer-events: none;
}
.section.dark::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.04) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(
    ellipse at 50% 50%,
    rgba(0, 0, 0, 0.85),
    transparent 75%
  );
  -webkit-mask-image: radial-gradient(
    ellipse at 50% 50%,
    rgba(0, 0, 0, 0.85),
    transparent 75%
  );
  pointer-events: none;
}
.section.dark > .wrap {
  position: relative;
  z-index: 1;
}
.section.dark .eyebrow {
  color: rgba(255, 255, 255, 0.7);
}
.section.dark .eyebrow::before {
  background: rgba(142, 161, 255, 0.7);
}
.section.dark .sec-head h2 {
  color: #fff;
}
.section.dark .sec-head h2 em {
  background: var(--grad-text-on-dark);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section.dark .sec-head .sub,
.section.dark .sec-head p {
  color: rgba(255, 255, 255, 0.78);
}

.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 44px;
}
.sec-head .label-group {
  max-width: 60ch;
}
.sec-head h2 {
  font-size: clamp(30px, 4.2vw, 50px);
  margin: 6px 0 0;
  font-weight: 300;
}
.sec-head .sub {
  color: var(--ink-3);
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 300;
}

/* Holistic visual on home */
.holistic-visual {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 24px 40px;
  overflow: hidden;
}
.holistic-visual svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Impact tiles, 3 columns × 2 rows */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.impact-tile {
  padding: 32px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.impact-tile:nth-child(3n) {
  border-right: none;
}
.impact-tile:nth-last-child(-n + 3) {
  border-bottom: none;
}
.impact-tile .n {
  font-size: clamp(34px, 3.4vw, 44px);
  line-height: 1;
  font-weight: 200;
  letter-spacing: -0.02em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.impact-tile .l {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 12px;
  line-height: 1.4;
  font-weight: 400;
}

/* Tagged Impact rows (Scale + Impact) on home */
.impact-section-block {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.impact-section-block .imp-row {
  display: grid;
  grid-template-columns: 140px 1fr;
}
.impact-section-block .imp-row + .imp-row {
  border-top: 1px solid var(--line);
}
.impact-section-block .imp-label {
  background: var(--paper-cool);
  padding: 28px 22px;
  display: flex;
  align-items: center;
  border-right: 1px solid var(--line);
}
.impact-section-block .imp-label .row-tag {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--indigo);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.impact-section-block .imp-tiles {
  display: grid;
}
.impact-section-block .imp-tiles.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
.impact-section-block .imp-tiles.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}
.impact-section-block .imp-tile {
  padding: 30px 24px;
  border-right: 1px solid var(--line);
}
.impact-section-block .imp-tile:last-child {
  border-right: none;
}
.impact-section-block .imp-tile .n {
  font-size: clamp(34px, 3.4vw, 46px);
  line-height: 1;
  font-weight: 200;
  letter-spacing: -0.02em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.impact-section-block .imp-tile .l {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 12px;
  line-height: 1.4;
  font-weight: 400;
}

/* Findings (3 boxes on home) */
.findings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.finding {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: var(--ink);
  transition:
    border-color 0.15s,
    transform 0.15s,
    box-shadow 0.2s;
}
.finding:hover {
  border-color: var(--indigo);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(56, 67, 208, 0.1);
}
.finding .sector {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--indigo);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}
.finding .big-stat {
  font-size: 60px;
  font-weight: 200;
  line-height: 1;
  letter-spacing: -0.025em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 4px 0 0;
}
.finding .big-stat.warm {
  background: linear-gradient(90deg, var(--mango-deep) 0%, var(--mango) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.finding h4 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  margin: 0;
  max-width: 32ch;
}
.finding p {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
  font-weight: 400;
}
.finding .more {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--indigo);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  border-top: 1px dashed var(--line);
  padding-top: 16px;
  margin-top: auto;
}

/* Programs cards (home) */
.prog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.prog-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--ink);
  display: block;
  transition:
    border-color 0.15s,
    transform 0.15s,
    box-shadow 0.2s;
}
.prog-card:hover {
  border-color: var(--indigo);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(56, 67, 208, 0.1);
}
.prog-card .body {
  padding: 28px 30px 30px;
}
.prog-card .sector {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--indigo);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}
.prog-card h3 {
  font-size: 24px;
  margin: 8px 0 12px;
  font-weight: 400;
}
.prog-card .countries {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
}
.prog-card p {
  color: var(--ink-3);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0 0 18px;
  font-weight: 400;
}
.prog-card .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-top: 1px dashed var(--line);
  padding-top: 16px;
}
.prog-card .meta .more {
  color: var(--indigo);
  font-weight: 600;
}

/* Photo placeholder blocks (used on Programs and How It Works) */
.photo-block {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}
.photo-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 20% 30%,
      rgba(255, 255, 255, 0.12) 0%,
      transparent 32%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(255, 255, 255, 0.08) 0%,
      transparent 36%
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(255, 255, 255, 0.04) 0%,
      transparent 50%
    );
  pointer-events: none;
}
.photo-block::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.05) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  opacity: 0.5;
}
.photo-block .photo-label {
  position: relative;
  z-index: 1;
  margin: 0 0 14px 18px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(10, 6, 32, 0.4);
  padding: 5px 9px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}
/* Program card illustrations (SVG, distinct per program) */
.ph-chc {
  background: #d7d9f6
    url("images/Program Area Graphics/child-health-campaigns.e30de1e180a5.svg")
    center/contain no-repeat;
}
.ph-kmc {
  background: #f5dedf
    url("images/Program Area Graphics/kangaroo-mother-care.4e2806d3857f.svg")
    center/contain no-repeat;
}
.ph-ecd {
  background: #e1dbee
    url("images/Program Area Graphics/early-childhood-development.64003d067573.svg")
    center/contain no-repeat;
}
.ph-readers {
  background: #ebdce6
    url("images/Program Area Graphics/reading-glasses.0d6109380ff9.svg") center/contain
    no-repeat;
}
.ph-mbw {
  background: #dfe2f6
    url("images/Program Area Graphics/mother-baby-wellness.c16ce0c79c91.svg")
    center/contain no-repeat;
}
.ph-chlorine {
  background: #ccecee
    url("images/Program Area Graphics/chlorine-dispenser.07dbbd8d184c.svg")
    center/contain no-repeat;
}
.ph-mental {
  background: #fcefcc url("images/Program Area Graphics/mental-health.a7b9e32f231a.svg")
    center/contain no-repeat;
}
.ph-nutrition {
  background: #d9ecd4
    url("images/Program Area Graphics/therapeutic-food.523ca9188b04.svg") center/contain
    no-repeat;
}
.ph-survey {
  background: #e9ecef
    url("images/Program Area Graphics/survey-data-collection.09e6b84ccdae.svg")
    center/contain no-repeat;
}
.ph-environment {
  background: #dce6f0
    url("images/Program Area Graphics/building-sampling.40dea2650a75.svg") center/contain
    no-repeat;
}
/* Suppress placeholder overlays + photo labels on program-card illustrations */
.all-programs-grid .photo-block::before,
.all-programs-grid .photo-block::after {
  display: none;
}
.all-programs-grid .photo-block .photo-label {
  display: none;
}
/* Field photos for How It Works */
.ph-field-1 {
  background: linear-gradient(135deg, #14103a 0%, #3843d0 50%, #fc5f36 100%);
}
.ph-field-2 {
  background: linear-gradient(135deg, #2832a0 0%, #5c6fe8 100%);
}
.ph-field-3 {
  background: linear-gradient(135deg, #1d254e 0%, #3843d0 70%, #feaf31 100%);
}
.ph-field-4 {
  background: linear-gradient(135deg, #14103a 0%, #2d3580 100%);
}
.ph-field-5 {
  background: linear-gradient(135deg, #2832a0 0%, #6878e5 100%);
}
.ph-field-6 {
  background: linear-gradient(135deg, #1b2168 0%, #3843d0 50%, #fc5f36 100%);
}

/* All-programs grid (Programs page) */
.all-programs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.all-programs-grid .prog-card {
  display: flex;
  flex-direction: column;
}
.all-programs-grid .prog-card.is-soon {
  opacity: 0.85;
}
.all-programs-grid .prog-card.is-soon .body {
  background: var(--paper-cool);
}
.all-programs-grid .prog-card .body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.all-programs-grid .prog-card .stat-strip {
  display: flex;
  gap: 22px;
  padding: 14px 0;
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
  margin: 8px 0 16px;
}
.all-programs-grid .prog-card .stat-strip .ps {
  flex: 1;
}
.all-programs-grid .prog-card .stat-strip .n {
  font-size: 22px;
  font-weight: 200;
  letter-spacing: -0.02em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.all-programs-grid .prog-card .stat-strip .l {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
  font-weight: 600;
}
.all-programs-grid .badge-soon {
  display: inline-block;
  background: var(--mango);
  color: #fff;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
}

/* Final CTA, original (Insights only) */
.final-cta {
  text-align: center;
  padding: 96px 24px;
  color: #fff;
}
.final-cta .eyebrow {
  color: rgba(255, 255, 255, 0.6);
  justify-content: center;
  margin-bottom: 24px;
}
.final-cta .eyebrow::before {
  background: rgba(255, 255, 255, 0.4);
}
.final-cta h2 {
  color: #fff;
  font-size: clamp(36px, 4.4vw, 56px);
  max-width: 22ch;
  margin: 0 auto 22px;
  font-weight: 300;
}
.final-cta h2 em {
  background: var(--grad-text-on-dark);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.final-cta p {
  color: rgba(255, 255, 255, 0.72);
  max-width: 56ch;
  margin: 0 auto 32px;
  font-size: 17px;
  font-weight: 300;
}

/* Shared closing CTA, simplified, single button */
.closing-cta {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.closing-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 55% 45% at 100% 100%,
    rgba(56, 67, 208, 0.26),
    transparent 65%
  );
  pointer-events: none;
}
.closing-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.04) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(
    ellipse at 50% 50%,
    rgba(0, 0, 0, 0.85),
    transparent 75%
  );
  -webkit-mask-image: radial-gradient(
    ellipse at 50% 50%,
    rgba(0, 0, 0, 0.85),
    transparent 75%
  );
  pointer-events: none;
}
.closing-inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
  padding: 96px 32px;
  text-align: center;
}
.closing-cta .eyebrow {
  color: rgba(255, 255, 255, 0.7);
  justify-content: center;
  margin-bottom: 24px;
}
.closing-cta .eyebrow::before {
  background: rgba(142, 161, 255, 0.7);
}
.closing-cta h2 {
  color: #fff;
  font-size: clamp(36px, 4.6vw, 60px);
  max-width: 22ch;
  margin: 0 auto 22px;
  font-weight: 300;
}
.closing-cta h2 em {
  background: var(--grad-text-on-dark);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}
.closing-cta .lead {
  color: rgba(255, 255, 255, 0.78);
  max-width: 60ch;
  margin: 0 auto 36px;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.6;
}

/* Footer */
footer.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 32px;
}
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 36px;
}
.foot-brand {
  text-align: left;
}
.foot-brand .logo {
  font-size: 22px;
  color: var(--paper);
  display: inline-block;
  margin-bottom: 14px;
}
.foot-brand p {
  font-size: 13.5px;
  max-width: 38ch;
  line-height: 1.6;
  margin: 0;
}
.foot-col h5 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 14px;
  font-weight: 600;
}
.foot-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.foot-col li {
  margin-bottom: 10px;
  font-size: 13.5px;
}
.foot-col a {
  color: rgba(255, 255, 255, 0.78);
}
.foot-col a:hover {
  color: var(--sky);
}
.foot-bottom {
  max-width: 1240px;
  margin: 48px auto 0;
  padding: 24px 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* HOW IT WORKS, Two-Sided Marketplace (stacked, horizontal internal) */
.two-sided-market {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 32px;
  position: relative;
}
.market-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 96px;
  position: relative;
}
/* Horizontal arrow between the two boxes, anchored at the vertical centre of each */
.market-arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 18px;
  color: var(--indigo);
  pointer-events: none;
  z-index: 2;
  overflow: visible;
}
/* Label above the horizontal arrow */
.market-arrow-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, calc(-50% - 32px));
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--indigo);
  text-align: center;
  line-height: 1.25;
  pointer-events: none;
  z-index: 2;
}
@media (max-width: 980px) {
  .market-arrow,
  .market-arrow-label {
    display: none;
  }
}
/* Legacy center-exchange element retained for backwards compatibility, hidden */
.market-exchange {
  display: none;
}
/* Small CTA inside each market-side-header */
.market-side-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--indigo);
  border-bottom: 1px dashed currentColor;
  padding-bottom: 2px;
  width: fit-content;
  transition:
    color 0.2s,
    border-color 0.2s,
    transform 0.2s;
}
.market-side-cta:hover {
  color: var(--indigo-deep);
  border-bottom-color: var(--indigo-deep);
  transform: translateX(2px);
}
.market-side-platform .market-side-cta {
  color: #1b998b;
}
.market-side-platform .market-side-cta:hover {
  color: #117a6f;
  border-bottom-color: #117a6f;
}
/* Legacy loop-back arrow, replaced by the new .market-loop element */
.market-cycle-arrow {
  display: none;
}
/* Loop arrow: visualises the cycle returning from Connect Platform back to Funders */
.market-loop {
  position: relative;
  margin-top: 4px;
  padding-top: 56px;
}
.market-loop-arrow {
  position: absolute;
  top: 0;
  left: 8px;
  right: 8px;
  height: 44px;
  border: 2px dashed var(--indigo);
  border-top: none;
  border-radius: 0 0 24px 24px;
  pointer-events: none;
}
.market-loop-arrow::before {
  /* Arrowhead at top-LEFT of the U, pointing UP into the Funders (purple) box */
  content: '';
  position: absolute;
  left: -1px;
  top: 0;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 10px solid var(--indigo);
  transform: translate(-50%, -100%);
}
.market-loop-arrow::after {
  /* Origin dot at top-RIGHT of the U, exiting the Connect Platform (teal) box */
  content: '';
  position: absolute;
  right: -1px;
  top: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #1b998b;
  transform: translate(50%, -50%);
}
.market-loop-content {
  text-align: center;
  padding: 0 16px;
}
.market-loop-title {
  margin: 0 0 14px;
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.market-loop-text {
  margin: 0 auto 8px;
  max-width: 76ch;
  text-align: center;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-2);
}
.market-loop-text:last-of-type {
  margin-bottom: 0;
}
.market-loop-placeholder {
  margin: 24px auto 0;
  max-width: 520px;
  padding: 26px 24px;
  background: #fff8d6;
  border: 2px dashed #d9b82a;
  border-radius: 12px;
  color: #6b5800;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.market-loop-placeholder .placeholder-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8a6f00;
}
.market-loop-placeholder .placeholder-name {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: #4f4100;
}
@media (max-width: 980px) {
  .market-loop {
    padding-top: 16px;
  }
  .market-loop-arrow {
    display: none;
  }
}
.market-cycle-arrow-legacy {
  position: absolute;
  top: 36px;
  bottom: 36px;
  right: 12px;
  width: 40px;
  border: 2px dashed var(--indigo);
  border-left: none;
  border-radius: 0 20px 20px 0;
  pointer-events: none;
}
.market-cycle-arrow::before {
  /* arrowhead at top-left of the bracket, pointing left toward the top funder box */
  content: '';
  position: absolute;
  left: 0;
  top: -1px;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 9px solid var(--indigo);
  transform: translate(-100%, -50%);
}
.market-cycle-arrow::after {
  /* origin dot at bottom-left of the bracket, exiting the bottom funder box */
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--indigo);
  transform: translate(-50%, 50%);
}
.market-cycle-arrow-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  transform-origin: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--indigo);
  background: var(--paper-2);
  padding: 4px 10px;
  white-space: nowrap;
}
@media (max-width: 1080px) {
  .two-sided-market {
    padding-right: 0;
  }
  .market-cycle-arrow {
    display: none;
  }
}
.market-side {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
  position: relative;
}
.market-side-funder {
  border-top: 4px solid var(--indigo);
}
.market-side-platform {
  border-top: 4px solid #1b998b;
}
.market-side-header .role-tag {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--indigo);
}
.market-side-platform .market-side-header .role-tag {
  color: #1b998b;
}
.market-side-header h3 {
  margin: 10px 0 0;
  font-size: 28px;
  font-weight: 300;
  line-height: 1.2;
}
.market-side-header h3 em {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
  font-style: normal;
}
.market-side-platform .market-side-header h3 em {
  background: linear-gradient(90deg, #117a6f 0%, #1b998b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.picker-set {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 12px;
}
.picker-list h6 {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin: 0 0 10px;
}
.picker-scroll {
  height: 336px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  scrollbar-width: thin;
  scrollbar-color: var(--rule) transparent;
}
.picker-scroll::-webkit-scrollbar {
  width: 6px;
}
.picker-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.picker-scroll::-webkit-scrollbar-thumb {
  background: var(--rule);
  border-radius: 3px;
}
.picker-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 11px 14px;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--ink);
  transition:
    background 0.2s,
    color 0.2s;
}
.picker-item:last-child {
  border-bottom: none;
}
.picker-item:hover {
  background: var(--paper-cool);
  color: var(--indigo);
}
.picker-item.is-active {
  background: var(--indigo-soft);
  color: var(--indigo);
  font-weight: 600;
}
.picker-item-new {
  color: var(--mango);
  font-weight: 600;
}
.picker-item-new:hover {
  color: var(--mango-deep);
}
.picker-item-new.is-active {
  background: rgba(252, 95, 54, 0.1);
  color: var(--mango);
}

.platform-promise {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.promise-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  border-right: none;
}
.promise-item:first-child {
  padding-top: 0;
  padding-left: 0;
}
.promise-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
  padding-right: 0;
}
.promise-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-xs);
  background: rgba(27, 153, 139, 0.14);
  color: #1b998b;
  display: flex;
  align-items: center;
  justify-content: center;
}
.promise-icon svg {
  width: 22px;
  height: 22px;
}
/* Indigo variant for the funder feedback-loop box */
.market-side-funder .promise-icon {
  background: var(--indigo-soft);
  color: var(--indigo);
}
.market-side-funder .promise-stat {
  color: var(--indigo);
}
.promise-text h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--ink);
}
.promise-text p {
  font-size: 13.5px;
  color: var(--ink-3);
  line-height: 1.55;
  margin: 0 0 10px;
}
.promise-stat {
  font-family: var(--mono);
  font-size: 12px;
  color: #1b998b;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.market-conclusion {
  text-align: center;
  margin-top: 24px;
}
.market-conclusion p {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 300;
  margin: 0;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.market-conclusion p em {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
  font-style: normal;
}

/* HOW IT WORKS, combined cycle + step tabs panel */
.cycle-panel-combined {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 56px;
}
.cycle-panel-combined .cycle-svg-area {
  padding: 28px 36px 8px;
}
.cycle-panel-combined svg .cycle-node-group {
  cursor: pointer;
  transition: transform 0.2s;
}
.cycle-panel-combined svg .cycle-node-group:hover {
  transform: translateY(-3px) scale(1.03);
  transform-origin: center;
  transform-box: fill-box;
}

/* legacy classes kept for backwards-compatibility, unused after combine */
.interactive-cycle-panel {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 28px;
}
.step-detail-wrap {
  background: var(--paper-2);
  overflow: hidden;
}
.step-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.step-tab {
  padding: 20px 22px;
  font-family: var(--sans);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  border-right: 1px solid var(--line);
  color: var(--ink-3);
  transition:
    background 0.15s,
    color 0.15s;
  display: flex;
  align-items: center;
  gap: 14px;
}
.step-tab:last-child {
  border-right: none;
}
.step-bubble {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--paper-cool);
  color: var(--indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
  flex-shrink: 0;
}
.step-tab .name {
  font-size: 17px;
  font-weight: 400;
  color: var(--ink);
}
.step-tab:hover {
  background: var(--paper-2);
}
.step-tab:hover .step-bubble {
  background: var(--indigo-soft);
}
.step-tab.active {
  background: var(--paper-2);
  border-bottom: 2px solid var(--indigo);
  margin-bottom: -1px;
}
.step-tab.active .step-bubble {
  background: var(--indigo);
  color: #fff;
  box-shadow: 0 4px 12px rgba(56, 67, 208, 0.25);
}
.step-tab.active .name {
  font-weight: 600;
  color: var(--indigo);
}

/* Per-step colors, Learn / Deliver / Verify / Pay */
.step-tab[data-step='learn'] .step-bubble {
  color: #16006d;
}
.step-tab[data-step='learn']:hover .step-bubble {
  background: rgba(22, 0, 109, 0.1);
}
.step-tab[data-step='learn'].active .step-bubble {
  background: #16006d;
  color: #fff;
  box-shadow: 0 4px 12px rgba(22, 0, 109, 0.3);
}
.step-tab[data-step='learn'].active .name {
  color: #16006d;
}
.step-tab[data-step='learn'].active {
  border-bottom-color: #16006d;
}

.step-tab[data-step='deliver'] .step-bubble {
  color: #5d70d2;
}
.step-tab[data-step='deliver']:hover .step-bubble {
  background: rgba(93, 112, 210, 0.12);
}
.step-tab[data-step='deliver'].active .step-bubble {
  background: #5d70d2;
  color: #fff;
  box-shadow: 0 4px 12px rgba(93, 112, 210, 0.3);
}
.step-tab[data-step='deliver'].active .name {
  color: #5d70d2;
}
.step-tab[data-step='deliver'].active {
  border-bottom-color: #5d70d2;
}

.step-tab[data-step='verify'] .step-bubble {
  color: #fc5f36;
}
.step-tab[data-step='verify']:hover .step-bubble {
  background: rgba(252, 95, 54, 0.12);
}
.step-tab[data-step='verify'].active .step-bubble {
  background: #fc5f36;
  color: #fff;
  box-shadow: 0 4px 12px rgba(252, 95, 54, 0.3);
}
.step-tab[data-step='verify'].active .name {
  color: #fc5f36;
}
.step-tab[data-step='verify'].active {
  border-bottom-color: #fc5f36;
}

.step-tab[data-step='pay'] .step-bubble {
  color: #1b998b;
}
.step-tab[data-step='pay']:hover .step-bubble {
  background: rgba(27, 153, 139, 0.12);
}
.step-tab[data-step='pay'].active .step-bubble {
  background: #1b998b;
  color: #fff;
  box-shadow: 0 4px 12px rgba(27, 153, 139, 0.3);
}
.step-tab[data-step='pay'].active .name {
  color: #1b998b;
}
.step-tab[data-step='pay'].active {
  border-bottom-color: #1b998b;
}

/* Step detail accent colors per step */
.step-detail[data-step='learn'] .left h3 em,
.step-detail[data-step='learn'] .right .ps .n {
  background: linear-gradient(90deg, #0e0050 0%, #16006d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.step-detail[data-step='learn'] .left .pull {
  border-left-color: #16006d;
}
.step-detail[data-step='learn'] .left .deeper {
  color: #16006d;
  border-bottom-color: #16006d;
}
.step-detail[data-step='learn'] .right .ps {
  border-left-color: #16006d;
}

.step-detail[data-step='deliver'] .left h3 em,
.step-detail[data-step='deliver'] .right .ps .n {
  background: linear-gradient(90deg, #4258b8 0%, #5d70d2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.step-detail[data-step='deliver'] .left .pull {
  border-left-color: #5d70d2;
}
.step-detail[data-step='deliver'] .left .deeper {
  color: #5d70d2;
  border-bottom-color: #5d70d2;
}
.step-detail[data-step='deliver'] .right .ps {
  border-left-color: #5d70d2;
}

.step-detail[data-step='verify'] .left h3 em,
.step-detail[data-step='verify'] .right .ps .n {
  background: linear-gradient(90deg, #e04a22 0%, #fc5f36 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.step-detail[data-step='verify'] .left .pull {
  border-left-color: #fc5f36;
}
.step-detail[data-step='verify'] .left .deeper {
  color: #fc5f36;
  border-bottom-color: #fc5f36;
}
.step-detail[data-step='verify'] .right .ps {
  border-left-color: #fc5f36;
}

.step-detail[data-step='pay'] .left h3 em,
.step-detail[data-step='pay'] .right .ps .n {
  background: linear-gradient(90deg, #117a6f 0%, #1b998b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.step-detail[data-step='pay'] .left .pull {
  border-left-color: #1b998b;
}
.step-detail[data-step='pay'] .left .deeper {
  color: #1b998b;
  border-bottom-color: #1b998b;
}
.step-detail[data-step='pay'] .right .ps {
  border-left-color: #1b998b;
}

.step-detail {
  display: none;
  padding: 44px 48px;
  background: var(--paper);
}
.step-detail.active {
  display: grid;
}
.step-detail {
  grid-template-columns: 240px 1fr 1fr;
  grid-template-rows: auto auto;
  column-gap: 44px;
  row-gap: 32px;
  align-items: start;
}
.step-detail .step-media {
  width: 100%;
  aspect-ratio: 320 / 606;
  border-radius: 18px;
  overflow: hidden;
  background: var(--paper-cool);
  border: 1px solid var(--line);
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: start;
}
/* Verify uses a laptop-shaped (square-ish) dashboard gif, not a phone — give it a wider media column so the whole dashboard reads */
.step-detail[data-step='verify'] {
  grid-template-columns: 520px 1fr 1fr;
}
.step-detail[data-step='verify'] .step-media {
  aspect-ratio: 480 / 380;
}
.step-detail .step-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.step-detail .left {
  grid-column: 2 / span 2;
  grid-row: 1;
}
.step-detail .features {
  grid-column: 2;
  grid-row: 2;
}
.step-detail .right {
  grid-column: 3;
  grid-row: 2;
  align-self: stretch;
}
@media (max-width: 980px) {
  .step-detail {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    gap: 24px;
  }
  .step-detail .step-media {
    grid-row: auto;
    grid-column: 1;
    max-width: 240px;
    margin: 0 auto;
  }
  .step-detail[data-step='verify'] .step-media {
    max-width: 360px;
  }
  .step-detail .left,
  .step-detail .features,
  .step-detail .right {
    grid-column: 1;
    grid-row: auto;
  }
}
.step-detail .left h3 {
  font-size: 32px;
  margin: 0 0 18px;
  font-weight: 300;
  max-width: 30ch;
}
.step-detail .left h3 em {
  font-weight: 600;
}
.step-detail .left .lede {
  color: var(--ink-3);
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 28px;
  font-weight: 300;
  max-width: 60ch;
}
.step-block-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--indigo);
  margin: 0 0 14px;
}
.step-detail .feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
  row-gap: 10px;
}
.step-detail .feature-list li {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
  font-weight: 400;
  position: relative;
  padding-left: 20px;
}
.step-detail .feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--indigo);
}
@media (max-width: 600px) {
  .step-detail .feature-list {
    grid-template-columns: 1fr;
  }
}
.step-detail[data-step='learn'] .step-block-label {
  color: #16006d;
}
.step-detail[data-step='deliver'] .step-block-label {
  color: #5d70d2;
}
.step-detail[data-step='verify'] .step-block-label {
  color: #fc5f36;
}
.step-detail[data-step='pay'] .step-block-label {
  color: #1b998b;
}
.step-detail[data-step='learn'] .feature-list li::before {
  background: #16006d;
}
.step-detail[data-step='deliver'] .feature-list li::before {
  background: #5d70d2;
}
.step-detail[data-step='verify'] .feature-list li::before {
  background: #fc5f36;
}
.step-detail[data-step='pay'] .feature-list li::before {
  background: #1b998b;
}
.step-detail .left .pull {
  font-weight: 300;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
  border-left: 2px solid var(--indigo);
  padding: 4px 0 4px 18px;
  margin: 0 0 22px;
  max-width: 60ch;
}
.step-detail .left .deeper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--indigo);
  border-bottom: 1px solid var(--indigo);
  padding-bottom: 2px;
  font-weight: 600;
}
.step-detail .right .pillar-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.step-detail .right .ps {
  background: var(--paper-cool);
  border-left: 3px solid var(--indigo);
  padding: 18px 22px;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.step-detail .right .ps .n {
  font-size: 36px;
  font-weight: 200;
  letter-spacing: -0.02em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.step-detail .right .ps .l {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 8px;
  font-weight: 400;
}
.numbers-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.numbers-header .step-block-label {
  margin: 0;
}
.source-link {
  font-size: 11px;
  color: var(--ink-3);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  opacity: 0.55;
  transition: opacity 0.15s;
}
.source-link:hover {
  opacity: 1;
}

/* Per-step Insights subsection (inside step-detail) */
.step-detail .step-insights {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.step-insights-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 18px;
}
.step-insight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}
.step-insight-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.step-insight-card .program-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--indigo);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}
.step-insight-card h5 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.005em;
}
.step-insight-card p {
  font-size: 13.5px;
  color: var(--ink-3);
  line-height: 1.55;
  margin: 0;
}
.step-insight-card .src {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0.05em;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  text-transform: none;
}

/* Per-step accent on insights label and program tag */
.step-detail[data-step='learn'] .step-insights-label,
.step-detail[data-step='learn'] .step-insight-card .program-tag {
  color: #16006d;
}
.step-detail[data-step='deliver'] .step-insights-label,
.step-detail[data-step='deliver'] .step-insight-card .program-tag {
  color: #5d70d2;
}
.step-detail[data-step='verify'] .step-insights-label,
.step-detail[data-step='verify'] .step-insight-card .program-tag {
  color: #fc5f36;
}
.step-detail[data-step='pay'] .step-insights-label,
.step-detail[data-step='pay'] .step-insight-card .program-tag {
  color: #1b998b;
}

/* Photo gallery on How It Works */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-grid .photo-block {
  height: 240px;
  border-radius: var(--radius);
}
.gallery-grid .gallery-tall {
  grid-row: span 2;
  height: 496px;
}

/* INSIGHTS, two-axis filtering (Program × LDVP) */
.filter-block {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.filter-block:last-of-type {
  margin-bottom: 44px;
}
.filter-label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 600;
  flex-shrink: 0;
  width: 130px;
  padding-top: 9px;
}
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1 1 auto;
}
.filter-pills .pill {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-3);
  cursor: pointer;
  background: var(--paper-2);
  transition: all 0.15s;
}
.filter-pills .pill:hover {
  border-color: var(--indigo);
  color: var(--indigo);
}
.filter-pills .pill.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.insight-row.is-hidden {
  display: none;
}
.prog-card.is-hidden {
  display: none;
}
.programs-section-divider.is-hidden {
  display: none;
}

[data-page='/programs'] .section {
  padding-top: 50px;
}
#prog-filters {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 44px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line);
}

/* Programs page filter pills, in-development programs */
#prog-filters .filter-pills .pill.is-soon {
  background: var(--paper-cool);
  color: var(--muted);
}
#prog-filters .filter-pills .pill.is-soon:hover {
  border-color: var(--mango);
  color: var(--mango);
}

/* (Legacy single-row filter, kept for fallback styling) */
.insight-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.insight-filter .pill {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-3);
  cursor: pointer;
  background: var(--paper-2);
  transition: all 0.15s;
}
.insight-filter .pill:hover {
  border-color: var(--indigo);
  color: var(--indigo);
}
.insight-filter .pill.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.insight-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.insight-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) 170px;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: background 0.15s;
}
/* Swap columns 1 and 3, Tier+Source go left, Program+LDVP go right.
   grid-row: 1 is required so the explicit grid-column placements all share
   a single row instead of cascading into 3 separate rows. */
.insight-row > .meta-side:first-of-type {
  grid-column: 1;
  grid-row: 1;
}
.insight-row > .meta-side:last-of-type {
  grid-column: 3;
  grid-row: 1;
}
.insight-row > .body {
  grid-column: 2;
  grid-row: 1;
}
/* Align all three columns' first line of text on the same baseline */
.insight-row > .body {
  padding-top: 0;
}
.insight-row > .body h4 {
  margin-top: 0;
}
.insight-row .meta-side .src-name {
  display: block;
  margin-top: 6px;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--ink-3);
  line-height: 1.5;
  font-weight: 400;
}
.insight-row:hover {
  background: var(--paper-2);
}
.insight-row .num {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 500;
  color: var(--indigo);
  letter-spacing: 0.04em;
}
.insight-row .num .new {
  display: block;
  margin-top: 8px;
  font-size: 9.5px;
  color: var(--paper);
  background: var(--mango);
  padding: 2px 8px;
  border-radius: 4px;
  width: fit-content;
  letter-spacing: 0.1em;
  font-weight: 700;
}
.insight-row .tag {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--indigo);
  padding-top: 4px;
  font-weight: 600;
}
.insight-row .body h4 {
  font-size: 20px;
  margin: 0 0 10px;
  line-height: 1.3;
  font-weight: 500;
}
.insight-row .body p {
  color: var(--ink-3);
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0 0 12px;
  font-weight: 400;
}
.insight-row .body .source {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.insight-row .meta-side {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-2);
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.5;
  border-left: none;
  padding-left: 0;
  padding-top: 0;
}
.insight-row .meta-side b {
  color: var(--muted);
  display: block;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 10.5px;
  margin: 18px 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.insight-row .meta-side b:first-child {
  margin-top: 0;
}
.insight-row .meta-side br {
  display: none;
}
.insight-row .meta-side .tier-1 {
  color: var(--indigo);
  font-weight: 600;
}
.insight-row .meta-side .tier-2 {
  color: var(--sky);
  font-weight: 600;
}

.methodology {
  margin-top: 56px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
}
.methodology h4 {
  font-size: 18px;
  margin: 0 0 14px;
  font-weight: 500;
}
.methodology p {
  font-size: 14.5px;
  color: var(--ink-3);
  line-height: 1.65;
  margin: 0 0 12px;
  max-width: 70ch;
}

/* Sub-heading inside Impact so far */
.findings-head {
  margin-top: 64px;
  margin-bottom: 28px;
}
.findings-head .eyebrow {
  margin-bottom: 12px;
}
.findings-head h3 {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 300;
  max-width: 30ch;
}
.findings-head h3 em {
  font-style: normal;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

/* SIGN UP page */
.map-panel {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
}
.map-panel .map-bar {
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.map-panel .map-bar .map-t {
  font-size: 14px;
  font-weight: 500;
}
.map-panel .map-bar .map-c {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.map-canvas {
  background: linear-gradient(135deg, #14103a 0%, #1b2168 50%, #2832a0 100%);
  position: relative;
  overflow: hidden;
  padding: 32px;
  min-height: 500px;
}
.map-canvas::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(142, 161, 255, 0.06) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(142, 161, 255, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.map-canvas svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
}
.map-legend {
  padding: 18px 24px;
  background: var(--paper-cool);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 12.5px;
  color: var(--ink-3);
}
.map-legend .lg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.map-legend .lg .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.map-legend .lg-active .dot {
  background: var(--mango);
}
.map-legend .lg-soon .dot {
  background: var(--sky);
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.story-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.story-card .photo-block {
  height: 180px;
}
.story-card .body {
  padding: 24px 26px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.story-card .org {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--indigo);
  font-weight: 600;
  margin-bottom: 4px;
}
.story-card .country {
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 14px;
}
.story-card blockquote {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 14px;
  font-weight: 300;
  font-style: italic;
}
.story-card .attrib {
  font-size: 12.5px;
  color: var(--ink-3);
  margin-top: auto;
}
.story-card .attrib b {
  color: var(--ink);
  font-weight: 600;
}

/* Opportunity loop diagram (replaces story photo cards) */
.opp-loop-wrap {
  padding: 0;
}
.opp-loop {
  display: block;
  width: 100%;
  height: auto;
  max-width: 1080px;
  margin: 0 auto;
  border-radius: 28px;
  box-shadow:
    0 30px 60px -25px rgba(20, 16, 58, 0.45),
    0 12px 24px -12px rgba(252, 95, 54, 0.25);
}
@media (prefers-reduced-motion: reduce) {
  .opp-loop animate,
  .opp-loop animateMotion,
  .opp-loop animateTransform {
    display: none;
  }
}

/* Testimonial quote grid (What Connect users are saying) */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.testimonial-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
}
.testimonial-card .mark {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 56px;
  line-height: 0.4;
  color: var(--indigo);
  height: 22px;
}
.testimonial-card blockquote {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
  font-weight: 300;
  font-style: italic;
}
.testimonial-card .who {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  margin-top: auto;
  line-height: 1.7;
}
.testimonial-card .who b {
  color: var(--ink);
  font-weight: 600;
}
.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Light hero */
.hero {
  padding: 64px 0 80px;
}
.hero h1 {
  font-size: clamp(40px, 5.6vw, 72px);
  margin: 18px 0 22px;
  max-width: 18ch;
  font-weight: 200;
}
.hero .lede {
  font-size: 18px;
  color: var(--ink-3);
  max-width: 60ch;
  line-height: 1.6;
  font-weight: 300;
}

.section {
  padding: 88px 0;
  border-top: 1px solid var(--line);
}
.section.warm {
  background: var(--paper-warm);
}
.section.cool {
  background: var(--paper-cool);
}
.section.no-border {
  border-top: none;
}
/* Dark CTA-style section background, matches the closing-cta treatment */
.section.dark {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
  border-top: none;
}
.section.dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 55% 45% at 100% 100%,
    rgba(56, 67, 208, 0.26),
    transparent 65%
  );
  pointer-events: none;
}
.section.dark::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.04) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(
    ellipse at 50% 50%,
    rgba(0, 0, 0, 0.85),
    transparent 75%
  );
  -webkit-mask-image: radial-gradient(
    ellipse at 50% 50%,
    rgba(0, 0, 0, 0.85),
    transparent 75%
  );
  pointer-events: none;
}
.section.dark > .wrap {
  position: relative;
  z-index: 1;
}
.section.dark .eyebrow {
  color: rgba(255, 255, 255, 0.7);
}
.section.dark .eyebrow::before {
  background: rgba(142, 161, 255, 0.7);
}
.section.dark .sec-head h2 {
  color: #fff;
}
.section.dark .sec-head h2 em {
  background: var(--grad-text-on-dark);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section.dark .sec-head .sub,
.section.dark .sec-head p {
  color: rgba(255, 255, 255, 0.78);
}

.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 44px;
}
.sec-head .label-group {
  max-width: 60ch;
}
.sec-head h2 {
  font-size: clamp(30px, 4.2vw, 50px);
  margin: 6px 0 0;
  font-weight: 300;
}
.sec-head .sub {
  color: var(--ink-3);
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 300;
}

/* Holistic visual on home */
.holistic-visual {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 24px 40px;
  overflow: hidden;
}
.holistic-visual svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Impact tiles, 3 columns × 2 rows */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.impact-tile {
  padding: 32px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.impact-tile:nth-child(3n) {
  border-right: none;
}
.impact-tile:nth-last-child(-n + 3) {
  border-bottom: none;
}
.impact-tile .n {
  font-size: clamp(34px, 3.4vw, 44px);
  line-height: 1;
  font-weight: 200;
  letter-spacing: -0.02em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.impact-tile .l {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 12px;
  line-height: 1.4;
  font-weight: 400;
}

/* Tagged Impact rows (Scale + Impact) on home */
.impact-section-block {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.impact-section-block .imp-row {
  display: grid;
  grid-template-columns: 140px 1fr;
}
.impact-section-block .imp-row + .imp-row {
  border-top: 1px solid var(--line);
}
.impact-section-block .imp-label {
  background: var(--paper-cool);
  padding: 28px 22px;
  display: flex;
  align-items: center;
  border-right: 1px solid var(--line);
}
.impact-section-block .imp-label .row-tag {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--indigo);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.impact-section-block .imp-tiles {
  display: grid;
}
.impact-section-block .imp-tiles.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
.impact-section-block .imp-tiles.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}
.impact-section-block .imp-tile {
  padding: 30px 24px;
  border-right: 1px solid var(--line);
}
.impact-section-block .imp-tile:last-child {
  border-right: none;
}
.impact-section-block .imp-tile .n {
  font-size: clamp(34px, 3.4vw, 46px);
  line-height: 1;
  font-weight: 200;
  letter-spacing: -0.02em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.impact-section-block .imp-tile .l {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 12px;
  line-height: 1.4;
  font-weight: 400;
}

/* Findings (3 boxes on home) */
.findings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.finding {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: var(--ink);
  transition:
    border-color 0.15s,
    transform 0.15s,
    box-shadow 0.2s;
}
.finding:hover {
  border-color: var(--indigo);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(56, 67, 208, 0.1);
}
.finding .sector {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--indigo);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}
.finding .big-stat {
  font-size: 60px;
  font-weight: 200;
  line-height: 1;
  letter-spacing: -0.025em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 4px 0 0;
}
.finding .big-stat.warm {
  background: linear-gradient(90deg, var(--mango-deep) 0%, var(--mango) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.finding h4 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  margin: 0;
  max-width: 32ch;
}
.finding p {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
  font-weight: 400;
}
.finding .more {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--indigo);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  border-top: 1px dashed var(--line);
  padding-top: 16px;
  margin-top: auto;
}

/* Programs cards (home) */
.prog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.prog-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--ink);
  display: block;
  transition:
    border-color 0.15s,
    transform 0.15s,
    box-shadow 0.2s;
}
.prog-card:hover {
  border-color: var(--indigo);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(56, 67, 208, 0.1);
}
.prog-card .body {
  padding: 28px 30px 30px;
}
.prog-card .sector {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--indigo);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}
.prog-card h3 {
  font-size: 24px;
  margin: 8px 0 12px;
  font-weight: 400;
}
.prog-card .countries {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
}
.prog-card p {
  color: var(--ink-3);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0 0 18px;
  font-weight: 400;
}
.prog-card .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-top: 1px dashed var(--line);
  padding-top: 16px;
}
.prog-card .meta .more {
  color: var(--indigo);
  font-weight: 600;
}

/* Photo placeholder blocks (used on Programs and How It Works) */
.photo-block {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}
.photo-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 20% 30%,
      rgba(255, 255, 255, 0.12) 0%,
      transparent 32%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(255, 255, 255, 0.08) 0%,
      transparent 36%
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(255, 255, 255, 0.04) 0%,
      transparent 50%
    );
  pointer-events: none;
}
.photo-block::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.05) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  opacity: 0.5;
}
.photo-block .photo-label {
  position: relative;
  z-index: 1;
  margin: 0 0 14px 18px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(10, 6, 32, 0.4);
  padding: 5px 9px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}
/* Program card illustrations (SVG, distinct per program) */
.ph-chc {
  background: #d7d9f6
    url("images/Program Area Graphics/child-health-campaigns.e30de1e180a5.svg")
    center/contain no-repeat;
}
.ph-kmc {
  background: #f5dedf
    url("images/Program Area Graphics/kangaroo-mother-care.4e2806d3857f.svg")
    center/contain no-repeat;
}
.ph-ecd {
  background: #e1dbee
    url("images/Program Area Graphics/early-childhood-development.64003d067573.svg")
    center/contain no-repeat;
}
.ph-readers {
  background: #ebdce6
    url("images/Program Area Graphics/reading-glasses.0d6109380ff9.svg") center/contain
    no-repeat;
}
.ph-mbw {
  background: #dfe2f6
    url("images/Program Area Graphics/mother-baby-wellness.c16ce0c79c91.svg")
    center/contain no-repeat;
}
.ph-chlorine {
  background: #ccecee
    url("images/Program Area Graphics/chlorine-dispenser.07dbbd8d184c.svg")
    center/contain no-repeat;
}
.ph-mental {
  background: #fcefcc url("images/Program Area Graphics/mental-health.a7b9e32f231a.svg")
    center/contain no-repeat;
}
.ph-nutrition {
  background: #d9ecd4
    url("images/Program Area Graphics/therapeutic-food.523ca9188b04.svg") center/contain
    no-repeat;
}
.ph-survey {
  background: #e9ecef
    url("images/Program Area Graphics/survey-data-collection.09e6b84ccdae.svg")
    center/contain no-repeat;
}
.ph-environment {
  background: #dce6f0
    url("images/Program Area Graphics/building-sampling.40dea2650a75.svg") center/contain
    no-repeat;
}
/* Suppress placeholder overlays + photo labels on program-card illustrations */
.all-programs-grid .photo-block::before,
.all-programs-grid .photo-block::after {
  display: none;
}
.all-programs-grid .photo-block .photo-label {
  display: none;
}
/* Field photos for How It Works */
.ph-field-1 {
  background: linear-gradient(135deg, #14103a 0%, #3843d0 50%, #fc5f36 100%);
}
.ph-field-2 {
  background: linear-gradient(135deg, #2832a0 0%, #5c6fe8 100%);
}
.ph-field-3 {
  background: linear-gradient(135deg, #1d254e 0%, #3843d0 70%, #feaf31 100%);
}
.ph-field-4 {
  background: linear-gradient(135deg, #14103a 0%, #2d3580 100%);
}
.ph-field-5 {
  background: linear-gradient(135deg, #2832a0 0%, #6878e5 100%);
}
.ph-field-6 {
  background: linear-gradient(135deg, #1b2168 0%, #3843d0 50%, #fc5f36 100%);
}

/* All-programs grid (Programs page) */
.all-programs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.all-programs-grid .prog-card {
  display: flex;
  flex-direction: column;
}
.all-programs-grid .prog-card.is-soon {
  opacity: 0.85;
}
.all-programs-grid .prog-card.is-soon .body {
  background: var(--paper-cool);
}
.all-programs-grid .prog-card .body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.all-programs-grid .prog-card .stat-strip {
  display: flex;
  gap: 22px;
  padding: 14px 0;
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
  margin: 8px 0 16px;
}
.all-programs-grid .prog-card .stat-strip .ps {
  flex: 1;
}
.all-programs-grid .prog-card .stat-strip .n {
  font-size: 22px;
  font-weight: 200;
  letter-spacing: -0.02em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.all-programs-grid .prog-card .stat-strip .l {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
  font-weight: 600;
}
.all-programs-grid .badge-soon {
  display: inline-block;
  background: var(--mango);
  color: #fff;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
}

/* Final CTA, original (Insights only) */
.final-cta {
  text-align: center;
  padding: 96px 24px;
  color: #fff;
}
.final-cta .eyebrow {
  color: rgba(255, 255, 255, 0.6);
  justify-content: center;
  margin-bottom: 24px;
}
.final-cta .eyebrow::before {
  background: rgba(255, 255, 255, 0.4);
}
.final-cta h2 {
  color: #fff;
  font-size: clamp(36px, 4.4vw, 56px);
  max-width: 22ch;
  margin: 0 auto 22px;
  font-weight: 300;
}
.final-cta h2 em {
  background: var(--grad-text-on-dark);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.final-cta p {
  color: rgba(255, 255, 255, 0.72);
  max-width: 56ch;
  margin: 0 auto 32px;
  font-size: 17px;
  font-weight: 300;
}

/* Shared closing CTA, simplified, single button */
.closing-cta {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.closing-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 55% 45% at 100% 100%,
    rgba(56, 67, 208, 0.26),
    transparent 65%
  );
  pointer-events: none;
}
.closing-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.04) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(
    ellipse at 50% 50%,
    rgba(0, 0, 0, 0.85),
    transparent 75%
  );
  -webkit-mask-image: radial-gradient(
    ellipse at 50% 50%,
    rgba(0, 0, 0, 0.85),
    transparent 75%
  );
  pointer-events: none;
}
.closing-inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
  padding: 96px 32px;
  text-align: center;
}
.closing-cta .eyebrow {
  color: rgba(255, 255, 255, 0.7);
  justify-content: center;
  margin-bottom: 24px;
}
.closing-cta .eyebrow::before {
  background: rgba(142, 161, 255, 0.7);
}
.closing-cta h2 {
  color: #fff;
  font-size: clamp(36px, 4.6vw, 60px);
  max-width: 22ch;
  margin: 0 auto 22px;
  font-weight: 300;
}
.closing-cta h2 em {
  background: var(--grad-text-on-dark);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}
.closing-cta .lead {
  color: rgba(255, 255, 255, 0.78);
  max-width: 60ch;
  margin: 0 auto 36px;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.6;
}

/* Footer */
footer.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 32px;
}
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 36px;
}
.foot-brand {
  text-align: left;
}
.foot-brand .logo {
  font-size: 22px;
  color: var(--paper);
  display: inline-block;
  margin-bottom: 14px;
}
.foot-brand p {
  font-size: 13.5px;
  max-width: 38ch;
  line-height: 1.6;
  margin: 0;
}
.foot-col h5 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 14px;
  font-weight: 600;
}
.foot-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.foot-col li {
  margin-bottom: 10px;
  font-size: 13.5px;
}
.foot-col a {
  color: rgba(255, 255, 255, 0.78);
}
.foot-col a:hover {
  color: var(--sky);
}
.foot-bottom {
  max-width: 1240px;
  margin: 48px auto 0;
  padding: 24px 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* HOW IT WORKS, Two-Sided Marketplace (stacked, horizontal internal) */
.two-sided-market {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 32px;
  position: relative;
}
.market-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 96px;
  position: relative;
}
/* Horizontal arrow between the two boxes, anchored at the vertical centre of each */
.market-arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 18px;
  color: var(--indigo);
  pointer-events: none;
  z-index: 2;
  overflow: visible;
}
/* Label above the horizontal arrow */
.market-arrow-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, calc(-50% - 32px));
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--indigo);
  text-align: center;
  line-height: 1.25;
  pointer-events: none;
  z-index: 2;
}
@media (max-width: 980px) {
  .market-arrow,
  .market-arrow-label {
    display: none;
  }
}
/* Legacy center-exchange element retained for backwards compatibility, hidden */
.market-exchange {
  display: none;
}
/* Small CTA inside each market-side-header */
.market-side-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--indigo);
  border-bottom: 1px dashed currentColor;
  padding-bottom: 2px;
  width: fit-content;
  transition:
    color 0.2s,
    border-color 0.2s,
    transform 0.2s;
}
.market-side-cta:hover {
  color: var(--indigo-deep);
  border-bottom-color: var(--indigo-deep);
  transform: translateX(2px);
}
.market-side-platform .market-side-cta {
  color: #1b998b;
}
.market-side-platform .market-side-cta:hover {
  color: #117a6f;
  border-bottom-color: #117a6f;
}
/* Legacy loop-back arrow, replaced by the new .market-loop element */
.market-cycle-arrow {
  display: none;
}
/* Loop arrow: visualises the cycle returning from Connect Platform back to Funders */
.market-loop {
  position: relative;
  margin-top: 4px;
  padding-top: 56px;
}
.market-loop-arrow {
  position: absolute;
  top: 0;
  left: 8px;
  right: 8px;
  height: 44px;
  border: 2px dashed var(--indigo);
  border-top: none;
  border-radius: 0 0 24px 24px;
  pointer-events: none;
}
.market-loop-arrow::before {
  /* Arrowhead at top-LEFT of the U, pointing UP into the Funders (purple) box */
  content: '';
  position: absolute;
  left: -1px;
  top: 0;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 10px solid var(--indigo);
  transform: translate(-50%, -100%);
}
.market-loop-arrow::after {
  /* Origin dot at top-RIGHT of the U, exiting the Connect Platform (teal) box */
  content: '';
  position: absolute;
  right: -1px;
  top: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #1b998b;
  transform: translate(50%, -50%);
}
.market-loop-content {
  text-align: center;
  padding: 0 16px;
}
.market-loop-title {
  margin: 0 0 14px;
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.market-loop-text {
  margin: 0 auto 8px;
  max-width: 76ch;
  text-align: center;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-2);
}
.market-loop-text:last-of-type {
  margin-bottom: 0;
}
.market-loop-placeholder {
  margin: 24px auto 0;
  max-width: 520px;
  padding: 26px 24px;
  background: #fff8d6;
  border: 2px dashed #d9b82a;
  border-radius: 12px;
  color: #6b5800;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.market-loop-placeholder .placeholder-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8a6f00;
}
.market-loop-placeholder .placeholder-name {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: #4f4100;
}
@media (max-width: 980px) {
  .market-loop {
    padding-top: 16px;
  }
  .market-loop-arrow {
    display: none;
  }
}
.market-cycle-arrow-legacy {
  position: absolute;
  top: 36px;
  bottom: 36px;
  right: 12px;
  width: 40px;
  border: 2px dashed var(--indigo);
  border-left: none;
  border-radius: 0 20px 20px 0;
  pointer-events: none;
}
.market-cycle-arrow::before {
  /* arrowhead at top-left of the bracket, pointing left toward the top funder box */
  content: '';
  position: absolute;
  left: 0;
  top: -1px;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 9px solid var(--indigo);
  transform: translate(-100%, -50%);
}
.market-cycle-arrow::after {
  /* origin dot at bottom-left of the bracket, exiting the bottom funder box */
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--indigo);
  transform: translate(-50%, 50%);
}
.market-cycle-arrow-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  transform-origin: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--indigo);
  background: var(--paper-2);
  padding: 4px 10px;
  white-space: nowrap;
}
@media (max-width: 1080px) {
  .two-sided-market {
    padding-right: 0;
  }
  .market-cycle-arrow {
    display: none;
  }
}
.market-side {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
  position: relative;
}
.market-side-funder {
  border-top: 4px solid var(--indigo);
}
.market-side-platform {
  border-top: 4px solid #1b998b;
}
.market-side-header .role-tag {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--indigo);
}
.market-side-platform .market-side-header .role-tag {
  color: #1b998b;
}
.market-side-header h3 {
  margin: 10px 0 0;
  font-size: 28px;
  font-weight: 300;
  line-height: 1.2;
}
.market-side-header h3 em {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
  font-style: normal;
}
.market-side-platform .market-side-header h3 em {
  background: linear-gradient(90deg, #117a6f 0%, #1b998b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.picker-set {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 12px;
}
.picker-list h6 {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin: 0 0 10px;
}
.picker-scroll {
  height: 336px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  scrollbar-width: thin;
  scrollbar-color: var(--rule) transparent;
}
.picker-scroll::-webkit-scrollbar {
  width: 6px;
}
.picker-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.picker-scroll::-webkit-scrollbar-thumb {
  background: var(--rule);
  border-radius: 3px;
}
.picker-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 11px 14px;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--ink);
  transition:
    background 0.2s,
    color 0.2s;
}
.picker-item:last-child {
  border-bottom: none;
}
.picker-item:hover {
  background: var(--paper-cool);
  color: var(--indigo);
}
.picker-item.is-active {
  background: var(--indigo-soft);
  color: var(--indigo);
  font-weight: 600;
}
.picker-item-new {
  color: var(--mango);
  font-weight: 600;
}
.picker-item-new:hover {
  color: var(--mango-deep);
}
.picker-item-new.is-active {
  background: rgba(252, 95, 54, 0.1);
  color: var(--mango);
}

.platform-promise {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.promise-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  border-right: none;
}
.promise-item:first-child {
  padding-top: 0;
  padding-left: 0;
}
.promise-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
  padding-right: 0;
}
.promise-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-xs);
  background: rgba(27, 153, 139, 0.14);
  color: #1b998b;
  display: flex;
  align-items: center;
  justify-content: center;
}
.promise-icon svg {
  width: 22px;
  height: 22px;
}
/* Indigo variant for the funder feedback-loop box */
.market-side-funder .promise-icon {
  background: var(--indigo-soft);
  color: var(--indigo);
}
.market-side-funder .promise-stat {
  color: var(--indigo);
}
.promise-text h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--ink);
}
.promise-text p {
  font-size: 13.5px;
  color: var(--ink-3);
  line-height: 1.55;
  margin: 0 0 10px;
}
.promise-stat {
  font-family: var(--mono);
  font-size: 12px;
  color: #1b998b;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.market-conclusion {
  text-align: center;
  margin-top: 24px;
}
.market-conclusion p {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 300;
  margin: 0;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.market-conclusion p em {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
  font-style: normal;
}

/* HOW IT WORKS, combined cycle + step tabs panel */
.cycle-panel-combined {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 56px;
}
.cycle-panel-combined .cycle-svg-area {
  padding: 28px 36px 8px;
}
.cycle-panel-combined svg .cycle-node-group {
  cursor: pointer;
  transition: transform 0.2s;
}
.cycle-panel-combined svg .cycle-node-group:hover {
  transform: translateY(-3px) scale(1.03);
  transform-origin: center;
  transform-box: fill-box;
}

/* legacy classes kept for backwards-compatibility, unused after combine */
.interactive-cycle-panel {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 28px;
}
.step-detail-wrap {
  background: var(--paper-2);
  overflow: hidden;
}
.step-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.step-tab {
  padding: 20px 22px;
  font-family: var(--sans);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  border-right: 1px solid var(--line);
  color: var(--ink-3);
  transition:
    background 0.15s,
    color 0.15s;
  display: flex;
  align-items: center;
  gap: 14px;
}
.step-tab:last-child {
  border-right: none;
}
.step-bubble {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--paper-cool);
  color: var(--indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
  flex-shrink: 0;
}
.step-tab .name {
  font-size: 17px;
  font-weight: 400;
  color: var(--ink);
}
.step-tab:hover {
  background: var(--paper-2);
}
.step-tab:hover .step-bubble {
  background: var(--indigo-soft);
}
.step-tab.active {
  background: var(--paper-2);
  border-bottom: 2px solid var(--indigo);
  margin-bottom: -1px;
}
.step-tab.active .step-bubble {
  background: var(--indigo);
  color: #fff;
  box-shadow: 0 4px 12px rgba(56, 67, 208, 0.25);
}
.step-tab.active .name {
  font-weight: 600;
  color: var(--indigo);
}

/* Per-step colors, Learn / Deliver / Verify / Pay */
.step-tab[data-step='learn'] .step-bubble {
  color: #16006d;
}
.step-tab[data-step='learn']:hover .step-bubble {
  background: rgba(22, 0, 109, 0.1);
}
.step-tab[data-step='learn'].active .step-bubble {
  background: #16006d;
  color: #fff;
  box-shadow: 0 4px 12px rgba(22, 0, 109, 0.3);
}
.step-tab[data-step='learn'].active .name {
  color: #16006d;
}
.step-tab[data-step='learn'].active {
  border-bottom-color: #16006d;
}

.step-tab[data-step='deliver'] .step-bubble {
  color: #5d70d2;
}
.step-tab[data-step='deliver']:hover .step-bubble {
  background: rgba(93, 112, 210, 0.12);
}
.step-tab[data-step='deliver'].active .step-bubble {
  background: #5d70d2;
  color: #fff;
  box-shadow: 0 4px 12px rgba(93, 112, 210, 0.3);
}
.step-tab[data-step='deliver'].active .name {
  color: #5d70d2;
}
.step-tab[data-step='deliver'].active {
  border-bottom-color: #5d70d2;
}

.step-tab[data-step='verify'] .step-bubble {
  color: #fc5f36;
}
.step-tab[data-step='verify']:hover .step-bubble {
  background: rgba(252, 95, 54, 0.12);
}
.step-tab[data-step='verify'].active .step-bubble {
  background: #fc5f36;
  color: #fff;
  box-shadow: 0 4px 12px rgba(252, 95, 54, 0.3);
}
.step-tab[data-step='verify'].active .name {
  color: #fc5f36;
}
.step-tab[data-step='verify'].active {
  border-bottom-color: #fc5f36;
}

.step-tab[data-step='pay'] .step-bubble {
  color: #1b998b;
}
.step-tab[data-step='pay']:hover .step-bubble {
  background: rgba(27, 153, 139, 0.12);
}
.step-tab[data-step='pay'].active .step-bubble {
  background: #1b998b;
  color: #fff;
  box-shadow: 0 4px 12px rgba(27, 153, 139, 0.3);
}
.step-tab[data-step='pay'].active .name {
  color: #1b998b;
}
.step-tab[data-step='pay'].active {
  border-bottom-color: #1b998b;
}

/* Step detail accent colors per step */
.step-detail[data-step='learn'] .left h3 em,
.step-detail[data-step='learn'] .right .ps .n {
  background: linear-gradient(90deg, #0e0050 0%, #16006d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.step-detail[data-step='learn'] .left .pull {
  border-left-color: #16006d;
}
.step-detail[data-step='learn'] .left .deeper {
  color: #16006d;
  border-bottom-color: #16006d;
}
.step-detail[data-step='learn'] .right .ps {
  border-left-color: #16006d;
}

.step-detail[data-step='deliver'] .left h3 em,
.step-detail[data-step='deliver'] .right .ps .n {
  background: linear-gradient(90deg, #4258b8 0%, #5d70d2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.step-detail[data-step='deliver'] .left .pull {
  border-left-color: #5d70d2;
}
.step-detail[data-step='deliver'] .left .deeper {
  color: #5d70d2;
  border-bottom-color: #5d70d2;
}
.step-detail[data-step='deliver'] .right .ps {
  border-left-color: #5d70d2;
}

.step-detail[data-step='verify'] .left h3 em,
.step-detail[data-step='verify'] .right .ps .n {
  background: linear-gradient(90deg, #e04a22 0%, #fc5f36 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.step-detail[data-step='verify'] .left .pull {
  border-left-color: #fc5f36;
}
.step-detail[data-step='verify'] .left .deeper {
  color: #fc5f36;
  border-bottom-color: #fc5f36;
}
.step-detail[data-step='verify'] .right .ps {
  border-left-color: #fc5f36;
}

.step-detail[data-step='pay'] .left h3 em,
.step-detail[data-step='pay'] .right .ps .n {
  background: linear-gradient(90deg, #117a6f 0%, #1b998b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.step-detail[data-step='pay'] .left .pull {
  border-left-color: #1b998b;
}
.step-detail[data-step='pay'] .left .deeper {
  color: #1b998b;
  border-bottom-color: #1b998b;
}
.step-detail[data-step='pay'] .right .ps {
  border-left-color: #1b998b;
}

.step-detail {
  display: none;
  padding: 44px 48px;
  background: var(--paper);
}
.step-detail.active {
  display: grid;
}
.step-detail {
  grid-template-columns: 240px 1fr 1fr;
  grid-template-rows: auto auto;
  column-gap: 44px;
  row-gap: 32px;
  align-items: start;
}
.step-detail .step-media {
  width: 100%;
  aspect-ratio: 320 / 606;
  border-radius: 18px;
  overflow: hidden;
  background: var(--paper-cool);
  border: 1px solid var(--line);
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: start;
}
/* Verify uses a laptop-shaped (square-ish) dashboard gif, not a phone — give it a wider media column so the whole dashboard reads */
.step-detail[data-step='verify'] {
  grid-template-columns: 520px 1fr 1fr;
}
.step-detail[data-step='verify'] .step-media {
  aspect-ratio: 480 / 380;
}
.step-detail .step-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.step-detail .left {
  grid-column: 2 / span 2;
  grid-row: 1;
}
.step-detail .features {
  grid-column: 2;
  grid-row: 2;
}
.step-detail .right {
  grid-column: 3;
  grid-row: 2;
  align-self: stretch;
}
@media (max-width: 980px) {
  .step-detail {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    gap: 24px;
  }
  .step-detail .step-media {
    grid-row: auto;
    grid-column: 1;
    max-width: 240px;
    margin: 0 auto;
  }
  .step-detail[data-step='verify'] .step-media {
    max-width: 360px;
  }
  .step-detail .left,
  .step-detail .features,
  .step-detail .right {
    grid-column: 1;
    grid-row: auto;
  }
}
.step-detail .left h3 {
  font-size: 32px;
  margin: 0 0 18px;
  font-weight: 300;
  max-width: 30ch;
}
.step-detail .left h3 em {
  font-weight: 600;
}
.step-detail .left .lede {
  color: var(--ink-3);
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 28px;
  font-weight: 300;
  max-width: 60ch;
}
.step-block-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--indigo);
  margin: 0 0 14px;
}
.step-detail .feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
  row-gap: 10px;
}
.step-detail .feature-list li {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
  font-weight: 400;
  position: relative;
  padding-left: 20px;
}
.step-detail .feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--indigo);
}
@media (max-width: 600px) {
  .step-detail .feature-list {
    grid-template-columns: 1fr;
  }
}
.step-detail[data-step='learn'] .step-block-label {
  color: #16006d;
}
.step-detail[data-step='deliver'] .step-block-label {
  color: #5d70d2;
}
.step-detail[data-step='verify'] .step-block-label {
  color: #fc5f36;
}
.step-detail[data-step='pay'] .step-block-label {
  color: #1b998b;
}
.step-detail[data-step='learn'] .feature-list li::before {
  background: #16006d;
}
.step-detail[data-step='deliver'] .feature-list li::before {
  background: #5d70d2;
}
.step-detail[data-step='verify'] .feature-list li::before {
  background: #fc5f36;
}
.step-detail[data-step='pay'] .feature-list li::before {
  background: #1b998b;
}
.step-detail .left .pull {
  font-weight: 300;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
  border-left: 2px solid var(--indigo);
  padding: 4px 0 4px 18px;
  margin: 0 0 22px;
  max-width: 60ch;
}
.step-detail .left .deeper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--indigo);
  border-bottom: 1px solid var(--indigo);
  padding-bottom: 2px;
  font-weight: 600;
}
.step-detail .right .pillar-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.step-detail .right .ps {
  background: var(--paper-cool);
  border-left: 3px solid var(--indigo);
  padding: 18px 22px;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.step-detail .right .ps .n {
  font-size: 36px;
  font-weight: 200;
  letter-spacing: -0.02em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.step-detail .right .ps .l {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 8px;
  font-weight: 400;
}
.numbers-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.numbers-header .step-block-label {
  margin: 0;
}
.source-link {
  font-size: 11px;
  color: var(--ink-3);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  opacity: 0.55;
  transition: opacity 0.15s;
}
.source-link:hover {
  opacity: 1;
}

/* Per-step Insights subsection (inside step-detail) */
.step-detail .step-insights {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.step-insights-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 18px;
}
.step-insight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}
.step-insight-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.step-insight-card .program-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--indigo);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}
.step-insight-card h5 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.005em;
}
.step-insight-card p {
  font-size: 13.5px;
  color: var(--ink-3);
  line-height: 1.55;
  margin: 0;
}
.step-insight-card .src {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0.05em;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  text-transform: none;
}

/* Per-step accent on insights label and program tag */
.step-detail[data-step='learn'] .step-insights-label,
.step-detail[data-step='learn'] .step-insight-card .program-tag {
  color: #16006d;
}
.step-detail[data-step='deliver'] .step-insights-label,
.step-detail[data-step='deliver'] .step-insight-card .program-tag {
  color: #5d70d2;
}
.step-detail[data-step='verify'] .step-insights-label,
.step-detail[data-step='verify'] .step-insight-card .program-tag {
  color: #fc5f36;
}
.step-detail[data-step='pay'] .step-insights-label,
.step-detail[data-step='pay'] .step-insight-card .program-tag {
  color: #1b998b;
}

/* Photo gallery on How It Works */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-grid .photo-block {
  height: 240px;
  border-radius: var(--radius);
}
.gallery-grid .gallery-tall {
  grid-row: span 2;
  height: 496px;
}

/* INSIGHTS, two-axis filtering (Program × LDVP) */
.filter-block {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.filter-block:last-of-type {
  margin-bottom: 44px;
}
.filter-label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 600;
  flex-shrink: 0;
  width: 130px;
  padding-top: 9px;
}
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1 1 auto;
}
.filter-pills .pill {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-3);
  cursor: pointer;
  background: var(--paper-2);
  transition: all 0.15s;
}
.filter-pills .pill:hover {
  border-color: var(--indigo);
  color: var(--indigo);
}
.filter-pills .pill.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.insight-row.is-hidden {
  display: none;
}
.prog-card.is-hidden {
  display: none;
}
.programs-section-divider.is-hidden {
  display: none;
}

[data-page='/programs'] .section {
  padding-top: 50px;
}
#prog-filters {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 44px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line);
}

/* Programs page filter pills, in-development programs */
#prog-filters .filter-pills .pill.is-soon {
  background: var(--paper-cool);
  color: var(--muted);
}
#prog-filters .filter-pills .pill.is-soon:hover {
  border-color: var(--mango);
  color: var(--mango);
}

/* (Legacy single-row filter, kept for fallback styling) */
.insight-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.insight-filter .pill {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-3);
  cursor: pointer;
  background: var(--paper-2);
  transition: all 0.15s;
}
.insight-filter .pill:hover {
  border-color: var(--indigo);
  color: var(--indigo);
}
.insight-filter .pill.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.insight-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.insight-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) 170px;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: background 0.15s;
}
/* Swap columns 1 and 3, Tier+Source go left, Program+LDVP go right.
   grid-row: 1 is required so the explicit grid-column placements all share
   a single row instead of cascading into 3 separate rows. */
.insight-row > .meta-side:first-of-type {
  grid-column: 1;
  grid-row: 1;
}
.insight-row > .meta-side:last-of-type {
  grid-column: 3;
  grid-row: 1;
}
.insight-row > .body {
  grid-column: 2;
  grid-row: 1;
}
/* Align all three columns' first line of text on the same baseline */
.insight-row > .body {
  padding-top: 0;
}
.insight-row > .body h4 {
  margin-top: 0;
}
.insight-row .meta-side .src-name {
  display: block;
  margin-top: 6px;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--ink-3);
  line-height: 1.5;
  font-weight: 400;
}
.insight-row:hover {
  background: var(--paper-2);
}
.insight-row .num {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 500;
  color: var(--indigo);
  letter-spacing: 0.04em;
}
.insight-row .num .new {
  display: block;
  margin-top: 8px;
  font-size: 9.5px;
  color: var(--paper);
  background: var(--mango);
  padding: 2px 8px;
  border-radius: 4px;
  width: fit-content;
  letter-spacing: 0.1em;
  font-weight: 700;
}
.insight-row .tag {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--indigo);
  padding-top: 4px;
  font-weight: 600;
}
.insight-row .body h4 {
  font-size: 20px;
  margin: 0 0 10px;
  line-height: 1.3;
  font-weight: 500;
}
.insight-row .body p {
  color: var(--ink-3);
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0 0 12px;
  font-weight: 400;
}
.insight-row .body .source {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.insight-row .meta-side {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-2);
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.5;
  border-left: none;
  padding-left: 0;
  padding-top: 0;
}
.insight-row .meta-side b {
  color: var(--muted);
  display: block;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 10.5px;
  margin: 18px 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.insight-row .meta-side b:first-child {
  margin-top: 0;
}
.insight-row .meta-side br {
  display: none;
}
.insight-row .meta-side .tier-1 {
  color: var(--indigo);
  font-weight: 600;
}
.insight-row .meta-side .tier-2 {
  color: var(--sky);
  font-weight: 600;
}

.methodology {
  margin-top: 56px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
}
.methodology h4 {
  font-size: 18px;
  margin: 0 0 14px;
  font-weight: 500;
}
.methodology p {
  font-size: 14.5px;
  color: var(--ink-3);
  line-height: 1.65;
  margin: 0 0 12px;
  max-width: 70ch;
}

/* Sub-heading inside Impact so far */
.findings-head {
  margin-top: 64px;
  margin-bottom: 28px;
}
.findings-head .eyebrow {
  margin-bottom: 12px;
}
.findings-head h3 {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 300;
  max-width: 30ch;
}
.findings-head h3 em {
  font-style: normal;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

/* SIGN UP page */
.map-panel {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
}
.map-panel .map-bar {
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.map-panel .map-bar .map-t {
  font-size: 14px;
  font-weight: 500;
}
.map-panel .map-bar .map-c {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.map-canvas {
  background: linear-gradient(135deg, #14103a 0%, #1b2168 50%, #2832a0 100%);
  position: relative;
  overflow: hidden;
  padding: 32px;
  min-height: 500px;
}
.map-canvas::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(142, 161, 255, 0.06) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(142, 161, 255, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.map-canvas svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
}
.map-legend {
  padding: 18px 24px;
  background: var(--paper-cool);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 12.5px;
  color: var(--ink-3);
}
.map-legend .lg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.map-legend .lg .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.map-legend .lg-active .dot {
  background: var(--mango);
}
.map-legend .lg-soon .dot {
  background: var(--sky);
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.story-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.story-card .photo-block {
  height: 180px;
}
.story-card .body {
  padding: 24px 26px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.story-card .org {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--indigo);
  font-weight: 600;
  margin-bottom: 4px;
}
.story-card .country {
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 14px;
}
.story-card blockquote {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 14px;
  font-weight: 300;
  font-style: italic;
}
.story-card .attrib {
  font-size: 12.5px;
  color: var(--ink-3);
  margin-top: auto;
}
.story-card .attrib b {
  color: var(--ink);
  font-weight: 600;
}

/* Opportunity loop diagram (replaces story photo cards) */
.opp-loop-wrap {
  padding: 0;
}
.opp-loop {
  display: block;
  width: 100%;
  height: auto;
  max-width: 1080px;
  margin: 0 auto;
  border-radius: 28px;
  box-shadow:
    0 30px 60px -25px rgba(20, 16, 58, 0.45),
    0 12px 24px -12px rgba(252, 95, 54, 0.25);
}
@media (prefers-reduced-motion: reduce) {
  .opp-loop animate,
  .opp-loop animateMotion,
  .opp-loop animateTransform {
    display: none;
  }
}

/* Testimonial quote grid (What Connect users are saying) */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.testimonial-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
}
.testimonial-card .mark {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 56px;
  line-height: 0.4;
  color: var(--indigo);
  height: 22px;
}
.testimonial-card blockquote {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
  font-weight: 300;
  font-style: italic;
}
.testimonial-card .who {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  margin-top: auto;
  line-height: 1.7;
}
.testimonial-card .who b {
  color: var(--ink);
  font-weight: 600;
}
.testimonial-card .illustrative {
  display: inline-block;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  margin-left: 4px;
  vertical-align: 1px;
}
/* Coming-soon testimonial variant — bright yellow placeholder */
.testimonial-card.coming-soon {
  background: #ffe600;
  border-color: #e6cf00;
}
.testimonial-card.coming-soon .mark {
  color: #5c4d00;
}
.testimonial-card.coming-soon blockquote {
  color: #2a2300;
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
}
.testimonial-card.coming-soon .who {
  color: #5c4d00;
}
.testimonial-card.coming-soon .who b {
  color: #2a2300;
}
/* With-photo variant pulls the photo to the top edge */
.testimonial-card.with-photo {
  padding: 0;
  overflow: hidden;
  gap: 0;
}
.testimonial-card.with-photo .photo-block {
  height: 160px;
}
.testimonial-card.with-photo .tc-body {
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.role-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
}
.role-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition:
    border-color 0.15s,
    transform 0.15s,
    box-shadow 0.2s;
}
.role-card:hover {
  border-color: var(--indigo);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(56, 67, 208, 0.1);
}
.role-card.warm:hover {
  border-color: var(--mango);
  box-shadow: 0 16px 40px rgba(252, 95, 54, 0.1);
}
.role-card.funder:hover {
  border-color: #1b998b;
  box-shadow: 0 16px 40px rgba(27, 153, 139, 0.1);
}
.role-card .role-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: var(--indigo-soft);
  color: var(--indigo);
  display: flex;
  align-items: center;
  justify-content: center;
}
.role-card.warm .role-icon {
  background: rgba(252, 95, 54, 0.12);
  color: var(--mango);
}
.role-card.funder .role-icon {
  background: rgba(27, 153, 139, 0.12);
  color: #1b998b;
}
.role-card .role-icon svg {
  width: 28px;
  height: 28px;
}
.role-card .role-tag {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--indigo);
  font-weight: 600;
}
.role-card.warm .role-tag {
  color: var(--mango);
}
.role-card.funder .role-tag {
  color: #1b998b;
}
.role-card h3 {
  font-size: 28px;
  font-weight: 300;
}
.role-card h3 em {
  font-weight: 600;
}
.role-card p {
  font-size: 15px;
  color: var(--ink-3);
  line-height: 1.6;
  margin: 0;
}
.role-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.role-card li {
  font-size: 14px;
  color: var(--ink-2);
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.role-card li::before {
  content: '→';
  color: var(--indigo);
  font-weight: 600;
}
.role-card.warm li::before {
  color: var(--mango);
}
.role-card.funder li::before {
  color: #1b998b;
}
.role-card .role-action {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Home hero, tagged stat rows (Scale + Impact) on dark bg */
.hero-dark .hero-stats {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.hero-dark .hero-stats-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 32px;
  align-items: center;
}
.hero-dark .hero-stats-tag {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sky);
}
.hero-dark .hero-stats-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
@media (max-width: 700px) {
  .hero-dark .hero-stats-items {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
}
.hero-dark .hero-stats-items .num {
  font-size: 30px;
  font-weight: 200;
  letter-spacing: -0.02em;
  background: var(--grad-text-on-dark);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.hero-dark .hero-stats-items .label {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  line-height: 1.3;
}
@media (max-width: 700px) {
  .hero-dark .hero-stats-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* Country chips inside the dark hero stats (CHC page) */
.hero-dark .hero-stats-countries {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.hero-dark .hero-stats-countries > span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  line-height: 1.2;
  padding: 6px 12px;
  border: 1px solid rgba(142, 161, 255, 0.28);
  border-radius: 999px;
  background: rgba(142, 161, 255, 0.06);
}
.hero-dark .hero-stats-countries > span.paused {
  color: rgba(255, 255, 255, 0.55);
  border-style: dashed;
}
.hero-dark .hero-stats-countries > span.paused em {
  margin-left: 6px;
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

/* Hero with video (How It Works) */
.hero-with-video {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-with-video h1 {
  max-width: 18ch;
}

/* Child Health Campaign hero — 2-column layout (text + circular photo) */
.chc-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 56px;
  align-items: start;
}
.chc-hero-text h1 {
  max-width: 16ch;
}
.chc-hero-photo {
  display: flex;
  justify-content: center;
  align-items: center;
}
.chc-hero-photo .photo-circle {
  width: clamp(240px, 30vw, 360px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  /* Layered: actual image (if present) over a gradient placeholder */
  background-image: url("images/Program Field Photos/CHC/chc-3.4574e7635044.jpg"),
    linear-gradient(135deg, #5d70d2 0%, #16006d 60%, #fc5f36 100%);
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat;
  border: 3px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.6);
}
/* Join the Network hero photo (the two ladies in striped shirts) */
.chc-hero-photo .photo-circle.photo-join {
  background-image: url("images/Program Field Photos/join-hero.579a09f2389f.jpg"),
    linear-gradient(135deg, #5d70d2 0%, #16006d 60%, #fc5f36 100%);
  background-size: 165%, cover;
  background-position:
    42% 18%,
    center;
}
@media (max-width: 900px) {
  .chc-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .chc-hero-photo {
    order: -1;
  }
}

/* Child Health Campaign — Kenya video section: text left, video right */
.chc-kenya-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.chc-kenya-text h2 {
  max-width: 18ch;
}
.chc-kenya-text .sub {
  max-width: 52ch;
}
.chc-kenya-video {
  min-width: 0;
}
@media (max-width: 900px) {
  .chc-kenya-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* CHC stats band — dark like the hero but with tighter padding */
/* CHC stats band — light/cool variant (used after the services section) */
/* CHC "At A Glance" stats band — deep purple */
.stats-cool {
  background: linear-gradient(180deg, #2a1668 0%, #1e0f4d 100%);
  padding: 80px 0;
  color: rgba(255, 255, 255, 0.86);
}
.stats-cool .sec-head {
  margin-bottom: 40px;
}
.stats-cool h2 {
  color: #fff;
  font-size: clamp(30px, 3.4vw, 44px);
  margin: 0;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.18;
}
.stats-cool h2 em {
  background: var(--grad-text-on-dark);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
  font-style: normal;
}
.stats-cool .hero-stats {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.stats-cool .hero-stats-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 32px;
  align-items: center;
}
.stats-cool .hero-stats-tag {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
}
.stats-cool .hero-stats-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.stats-cool .hero-stats-items > div .num {
  font-family: var(--sans);
  font-size: 30px;
  font-weight: 200;
  letter-spacing: -0.02em;
  background: var(--grad-text-on-dark);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}
.stats-cool .hero-stats-items > div .label {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}
.stats-cool .hero-stats-countries {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.stats-cool .hero-stats-countries > span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  line-height: 1.2;
  padding: 6px 12px;
  border: 1px solid rgba(142, 161, 255, 0.3);
  border-radius: 999px;
  background: rgba(142, 161, 255, 0.06);
}
.stats-cool .hero-stats-countries > span.paused {
  color: rgba(255, 255, 255, 0.55);
  border-style: dashed;
}
.stats-cool .hero-stats-countries > span.paused em {
  margin-left: 6px;
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
@media (max-width: 700px) {
  .stats-cool .hero-stats-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .stats-cool .hero-stats-items {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* CHC stats band — dark variant (legacy, no longer used) */
.hero-dark.stats-band {
  padding: 80px 0;
}
.hero-dark.stats-band .sec-head {
  margin-bottom: 40px;
}
.hero-dark.stats-band h2 {
  color: #fff;
  font-size: clamp(30px, 3.4vw, 44px);
  margin: 10px 0 0;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.18;
}
.hero-dark.stats-band h2 em {
  background: var(--grad-text-on-dark);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
  font-style: normal;
}
.hero-dark.stats-band .hero-stats {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

/* CHC hero: breadcrumb sits on the dark hero (not in a separate light strip) */
.hero-dark-chc {
  padding-top: 56px;
}
.hero-dark-chc .breadcrumb {
  color: rgba(255, 255, 255, 0.55);
  padding: 0 0 36px;
}
.hero-dark-chc .breadcrumb a {
  color: rgba(142, 161, 255, 0.85);
}
.hero-dark-chc .breadcrumb a:hover {
  color: var(--mango);
}
.hero-dark-chc .breadcrumb .sep {
  color: rgba(255, 255, 255, 0.3);
}

/* Child Health Campaign — Africa map (legacy, unused) */
.chc-map {
  margin: 36px auto 0;
  max-width: 720px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 18px 40px -24px rgba(20, 16, 58, 0.18);
}
.chc-map svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Home, "What's different" comparison table (Area | Old way | Connect way) */
.compare-table {
  display: grid;
  grid-template-columns: minmax(150px, 200px) 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 32px;
  box-shadow: 0 18px 40px -24px rgba(20, 16, 58, 0.18);
}
.compare-header {
  background: var(--paper-2);
  padding: 26px 32px;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  min-height: 84px;
}
.compare-header.area {
  color: var(--ink-2);
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.compare-header.old {
  color: var(--muted);
  background: var(--paper-warm);
  border-bottom: 1px solid var(--line);
}
.compare-header.new {
  color: var(--indigo);
  background: linear-gradient(
    180deg,
    var(--indigo-soft) 0%,
    var(--paper-cool) 100%
  );
  border-bottom: 1px solid rgba(56, 67, 208, 0.18);
}
.compare-cell {
  background: var(--paper-2);
  padding: 30px 32px;
  font-size: 15.5px;
  line-height: 1.6;
}
.compare-cell.area {
  background: var(--paper-2);
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
}
.compare-cell.old {
  background: var(--paper-warm);
  color: var(--ink-3);
}
.compare-cell.new {
  background: var(--paper-2);
  color: var(--ink-2);
  font-weight: 400;
  border-left: 2px solid transparent;
}
.compare-cell.new strong {
  color: var(--indigo);
  font-weight: 700;
}
/* Highlight stripe down the Connect column */
.compare-table > .compare-header.new,
.compare-table > .compare-cell.new {
  box-shadow: inset 3px 0 0 var(--indigo);
}

/* Home, "What's different" 3-card grid (legacy, unused after comparison table) */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.diff-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition:
    border-color 0.15s,
    transform 0.15s,
    box-shadow 0.2s;
}
.diff-card:hover {
  border-color: var(--indigo);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(56, 67, 208, 0.08);
}
.diff-card .diff-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-xs);
  background: var(--indigo-soft);
  color: var(--indigo);
  display: flex;
  align-items: center;
  justify-content: center;
}
.diff-card .diff-icon svg {
  width: 24px;
  height: 24px;
}
.diff-card h4 {
  font-size: 19px;
  font-weight: 600;
  margin: 0;
  color: var(--ink);
}
.diff-card p {
  font-size: 14.5px;
  color: var(--ink-3);
  line-height: 1.6;
  margin: 0;
}

/* Home, "Explore" 2-card grid */
.explore-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.explore-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  color: var(--ink);
  transition:
    border-color 0.15s,
    transform 0.15s,
    box-shadow 0.2s;
  overflow: hidden;
}
a.explore-card:hover {
  border-color: var(--indigo);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(56, 67, 208, 0.08);
}
.explore-card .explore-photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background: var(--paper-3, #eee);
}
/* Colored title panels (replacing stock photos) */
.explore-panel {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px;
  color: #fff;
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -0.01em;
  line-height: 1.2;
  position: relative;
  overflow: hidden;
}
.explore-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
      ellipse 60% 80% at 20% 100%,
      rgba(255, 255, 255, 0.18),
      transparent 60%
    ),
    radial-gradient(
      ellipse 60% 80% at 100% 0%,
      rgba(0, 0, 0, 0.18),
      transparent 60%
    );
  pointer-events: none;
}
.explore-panel span {
  position: relative;
  z-index: 1;
  max-width: 22ch;
}
.explore-panel.indigo {
  background-image: url("images/Program Field Photos/CHC/chc-3.4574e7635044.jpg"),
    linear-gradient(135deg, var(--indigo-deep) 0%, var(--indigo) 100%);
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
}
.explore-panel.sky {
  background-image: url("images/Program Field Photos/KMC/kmc-1.77d0ba917621.jpg"),
    linear-gradient(135deg, var(--sky-deep) 0%, var(--sky) 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
}
.explore-panel.ink {
  background-image: url("images/Program Field Photos/join-hero.579a09f2389f.jpg"),
    linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
  background-size: 165%, cover;
  background-position:
    40% 22%,
    center;
  background-repeat: no-repeat;
}
.explore-card .explore-tag,
.explore-card h4,
.explore-card > p,
.explore-card .explore-link {
  margin-left: 32px;
  margin-right: 32px;
}
.explore-card .explore-tag {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--indigo);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 26px;
}
/* Small icon tile shown at the top of CHC service cards */
.service-icon {
  margin: 26px 32px 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--indigo-soft);
  color: var(--indigo);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}
/* When a service icon precedes the explore-tag, tighten the gap */
.service-icon + .explore-tag {
  margin-top: 14px;
}
.explore-card h4 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  margin: 10px 32px 0;
  color: var(--ink);
}
.explore-card > p {
  margin-top: 12px;
  margin-bottom: 0;
}
.explore-card .explore-link {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--mango);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  border-top: 1px dashed var(--line);
  padding-top: 16px;
  margin-top: 20px;
}

/* Programs intro on home, heading + smaller video side by side */
.programs-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 48px;
}
.programs-intro .label-group {
  max-width: 44ch;
}
.programs-intro h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 300;
  margin: 6px 0 0;
}
.programs-intro .sub {
  color: var(--ink-3);
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 300;
}

/* Programs + Locations panel (home) */
.programs-locations {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  margin-bottom: 36px;
}
.pl-col {
  display: flex;
  flex-direction: column;
}
.pl-col h5 {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin: 0 0 14px;
}
.programs-narrow {
  grid-template-columns: 1fr 1fr !important;
}
.locations-panel {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.location-row {
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.location-row:last-child {
  border-bottom: none;
}
.location-row .country {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.location-row .country .sub {
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 400;
  margin-left: 8px;
}
.location-row .count {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--indigo);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}
.location-row .count.is-multi {
  color: var(--mango);
}

/* Tiny program tiles (home) */
.prog-mini-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.prog-mini {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--ink);
  transition:
    border-color 0.15s,
    transform 0.15s,
    box-shadow 0.2s;
  min-height: 140px;
  position: relative;
}
.prog-mini:hover {
  border-color: var(--indigo);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(56, 67, 208, 0.08);
}
.prog-mini .sector {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--indigo);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}
.prog-mini h4 {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  margin: 0;
}
.prog-mini.is-soon {
  background: var(--paper-cool);
}
.prog-mini .badge-soon {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--mango);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* Program jump-nav (Programs page top) */
.prog-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.prog-jump .pill {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-3);
  cursor: pointer;
  background: var(--paper-2);
  transition: all 0.15s;
  white-space: nowrap;
}
.prog-jump .pill:hover {
  border-color: var(--indigo);
  color: var(--indigo);
}
.prog-jump .pill.is-soon {
  background: var(--paper-cool);
  color: var(--muted);
}
.prog-jump .pill.is-soon:hover {
  border-color: var(--mango);
  color: var(--mango);
}
.prog-jump-label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
/* Scroll-margin for jump-target program cards */
.all-programs-grid .prog-card[id] {
  scroll-margin-top: 96px;
}

/* Programs page, split active vs coming-soon */
.all-programs-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
.programs-section-divider {
  margin: 56px 0 32px;
  text-align: left;
}
.programs-section-divider .eyebrow {
  margin-bottom: 8px;
}
.programs-section-divider h3 {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 400;
}
.programs-section-divider h3 em {
  font-style: normal;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

/* Light-page video frame */
.video-frame {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.video-frame .video-meta {
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.video-frame .video-meta .vt {
  font-size: 14px;
  font-weight: 500;
}
.video-frame .video-meta .vc {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 980px) {
  .header-inner {
    padding: 16px 20px;
    gap: 14px;
  }
  .site-header nav {
    gap: 14px;
    font-size: 13px;
  }
  /* On mobile the desktop nav is hidden entirely and replaced by the hamburger + slide-down panel. */
  .site-header nav#primary-nav {
    display: none;
  }
  .nav-toggle {
    display: inline-block;
  }
  .site-header .mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ink);
    border-top: 1px solid rgba(142, 161, 255, 0.08);
    padding: 8px 0 16px;
  }
  .site-header .mobile-nav[hidden] {
    display: none;
  }
  body.nav-open {
    overflow: hidden;
  }
  .wrap {
    padding: 0 20px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .impact-grid,
  .prog-grid,
  .findings-grid,
  .all-programs-grid,
  .stories-grid,
  .testimonial-grid,
  .role-cta-grid,
  .diff-grid {
    grid-template-columns: 1fr 1fr;
  }
  .explore-grid {
    grid-template-columns: 1fr;
  }
  .compare-table {
    grid-template-columns: 1fr;
  }
  .compare-table .compare-header.area {
    display: none;
  }
  .impact-section-block .imp-row {
    grid-template-columns: 1fr;
  }
  .impact-section-block .imp-label {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 16px 22px;
  }
  .impact-section-block .imp-tiles.cols-3,
  .impact-section-block .imp-tiles.cols-4 {
    grid-template-columns: 1fr 1fr;
  }
  .all-programs-grid.cols-3 {
    grid-template-columns: 1fr 1fr;
  }
  .programs-intro {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .programs-locations {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero-with-video {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .two-sided-market {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 18px;
  }
  .two-sided-market > .market-side-funder:not(.market-side-loop),
  .two-sided-market > .market-side-platform,
  .two-sided-market > .market-side-loop {
    grid-column: 1;
    grid-row: auto;
  }
  .market-pair {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 18px;
  }
  .market-side {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 28px;
  }
  .picker-set {
    grid-template-columns: 1fr;
  }
  .prog-mini-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .step-detail {
    grid-template-columns: 1fr;
    padding: 32px 28px;
    gap: 24px;
  }
  .step-tabs {
    grid-template-columns: 1fr 1fr;
  }
  .step-tab {
    border-bottom: 1px solid var(--line);
  }
  .insight-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .insight-row .meta-side {
    border-left: none;
    padding-left: 0;
    border-top: 1px dashed var(--line);
    padding-top: 12px;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-grid .gallery-tall {
    grid-row: span 1;
    height: 240px;
  }
  .hero-dark {
    padding: 56px 0 72px;
  }
}
@media (max-width: 600px) {
  .impact-grid,
  .prog-grid,
  .findings-grid,
  .all-programs-grid,
  .stories-grid,
  .testimonial-grid,
  .role-cta-grid,
  .diff-grid,
  .explore-grid {
    grid-template-columns: 1fr;
  }
  .prog-mini-grid {
    grid-template-columns: 1fr 1fr;
  }
  .step-tabs {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  /* Field-story hero photo block: full-bleed on small mobile so the dark image isn't framed by 20px white gutters from .wrap padding. */
  a.photo-block,
  a.photo-block > div:first-child {
    border-radius: 0 !important;
  }
  a.photo-block {
    width: calc(100% + 40px);
    margin-left: -20px;
    margin-right: -20px;
  }
}
