:root {
  --brand-orange: #ff6b3d;
  --brand-amber: #ffa100;
  --brand-teal: #01c0cf;
  --brand-blue: #3a3cff;
  --text-primary: #222222;
  --text-secondary: #666666;
  --bg-warm: #fff7ec;
  --font: "Nunito", system-ui, sans-serif;
  --header-h: 4.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  min-height: 100%;
  font-family: var(--font);
  color: var(--text-primary);
  background: var(--bg-warm);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

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

ul {
  list-style: none;
}

/* —— Site header —— */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: color-mix(in srgb, var(--bg-warm) 94%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid
    color-mix(in srgb, var(--text-primary) 14%, transparent);
  /* Opacity-only: a leftover transform breaks position: sticky */
  opacity: 0;
  animation: header-fade 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.05s forwards;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  min-height: var(--header-h);
  padding: 0.75rem clamp(1rem, 4vw, 5rem);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.logo__mark {
  position: relative;
  width: 4.2rem;
  height: 2.45rem;
  flex-shrink: 0;
}

.logo__kite {
  position: absolute;
  left: 0;
  top: 0;
  width: 1.28rem;
  height: auto;
  transform: scaleX(-1);
}

.logo__children {
  position: absolute;
  left: 1.15rem;
  top: 0.72rem;
  width: 2.92rem;
  height: auto;
}

.logo__wordmark {
  width: 6.6rem;
  height: auto;
  margin-top: 0.35rem;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
}

.site-nav__link {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  transition: color 0.2s ease;
}

.site-nav__link:hover {
  color: var(--brand-orange);
}

.site-nav__link:focus-visible {
  outline: 2px solid var(--brand-orange);
  outline-offset: 4px;
  border-radius: 2px;
}

.site-nav__link--donate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 7.5rem;
  height: 2.5rem;
  padding: 0 1.25rem;
  border: none;
  border-radius: 1.5rem;
  background: var(--brand-orange);
  color: #fff;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.site-nav__link--donate:hover {
  background: color-mix(in srgb, var(--brand-orange) 88%, #000);
  color: #fff;
  transform: translateY(-1px);
}

/* —— Masthead: first viewport —— */

.masthead.page-frame {
  position: relative;
  display: block;
  width: 100%;
  height: calc(100dvh - var(--header-h));
  height: calc(100vh - var(--header-h));
  min-height: 28rem;
  overflow: hidden;
  background: var(--bg-warm);
}

.masthead__copy {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  width: 100%;
  max-width: 56rem;
  margin-inline: auto;
  padding: calc(clamp(1.75rem, 6vh, 4.5rem) + 20px) clamp(1rem, 4vw, 2rem)
    1.5rem;
  text-align: center;
  pointer-events: none;
}

.masthead__copy .btn {
  pointer-events: auto;
}

.masthead__headline {
  margin-bottom: 16px;
  font-size: clamp(1.5rem, 2.8vw + 0.6rem, 3.375rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  text-wrap: balance;
  text-shadow: 0 1px 2px rgb(255 247 236 / 70%);
  opacity: 0;
  animation: rise-in 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}

.masthead__body {
  max-width: 42rem;
  margin-bottom: 32px;
  font-size: clamp(0.875rem, 0.7vw + 0.65rem, 1.125rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--text-primary);
  text-align: center;
  text-shadow: 0 1px 2px rgb(255 247 236 / 70%);
  opacity: 0;
  animation: rise-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.25s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 10.5rem;
  height: 2.75rem;
  padding: 0.625rem 1.5rem;
  border-radius: 1.5rem;
  border: none;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.btn--primary {
  background: var(--brand-orange);
  color: #fff;
  opacity: 0;
  animation: rise-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards;
}

.btn--primary:hover {
  background: color-mix(in srgb, var(--brand-orange) 88%, #000);
  transform: translateY(-1px);
}

.btn--primary:focus-visible {
  outline: 2px solid var(--brand-orange);
  outline-offset: 3px;
}

.masthead__visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  line-height: 0;
  opacity: 0;
  animation: masthead-fade 1s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}

.masthead__visual picture {
  display: block;
  width: 100%;
  height: 100%;
}

.masthead__illustration {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

@keyframes masthead-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes header-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 3.5rem;
  }

  .site-header__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 20px;
    min-height: var(--header-h);
    gap: 0;
  }

  .logo {
    gap: 0.4rem;
  }

  .logo__wordmark {
    width: 5.5rem;
  }

  .logo__mark {
    width: 3.4rem;
    height: 2rem;
  }

  .logo__kite {
    width: 1.15rem;
  }

  .logo__children {
    left: 1.05rem;
    top: 0.6rem;
    width: 2.55rem;
  }

  /* Mobile: logo only — hide About us, Program, Donate */
  .site-nav {
    display: none;
  }

  .masthead.page-frame {
    position: relative;
    display: block;
    height: calc(100dvh - var(--header-h));
    height: calc(100vh - var(--header-h));
    min-height: 32rem;
    max-height: none;
    overflow: hidden;
    background: var(--bg-warm);
  }

  .masthead__visual {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    opacity: 1;
    animation: none;
    line-height: 0;
  }

  .masthead__visual picture {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 0;
    background: transparent;
  }

  .masthead__illustration {
    display: block;
    width: 100%;
    height: 100%;
    max-height: none;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center top;
    background: transparent;
  }

  .masthead__copy {
    position: absolute;
    inset: 0;
    z-index: 1;
    justify-content: flex-start;
    align-items: center;
    max-width: none;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    padding: 48px 20px 1.5rem;
    gap: 0;
    background: transparent;
    box-sizing: border-box;
  }

  .about {
    --about-pad-x: 20px;
  }

  .gallery {
    --gallery-pad-x: 20px;
  }

  .donate {
    --donate-pad-x: 20px;
  }

  .site-footer {
    --footer-pad-x: 20px;
  }

  .program-masthead,
  .program-about,
  .why,
  .how,
  .impact,
  .skills,
  .community,
  .odisi {
    --program-pad-x: 20px;
    --why-pad-x: 20px;
    --how-pad-x: 20px;
    --impact-pad-x: 20px;
    --skills-pad-x: 20px;
    --community-pad-x: 20px;
    --odisi-pad-x: 20px;
  }

  .masthead__headline {
    margin-bottom: 0.65rem;
  }

  .masthead__body {
    margin-bottom: 1.1rem;
    max-width: 22rem;
  }

  .btn {
    min-width: 9rem;
    min-height: 2.75rem;
    height: 2.75rem;
    font-size: 0.9375rem;
  }

  .about {
    padding-top: 4rem;
  }

  .stat-card__label {
    line-height: 1.4;
  }

  .stat-card__panel {
    padding: 1.5rem;
  }
}

/* Extra-narrow phones (Galaxy S8 / SE-class ~360px) */
@media (max-width: 360px) {
  :root {
    --header-h: 3.35rem;
  }

  .site-header__inner {
    padding: 0.55rem 0.85rem;
  }

  .logo__wordmark {
    width: 5.1rem;
  }

  .masthead.page-frame {
    min-height: 30rem;
  }

  .masthead__copy {
    padding: 44px 20px 1.25rem;
  }

  .masthead__headline {
    margin-bottom: 0.5rem;
  }

  .masthead__body {
    margin-bottom: 0.9rem;
  }

  .btn {
    min-width: 8.5rem;
    min-height: 2.5rem;
    height: 2.5rem;
    font-size: 0.875rem;
  }

  .about {
    padding-top: 3rem;
  }


  .program-masthead__stat {
    padding: 1rem 0.85rem;
    min-height: 5.75rem;
  }

  .program-masthead__stat-value {
    font-size: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .site-header,
  .masthead__headline,
  .masthead__body,
  .btn--primary,
  .masthead__visual {
    opacity: 1;
    animation: none;
    transform: none;
  }

  .site-nav__link--donate:hover,
  .btn--primary:hover {
    transform: none;
  }

  .stat-card__glow {
    transition: none;
  }
}

/* —— Who we are —— */

.about {
  --about-pad-x: clamp(1.25rem, 8.6vw, 7.75rem);

  width: 100%;
  background: var(--bg-warm);
  padding: 100px 0 clamp(4rem, 8vw, 6rem);
}

.about__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: end;
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-right: var(--about-pad-x);
}

.about__intro {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  min-width: 0;
}

.about__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding-left: var(--about-pad-x);
  max-width: calc(29.75rem + var(--about-pad-x));
}

.about__eyebrow {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ff5b23;
}

.about__heading {
  font-size: clamp(1.75rem, 2.2vw + 0.8rem, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
}

.about__body {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 29px;
  color: var(--text-secondary);
  max-width: 29.75rem;
}

.about__visual {
  /* Pull image to the true viewport left edge while content stays in 1440 shell */
  --bleed-left: max(0px, (100vw - 1440px) / 2);

  width: calc(100% + var(--bleed-left));
  max-width: none;
  margin: clamp(1.25rem, 2.5vw, 2rem) 0 0 calc(-1 * var(--bleed-left));
  padding: 0;
  line-height: 0;
}

.about__illustration {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  padding: 0;
  object-fit: contain;
  object-position: left bottom;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 274px));
  gap: 32px;
  justify-content: end;
  padding-bottom: 8px; /* room for offset glow */
}

.stat-card {
  --offset: 8px;
  position: relative;
  width: 100%;
  max-width: 274px;
  aspect-ratio: 274 / 250;
  cursor: pointer;
}

.stat-card__glow {
  position: absolute;
  inset: 0;
  border-radius: 8px;
  border: 1px solid var(--accent);
  background: transparent;
  transform: translate(var(--offset), var(--offset));
  transition: background-color 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.stat-card__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  padding: 32px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--card-bg);
}

