:root {
  --impact-white: rgba(255, 255, 255, .98);
  --impact-muted: rgba(255, 255, 255, .72);
  --impact-blue: rgba(0, 145, 216, .65);
  --impact-gold: rgba(215, 153, 0, .65);
  --impact-pink: rgba(199, 42, 112, .65);
  --impact-funnel: rgba(13, 74, 105, .65);
  --impact-red: rgba(151, 24, 15, .65);
  --impact-amber: rgba(145, 77, 10, .65);
  --impact-green: rgba(35, 104, 31, .65);
  --impact-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --impact-mono: "SFMono-Regular", "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  background: #000;
  color: var(--impact-white);
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: #000;
  color: var(--impact-white);
  font-family: var(--impact-sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body.nav-open { overflow: hidden; }
img, svg, video { display: block; }
a { color: inherit; }

.impact-skip {
  position: fixed;
  z-index: 1000;
  top: 18px;
  left: 18px;
  padding: 11px 15px;
  background: #fff;
  color: #000;
  font: 700 11px/1 var(--impact-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  transform: translateY(-180%);
}

.impact-skip:focus { transform: translateY(0); }

.impact-background,
.impact-background__video,
.impact-background__casing {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
}

.impact-background { z-index: 0; overflow: hidden; background: #050505; }
.impact-background__video {
  object-fit: cover;
  opacity: 0;
  filter: saturate(.9) contrast(1.04);
  transition: opacity 700ms ease;
}
.impact-background__video.is-ready { opacity: 1; }
.impact-background__casing { background: rgba(0, 0, 0, .34); }

.impact-nav-trigger {
  position: fixed;
  z-index: 42;
  top: clamp(14px, 1.35vw, 28px);
  left: clamp(20px, 1.37vw, 28px);
  width: clamp(64px, 4.35vw, 90px);
  height: clamp(64px, 4.35vw, 90px);
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.impact-nav-trigger img { width: 100%; height: 100%; object-fit: contain; animation: impact-spin 3s linear infinite; }
.impact-nav-trigger:focus-visible { outline: 2px solid #fff; outline-offset: 6px; border-radius: 50%; }
@keyframes impact-spin { to { transform: rotate(360deg); } }

.impact-story { position: relative; z-index: 2; }
.impact-chapter {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.impact-chapter--instrument { height: 100svh; }

.impact-partner { display: block; object-fit: contain; }
.impact-partner--top {
  position: absolute;
  z-index: 3;
  top: clamp(28px, 3.15vh, 44px);
  right: clamp(30px, 4.8vw, 92px);
  width: clamp(190px, 15.2vw, 292px);
  height: auto;
}

.impact-chapter--editorial { display: flex; align-items: center; }
.impact-editorial { width: min(1030px, 76vw); margin-left: clamp(42px, 14.6vw, 280px); padding: 14vh 0 10vh; }
.impact-kicker {
  margin: 0 0 clamp(22px, 3.1vh, 34px);
  color: rgba(255, 255, 255, .58);
  font: 500 clamp(10px, .68vw, 13px)/1.2 var(--impact-mono);
  letter-spacing: .16em;
}
.impact-editorial h1,
.impact-editorial h2,
.impact-mobile-panel h2 {
  margin: 0;
  font-size: clamp(56px, 6.05vw, 116px);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: .87;
}
.impact-lede {
  max-width: 760px;
  margin: clamp(30px, 4.8vh, 52px) 0 0;
  font-size: clamp(18px, 1.35vw, 26px);
  font-weight: 300;
  letter-spacing: -.02em;
  line-height: 1.32;
}
.impact-text-link {
  display: inline-flex;
  gap: 16px;
  align-items: center;
  margin-top: clamp(30px, 4.2vh, 46px);
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, .72);
  font-size: clamp(13px, .9vw, 17px);
  font-weight: 500;
  text-decoration: none;
}
.impact-text-link span { font-size: 1.15em; }
.impact-chapter--measurement .impact-editorial { margin-left: clamp(42px, 19.8vw, 380px); }
.impact-chapter--measurement .impact-editorial h2 { font-size: clamp(52px, 5.4vw, 104px); }
.impact-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, .64);
  font: 500 clamp(9px, .64vw, 12px)/1.4 var(--impact-mono);
  letter-spacing: .11em;
}
.impact-status span { width: 7px; height: 7px; border-radius: 50%; background: #f0d22f; }

.desktop-impact-instrument {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  container-type: size;
}

/* Theory of Change — proportions follow the supplied 1920 × 1080 design. */
.toc-title {
  position: absolute;
  z-index: 2;
  top: 4.15%;
  left: 50%;
  margin: 0;
  font-size: 1.72cqw;
  font-weight: 600;
  letter-spacing: -.02em;
  transform: translateX(-50%);
  white-space: nowrap;
}
.toc-title span { font-weight: 300; }
.toc-banner {
  position: absolute;
  left: 3.8%;
  width: 92.4%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--impact-blue);
  font-size: 1.45cqw;
  font-weight: 600;
  text-align: center;
}
.toc-banner--top { top: 12.2%; height: 7.75%; }
.toc-banner--bottom { top: 80.1%; height: 7.75%; }
.toc-column-title {
  position: absolute;
  z-index: 2;
  top: 20.22%;
  min-width: 10.1%;
  padding: .2cqh 1cqw .25cqh;
  font-size: 1.18cqw;
  font-weight: 600;
  line-height: 1;
  text-align: center;
}
.toc-column-title--technology { left: 13.35%; background: var(--impact-blue); }
.toc-column-title--health { left: 45.08%; background: var(--impact-gold); }
.toc-column-title--stigma { left: 76.55%; background: var(--impact-pink); }
.toc-horizontal-arrow { position: absolute; top: 20.15%; font-size: 1.3cqw; line-height: 1; transform: translateX(-50%); }
.toc-horizontal-arrow--one { left: 34.25%; }
.toc-horizontal-arrow--two { left: 65.75%; }
.toc-row-label {
  position: absolute;
  z-index: 2;
  left: 0;
  width: 3.55%;
  font-size: .73cqw;
  font-weight: 600;
  text-align: right;
}
.toc-row-label--impact { top: 27%; }
.toc-row-label--outcomes { top: 38.45%; }
.toc-row-label--outputs { top: 49.95%; }
.toc-row-label--activities { top: 61.1%; }
.toc-row-label--inputs { top: 72.2%; }
.toc-grid {
  position: absolute;
  top: 23.58%;
  left: 3.8%;
  width: 92.4%;
  height: 52.72%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: .99fr .99fr .99fr .99fr .99fr;
  column-gap: 2.52%;
  row-gap: 6.62%;
}
.toc-cell {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: .7cqh .65cqw;
  font-size: .87cqw;
  line-height: 1.08;
  text-align: center;
}
.toc-cell--technology { background: var(--impact-blue); }
.toc-cell--health { background: var(--impact-gold); }
.toc-cell--stigma { background: var(--impact-pink); }
.toc-cell p { margin: .35cqh 0; }
.toc-cell strong { font-weight: 600; }
.toc-inner {
  width: 95%;
  padding: 1.22cqh .55cqw;
  background: rgba(255, 255, 255, .96);
  color: currentColor;
}
.toc-cell--technology .toc-inner { color: rgb(0, 145, 216); }
.toc-cell--health .toc-inner { color: rgb(232, 158, 0); }
.toc-cell--stigma .toc-inner { color: rgb(238, 50, 135); }
.toc-outline {
  width: 100%;
  padding: .18cqh .2cqw;
  border: .32cqw solid rgba(255, 255, 255, .96);
}
.toc-cell--activities { padding: .55cqh .48cqw; }
.toc-vertical-arrows span {
  position: absolute;
  z-index: 3;
  top: var(--y);
  left: var(--x);
  color: #fff;
  font-size: 1.55cqw;
  font-weight: 300;
  line-height: 1;
  transform: translate(-50%, -50%);
}
.toc-footnote {
  position: absolute;
  top: 90.05%;
  left: 19%;
  width: 62%;
  margin: 0;
  font-size: .75cqw;
  font-weight: 600;
  text-align: center;
}
.impact-partner--toc {
  position: absolute;
  right: 1.05%;
  bottom: 1.85%;
  width: 9.05%;
}

/* Impact Funnel — geometry is lifted from Re-Model's Alignment view. */
.funnel-heading { position: absolute; z-index: 2; top: 4.75%; left: 50%; text-align: center; transform: translateX(-50%); }
.funnel-heading h2 { margin: 0; font-size: 1.3cqw; font-weight: 300; letter-spacing: -.02em; }
.funnel-heading h2 strong { font-weight: 600; }
.funnel-heading p { margin: .75cqh 0 0; color: rgba(255, 255, 255, .72); font-size: .72cqw; font-weight: 300; }
.impact-partner--funnel { position: absolute; z-index: 3; top: 3.05%; right: 4.8%; width: 15.35%; }
.funnel-geometry { position: absolute; inset: 0; width: 100%; height: 100%; }
.funnel-shape { fill: var(--impact-funnel); stroke: rgba(255, 255, 255, .97); stroke-width: 5.2; vector-effect: non-scaling-stroke; }
.funnel-geometry line { stroke: rgba(255, 255, 255, .92); stroke-width: 2; vector-effect: non-scaling-stroke; }
.impact-orb { stroke: rgba(255, 255, 255, .98); stroke-width: 6; vector-effect: non-scaling-stroke; }
.impact-orb--reach { fill: var(--impact-red); }
.impact-orb--engagement { fill: var(--impact-amber); }
.impact-orb--health,
.impact-orb--stigma { fill: var(--impact-green); }
.funnel-step { position: absolute; top: 19.35%; width: 10.5%; height: 54.6%; text-align: center; }
.funnel-step h3 { margin: 0; font-size: 1.28cqw; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
.funnel-step span { display: block; margin-top: 3.05cqh; color: rgba(255, 255, 255, .53); font-size: .72cqw; font-weight: 300; }
.funnel-step strong { position: absolute; left: 50%; top: 61%; font-size: 1.04cqw; font-weight: 600; transform: translate(-50%, -50%); }
.funnel-step p { position: absolute; left: 50%; top: 73%; width: max-content; margin: 0; font-size: .72cqw; line-height: 1.05; text-align: left; transform: translateX(-50%); }
.funnel-step--reach { left: 3.08%; }
.funnel-step--engagement { left: 16.68%; }
.funnel-step--self-report { left: 30.46%; }
.funnel-step--heart-rate { left: 44.22%; }
.funnel-step--health { left: 57.98%; }
.funnel-step--stigma { left: 71.72%; }
.funnel-step--impact { left: 84.38%; }
.funnel-step--impact span { margin-top: 3.05cqh; }
.funnel-step--reach p { top: 73%; }
.funnel-step--engagement p { top: 79%; }
.funnel-step--self-report p { top: 84%; }
.funnel-step--heart-rate p { top: 91%; }
.funnel-step--health p { top: 98%; }
.funnel-step--stigma p { top: 104%; }
.additional-outputs { position: absolute; left: 2.15%; top: 77.75%; width: 17%; }
.additional-outputs h3 { margin: 0 0 1.2cqh .55cqw; font-size: 1.28cqw; font-weight: 600; }
.additional-outputs dl { margin: 0; }
.additional-outputs dl div { display: grid; grid-template-columns: 72% 24%; column-gap: 4%; min-height: 3.9cqh; }
.additional-outputs dt,
.additional-outputs dd { display: flex; align-items: center; margin: 0; padding: .2cqh .7cqw; background: var(--impact-funnel); font-size: .72cqw; }
.additional-outputs dd { font-size: .82cqw; font-weight: 600; }
.impact-index strong { position: absolute; left: 93.85%; font-size: .85cqw; font-weight: 600; transform: translateY(-50%); white-space: nowrap; }
.impact-index__reach { top: 35.5%; }
.impact-index__engagement { top: 46.85%; }
.impact-index__health { top: 58.25%; }
.impact-index__stigma { top: 73.25%; }
.impact-index p { position: absolute; left: 84.95%; top: 84.55%; margin: 0; font-size: .7cqw; line-height: 1.04; }
.funnel-title-block { position: absolute; left: 41.3%; top: 84.06%; width: 17.4%; text-align: center; }
.funnel-title-block h2 { display: flex; height: 5.55cqh; align-items: center; justify-content: center; margin: 0; background: var(--impact-funnel); font-size: 1.2cqw; font-weight: 600; }
.funnel-title-block p { margin: 3.7cqh 0 0; font-size: .82cqw; font-weight: 300; }

.impact-pagination {
  position: fixed;
  z-index: 41;
  top: 50%;
  right: clamp(14px, 1.4vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transform: translateY(-50%);
}
.impact-pagination a { width: 8px; height: 8px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 50%; transition: background 180ms ease, transform 180ms ease; }
.impact-pagination a.is-active { background: #fff; transform: scale(1.35); }

.impact-mobile-panel { display: none; }

@media (max-aspect-ratio: 4/3) and (min-width: 821px) {
  .toc-cell { font-size: .76cqw; }
  .toc-title { font-size: 1.55cqw; }
}

@media (max-width: 820px) {
  html { scroll-snap-type: y proximity; }
  .impact-partner--top { top: 22px; right: 20px; width: 142px; }
  .impact-chapter--editorial,
  .impact-chapter--instrument { min-height: 100svh; height: auto; }
  .impact-editorial { width: auto; margin: 0; padding: 26svh 26px 11svh; }
  .impact-chapter--measurement .impact-editorial { margin-left: 0; }
  .impact-editorial h1,
  .impact-editorial h2 { font-size: clamp(48px, 15.2vw, 72px); line-height: .88; }
  .impact-chapter--measurement .impact-editorial h2 { font-size: clamp(43px, 12.6vw, 62px); }
  .impact-lede { font-size: 18px; line-height: 1.36; }
  .desktop-impact-instrument { display: none; }
  .impact-mobile-panel {
    position: relative;
    display: flex;
    min-height: 100svh;
    flex-direction: column;
    justify-content: center;
    padding: 22svh 26px 12svh;
  }
  .impact-mobile-panel h2 { font-size: clamp(48px, 14vw, 68px); }
  .impact-mobile-panel > p:not(.impact-kicker, .impact-status) { margin: 34px 0 0; font-size: 18px; line-height: 1.38; }
  .impact-download { display: block; margin-top: 34px; padding: 17px 18px; border: 1px solid rgba(255,255,255,.78); font: 600 11px/1.25 var(--impact-mono); letter-spacing: .08em; text-align: center; text-decoration: none; }
  .impact-mobile-panel small { margin-top: 12px; color: rgba(255,255,255,.55); font-size: 12px; text-align: center; }
  .impact-pagination { right: 11px; }
  .impact-pagination a { width: 7px; height: 7px; }
}

@media (max-width: 760px) {
  .impact-nav-trigger { width: 48px; height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .impact-nav-trigger img { animation: none; }
  .impact-background__video { transition: none; }
}
