:root {
  --ink: #333333;
  --muted: #666666;
  --paper: #ffffff;
  --soft: #eeeeee;
  --pink: #ee117a;
  --teal: #00a99d;
  --purple: #6350b7;
  --kampong: #ece7e1;
  --kampong-purple: #4b3299;
  --serif: "Abhaya Libre", Georgia, serif;
  --sans: "Lexend Deca", Arial, sans-serif;
  --body-size: 16px;
  --hero-progress: 0;
  --hero-bg-fade-start: 68%;
  --hero-bg-fade-stop: 100%;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: var(--body-size);
}

main {
  background: var(--paper);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 68px, 1372px);
  height: 106px;
  margin: 0 auto;
}

.site-header::before {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 100%;
  background: color-mix(
    in srgb,
    var(--kampong) calc((1 - var(--hero-progress)) * 100%),
    var(--paper)
  );
  content: "";
  transform: translateX(-50%);
}

.brand,
.brand-crop {
  display: block;
  width: 205px;
  height: 64px;
}

.brand-crop {
  position: relative;
  overflow: hidden;
}

.brand img {
  width: 205px;
  max-width: none;
  transform: translateY(0);
}

.header-right,
.primary-nav,
.social-links {
  display: flex;
  align-items: center;
}

.header-right {
  gap: 44px;
}

.primary-nav {
  gap: 36px;
}

.primary-nav a {
  color: #444444;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 220ms ease;
}

.primary-nav a:hover {
  color: var(--pink);
}

.social-links {
  gap: 24px;
}

.social-links a {
  display: block;
  width: 23px;
  height: 23px;
  flex-shrink: 0;
  transition: transform 220ms ease, opacity 220ms ease;
}

.social-links a img {
  display: block;
  width: 100%;
  height: 100%;
}

.social-links a:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
}

.section {
  scroll-margin-top: 24px;
}

.section-copy {
  width: min(100% - 32px, 820px);
  margin: 0 auto;
  text-align: center;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.01em;
}

h2 {
  color: var(--ink);
  font-size: 43px;
}

.section-copy p {
  margin-top: 18px;
  color: var(--muted);
  font-size: var(--body-size);
  line-height: 1.55;
}

.eyebrow {
  display: block;
  margin-bottom: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1;
}

.hero-scroll {
  position: relative;
}

body.hero-scroll-locked {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 808px;
  padding-top: 480px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--kampong) calc((1 - var(--hero-progress)) * 100%), var(--paper)) 0%,
    color-mix(in srgb, var(--kampong) calc((1 - var(--hero-progress)) * 100%), var(--paper))
      var(--hero-bg-fade-start),
    var(--paper) var(--hero-bg-fade-stop)
  );
  pointer-events: none;
}

.hero-collage {
  position: absolute;
  top: 42px;
  left: calc(50% - 37px);
  z-index: 2;
  width: 1640px;
  height: 380px;
  transform: translateX(-50%) scale(1.2);
  transform-origin: center center;
  transform-style: flat;
  perspective: 1280px;
  perspective-origin: 50% 38%;
}

.polaroid {
  position: absolute;
  z-index: var(--stack-z, 1);
  overflow: hidden;
  margin: 0;
  border: 10px solid #ffffff;
  background: #ffffff;
  box-shadow: 0 10px 30px rgb(0 0 0 / 24%);
  transform-style: flat;
  isolation: isolate;
  contain: layout paint;
  backface-visibility: hidden;
  --tilt-mix: calc(1 - var(--photo-present, 0));
  transform-origin: center bottom;
  transform: translate3d(0, 0, 0)
    rotateX(calc(var(--tilt-x-from, 0deg) * var(--tilt-mix)))
    rotateY(calc(var(--tilt-y-from, 0deg) * var(--tilt-mix)))
    skewX(calc(var(--tilt-skew-from, 0deg) * var(--tilt-mix)))
    rotateZ(var(--polaroid-rotate, 0deg));
}

.hero-scroll.is-animating .polaroid {
  will-change: transform;
}

.polaroid-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  backface-visibility: hidden;
}

.polaroid-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.polaroid-photo--past {
  opacity: calc(1 - var(--photo-present, 0));
}