.stat-card__value {
  font-size: clamp(2.5rem, 3vw, 3.375rem);
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
}

.stat-card__label {
  max-width: 11rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 26px;
  color: var(--accent);
}

.stat-card:hover .stat-card__glow,
.stat-card:focus-within .stat-card__glow {
  background: var(--accent);
}

.stat-card:focus-visible {
  outline: none;
}

.stat-card:focus-visible .stat-card__panel {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (max-width: 960px) {
  .about__inner {
    grid-template-columns: 1fr;
    align-items: start;
    padding-right: 0;
  }

  .about__heading {
    text-wrap: balance;
  }

  .about__visual {
    --bleed-left: 0px;
    width: auto;
    max-width: none;
    margin-left: var(--about-pad-x);
    margin-right: var(--about-pad-x);
  }

  .about__illustration {
    max-width: 100%;
  }

  .about__stats {
    justify-content: start;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 36rem;
    margin-left: var(--about-pad-x);
    margin-right: var(--about-pad-x);
    /* Room for stat-card glow offset so it doesn't clip/overflow */
    padding-right: 8px;
    padding-bottom: 8px;
  }

  .stat-card {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .about {
    --about-pad-x: 1rem;

    padding-top: 3.5rem;
    padding-bottom: 3rem;
  }
}

@supports not (height: 100dvh) {
  .masthead.page-frame {
    height: calc(100vh - var(--header-h));
  }
}

/* —— Trusted by —— */

.partners {
  --partners-line: color-mix(in srgb, var(--text-primary) 14%, transparent);
  --partners-pad-x: clamp(1.25rem, 8.6vw, 7.75rem);

  width: 100%;
  background: var(--bg-warm);
  padding: 0 0 clamp(3rem, 6vw, 5rem);
}

.partners__inner {
  display: grid;
  grid-template-columns:
    minmax(6.5rem, 200fr)
    minmax(0, 220fr)
    minmax(0, 220fr)
    minmax(0, 280fr)
    minmax(0, 240fr);
  grid-template-rows: repeat(3, minmax(6.5rem, 1fr));
  grid-template-areas:
    "label iimagine mantra wipro azim"
    "label systems bharat wipro tata"
    "label gyan parivartan wipro tata";
  width: 100%;
  max-width: 1440px;
  min-height: 24rem;
  margin-inline: auto;
  border-block: 1px solid var(--partners-line);
  opacity: 0;
  animation: rise-in 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}

.partners__label {
  grid-area: label;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 1rem var(--partners-pad-x) 1rem clamp(1rem, 5vw, 7.8125rem);
  border-right: 1px solid var(--partners-line);
}

.partners__eyebrow {
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  white-space: nowrap;
}

.partners__cell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  padding: clamp(0.75rem, 2vw, 1.5rem);
}

.partners__cell--iimagine {
  grid-area: iimagine;
  border-right: 1px solid var(--partners-line);
  border-bottom: 1px solid var(--partners-line);
}

.partners__cell--mantra {
  grid-area: mantra;
  border-right: 1px solid var(--partners-line);
  border-bottom: 1px solid var(--partners-line);
}

.partners__cell--wipro {
  grid-area: wipro;
  border-right: 1px solid var(--partners-line);
}

.partners__cell--azim {
  grid-area: azim;
  border-bottom: 1px solid var(--partners-line);
}

.partners__cell--systems {
  grid-area: systems;
  border-right: 1px solid var(--partners-line);
  border-bottom: 1px solid var(--partners-line);
}

.partners__cell--bharat {
  grid-area: bharat;
  border-right: 1px solid var(--partners-line);
  border-bottom: 1px solid var(--partners-line);
}

.partners__cell--tata {
  grid-area: tata;
}

.partners__cell--gyan {
  grid-area: gyan;
  border-right: 1px solid var(--partners-line);
}

.partners__cell--parivartan {
  grid-area: parivartan;
  border-right: 1px solid var(--partners-line);
}

.partners__logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 3.5rem;
  object-fit: contain;
}

.partners__logo--tall {
  max-height: min(8.5rem, 75%);
}

.partners__logo--wide {
  max-height: 4.25rem;
  width: min(100%, 18rem);
}

.partners__cell--systems .partners__logo,
.partners__cell--gyan .partners__logo,
.partners__cell--tata .partners__logo {
  max-height: 4.5rem;
}

/* Tablet only — phones keep desktop irregular grid via horizontal scroll */
@media (min-width: 641px) and (max-width: 900px) {
  .partners__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    grid-template-areas:
      "label label"
      "iimagine mantra"
      "systems bharat"
      "wipro azim"
      "gyan parivartan"
      "tata tata";
    min-height: 0;
    border-block: none;
    border-top: 1px solid var(--partners-line);
  }

  .partners__label {
    justify-content: center;
    padding: 1.25rem 1rem;
    border-right: none;
    border-bottom: 1px solid var(--partners-line);
  }

  .partners__cell {
    min-height: 6.5rem;
    border-bottom: 1px solid var(--partners-line);
  }

  .partners__cell--iimagine,
  .partners__cell--systems,
  .partners__cell--wipro,
  .partners__cell--gyan {
    border-right: 1px solid var(--partners-line);
  }

  .partners__cell--mantra,
  .partners__cell--bharat,
  .partners__cell--azim,
  .partners__cell--parivartan,
  .partners__cell--tata {
    border-right: none;
  }

  .partners__cell--tata {
    border-bottom: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .partners__inner {
    opacity: 1;
    animation: none;
  }
}

/* —— Our work (Oscar-style sticky scroll scrub) —— */

.work {
  --work-accent: #3a3cff;
  --scroll-progress: 0;
  --work-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --work-image-ease: cubic-bezier(0.65, 0.05, 0.36, 1);
  --work-pad-x: clamp(1.25rem, 8.6vw, 7.75rem);
  --work-sticky-h: calc(100dvh - var(--header-h));

  width: 100%;
  background: var(--bg-warm);
  scroll-margin-top: var(--header-h);
}

.work__track {
  position: relative;
  /* 3 programs → ~3 viewport segments while panel stays pinned */
  height: calc(var(--work-sticky-h) * 3);
}

.work__sticky {
  position: sticky;
  top: var(--header-h);
  height: var(--work-sticky-h);
  display: flex;
  align-items: center;
  box-sizing: border-box;
  padding: clamp(1.25rem, 3vh, 2.5rem) 0;
  background: var(--bg-warm);
}

.work__inner {
  display: grid;
  grid-template-columns: minmax(16rem, 24rem) 1px minmax(0, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2.3rem);
  align-items: stretch;
  width: 100%;
  max-width: 1440px;
  height: 100%;
  margin-inline: auto;
  padding-inline: var(--work-pad-x);
  min-height: 0;
}

.work__rail {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(2rem, 6vh, 4rem);
  min-width: 0;
  padding-block: 0.25rem;
}

.work__intro {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 24rem;
}

.work__eyebrow {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ff5b23;
}

.work__heading {
  font-size: clamp(1.75rem, 2vw + 0.9rem, 2.5rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text-primary);
}

.work__lede {
  max-width: 21.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--text-secondary);
}

.work__nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: min(100%, 22rem);
}

.work__nav-item {
  appearance: none;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.4rem 0;
  margin: 0;
  text-align: left;
  font-family: var(--font);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text-primary);
  opacity: 0.6;
  cursor: pointer;
  transition:
    opacity 0.3s ease,
    color 0.3s ease;
}

.work__nav-item:hover {
  opacity: 0.75;
}

.work__nav-item.is-active {
  opacity: 1;
}

.work__nav-item:focus-visible {
  outline: 2px solid var(--item-accent, var(--work-accent));
  outline-offset: 4px;
  border-radius: 2px;
}

.work__nav-arrow {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 0;
  opacity: 0;
  overflow: hidden;
  color: var(--item-accent, var(--work-accent));
  transition:
    width 0.3s var(--work-ease),
    opacity 0.3s ease;
}

.work__nav-arrow svg {
  display: block;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
}

.work__nav-item.is-active .work__nav-arrow {
  width: 2rem;
  opacity: 1;
}

.work__nav-label {
  min-width: 0;
}

.work__progress {
  position: relative;
  width: 1px;
  align-self: stretch;
  background: color-mix(in srgb, var(--text-primary) 12%, transparent);
  overflow: hidden;
}

.work__progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: calc(var(--scroll-progress, 0) * 100%);
  background: var(--work-accent);
  transition: background-color 0.3s ease;
  will-change: height;
}

.work__stage {
  display: grid;
  grid-template-columns: minmax(14rem, 20.5rem) minmax(0, 23.6rem);
  gap: clamp(1.25rem, 2vw, 1.8rem);
  align-items: stretch;
  min-width: 0;
  min-height: 0;
  height: 100%;
}

.work__detail {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  min-width: 0;
  min-height: 0;
  height: 100%;
  padding-bottom: 48px;
  transition:
    opacity 0.4s var(--work-ease),
    transform 0.4s var(--work-ease);
}

.work__center {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex: 1;
  gap: 24px;
  min-height: 0;
  width: 100%;
}

.work__detail.is-exiting {
  opacity: 0;
  transform: translateY(10px);
}

.work__detail.is-entering {
  animation: work-content-in 0.48s var(--work-ease) both;
}

@keyframes work-content-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.work__badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--work-accent);
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.35;
  color: var(--work-accent);
  transition: border-color 0.4s ease, color 0.4s ease;
}

.work__copy {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.work__title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
}

.work__body {
  max-width: 20.3rem;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-primary);
}

.work__stats {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.work__stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
}

.work__stat-value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.55rem;
  padding: 0.35rem 0.25rem;
  border-radius: 2px;
  background: var(--bg-warm);
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.5;
  color: var(--text-primary);
}

.work__stat-label {
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.35;
  color: var(--text-secondary);
}

.work__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  width: fit-content;
  min-width: 13rem;
  height: 2.75rem;
  padding: 0.625rem 1.25rem;
  border-radius: 1.5rem;
  background: var(--work-accent);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.32;
  transition:
    background-color 0.35s ease,
    transform 0.2s ease;
}

.work__cta:hover {
  background: color-mix(in srgb, var(--work-accent) 88%, #000);
  transform: translateY(-1px);
}

.work__cta:focus-visible {
  outline: 2px solid var(--work-accent);
  outline-offset: 3px;
}

.work__cta-chevron {
  font-size: 1.25rem;
  line-height: 1;
  transform: translateY(-1px);
}

.work__visual {
  position: relative;
  width: 100%;
  max-width: 23.625rem;
  margin-left: auto;
  aspect-ratio: 378 / 614;
  border-radius: 8px;
  overflow: hidden;
  background: color-mix(in srgb, var(--bg-warm) 70%, #ddd);
}

.work__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  clip-path: inset(0 0 100% 0);
  z-index: 0;
  transition: clip-path 0.75s var(--work-image-ease);
  pointer-events: none;
  will-change: clip-path;
}

.work__image.is-active {
  clip-path: inset(0 0 0 0);
  z-index: 2;
}

.work__image.is-leaving {
  clip-path: inset(0 0 0 0);
  z-index: 1;
  transition: none;
}

.work__image.is-entering {
  clip-path: inset(0 0 100% 0);
  z-index: 3;
  transition: none;
}

@media (max-width: 1100px) {
  .work__inner {
    grid-template-columns: minmax(14rem, 20rem) 1px minmax(0, 1fr);
  }

  .work__stage {
    grid-template-columns: minmax(12rem, 1fr) minmax(12rem, 18rem);
  }

}

@media (max-width: 900px) {
  /* Mobile: click to switch; skip tall sticky scrub */
  .work__track {
    height: auto;
  }

  .work__sticky {
    position: relative;
    top: auto;
    height: auto;
    min-height: 0;
    padding: clamp(2.5rem, 6vw, 3.5rem) 0;
  }

  .work__inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    height: auto;
  }

  .work__progress {
    width: 100%;
    height: 1px;
  }

  .work__progress-fill {
    width: calc(var(--scroll-progress, 0) * 100%);
    height: 100%;
  }

  .work__rail {
    gap: 2rem;
  }

  .work__nav {
    width: 100%;
  }

  .work__stage {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .work__visual {
    max-width: 22rem;
    margin-inline: auto;
    width: 100%;
    aspect-ratio: 4 / 5;
    max-height: 55vh;
  }

  .work__heading {
    text-wrap: balance;
  }

  .work__detail {
    gap: 20px;
    height: auto;
  }

  .work__center {
    flex: 0 1 auto;
    justify-content: flex-start;
  }

  .work__badge {
    white-space: normal;
  }
}


@media (prefers-reduced-motion: reduce) {
  .work__track {
    height: auto;
  }

  .work__sticky {
    position: relative;
    top: auto;
    height: auto;
  }

  .work__detail,
  .work__image,
  .work__nav-item,
  .work__nav-arrow,
  .work__badge,
  .work__cta,
  .work__progress-fill {
    transition: none !important;
    animation: none !important;
  }

  .work__detail.is-exiting,
  .work__detail.is-entering {
    opacity: 1;
    transform: none;
  }

  .work__image,
  .work__image.is-active,
  .work__image.is-leaving,
  .work__image.is-entering {
    clip-path: none;
  }

  .work__image:not(.is-active) {
    opacity: 0;
  }

  .work__cta:hover {
    transform: none;
  }
}

@supports not (height: 100dvh) {
  .work {
    --work-sticky-h: calc(100vh - var(--header-h));
  }
}

/* —— Mentors —— */

.mentors {
  --mentors-pad-x: clamp(1.25rem, 8.6vw, 7.75rem);

  position: relative;
  width: 100%;
  overflow-x: clip;
  overflow-y: visible;
  background:
    linear-gradient(
      115deg,
      color-mix(in srgb, var(--brand-teal) 14%, var(--bg-warm)) 0%,
      var(--bg-warm) 42%,
      color-mix(in srgb, var(--brand-orange) 8%, var(--bg-warm)) 100%
    );
  padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(3.5rem, 7vw, 6rem);
}

.mentors__glow {
  position: absolute;
  top: -20%;
  right: -8%;
  width: min(52vw, 34rem);
  height: min(52vw, 34rem);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--brand-amber) 22%, transparent) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.mentors__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(5.5rem, 7.5rem) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--mentors-pad-x);
}

.mentors__rail {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0.35rem;
  border-right: 1px solid color-mix(in srgb, var(--text-primary) 12%, transparent);
}

.mentors__eyebrow {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ff5b23;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
}

.mentors__eyebrow--inline {
  display: none;
  writing-mode: horizontal-tb;
  transform: none;
  margin-bottom: 0.65rem;
}

.mentors__main {
  min-width: 0;
}