.polaroid-photo--present {
  z-index: 1;
  opacity: var(--photo-present, 0);
}

.polaroid-tint {
  position: absolute;
  inset: 0;
  background: var(--kampong);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.polaroid-feeding {
  top: 84px;
  left: 0;
  width: 355px;
  height: 256px;
  --stack-z: 1;
  --polaroid-rotate: -5deg;
  --tilt-x-from: 18deg;
  --tilt-y-from: 24deg;
  --tilt-skew-from: 3deg;
}

.polaroid-community {
  top: 102px;
  left: 315px;
  width: 407px;
  height: 290px;
  --stack-z: 2;
  --polaroid-rotate: 7deg;
  --tilt-x-from: 16deg;
  --tilt-y-from: 14deg;
  --tilt-skew-from: 2deg;
}

.polaroid-fridge {
  top: 90px;
  left: 650px;
  width: 402px;
  height: 289px;
  --stack-z: 3;
  --polaroid-rotate: -4deg;
  --tilt-x-from: 22deg;
  --tilt-y-from: 0deg;
  --tilt-skew-from: 0deg;
}

.polaroid-group {
  top: 114px;
  left: 1000px;
  width: 381px;
  height: 277px;
  --stack-z: 4;
  --polaroid-rotate: 7deg;
  --tilt-x-from: 17deg;
  --tilt-y-from: -16deg;
  --tilt-skew-from: -2.5deg;
}

.polaroid-meals {
  top: 108px;
  left: 1350px;
  width: 353px;
  height: 256px;
  --stack-z: 5;
  --polaroid-rotate: -4deg;
  --tilt-x-from: 19deg;
  --tilt-y-from: -26deg;
  --tilt-skew-from: -3deg;
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(100% - 32px, 706px);
}

.hero-copy-stage {
  display: grid;
  grid-template-areas: "stack";
  justify-items: center;
  width: 100%;
}

.hero-copy-layer {
  grid-area: stack;
  width: 100%;
  max-width: 706px;
  transition: opacity 80ms linear;
}

.hero-copy--past {
  opacity: var(--copy-past-opacity, 1);
}

.hero-copy--present {
  opacity: var(--copy-present-opacity, 0);
}

.hero-copy-heart {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 72px;
  height: 58px;
  margin: 0 auto 7px;
  overflow: hidden;
}

.hero-kampong-headline,
.hero-present-headline {
  width: min(100%, 706px);
  max-width: 100%;
  margin-inline: auto;
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-align: center;
  text-wrap: pretty;
}

.hero .hero-copy--past h1 em {
  display: inline;
  color: var(--kampong-purple);
  font-style: normal;
}

.hero-copy-heart--spacer {
  visibility: hidden;
  pointer-events: none;
}

.hero-heart-icon {
  display: block;
  width: 72px;
  height: 58px;
  margin: 0;
  object-fit: contain;
}

.hero h1 {
  color: var(--ink);
  font-size: 36px;
  line-height: 1;
}

.hero-present-headline em {
  display: inline;
  color: var(--pink);
  font-style: normal;
}

.hero-copy--present p {
  width: min(100%, 706px);
  margin-top: 20px;
  opacity: var(--copy-body-opacity, 0);
  font-size: var(--body-size);
}

.hero-scroll.is-complete .hero-copy--past {
  visibility: hidden;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg {
    background: var(--paper);
  }

  .hero-collage {
    perspective: none;
  }

  .polaroid {
    transform: translate3d(0, 0, 0) rotateZ(var(--polaroid-rotate, 0deg));
  }

  .polaroid-photo--past {
    display: none;
  }

  .polaroid-photo--present {
    opacity: 1;
  }

  .hero-copy--past {
    display: none;
  }

  .hero-copy--present {
    position: relative;
    opacity: 1;
  }

  .hero-copy--present p {
    opacity: 1;
  }
}

.programs {
  padding-top: 94px;
}

.programs .section-copy {
  width: min(100% - 32px, 700px);
}

.program-track {
  display: flex;
  gap: 20px;
  margin-top: 24px;
  padding: 14px 0 38px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.program-track::-webkit-scrollbar {
  display: none;
}

.program-card {
  display: flex;
  flex: 0 0 310px;
  flex-direction: column;
  overflow: hidden;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 15px 32px rgb(0 0 0 / 15%);
  scroll-snap-align: center;
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.program-card:hover {
  transform: translateY(-7px);
}

.media-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #eeeeee;
}

.media-frame--program {
  aspect-ratio: 310 / 220;
}

.media-frame--story {
  aspect-ratio: 313 / 287;
}

.media-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.media-frame--align-bottom img {
  object-position: bottom;
}

.program-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 188px;
  padding: 15px 17px 17px;
}

.program-card h3 {
  color: var(--ink);
  font-size: 23px;
  line-height: 1.2;
}

.program-card p {
  min-height: 66px;
  margin-top: 7px;
  color: var(--muted);
  font-size: var(--body-size);
  line-height: 1.45;
}

.program-card strong,
.program-card span {
  display: block;
}

.program-card strong {
  margin-top: auto;
  padding-top: 8px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.1;
}

.program-card span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.impact {
  padding-top: 118px;
}

.impact > .section-copy {
  width: min(100% - 32px, 842px);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(100% - 48px, 938px);
  margin: 70px auto 0;
}

.metrics div {
  text-align: center;
}

.metrics strong,
.metrics span {
  display: block;
}

.metrics strong {
  color: var(--ink);
  font-size: 40px;
  line-height: 1;
}

.metrics span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.network {
  padding-top: 94px;
}

.network .section-copy {
  width: min(100% - 32px, 700px);
}

.map-wrap {
  position: relative;
  width: min(100% - 36px, 985px);
  margin: 32px auto 0;
}

.map-base {
  width: 100%;
}

.map-pins {
  position: absolute;
  top: 0;
  left: 7.9%;
  width: 82%;
  height: 76.2%;
  pointer-events: none;
}

.pin {
  position: relative;
  display: block;
  width: 33px;
  height: 33px;
  font-style: normal;
}

.pin::before,
.pin span {
  position: absolute;
  display: block;
  content: "";
}

.pin::before {
  inset: -6.06% -6.06% -18.18%;
  background: var(--pin-base) center / 100% 100% no-repeat;
}

.pin-meals {
  --pin-base: url("./assets/pin-meals-base.svg");
  --pin-icon: url("./assets/pin-meals-icon.svg");
  --pin-icon-inset: 24.38% 21.21% 23.54% 24.24%;
}

.pin-farms {
  --pin-base: url("./assets/pin-farms-base.svg");
  --pin-icon: url("./assets/pin-farms-icon.svg");
  --pin-icon-inset: 24.24% 21.21% 24.24% 27.27%;
}

.pin-cats {
  --pin-base: url("./assets/pin-cats-base.svg");
  --pin-icon: url("./assets/pin-cats-icon.svg");
  --pin-icon-inset: 24.24% 18.18% 23.05% 21.21%;
}

.pin-fridge {
  --pin-base: url("./assets/pin-fridge-base.svg");
  --pin-icon: url("./assets/pin-fridge-icon.svg");
  --pin-icon-inset: 21.21% 33.33% 20.45%;
}

.pin-heart {
  --pin-base: url("./assets/pin-heart-base.svg");
  --pin-icon: url("./assets/pin-heart-icon.svg");
  --pin-icon-inset: 24% 24% 28% 24%;
}

.pin-hospital {
  --pin-base: url("./assets/pin-hospital-base.svg");
  --pin-icon: url("./assets/pin-hospital-icon.png");
  --pin-icon-inset: 19% 23% 23% 23%;
}

.pin-hospital span {
  background-size: contain;
}

.pin span {
  inset: var(--pin-icon-inset);
  background: var(--pin-icon) center / 100% 100% no-repeat;
}

.map-pins > .pin {
  position: absolute;
  top: calc(var(--y) + 3%);
  left: var(--x);
  --pin-index: 0;
  z-index: 1;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.35);
  transform-origin: center bottom;
}