.mentors__header {
  max-width: 40rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.mentors__heading {
  margin: 0 0 0.85rem;
  font-size: clamp(1.75rem, 2.2vw + 0.8rem, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
  text-wrap: balance;
}

.mentors__lede {
  margin: 0;
  max-width: 34rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--text-secondary);
}

.mentors__ribbon {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.85rem, 2vw, 1.5rem);
  align-items: start;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mentors__person {
  margin: 0;
}

.mentors__person--offset {
  margin-top: clamp(1.75rem, 4vw, 3.25rem);
}

.mentors__figure {
  position: relative;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.mentors__photo {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  background: color-mix(in srgb, var(--mentor-accent, var(--brand-blue)) 18%, #fff);
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    clip-path 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.mentors__photo--placeholder {
  display: grid;
  place-items: center;
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: color-mix(in srgb, var(--mentor-accent, var(--brand-blue)) 70%, #222);
}

.mentors__photo--placeholder::after {
  content: attr(data-initials);
}

.mentors__caption {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  width: calc(100% - 0.75rem);
  margin: -1.65rem 0 0 0.75rem;
  padding: 0.85rem 0.9rem 0.95rem;
  background: var(--mentor-accent, var(--brand-blue));
  color: #fff;
  box-shadow: 0 10px 28px color-mix(in srgb, var(--mentor-accent, #222) 22%, transparent);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.mentors__name {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.mentors__role {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.45;
  opacity: 0.92;
}

.mentors__person:hover .mentors__photo,
.mentors__person:focus-within .mentors__photo {
  transform: translateY(-6px);
  clip-path: polygon(0 0, 100% 0, 100% 96%, 0 100%);
}

.mentors__person:hover .mentors__caption,
.mentors__person:focus-within .mentors__caption {
  transform: translateY(-4px);
}

/* Keep 2-up until ~1200 so nameplates stay readable (4-up was ~159px at 1024) */
@media (max-width: 1199px) {
  .mentors__ribbon {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem 1rem;
  }

  .mentors__person--offset {
    margin-top: 2rem;
  }

  .mentors__person:nth-child(3) {
    margin-top: 0;
  }

  .mentors__person:nth-child(4) {
    margin-top: 2rem;
  }
}

@media (max-width: 640px) {
  .mentors {
    --mentors-pad-x: 20px;
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .mentors__inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding-inline: var(--mentors-pad-x);
  }

  .mentors__rail {
    display: none;
  }

  .mentors__eyebrow--inline {
    display: block;
  }

  .mentors__ribbon {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
  }

  .mentors__person,
  .mentors__person--offset,
  .mentors__person:nth-child(3),
  .mentors__person:nth-child(4) {
    flex: 0 0 min(72vw, 16rem);
    margin-top: 0;
    scroll-snap-align: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mentors__photo,
  .mentors__caption {
    transition: none;
  }

  .mentors__person:hover .mentors__photo,
  .mentors__person:focus-within .mentors__photo,
  .mentors__person:hover .mentors__caption,
  .mentors__person:focus-within .mentors__caption {
    transform: none;
  }
}

/* —— Gallery / Lives we've changed —— */

/* —— Donate visual —— */
.donate {
  --donate-pad-x: clamp(1.25rem, 8.6vw, 7.75rem);

  width: 100%;
  background: var(--bg-warm);
  padding: clamp(3rem, 6vw, 5.5rem) var(--donate-pad-x);
}

.donate__panel {
  position: relative;
  width: 100%;
  max-width: 1192px;
  margin-inline: auto;
  aspect-ratio: 1192 / 621;
  border-radius: 8px;
  overflow: hidden;
  isolation: isolate;
}

.donate__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  border-radius: 8px;
}

.donate__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 1.375rem;
  padding: clamp(4.5rem, 12.5%, 9.5rem) 1.25rem 2rem;
  text-align: center;
  pointer-events: none;
}

.donate__heading {
  max-width: 22rem;
  margin: 0;
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  font-weight: 700;
  line-height: 1.125;
  color: #083722;
}

.donate__cta {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  min-width: 13rem;
  height: 2.75rem;
  padding: 0.625rem 1.5rem;
  border-radius: 1.5rem;
  background: var(--brand-orange);
  color: #fff;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.32;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.donate__cta:hover {
  background: color-mix(in srgb, var(--brand-orange) 88%, #000);
  transform: translateY(-1px);
}

.donate__cta:focus-visible {
  outline: 2px solid var(--brand-orange);
  outline-offset: 3px;
}

.donate__cta-chevron {
  font-size: 1.25rem;
  line-height: 1;
  transform: translateY(-1px);
}

@media (max-width: 700px) {
  .donate {
    padding-block: 2.5rem;
  }

  .donate__panel {
    aspect-ratio: 4 / 3;
    min-height: 20rem;
  }

  .donate__content {
    justify-content: center;
    padding-block: 2rem;
    gap: 1.125rem;
  }

  .donate__heading {
    font-size: 1.625rem;
    text-wrap: balance;
  }

  .donate__cta {
    min-width: 11.5rem;
    min-height: 2.75rem;
  }
}

@media (max-width: 480px) {
  .donate {
    padding-block: 2rem;
    padding-inline: 1rem;
  }

  .donate__panel {
    aspect-ratio: 3 / 4;
    min-height: 18rem;
  }

  .donate__content {
    padding: 1.5rem 1rem;
    gap: 0.85rem;
  }

  .donate__heading {
    max-width: 16rem;
    font-size: 1.375rem;
  }

  .donate__lede {
    font-size: 0.875rem;
    line-height: 1.45;
  }

  .donate__cta {
    min-width: 10.5rem;
  }
}

.gallery {
  --gallery-line: color-mix(in srgb, var(--text-primary) 14%, transparent);
  --gallery-pad-x: clamp(1.25rem, 8.6vw, 7.75rem);
  --gallery-ease: cubic-bezier(0.22, 1, 0.36, 1);

  width: 100%;
  background: var(--bg-warm);
  padding: 100px 0 clamp(3.5rem, 7vw, 5.5rem);
}

.gallery__header {
  border-block: 1px solid var(--gallery-line);
}

.gallery__header-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 3rem);
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding: 1.375rem var(--gallery-pad-x);
}

.gallery__heading {
  max-width: 24.25rem;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text-primary);
}

.gallery__lede {
  max-width: 20rem;
  margin-left: auto;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text-primary);
}

/* Goodside-style horizontal marquee collage */
.gallery__collage {
  overflow: hidden;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  padding-top: 4.5rem; /* room for hover captions */
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.gallery__collage.is-dragging {
  cursor: grabbing;
}

.gallery__collage.is-static {
  cursor: default;
  overflow-x: auto;
}

.gallery__track {
  display: flex;
  align-items: flex-end;
  gap: clamp(0.55rem, 0.85vw, 0.85rem);
  width: max-content;
  height: clamp(18rem, 28vw, 24rem);
  will-change: transform;
}

.gallery__item {
  position: relative;
  flex-shrink: 0;
  margin: 0;
  opacity: 0;
  transition:
    width 0.6s var(--gallery-ease),
    height 0.6s var(--gallery-ease),
    opacity 0.85s ease;
}

.gallery__item.is-in {
  opacity: 1;
}

.gallery__item:hover {
  z-index: 3;
}

.gallery__frame {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 2px;
  line-height: 0;
}

.gallery__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  -webkit-user-drag: none;
}

.gallery__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% + 0.75rem);
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.45s var(--gallery-ease),
    transform 0.45s var(--gallery-ease);
  pointer-events: none;
}

.gallery__item:hover .gallery__cap {
  opacity: 1;
  transform: translateY(0);
}

.gallery__cap-name {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
  white-space: nowrap;
}

.gallery__cap-note {
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.4;
  color: #9a9a9a;
  max-width: 14rem;
}

/* Base sizes — staggered like Figma, fixed for marquee */
.gallery__item--1 {
  width: clamp(9.5rem, 16.5vw, 14.8rem);
  height: clamp(16rem, 25vw, 22.8rem);
}

.gallery__item--2 {
  width: clamp(10.5rem, 17.8vw, 16rem);
  height: clamp(9.5rem, 13vw, 11.875rem);
}

.gallery__item--2 .gallery__frame {
  box-shadow: 0 0 12px 2px rgba(0, 0, 0, 0.08);
}

.gallery__item--3 {
  width: clamp(8.5rem, 14.2vw, 12.8rem);
  height: clamp(14.5rem, 22.5vw, 20.4rem);
}

.gallery__item--4 {
  width: clamp(9.5rem, 16vw, 14.5rem);
  height: clamp(8.5rem, 12vw, 10.7rem);
}

.gallery__item--5 {
  width: clamp(8rem, 13.2vw, 12rem);
  height: clamp(17rem, 26vw, 23.55rem);
}

/* ~12% hover growth */
.gallery__item--1:hover {
  width: clamp(10.6rem, 18.5vw, 16.6rem);
}

.gallery__item--2:hover {
  width: clamp(11.8rem, 20vw, 18rem);
  height: clamp(10.6rem, 14.5vw, 13.3rem);
}

.gallery__item--3:hover {
  width: clamp(9.5rem, 15.9vw, 14.3rem);
}

.gallery__item--4:hover {
  width: clamp(10.6rem, 17.9vw, 16.2rem);
  height: clamp(9.5rem, 13.4vw, 12rem);
}

.gallery__item--5:hover {
  width: clamp(9rem, 14.8vw, 13.4rem);
}

@media (max-width: 900px) {
  .gallery {
    padding-top: 64px;
  }

  .gallery__header-inner {
    flex-direction: column;
    gap: 1rem;
    padding-block: 1.25rem;
  }

  .gallery__heading {
    text-wrap: balance;
  }

  .gallery__lede {
    margin-left: 0;
    max-width: 28rem;
  }

  .gallery__collage {
    padding-top: 3.5rem;
    overflow: hidden;
  }

  .gallery__track {
    height: clamp(14rem, 55vw, 20rem);
    gap: 0.55rem;
  }

  .gallery__item--1 {
    width: clamp(7.5rem, 28vw, 11rem);
    height: clamp(12.5rem, 48vw, 18rem);
  }

  .gallery__item--2 {
    width: clamp(8rem, 30vw, 12rem);
    height: clamp(7.5rem, 28vw, 10rem);
  }

  .gallery__item--3 {
    width: clamp(7rem, 26vw, 10rem);
    height: clamp(11.5rem, 44vw, 16rem);
  }

  .gallery__item--4 {
    width: clamp(7.5rem, 28vw, 11rem);
    height: clamp(7rem, 26vw, 9.5rem);
  }

  .gallery__item--5 {
    width: clamp(6.5rem, 24vw, 9.5rem);
    height: clamp(13rem, 50vw, 18.5rem);
  }

  .gallery__item:hover .gallery__cap {
    opacity: 1;
    transform: none;
  }

  .gallery__cap {
    opacity: 0;
  }

  .gallery__item.is-in .gallery__cap {
    opacity: 1;
    transform: none;
  }

  .gallery__cap-name {
    font-size: 0.8125rem;
  }

  .gallery__cap-note {
    font-size: 0.6875rem;
    max-width: 11rem;
  }
}

@media (max-width: 560px) {
  .gallery__heading {
    font-size: 1.125rem;
  }

  .gallery__track {
    height: clamp(12.5rem, 58vw, 16rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery__item {
    opacity: 1;
    transition: none;
  }

  .gallery__cap {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .gallery__track {
    transform: none !important;
  }
}

/* —— Footer —— */
.site-footer {
  --footer-pad-x: clamp(1.25rem, 8.6vw, 7.75rem);
  --footer-line: color-mix(in srgb, var(--text-primary) 14%, transparent);

  width: 100%;
  background: var(--bg-warm);
  border-top: 1px solid var(--footer-line);
}

.site-footer__main {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  /* Bottom sits flush on the landscape, like Figma */
  padding: clamp(2.75rem, 5vw, 3.5rem) var(--footer-pad-x) 0;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(16rem, 21.5rem) auto repeat(3, max-content);
  gap: clamp(1.5rem, 3vw, 2.5rem) clamp(1.75rem, 4.5vw, 5.5rem);
  align-items: start;
  justify-content: space-between;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  max-width: 21.5rem;
}

.site-footer__brand .logo {
  margin-bottom: 0;
}

.site-footer__lede {
  margin: 0;
  max-width: 21.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.7;
  color: var(--text-secondary);
}

.site-footer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  min-width: 11.75rem;
  height: 2.75rem;
  padding: 0.625rem 1.25rem;
  border-radius: 1.5rem;
  background: var(--brand-orange);
  color: #fff;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.32;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.site-footer__cta:hover {
  background: color-mix(in srgb, var(--brand-orange) 88%, #000);
  transform: translateY(-1px);
}

.site-footer__cta:focus-visible {
  outline: 2px solid var(--brand-orange);
  outline-offset: 3px;
}

.site-footer__cta-chevron {
  font-size: 1.25rem;
  line-height: 1;
  transform: translateY(-1px);
}

.site-footer__legal {
  margin: 0.75rem 0 0;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.7;
  color: #9a9a9a;
}

.site-footer__legal a {
  color: inherit;
  text-decoration: none;
}

.site-footer__legal a:hover {
  text-decoration: underline;
}

.site-footer__rule {
  width: 1px;
  align-self: stretch;
  min-height: 12rem;
  background: var(--footer-line);
}

.site-footer__col,
.site-footer__accordion {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
}

.site-footer__heading,
.site-footer__summary {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  color: #000;
}

.site-footer__summary {
  list-style: none;
}

.site-footer__summary::-webkit-details-marker {
  display: none;
}

.site-footer__panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__links a {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-secondary);
  text-decoration: none;
}

.site-footer__links a:hover {
  color: var(--text-primary);
}

.site-footer__address {
  margin: 0;
  font-style: normal;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.7;
  color: var(--text-secondary);
}

.site-footer__address a {
  color: inherit;
  text-decoration: none;
}

.site-footer__address a:hover {
  color: var(--text-primary);
}

.site-footer__contact {
  justify-content: flex-start;
}

.site-footer__social {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
}

.site-footer__social a {
  display: block;
  line-height: 0;
  opacity: 0.92;
  transition: opacity 0.2s ease;
}

.site-footer__social a:hover {
  opacity: 1;
}

.site-footer__social img {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
}

.site-footer__visual {
  width: 100%;
  /* Pull up under footer copy like Figma (~50px overlap) */
  margin-top: clamp(-3.5rem, -4vw, -2.5rem);
  line-height: 0;
  pointer-events: none;
}

.site-footer__landscape {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

@media (max-width: 1000px) {
  .site-footer__inner {
    grid-template-columns: minmax(0, 1fr) repeat(3, minmax(0, max-content));
    gap: 2rem 2rem;
  }

  .site-footer__rule {
    display: none;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
    max-width: 28rem;
  }
}

@media (max-width: 900px) {
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }

  .site-footer__contact {
    grid-column: 1 / -1;
  }

  .site-footer__social {
    margin-top: 1.25rem;
    gap: 1.75rem;
  }

  .site-footer__cta {
    min-height: 2.75rem;
  }
}

@media (max-width: 560px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .site-footer__main {
    padding-top: 2.25rem;
  }
}

/* —— Program detail masthead —— */

.page-program .site-header {
  opacity: 1;
  animation: none;
  background: var(--bg-warm);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.page-program {
  --program-accent: var(--brand-blue);
}

.page-program--sapno {
  --program-accent: var(--brand-teal);
}

.page-program--udyan {
  --program-accent: var(--brand-orange);
}

.program-masthead {
  --program-pad-x: clamp(1.25rem, 8.6vw, 7.75rem);

  width: 100%;
  background: var(--bg-warm);
  /* Figma: ~40px cream under masthead before about’s 60px top */
  padding: clamp(2.5rem, 5vw, 4.625rem) var(--program-pad-x)
    clamp(1.5rem, 3vw, 2.5rem);
}

.program-masthead__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(16rem, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: stretch;
  width: 100%;
  max-width: 1192px;
  margin-inline: auto;
}

.program-masthead__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2.5rem;
  max-width: 36rem;
}

.program-masthead__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--program-accent);
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.35;
  color: var(--program-accent);
  white-space: nowrap;
}

.program-masthead__intro {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.program-masthead__heading {
  margin: 0;
  font-size: clamp(2.25rem, 4.2vw, 3.375rem);
  font-weight: 700;
  line-height: 1.11;
  color: var(--text-primary);
}

.program-masthead__body {
  margin: 0;
  max-width: 26.625rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.94;
  color: var(--text-primary);
}

.program-masthead__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  max-width: 30rem;
  margin: 0;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  background: var(--bg-warm);
  overflow: hidden;
}

.program-masthead__stat {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  justify-content: center;
  padding: 1.75rem 1.5rem;
  margin: 0;
  min-height: 9rem;
  border-right: 1px solid #e6e6e6;
  border-bottom: 1px solid #e6e6e6;
}

.program-masthead__stat:nth-child(2n) {
  border-right: none;
}

.program-masthead__stat:nth-child(n + 3) {
  border-bottom: none;
}

.program-masthead__stat-value {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.5;
  color: var(--program-accent);
}

.program-masthead__stat-label {
  margin: 0;
  max-width: 11.5rem;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.35;
  color: var(--text-primary);
}

.program-masthead__visual {
  position: relative;
  width: 100%;
  min-height: 100%;
  align-self: stretch;
  border-radius: 10px;
  overflow: hidden;
  background: color-mix(in srgb, var(--bg-warm) 70%, #ddd);
}

.program-masthead__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 42%;
}

@media (max-width: 960px) {
  .program-masthead__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: start;
  }

  .program-masthead__copy {
    max-width: 36rem;
    gap: 2rem;
  }

  .program-masthead__heading {
    text-wrap: balance;
  }

  .program-masthead__stats {
    max-width: none;
  }

  .program-masthead__visual {
    max-width: 22rem;
    width: 100%;
    margin-inline: auto;
    aspect-ratio: 4 / 5;
    max-height: 55vh;
    min-height: 0;
    height: auto;
  }

  .program-masthead__image {
    position: absolute;
  }

  .program-masthead__badge {
    white-space: normal;
  }
}

@media (max-width: 560px) {
  .program-masthead {
    padding-block: 1.75rem 2.5rem;
    padding-inline: 1rem;
  }

  .program-masthead__copy {
    gap: 1.5rem;
  }

  .program-masthead__stats {
    width: 100%;
  }

  .program-masthead__stat {
    padding: 1.15rem 1rem;
    min-height: 6.5rem;
  }

  .program-masthead__stat-value {
    font-size: 1.375rem;
  }

  .program-masthead__heading {
    font-size: clamp(1.625rem, 7vw, 1.875rem);
  }

  .program-masthead__body {
    font-size: 0.9375rem;
    line-height: 1.65;
  }

  .program-masthead__visual {
    max-width: none;
    aspect-ratio: 3 / 4;
    max-height: 50vh;
  }
}

/* —— Program about —— */

.program-about {
  /* Figma 51:4506 — page inset 124 / top 60 / bottom 85 */
  --program-pad-x: clamp(1.25rem, 8.6vw, 7.75rem);

  width: 100%;
  background: var(--bg-warm);
  padding: clamp(2.5rem, 4.2vw, 3.75rem) var(--program-pad-x)
    clamp(3rem, 5.9vw, 5.3125rem);
}

.program-about__panel {
  /* Figma blue 1192×420; inset title + card 50 all sides */
  width: 100%;
  max-width: 1192px;
  margin-inline: auto;
  padding: clamp(1.5rem, 3.5vw, 3.125rem);
  border-radius: 8px;
  background: var(--brand-blue);
  box-sizing: border-box;
}

.program-about__heading {
  /* Figma: 50px from blue top → 32px to white card */
  margin: 0 0 clamp(1.25rem, 2.2vw, 2rem);
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
}

.program-about__card {
  /* Figma white card 1092×250 min; grows with copy */
  width: 100%;
  min-height: clamp(12rem, 22vw, 15.625rem);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: 8px;
  background: #fff;
  color: #222;
  box-sizing: border-box;
  overflow: visible;
}

.program-about__text {
  margin: 0;
  width: 100%;
  max-width: none;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: #222;
}

.program-about__text + .program-about__text {
  margin-top: 1rem;
}

@media (max-width: 700px) {
  .program-about {
    padding-block: 2rem 2.5rem;
    padding-inline: 1rem;
  }

  .program-about__panel {
    padding: 1.25rem;
  }

  .program-about__heading {
    margin-bottom: 1rem;
    font-size: 1.25rem;
  }

  .program-about__card {
    min-height: 0;
    padding: 1.25rem;
  }

  .program-about__text {
    font-size: 0.9375rem;
    line-height: 1.65;
  }
}

/* —— Why we do it —— */

.why {
  --why-pad-x: clamp(1.25rem, 8.6vw, 7.75rem);

  width: 100%;
  background: var(--bg-warm);
  padding: clamp(2.5rem, 5vw, 4.5rem) var(--why-pad-x)
    clamp(3.5rem, 7vw, 6rem);
}

.why__inner {
  width: 100%;
  max-width: 1192px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.why__editorial {
  min-width: 0;
}

.why__title {
  display: inline-block;
  margin: 0 0 clamp(1.75rem, 3.5vw, 2.75rem);
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--brand-blue);
  font-size: clamp(1.75rem, 2.2vw + 0.8rem, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
}

.why__essay {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 38rem;
}

.why__lead,
.why__bridge,
.why__body {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text-primary);
}

.why__lead {
  font-size: clamp(1.125rem, 1.5vw, 1.3125rem);
  font-weight: 600;
  line-height: 1.55;
}

.why__breakout {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0.35rem 0;
}

.why__figure {
  font-size: clamp(3.25rem, 8vw, 5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--brand-blue);
}

.why__figure--teal {
  color: var(--brand-teal);
}

.why__figure--orange {
  color: var(--brand-orange);
}

.why__figure-text {
  max-width: none;
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--text-primary);
  white-space: nowrap;
}

.why__inline {
  font-weight: 800;
  color: var(--brand-blue);
}

.why__shift {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  margin: 0.15rem 0 0.35rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.why__shift-from {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  color: var(--text-secondary);
}

.why__shift-arrow {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.why__shift-to {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--brand-blue);
}

.why__shift-to--up {
  color: var(--brand-teal);
}

.why__visual {
  position: sticky;
  top: calc(var(--header-h) + 1.25rem);
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  line-height: 0;
  background: color-mix(in srgb, var(--bg-warm) 70%, #ddd);
}

.why__visual img {
  width: 100%;
  height: min(72vh, 36rem);
  object-fit: cover;
  object-position: 18% center;
}

@media (max-width: 900px) {
  .why__inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .why__visual {
    position: static;
    order: -1;
    max-height: 42vh;
  }

  .why__visual img {
    height: 100%;
    max-height: 42vh;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center 40%;
  }

  .why__title {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 700px) {
  .why {
    padding-block: 2rem 3rem;
    padding-inline: 1rem;
  }

  .why__figure {
    font-size: clamp(2.5rem, 14vw, 3.25rem);
  }

  .why__figure-text {
    white-space: normal;
  }

  .why__lead {
    font-size: 1.0625rem;
  }

  .why__body,
  .why__bridge {
    font-size: 0.9375rem;
  }
}

/* —— How it works —— */

.how {
  --how-pad-x: clamp(1.25rem, 8.6vw, 7.75rem);

  width: 100%;
  background: var(--bg-warm);
  padding: clamp(2.5rem, 5vw, 4.5rem) var(--how-pad-x)
    clamp(3.5rem, 7vw, 6rem);
}

.how__inner {
  width: 100%;
  max-width: 1192px;
  margin-inline: auto;
}

.how__header {
  max-width: 40rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.how__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 2.2vw + 0.8rem, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
}

.how__lede {
  margin: 0;
  max-width: 36rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-primary);
}

.how__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.95fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
}

.how__steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid color-mix(in srgb, var(--text-primary) 12%, transparent);
}