.map-pins > .pin.pin-hospital {
  z-index: 0;
}

.map-pins.is-visible > .pin {
  animation: pin-pop 460ms cubic-bezier(0.22, 1.38, 0.42, 1) both;
  animation-delay: calc(var(--pin-index) * 42ms);
}

.map-pins > .pin:nth-child(1) { --pin-index: 0; }
.map-pins > .pin:nth-child(2) { --pin-index: 1; }
.map-pins > .pin:nth-child(3) { --pin-index: 2; }
.map-pins > .pin:nth-child(4) { --pin-index: 3; }
.map-pins > .pin:nth-child(5) { --pin-index: 4; }
.map-pins > .pin:nth-child(6) { --pin-index: 5; }
.map-pins > .pin:nth-child(7) { --pin-index: 6; }
.map-pins > .pin:nth-child(8) { --pin-index: 7; }
.map-pins > .pin:nth-child(9) { --pin-index: 8; }
.map-pins > .pin:nth-child(10) { --pin-index: 9; }
.map-pins > .pin:nth-child(11) { --pin-index: 10; }
.map-pins > .pin:nth-child(12) { --pin-index: 11; }
.map-pins > .pin:nth-child(13) { --pin-index: 12; }
.map-pins > .pin:nth-child(14) { --pin-index: 13; }
.map-pins > .pin:nth-child(15) { --pin-index: 14; }
.map-pins > .pin:nth-child(16) { --pin-index: 15; }
.map-pins > .pin:nth-child(17) { --pin-index: 16; }
.map-pins > .pin:nth-child(18) { --pin-index: 17; }
.map-pins > .pin:nth-child(19) { --pin-index: 18; }
.map-pins > .pin:nth-child(20) { --pin-index: 19; }
.map-pins > .pin:nth-child(21) { --pin-index: 20; }
.map-pins > .pin:nth-child(22) { --pin-index: 21; }
.map-pins > .pin:nth-child(23) { --pin-index: 22; }
.map-pins > .pin:nth-child(24) { --pin-index: 23; }
.map-pins > .pin:nth-child(25) { --pin-index: 24; }
.map-pins > .pin:nth-child(26) { --pin-index: 25; }
.map-pins > .pin:nth-child(27) { --pin-index: 26; }
.map-pins > .pin:nth-child(28) { --pin-index: 27; }
.map-pins > .pin:nth-child(29) { --pin-index: 28; }
.map-pins > .pin:nth-child(30) { --pin-index: 29; }
.map-pins > .pin:nth-child(31) { --pin-index: 30; }
.map-pins > .pin:nth-child(32) { --pin-index: 31; }
.map-pins > .pin:nth-child(33) { --pin-index: 32; }
.map-pins > .pin:nth-child(34) { --pin-index: 33; }
.map-pins > .pin:nth-child(35) { --pin-index: 34; }
.map-pins > .pin:nth-child(36) { --pin-index: 35; }
.map-pins > .pin:nth-child(37) { --pin-index: 36; }
.map-pins > .pin:nth-child(38) { --pin-index: 37; }
.map-pins > .pin:nth-child(39) { --pin-index: 38; }
.map-pins > .pin:nth-child(40) { --pin-index: 39; }
.map-pins > .pin:nth-child(41) { --pin-index: 40; }
.map-pins > .pin:nth-child(42) { --pin-index: 41; }
.map-pins > .pin:nth-child(43) { --pin-index: 42; }
.map-pins > .pin:nth-child(44) { --pin-index: 43; }
.map-pins > .pin:nth-child(45) { --pin-index: 44; }
.map-pins > .pin:nth-child(46) { --pin-index: 45; }
.map-pins > .pin:nth-child(47) { --pin-index: 46; }
.map-pins > .pin:nth-child(48) { --pin-index: 47; }
.map-pins > .pin:nth-child(49) { --pin-index: 48; }
.map-pins > .pin:nth-child(50) { --pin-index: 49; }
.map-pins > .pin:nth-child(51) { --pin-index: 50; }
.map-pins > .pin:nth-child(52) { --pin-index: 51; }
.map-pins > .pin:nth-child(53) { --pin-index: 52; }
.map-pins > .pin:nth-child(54) { --pin-index: 53; }
.map-pins > .pin:nth-child(55) { --pin-index: 54; }
.map-pins > .pin:nth-child(56) { --pin-index: 55; }
.map-pins > .pin:nth-child(57) { --pin-index: 56; }
.map-pins > .pin:nth-child(58) { --pin-index: 57; }
.map-pins > .pin:nth-child(59) { --pin-index: 58; }
.map-pins > .pin:nth-child(60) { --pin-index: 59; }
.map-pins > .pin:nth-child(61) { --pin-index: 60; }
.map-pins > .pin:nth-child(62) { --pin-index: 61; }
.map-pins > .pin:nth-child(63) { --pin-index: 62; }
.map-pins > .pin:nth-child(64) { --pin-index: 63; }
.map-pins > .pin:nth-child(65) { --pin-index: 64; }
.map-pins > .pin:nth-child(66) { --pin-index: 65; }