.how__step {
  border-bottom: 1px solid
    color-mix(in srgb, var(--text-primary) 12%, transparent);
}

.how__step.is-active {
  background: color-mix(in srgb, var(--brand-orange) 8%, transparent);
}

.how__step-trigger {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  margin: 0;
  padding: 1.15rem 1rem;
  border: 0;
  background: transparent;
  font: inherit;
  text-align: left;
  color: var(--text-primary);
  cursor: pointer;
}

.how__step-trigger:hover .how__step-label {
  color: var(--text-primary);
}

.how__step-trigger:focus-visible {
  outline: 2px solid var(--brand-orange);
  outline-offset: -2px;
}

.how__step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--text-primary) 8%, transparent);
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text-secondary);
}

.how__step.is-active .how__step-num {
  background: var(--brand-orange);
  color: #fff;
}

.how__step-label {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
  transition: color 0.2s ease;
}

.how__step.is-active .how__step-label {
  color: var(--text-primary);
}

.how__step-body {
  padding: 0 1rem 1.25rem 4rem;
}

.how__step-body p {
  margin: 0;
  max-width: 36rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-primary);
}

.how__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.how__tools li {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--brand-orange);
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand-orange);
}

.how__stage {
  position: sticky;
  top: calc(var(--header-h) + 1.25rem);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0;
  border: 0;
  background: transparent;
}

.how__stage-label {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
}

.how__stage-visual {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: color-mix(in srgb, var(--bg-warm) 70%, #ddd);
}

.how__stage-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

@media (max-width: 900px) {
  .how__layout {
    grid-template-columns: 1fr;
  }

  .how__stage {
    position: static;
    order: -1;
    min-height: 0;
  }

  .how__stage-visual {
    max-height: min(14rem, 40vh);
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 700px) {
  .how {
    padding-block: 2rem 3rem;
    padding-inline: 1rem;
  }

  .how__title {
    font-size: clamp(1.5rem, 6vw, 1.875rem);
  }

  .how__lede {
    font-size: 0.9375rem;
  }

  .how__step-trigger {
    padding: 1rem 0.75rem;
    min-height: 2.75rem;
  }

  .how__step-label {
    font-size: 0.9375rem;
  }

  .how__step-body {
    padding-left: 1rem;
  }

  .how__step-body p {
    font-size: 0.9375rem;
  }
}

/* —— Impact —— */

.impact {
  --impact-pad-x: clamp(1.25rem, 8.6vw, 7.75rem);

  width: 100%;
  background: var(--bg-warm);
  padding: clamp(2.5rem, 5vw, 4.5rem) var(--impact-pad-x)
    clamp(3.5rem, 7vw, 6rem);
}

.impact__inner {
  width: 100%;
  max-width: 1192px;
  margin-inline: auto;
}

.impact__title {
  margin: 0 0 clamp(2rem, 4vw, 3rem);
  font-size: clamp(1.75rem, 2.2vw + 0.8rem, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
}

.impact__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.impact__pair--secondary {
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid color-mix(in srgb, var(--text-primary) 12%, transparent);
}

.impact__stat {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto auto;
  column-gap: 1rem;
  row-gap: 0.15rem;
  align-items: end;
  min-width: 0;
}

.impact__was {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 700;
  line-height: 1;
  color: var(--text-secondary);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  opacity: 0.7;
}

.impact__now {
  grid-column: 2;
  grid-row: 1 / 3;
  margin: 0;
  font-size: clamp(3.5rem, 9vw, 6rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.045em;
}

.impact__stat--rise .impact__now {
  color: var(--brand-orange);
}

.impact__stat--fall .impact__now {
  color: var(--brand-blue);
}

.impact__stat-title {
  grid-column: 1 / -1;
  grid-row: 3;
  margin: 0.85rem 0 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
}

.impact__stat-meta {
  grid-column: 1 / -1;
  margin: 0.2rem 0 0;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--text-secondary);
}

.impact__pair--secondary .impact__now {
  font-size: clamp(2.5rem, 6vw, 4rem);
}

.impact__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: clamp(0.5rem, 2vw, 1rem);
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid color-mix(in srgb, var(--text-primary) 12%, transparent);
}

.impact__vibrant {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.65rem 0.85rem;
  margin: 0;
}

.impact__vibrant-num {
  font-size: clamp(2.75rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--brand-teal);
}

.impact__vibrant-text {
  max-width: 14rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
}

.impact__close {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-secondary);
}

@media (max-width: 700px) {
  .impact {
    padding-block: 2rem 3rem;
    padding-inline: 1rem;
  }

  .impact__title {
    font-size: clamp(1.5rem, 6vw, 1.875rem);
  }

  .impact__pair {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .impact__now {
    font-size: clamp(2.75rem, 18vw, 4rem);
  }

  .impact__foot {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* —— Sapno Ki Udaan program theme —— */

.page-program--sapno .program-about__panel {
  background: var(--brand-teal);
}

.page-program--sapno .why__title {
  border-bottom-color: var(--brand-teal);
}

.page-program--sapno .why__inline {
  color: var(--brand-teal);
}

.page-program--sapno .program-masthead__stats {
  grid-template-columns: repeat(3, 1fr);
  max-width: 34rem;
}

.page-program--sapno .program-masthead__stat {
  border-bottom: none;
  min-height: 8.5rem;
}

.page-program--sapno .program-masthead__stat:nth-child(2n) {
  border-right: 1px solid #e6e6e6;
}

.page-program--sapno .program-masthead__stat:nth-child(3n) {
  border-right: none;
}

.page-program--sapno .program-masthead__stat:last-child {
  border-right: none;
}

.why__figure-text--wide {
  white-space: normal;
}

.why__quote {
  display: block;
  margin-top: 0.35rem;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--program-accent, var(--brand-teal));
}

.page-program--sapno .donate__lede {
  pointer-events: none;
  max-width: 26rem;
  margin: -0.35rem 0 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.55;
  color: #083722;
}

/* Skills */

.skills {
  --skills-pad-x: clamp(1.25rem, 8.6vw, 7.75rem);

  width: 100%;
  background: var(--bg-warm);
  padding: clamp(2.5rem, 5vw, 4.5rem) var(--skills-pad-x)
    clamp(3rem, 6vw, 5rem);
}

.skills__inner {
  width: 100%;
  max-width: 1192px;
  margin-inline: auto;
}

.skills__title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.75rem, 2.2vw + 0.8rem, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
}

.skills__topics {
  margin: 0;
  max-width: 48rem;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  font-weight: 700;
  line-height: 1.55;
  color: var(--brand-teal);
}

.skills__support {
  margin: 1rem 0 0;
  max-width: 40rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-secondary);
}

.skills__focus {
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
  padding-top: clamp(2rem, 4vw, 2.75rem);
  border-top: 1px solid color-mix(in srgb, var(--text-primary) 12%, transparent);
  max-width: 40rem;
}

.skills__focus-title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
}

.skills__focus-body {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-primary);
}

/* Impact stories (Sapno) */

.impact__stories {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.75rem, 4vw, 3rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.impact__story {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.impact__story-num {
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--brand-teal);
}

.impact__story-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
}

.impact__story-body {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-primary);
}

.impact__note {
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  max-width: 40rem;
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid color-mix(in srgb, var(--text-primary) 12%, transparent);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* Community impact */

.community {
  --community-pad-x: clamp(1.25rem, 8.6vw, 7.75rem);

  width: 100%;
  background: color-mix(in srgb, var(--brand-teal) 10%, var(--bg-warm));
  padding: clamp(2.5rem, 5vw, 4.5rem) var(--community-pad-x)
    clamp(3.5rem, 7vw, 6rem);
}

.community__inner {
  width: 100%;
  max-width: 44rem;
  margin-inline: auto;
}

.community__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-teal);
}

.community__title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.75rem, 2.2vw + 0.8rem, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
}

.community__body {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-primary);
}

.community__body + .community__body {
  margin-top: 1rem;
}

.community__pillars {
  margin: 1.75rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid color-mix(in srgb, var(--brand-teal) 35%, transparent);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.55;
  color: var(--brand-teal);
}

@media (max-width: 900px) {
  .page-program--sapno .program-masthead__stats {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .page-program--sapno .program-masthead__stat {
    border-right: none;
    border-bottom: 1px solid #e6e6e6;
    min-height: 0;
  }

  .page-program--sapno .program-masthead__stat:last-child {
    border-bottom: none;
  }

  .impact__stories {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 700px) {
  .skills,
  .community {
    padding-block: 2rem 3rem;
    padding-inline: 1rem;
  }

  .skills__title,
  .community__title {
    font-size: clamp(1.5rem, 6vw, 1.875rem);
  }

  .skills__topics {
    font-size: 1rem;
  }

  .skills__support,
  .skills__focus-body,
  .community__body {
    font-size: 0.9375rem;
  }
}

/* —— Udyan Digital Literacy —— */

.page-program--udyan .program-about__panel {
  background: var(--brand-orange);
}

.page-program--udyan .why__title {
  border-bottom-color: var(--brand-orange);
}

.page-program--udyan .why__inline {
  color: var(--brand-orange);
}

.page-program--udyan .donate__lede {
  pointer-events: none;
  max-width: 26rem;
  margin: -0.35rem 0 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.55;
  color: #083722;
}

.skills__topics--orange {
  color: var(--brand-orange);
}

.page-program--udyan .why__figure {
  color: var(--brand-orange);
}

.page-program--udyan .why__figure--teal {
  color: var(--brand-teal);
}

.impact__pair--solo {
  grid-template-columns: 1fr;
  max-width: 28rem;
}

.impact__cohort {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-orange);
}

.impact__cohort--spaced {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid color-mix(in srgb, var(--text-primary) 12%, transparent);
}

.impact__vibrant-num--orange {
  color: var(--brand-orange);
}

.odisi {
  --odisi-pad-x: clamp(1.25rem, 8.6vw, 7.75rem);

  width: 100%;
  background: color-mix(in srgb, var(--brand-orange) 10%, var(--bg-warm));
  padding: clamp(2.5rem, 5vw, 4.5rem) var(--odisi-pad-x)
    clamp(3.5rem, 7vw, 6rem);
}

.odisi__inner {
  width: 100%;
  max-width: 44rem;
  margin-inline: auto;
}

.odisi__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-orange);
}

.odisi__title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.75rem, 2.2vw + 0.8rem, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
}

.odisi__body {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-primary);
}

.odisi__stat {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin: 1.75rem 0 0;
}

.odisi__stat-value {
  font-size: clamp(3rem, 7vw, 4.5rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--brand-orange);
}

.odisi__stat-label {
  max-width: 10rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-primary);
}

.odisi__next {
  margin-top: clamp(2rem, 4vw, 2.75rem);
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid color-mix(in srgb, var(--brand-orange) 35%, transparent);
}

.odisi__next-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
}

.odisi__next-body {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-primary);
}

@media (max-width: 700px) {
  .odisi {
    padding-block: 2rem 3rem;
    padding-inline: 1rem;
  }

  .odisi__title {
    font-size: clamp(1.5rem, 6vw, 1.875rem);
  }

  .odisi__body,
  .odisi__next-body {
    font-size: 0.9375rem;
  }
}

/* —— Mobile-only layout + type (≤640) —— */
@media (max-width: 640px) {
  /* Type: eyebrows 14 semibold / section headings 24 bold / footer headings 14 bold / body 13 */
  .about__eyebrow,
  .partners__eyebrow,
  .work__eyebrow,
  .work__badge,
  .program-masthead__badge,
  .community__eyebrow,
  .odisi__eyebrow,
  .impact__cohort,
  .mentors__eyebrow {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
  }

  .masthead__headline {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
  }

  .about__heading,
  .work__heading,
  .gallery__heading,
  .donate__heading,
  .program-masthead__heading,
  .program-about__heading,
  .why__title,
  .how__title,
  .impact__title,
  .skills__title,
  .community__title,
  .odisi__title,
  .mentors__heading {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
  }

  .site-footer__heading,
  .site-footer__summary {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
  }

  .work__title,
  .impact__story-title,
  .skills__focus-title,
  .odisi__next-title,
  .mentors__name {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
  }

  .masthead__body,
  .about__body,
  .work__lede,
  .work__body,
  .work__stat-label,
  .gallery__lede,
  .donate__lede,
  .program-masthead__body,
  .program-masthead__stat-label,
  .program-about__text,
  .why__lead,
  .why__bridge,
  .why__body,
  .why__figure-text,
  .how__lede,
  .how__step-body p,
  .impact__stat-meta,
  .impact__story-body,
  .impact__note,
  .impact__close,
  .impact__vibrant-text,
  .skills__support,
  .skills__focus-body,
  .skills__topics,
  .community__body,
  .community__pillars,
  .odisi__body,
  .odisi__next-body,
  .mentors__lede,
  .mentors__role,
  .site-footer__lede,
  .site-footer__links a,
  .site-footer__address {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.55;
  }

  .why__lead,
  .how__step-label,
  .skills__topics,
  .community__pillars {
    font-weight: 600;
  }

  /* Section vertical rhythm — 32px between sections */
  .about,
  .partners,
  .donate,
  .gallery,
  .mentors,
  .program-masthead,
  .program-about,
  .why,
  .how,
  .impact,
  .skills,
  .community,
  .odisi {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .work__sticky {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  /* Content 20px inset; images full-bleed (except .work + .partners) */
  .about__inner {
    padding-right: 0;
  }

  .about__copy {
    padding-left: 20px;
    padding-right: 20px;
    max-width: none;
  }

  .about__visual {
    --bleed-left: 0px;
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .donate {
    padding-inline: 0;
  }

  .donate__panel {
    max-width: none;
    border-radius: 0;
    aspect-ratio: 737 / 1024;
    min-height: 0;
  }

  .donate__panel picture {
    display: block;
    width: 100%;
    height: 100%;
  }

  .donate__image {
    border-radius: 0;
    object-position: center top;
  }

  .donate__content {
    padding-inline: 20px;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-block: 2rem;
  }

  .gallery__header-inner {
    padding-inline: 20px;
  }

  .program-masthead,
  .program-about,
  .why,
  .how,
  .impact,
  .skills,
  .community,
  .odisi {
    padding-inline: 20px;
  }

  /* About stats — 20px left inset at rest; edge-to-edge while scrolling */
  .about__stats {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 16px;
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0 0 0.85rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: none;
    scrollbar-width: thin;
  }

  .about__stats::before {
    content: "";
    flex: 0 0 20px;
    width: 20px;
    height: 1px;
    margin-right: -16px; /* cancel gap so inset stays exactly 20px */
    pointer-events: none;
  }

  .about__stats .stat-card {
    flex: 0 0 8.5rem;
    width: 8.5rem;
    max-width: 8.5rem;
    min-height: 0;
    aspect-ratio: auto;
    margin: 0;
  }

  .about__stats .stat-card__panel {
    padding: 0.75rem 0.65rem;
    min-height: 6.75rem;
    gap: 0.4rem;
  }

  .about__stats .stat-card__value {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.1;
  }

  .about__stats .stat-card__label {
    max-width: none;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
  }

  /* Trusted by — compact desktop-like grid, horizontal scroll */
  .partners {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.75rem;
  }

  .partners__inner {
    display: grid;
    grid-template-columns:
      minmax(5rem, 6.5rem)
      minmax(6rem, 7.5rem)
      minmax(6rem, 7.5rem)
      minmax(7rem, 8.5rem)
      minmax(7rem, 8.5rem);
    grid-template-rows: repeat(3, minmax(4.25rem, 5.25rem));
    grid-template-areas:
      "label iimagine mantra wipro azim"
      "label systems bharat wipro tata"
      "label gyan parivartan wipro tata";
    width: max-content;
    min-width: 42rem;
    max-width: none;
    min-height: 14rem;
    margin-inline: 0;
    border-block: 1px solid var(--partners-line);
  }

  .partners__label {
    justify-content: flex-start;
    align-items: center;
    padding: 0.75rem 0.85rem;
    border-right: 1px solid var(--partners-line);
    border-bottom: none;
  }

  .partners__eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    writing-mode: horizontal-tb;
    text-align: left;
  }

  .partners__cell {
    min-height: 0;
    padding: 0.55rem 0.65rem;
    border-bottom: none;
  }

  .partners__cell--iimagine,
  .partners__cell--mantra,
  .partners__cell--systems,
  .partners__cell--bharat {
    border-right: 1px solid var(--partners-line);
    border-bottom: 1px solid var(--partners-line);
  }

  .partners__cell--wipro {
    border-right: 1px solid var(--partners-line);
  }

  .partners__cell--azim {
    border-bottom: 1px solid var(--partners-line);
    border-right: none;
  }

  .partners__cell--gyan,
  .partners__cell--parivartan {
    border-right: 1px solid var(--partners-line);
  }

  .partners__cell--tata {
    border-right: none;
  }

  .partners__logo {
    max-height: 1.85rem;
  }

  .partners__logo--tall {
    max-height: 3.1rem;
  }

  .partners__logo--wide {
    max-height: 2.1rem;
    width: auto;
    max-width: 9.5rem;
  }

  /* Our work — 20px content pad; tabs edge-to-edge scroll */
  .work {
    --work-pad-x: 20px;
  }

  .work__inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-inline: 20px;
  }

  .work__rail {
    order: 1;
    gap: 1rem;
  }

  .work__progress {
    display: none;
  }

  .work__nav {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.4rem;
    width: calc(100% + 40px);
    max-width: none;
    margin-left: -20px;
    margin-right: -20px;
    padding-inline: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .work__nav::-webkit-scrollbar {
    display: none;
  }

  .work__nav::before {
    content: "";
    flex: 0 0 20px;
    width: 20px;
    height: 1px;
    margin-right: -0.4rem;
    pointer-events: none;
  }

  .work__nav-item {
    flex: 0 0 auto;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: max-content;
    min-width: 0;
    min-height: 2.25rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    border: 1.5px solid color-mix(in srgb, var(--item-accent, var(--work-accent)) 40%, transparent);
    background: color-mix(in srgb, var(--item-accent, var(--work-accent)) 6%, #fff);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    color: var(--item-accent, var(--work-accent));
    opacity: 0.72;
    white-space: nowrap;
  }

  .work__nav-item.is-active {
    border-color: var(--item-accent, var(--work-accent));
    background: var(--item-accent, var(--work-accent));
    color: #fff;
    opacity: 1;
    box-shadow: 0 2px 8px color-mix(in srgb, var(--item-accent, var(--work-accent)) 35%, transparent);
  }

  .work__nav-item:hover {
    opacity: 1;
  }

  .work__nav-arrow {
    display: none;
  }

  .work__nav-label {
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
  }

  .work__stage {
    order: 2;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }

  .work__visual {
    order: 1;
    width: 100%;
    max-width: none;
    margin-inline: 0;
    aspect-ratio: unset;
    max-height: none;
    /* Full 3:4 height minus 40px crop from top */
    height: calc((100vw - 40px) * 4 / 3 - 40px);
    overflow: hidden;
  }

  .work__image {
    inset: auto;
    top: -40px;
    left: 0;
    right: 0;
    bottom: auto;
    width: 100%;
    height: calc(100% + 40px);
    object-position: center top;
  }

  .work__badge {
    display: none;
  }

  .work__detail {
    order: 2;
    align-items: center;
    text-align: center;
    padding-bottom: 1.5rem;
    height: auto;
  }

  .work__center {
    align-items: center;
    justify-content: flex-start;
    text-align: center;
  }

  .work__copy {
    align-items: center;
    text-align: center;
  }

  .work__body {
    margin-inline: auto;
  }

  .work__stats {
    align-items: center;
  }

  .work__stat {
    align-items: center;
    text-align: center;
  }

  .work__cta {
    margin-inline: auto;
    width: auto;
    min-width: 9rem;
  }

  /* Gallery — hide lede, smaller captions, +20% image size */
  .gallery__lede {
    display: none;
  }

  .gallery__collage {
    padding-top: 2.75rem;
  }

  .gallery__track {
    height: clamp(15rem, 69.6vw, 19.2rem);
    gap: 0.55rem;
  }

  .gallery__item--1 {
    width: clamp(9rem, 33.6vw, 13.2rem);
    height: clamp(15rem, 57.6vw, 21.6rem);
  }

  .gallery__item--2 {
    width: clamp(9.6rem, 36vw, 14.4rem);
    height: clamp(9rem, 33.6vw, 12rem);
  }

  .gallery__item--3 {
    width: clamp(8.4rem, 31.2vw, 12rem);
    height: clamp(13.8rem, 52.8vw, 19.2rem);
  }

  .gallery__item--4 {
    width: clamp(9rem, 33.6vw, 13.2rem);
    height: clamp(8.4rem, 31.2vw, 11.4rem);
  }

  .gallery__item--5 {
    width: clamp(7.8rem, 28.8vw, 11.4rem);
    height: clamp(15.6rem, 60vw, 22.2rem);
  }

  .gallery__cap-name {
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
  }

  .gallery__cap-note {
    font-size: 10px;
    font-weight: 400;
    line-height: 1.35;
    max-width: 10rem;
  }

  /* Footer accordion + merged mobile landscape */
  .site-footer {
    --footer-pad-x: 20px;
    position: relative;
    overflow: hidden;
  }

  .site-footer__main {
    position: relative;
    z-index: 1;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 2.5rem;
    background: linear-gradient(
      to bottom,
      var(--bg-warm) 0%,
      var(--bg-warm) 55%,
      color-mix(in srgb, var(--bg-warm) 70%, transparent) 78%,
      color-mix(in srgb, var(--bg-warm) 25%, transparent) 92%,
      transparent 100%
    );
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .site-footer__brand,
  .site-footer__contact,
  .site-footer__accordion {
    grid-column: 1 / -1;
  }

  .site-footer__rule {
    display: none;
  }

  .site-footer__accordion {
    border-top: 1px solid var(--footer-line);
    padding: 0;
    gap: 0;
  }

  .site-footer__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 0.85rem 0;
    list-style: none;
    cursor: pointer;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 700;
    line-height: 16px;
    color: #000;
  }

  .site-footer__summary::-webkit-details-marker {
    display: none;
  }

  .site-footer__summary::after {
    content: "";
    box-sizing: border-box;
    width: 16px;
    height: 16px;
    margin-left: 0.75rem;
    border: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
      center / 16px 16px no-repeat;
    transform: none;
    transition: transform 0.2s ease;
    flex-shrink: 0;
  }

  .site-footer__accordion[open] > .site-footer__summary::after {
    transform: rotate(180deg);
  }

  .site-footer__panel {
    padding: 0 0 1rem;
  }

  .site-footer__visual {
    position: relative;
    z-index: 0;
    margin-top: -8.5rem;
    line-height: 0;
  }

  .site-footer__landscape {
    display: block;
    width: 100%;
    height: auto;
    min-height: 14rem;
    max-height: none;
    object-fit: cover;
    object-position: center bottom;
  }
}

@media (min-width: 641px) {
  .site-footer__summary {
    pointer-events: none;
    list-style: none;
  }

  .site-footer__summary::-webkit-details-marker,
  .site-footer__summary::after {
    display: none;
  }
}

/* —— Donate side drawer —— */

body.donate-drawer-open {
  overflow: hidden;
}

.donate-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  visibility: hidden;
}

.donate-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.donate-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(34 34 34 / 42%);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.donate-drawer.is-open .donate-drawer__backdrop {
  opacity: 1;
}

.donate-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: min(40vw, 32rem);
  min-width: 20rem;
  max-width: 100%;
  height: 100%;
  padding: 1.5rem 1.35rem 2rem;
  background: #fff;
  box-shadow: -12px 0 40px rgb(0 0 0 / 12%);
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.donate-drawer.is-open .donate-drawer__panel {
  transform: translateX(0);
}

.donate-drawer__close {
  position: sticky;
  top: 0;
  align-self: flex-end;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin: -0.25rem -0.25rem 0.75rem 0;
  border: none;
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg-warm) 80%, #fff);
  color: var(--text-primary);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.donate-drawer__close:hover {
  background: color-mix(in srgb, var(--brand-orange) 16%, #fff);
}

.donate-drawer__close:focus-visible {
  outline: 2px solid var(--brand-orange);
  outline-offset: 2px;
}

.donate-drawer__header {
  margin-bottom: 1.25rem;
  text-align: center;
}

.donate-drawer__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.2rem, 1.1vw + 0.85rem, 1.55rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-primary);
  text-wrap: balance;
}

.donate-drawer__lede {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text-secondary);
}