@keyframes pin-pop {
  0% {
    opacity: 0;
    transform: translate(-50%, -34%) scale(0.35);
  }

  72% {
    opacity: 1;
    transform: translate(-50%, -54%) scale(1.1);
  }

  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.map-legend {
  position: absolute;
  right: 2%;
  bottom: 2%;
  color: var(--muted);
  font-size: 10px;
  text-align: left;
  text-transform: uppercase;
}

.map-legend strong {
  display: block;
  margin-bottom: 7px;
  color: #999999;
  font-size: 10px;
  letter-spacing: 0.04em;
}

.map-legend div {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: 16px;
  width: 100%;
}

.map-legend span {
  display: grid;
  justify-items: center;
  gap: 6px;
  font-size: 9px;
  font-weight: 500;
  text-transform: none;
}

.map-legend .pin {
  width: 27px;
  height: 27px;
}

.stories {
  padding-top: 88px;
}

.stories .section-copy {
  width: min(100% - 32px, 810px);
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  width: min(100% - 36px, 960px);
  margin: 30px auto 0;
}

.story {
  position: relative;
  grid-column: span 2;
  overflow: hidden;
  margin: 0;
  border-radius: 20px;
  background: #eeeeee;
}

.story-wide {
  grid-column: span 3;
}

.story .media-frame {
  z-index: 0;
  isolation: isolate;
  border-radius: 20px;
}

.story-slideshow .story-slide {
  opacity: 0;
  transition:
    opacity 1.1s ease-in-out,
    transform 560ms cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 0;
}

.story-slideshow .story-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.story:hover .story-slide.is-active {
  transform: scale(1.045);
}

@media (prefers-reduced-motion: reduce) {
  .story-slideshow .story-slide:not(.is-active) {
    display: none;
  }
}

.play {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  font-size: 13px;
  line-height: 1;
}

.story-pin {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  width: 33px;
  height: 33px;
  pointer-events: none;
}

.play {
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  padding-left: 3px;
  background: #ffffff;
  color: var(--pink);
  transform: translate(-50%, -50%);
}

.team {
  padding-top: 106px;
}

.team > .section-copy {
  width: min(100% - 32px, 902px);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 38px 28px;
  width: min(100% - 40px, 966px);
  margin: 58px auto 0;
}

.person {
  text-align: center;
}

.person img {
  width: 160px;
  height: 160px;
  margin: 0 auto;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.person:hover img {
  transform: translateY(-5px) scale(1.025);
}

.person h3 {
  margin-top: 14px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.25;
}

.person span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.person p {
  margin-top: 15px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
}

.site-footer {
  width: min(100% - 36px, 960px);
  margin: 68px auto 28px;
  text-align: center;
}

.affiliation {
  display: grid;
  grid-template-columns: 180px 22px 76px 1fr;
  gap: 24px;
  align-items: center;
  width: 100%;
  min-height: 100px;
  padding: 18px 36px;
  border-radius: 10px;
  background: var(--soft);
  text-align: left;
}

.affiliation-kindness-logo {
  position: relative;
  display: block;
  width: 180px;
  height: 54px;
  overflow: hidden;
}

.affiliation-kindness-logo img {
  position: absolute;
  top: 0;
  left: -100px;
  width: 280px;
  max-width: none;
}

.affiliation-times {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
}

.affiliation-times::before,
.affiliation-times::after {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: #999999;
  content: "";
}

.affiliation-times::before {
  transform: rotate(45deg);
}

.affiliation-times::after {
  transform: rotate(-45deg);
}

.affiliation-giveasia-logo {
  width: 76px;
}

.affiliation p {
  color: var(--muted);
  font-size: var(--body-size);
  line-height: 1.5;
}

.site-footer > p {
  margin-top: 16px;
  color: #777777;
  font-size: 11px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .site-header {
    width: min(100% - 36px, 840px);
    height: 88px;
  }

  .brand,
  .brand-crop {
    width: 166px;
    height: 54px;
  }

  .brand img {
    width: 166px;
  }

  .menu-toggle {
    position: relative;
    z-index: 8;
    display: grid;
    gap: 5px;
    width: 40px;
    padding: 8px 5px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span:not(.sr-only) {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--ink);
    transition: transform 220ms ease, opacity 220ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .header-right {
    position: absolute;
    top: 74px;
    right: 0;
    display: none;
    width: 214px;
    padding: 22px;
    border-radius: 16px;
    background: rgb(255 255 255 / 96%);
    box-shadow: 0 16px 32px rgb(0 0 0 / 12%);
  }

  .header-right.is-open,
  .primary-nav {
    display: grid;
  }

  .header-right.is-open {
    gap: 20px;
  }

  .primary-nav {
    gap: 16px;
  }

  .social-links {
    gap: 12px;
  }

  .hero {
    min-height: 660px;
    padding-top: 360px;
  }

  .hero-collage {
    top: 90px;
    left: 50%;
    width: 1100px;
    transform: translateX(-50%) scale(0.8);
    transform-origin: top center;
  }

  .impact {
    padding-top: 90px;
  }

  .metrics {
    gap: 26px;
    margin-top: 52px;
  }

  .metrics strong {
    font-size: 32px;
  }

  .story,
  .story-wide {
    grid-column: span 3;
  }

  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  h2 {
    font-size: 38px;
  }

  .hero {
    min-height: 602px;
    padding-top: 300px;
  }

  .hero-copy {
    width: min(100% - 24px, 100%);
  }

  .hero-kampong-headline,
  .hero-present-headline {
    width: 100%;
    font-size: clamp(24px, 6.8vw, 28px);
    line-height: 1.15;
  }

  .hero-collage {
    top: 60px;
    width: 1100px;
    transform: translateX(-50%) scale(0.58);
  }

  .programs {
    padding-top: 68px;
  }

  .program-track {
    gap: 14px;
    margin-top: 28px;
    padding: 14px 18px 32px;
  }

  .program-card {
    flex-basis: 276px;
  }

  .impact {
    padding-top: 72px;
  }

  .metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 18px;
    width: min(100% - 44px, 480px);
    margin-top: 44px;
  }

  .metrics strong {
    font-size: 30px;
  }

  .network {
    padding-top: 74px;
  }

  .map-wrap {
    width: calc(100% + 70px);
    margin-left: -35px;
  }

  .map-legend {
    right: 9%;
    bottom: 1%;
    transform: scale(0.8);
    transform-origin: right bottom;
  }

  .stories {
    padding-top: 68px;
  }

  .story-grid {
    gap: 10px;
    width: min(100% - 24px, 540px);
    margin-top: 24px;
  }

  .story,
  .story-wide {
    grid-column: span 6;
    border-radius: 14px;
  }

  .story .media-frame {
    border-radius: 14px;
  }

  .team {
    padding-top: 78px;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 34px 20px;
    width: min(100% - 28px, 500px);
    margin-top: 42px;
  }

  .person img {
    width: min(38vw, 150px);
    height: min(38vw, 150px);
  }

  .site-footer {
    width: min(100% - 20px, 540px);
    margin-top: 48px;
  }

  .affiliation {
    grid-template-columns: 148px 16px 62px;
    gap: 14px;
    justify-content: center;
    min-height: 0;
    padding: 18px 14px;
  }

  .affiliation-kindness-logo {
    width: 148px;
    height: 46px;
  }

  .affiliation-kindness-logo img {
    left: -82px;
    width: 230px;
  }

  .affiliation-times {
    width: 14px;
    height: 14px;
  }

  .affiliation-giveasia-logo {
    width: 62px;
  }

  .affiliation p {
    grid-column: 1 / -1;
    text-align: center;
  }
}