.donate-drawer__cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.donate-drawer__card {
  padding: 1.1rem 1rem 1.15rem;
  border: 1.5px solid color-mix(in srgb, var(--brand-orange) 55%, #fff);
  border-radius: 0.85rem;
  background: #fff;
}

.donate-drawer__card-title {
  margin: 0 0 0.9rem;
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
  color: var(--text-primary);
}

.donate-drawer__details {
  display: grid;
  gap: 0.7rem;
  margin: 0;
}

.donate-drawer__details > div {
  display: grid;
  gap: 0.15rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid color-mix(in srgb, var(--text-primary) 10%, transparent);
}

.donate-drawer__details > div:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.donate-drawer__details dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.donate-drawer__details dd {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
  word-break: break-word;
}

.donate-drawer__details a {
  color: var(--brand-orange);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.donate-drawer__copy {
  display: inline;
  padding: 0;
  border: none;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.donate-drawer__copy:hover,
.donate-drawer__copy.is-copied {
  color: var(--brand-orange);
}

.donate-drawer__qr {
  display: grid;
  place-items: center;
  margin: 0 0 0.85rem;
}

.donate-drawer__qr img {
  width: min(100%, 13.5rem);
  height: auto;
  border: 1px dashed color-mix(in srgb, var(--text-primary) 22%, transparent);
  border-radius: 0.35rem;
  background: #fff;
}

.donate-drawer__details--compact > div {
  padding-bottom: 0.55rem;
}

@media (max-width: 900px) {
  .donate-drawer__panel {
    width: min(92vw, 28rem);
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .donate-drawer__panel {
    width: 100%;
    padding: 1.15rem 1rem 1.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .donate-drawer__backdrop,
  .donate-drawer__panel {
    transition: none;
  }
}

/* —— Legal / disclaimer —— */

.page-legal .site-header {
  position: relative;
  background: var(--bg-warm);
}

.legal {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.25rem, 8.6vw, 7.75rem)
    clamp(3rem, 6vw, 5.5rem);
  background: var(--bg-warm);
}

.legal__inner {
  max-width: 40rem;
}

.legal__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 2.2vw + 0.8rem, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
}

.legal__updated {
  margin: 0 0 clamp(1.75rem, 3vw, 2.5rem);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-secondary);
}

.legal__section + .legal__section {
  margin-top: clamp(1.5rem, 3vw, 2rem);
}

.legal__heading {
  margin: 0 0 0.65rem;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
}

.legal__section p,
.legal__list {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--text-secondary);
}

.legal__section p:last-child,
.legal__list:last-child {
  margin-bottom: 0;
}

.legal__list {
  padding-left: 1.25rem;
}

.legal__list li + li {
  margin-top: 0.55rem;
}

.legal__section a {
  color: var(--brand-orange, #ff5b23);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.legal__section a:hover {
  text-decoration-thickness: 2px;
}

@media (max-width: 640px) {
  .legal {
    padding-top: 32px;
    padding-bottom: 32px;
    padding-inline: 20px;
  }

  .legal__title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
  }

  .legal__heading {
    font-size: 16px;
  }

  .legal__section p,
  .legal__list,
  .legal__updated {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.55;
  }

  .legal__updated {
    font-weight: 600;
  }
}

