/* Self-hosted fonts (Latin subset). The rupee sign falls back to the visitor's system font. */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/poppins-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/poppins-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/poppins-600.woff2') format('woff2');
}

/* Inter ships as one variable font file that covers every weight */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
}

/* Temporary stand-ins shown until the web fonts arrive. Sized to match Poppins and Inter so the text does not
   jump (layout shift) when the real font swaps in. Values come from the font files' own metrics. */
@font-face {
  font-family: 'Poppins Fallback';
  font-weight: 400;
  src: local('Arial'), local('ArialMT');
  size-adjust: 113.45%;
  ascent-override: 92.55%;
  descent-override: 30.85%;
  line-gap-override: 8.81%;
}

@font-face {
  font-family: 'Poppins Fallback';
  font-weight: 500;
  src: local('Arial'), local('ArialMT');
  size-adjust: 114.75%;
  ascent-override: 91.5%;
  descent-override: 30.5%;
  line-gap-override: 8.71%;
}

@font-face {
  font-family: 'Poppins Fallback';
  font-weight: 600 900;
  src: local('Arial Bold'), local('Arial-BoldMT');
  size-adjust: 107.27%;
  ascent-override: 97.88%;
  descent-override: 32.63%;
  line-gap-override: 9.32%;
}

@font-face {
  font-family: 'Inter Fallback';
  font-weight: 100 500;
  src: local('Arial'), local('ArialMT');
  size-adjust: 107.15%;
  ascent-override: 90.41%;
  descent-override: 22.51%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Inter Fallback';
  font-weight: 600 900;
  src: local('Arial Bold'), local('Arial-BoldMT');
  size-adjust: 107.15%;
  ascent-override: 90.41%;
  descent-override: 22.51%;
  line-gap-override: 0%;
}

:root {
  --color-primary: #f47920;
  --color-cream: #fff7ec;
  --color-cream-2: #fff7ee;
  --color-text: #1a1a1a;
  --color-gray: #808080;
  --color-badge-bg: #ffeddb;
  --max-width: 1280px;
  --font-heading: 'Poppins', 'Poppins Fallback', system-ui, sans-serif;
  --font-body: 'Inter', 'Inter Fallback', system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: #fff;
  line-height: 1.5;
}

img {
  max-width: 100%;
  /* width/height attributes on <img> reserve space (no layout jump) while CSS keeps sizing fluid */
  width: auto;
  height: auto;
  display: block;
}

/* 404 page */
.not-found {
  max-width: 560px;
  margin: 0 auto;
  padding: 80px 20px 96px;
  text-align: center;
}

.not-found p.not-found__code {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 96px;
  line-height: 1;
  color: var(--color-primary);
  margin: 0 0 8px;
}

.not-found h1 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 28px;
  margin: 0 0 12px;
}

.not-found p {
  color: var(--color-gray);
  margin: 0 0 28px;
}

.not-found__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Visually hidden but readable by screen readers and search engines (used for page <h1>s) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Keyboard focus ring: shows when navigating with Tab, not on mouse clicks */
:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

a {
  color: inherit;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.icon-sm {
  width: 20px;
  height: 20px;
}

.icon-dot {
  width: 6px;
  height: 6px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  padding: 8px 20px;
  border-radius: 8px;
  white-space: nowrap;
  transition: filter 0.15s ease;
}

.btn:hover,
.btn:active {
  filter: brightness(0.85);
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
}

.btn--square {
  border-radius: 0;
}

/* Drop the browser's default bevelled border on <button class="btn"> */
button.btn:not(.btn--outline) {
  border: none;
  cursor: pointer;
}

.btn--outline {
  border: 1px solid #000;
  color: #000;
  font-weight: 500;
}

/* Top bar */
.topbar {
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 40px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  flex-wrap: wrap;
  gap: 8px;
}

.topbar__left,
.topbar__right {
  display: flex;
  gap: 20px;
  align-items: center;
}

.topbar__right img {
  filter: brightness(0) invert(1);
}

.topbar__center {
  display: flex;
  gap: 12px;
  align-items: center;
  text-align: center;
}

/* Header */
.site-header {
  background: var(--color-cream);
}

.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 40px 16px;
  flex-wrap: wrap;
  gap: 16px;
}

.logo img {
  height: 68px;
}

.main-nav {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  font-size: 14px;
}

.main-nav a {
  text-decoration: none;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.main-nav a.active {
  color: var(--color-primary);
  font-weight: 600;
}

.main-nav__home {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 40px 20px;
  position: relative;
  flex-wrap: wrap;
}

.hero__swirl {
  position: absolute;
  top: -36px;
  left: -156px;
  width: 855px;
  max-width: none;
  opacity: 0.9;
  pointer-events: none;
  z-index: 0;
}

.hero__content {
  max-width: 360px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.hero__highlight {
  font-weight: inherit;
  background: rgba(250, 165, 33, 0.2);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding: 0 2px;
}

.hero__text {
  font-family: var(--font-heading);
  font-size: 20px;
  margin: 0;
}

.hero__media {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 32px;
}

.hero__shape {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--color-badge-bg);
}

.hero__shape--pill {
  width: 272px;
  height: 420px;
  border-radius: 136px;
}

.hero__shape--circle {
  width: 424px;
  height: 424px;
  border-radius: 50%;
}

.hero__shape-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}

.hero__shape-img--front {
  transform: translateY(0);
}

.hero__shape-img--back {
  transform: translateY(100%);
}

.divider {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Stats */
.stats {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 80px;
  padding: 40px 20px;
  flex-wrap: wrap;
  text-align: center;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 150px;
}

.stat__icon {
  height: 100px;
  object-fit: contain;
}

.stat__icon--round {
  width: 100px;
  border-radius: 50%;
  object-fit: cover;
}

.stat__number {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 24px;
  margin: 0;
}

.stat__label {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 16px;
  margin: 4px 0 0;
}

/* Section title */
.section-title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 24px;
  text-align: center;
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin: 0;
}

.section-title__underline {
  width: 150px;
}

.section-intro {
  max-width: 544px;
  margin: 16px auto 0;
  text-align: center;
  color: var(--color-gray);
  font-family: var(--font-heading);
  font-size: 16px;
}

.section-header {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  flex-wrap: wrap;
  gap: 16px;
}

/* Problems */
.problems {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
}

.problems__crescent {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  height: 889px;
}

.problems__heading {
  position: absolute;
  top: 195px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
}

.problems__intro.section-intro {
  position: absolute;
  top: 290px;
  left: 50%;
  transform: translateX(-50%);
  width: 544px;
  max-width: 90%;
  margin: 0;
}

.problems__cta {
  position: absolute;
  top: 443px;
  left: 50%;
  transform: translateX(-50%);
}

.problems__crescent .problem {
  position: absolute;
  width: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.problem__img-wrap {
  position: relative;
  display: block;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.problem__img-wrap:hover,
.problem__img-wrap:active {
  transform: scale(0.94);
}

.problem__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.problem__img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.problem__label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  padding: 12px;
  z-index: 1;
}

.problem__desc {
  font-size: 12px;
  text-align: center;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.problems__cta {
  margin-top: 40px;
}

/* Why We Do It */
.why {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.why__collage-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why__tint {
  position: absolute;
  inset: 0;
  background: rgba(154, 68, 17, 0.6);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.why__card {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 12px;
  max-width: 760px;
  width: calc(100% - 40px);
  padding: 20px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.why__card h2 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 24px;
  margin: 0;
}

.why__card p {
  color: var(--color-gray);
  font-size: 16px;
  margin: 0;
}

.why__underline {
  width: 155px;
}

/* How We Work */
.how {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 20px;
}

.how .section-title {
  display: flex;
  width: 100%;
}

.how__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 32px;
}

.how__item h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  margin: 0 0 12px;
}

.how__item p {
  font-size: 14px;
  margin: 0;
}

.how__icon {
  width: 118px;
  height: 118px;
  object-fit: contain;
  margin: 0 auto 22px;
  display: block;
}

/* Projects & scroller sections */
.projects,
.gallery,
.partners {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 20px;
  position: relative;
}

.projects__scroller,
.gallery__scroller {
  display: flex;
  gap: 40px;
  overflow-x: auto;
  padding: 32px 0 8px;
  scroll-snap-type: x proximity;
}

.project-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
}

.project-card__img {
  width: 320px;
  height: 320px;
  object-fit: cover;
  border-radius: 12px;
}

.project-card__body {
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.project-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.project-card__top h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  margin: 0;
}

.badge {
  background: var(--color-badge-bg);
  border-radius: 50px;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.2px;
  white-space: nowrap;
}

.project-card__meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 12px;
}

.project-card__meta li {
  display: flex;
  gap: 4px;
  align-items: flex-start;
}

.project-card__meta img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Cards that are actually clickable (wrap a link) shrink slightly on hover/click */
.project-card:has(> a) {
  transition: transform 0.15s ease;
}

.project-card:has(> a) a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.project-card:has(> a):hover,
.project-card:has(> a):active {
  transform: scale(0.96);
}

/* Video carousel (peek-style, single centered slide with neighbors peeking) */
.video-carousel {
  position: relative;
  overflow: hidden;
  padding: 32px 90px 8px;
  margin: 0 -90px;
}

/* Below ~1420px the 90px bleed would run past the viewport; keep it within the page padding */
@media (max-width: 1420px) {
  .video-carousel {
    margin: 0 -20px;
    padding: 32px 48px 8px;
  }
}

.video-carousel__track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s ease;
}

.video-slide {
  position: relative;
  flex: 0 0 100%;
}

.video-slide__poster {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}

.video-slide video,
.video-slide iframe {
  width: 100%;
  height: 520px;
  border-radius: 20px;
  display: block;
  background: #000;
  border: none;
}

.video-slide__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.video-slide__play img {
  width: 100%;
  height: 100%;
}

.video-slide h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  margin: 16px 0 0;
}

.scroll-btn--video-carousel {
  right: 44px;
}

/* Gallery */
.gallery__item {
  position: relative;
  flex: 0 0 300px;
  scroll-snap-align: start;
  border-radius: 20px;
  overflow: hidden;
}

.gallery__img {
  width: 300px;
  height: 400px;
  object-fit: cover;
  display: block;
}

.gallery__overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, 0.72);
  color: #fff;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.gallery__item:hover .gallery__overlay,
.gallery__item:focus-within .gallery__overlay,
.gallery__item--active .gallery__overlay {
  opacity: 1;
}

.gallery__overlay p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  font-family: var(--font-heading);
}

/* Scroll buttons */
.scroll-btn {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.scroll-btn img {
  width: 100%;
  height: 100%;
}

.partners .section-header,
.projects__header--centered {
  justify-content: center;
}

/* Partners */
.partners__scroller {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-top: 32px;
  padding: 8px 60px 8px 0;
  overflow-x: auto;
  scroll-snap-type: x proximity;
}

.partners__scroller img {
  height: 140px;
  width: 220px;
  flex: 0 0 220px;
  object-fit: contain;
  scroll-snap-align: start;
}

/* Media */
.media {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 40px;
}

.media__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.media__grid img {
  width: 226px;
  height: 226px;
  object-fit: cover;
}

.media__tile {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.15s ease;
}

.media__tile:hover,
.media__tile:active {
  transform: scale(0.96);
}

.media__tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent 60%);
}

.media__tile span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  z-index: 1;
  text-align: center;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
}

.media__grid .media__tile--art {
  border-radius: 0;
  overflow: visible;
}

.media__tile--art::after {
  display: none;
}

.media__grid .media__tile--art img {
  width: 226px;
  height: 226px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .media__grid .media__tile--art img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .media__grid .media__tile--art {
    width: 45%;
    max-width: 240px;
  }
}

.media__view-all {
  display: table;
  margin: 24px auto 0;
}

/* Contribute */
.contribute {
  background-size: cover;
  background-position: center;
  padding: 40px 20px;
}

.contribute__overlay {
  background: rgba(0, 0, 0, 0.6);
  border-radius: 12px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 32px 40px;
  text-align: center;
}

.contribute__overlay h2 {
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 24px;
}

.contribute__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 27px;
  margin-top: 20px;
}

.contribute__card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.contribute__card h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  margin: 0;
}

.contribute__card p {
  font-size: 14px;
  margin: 0;
  flex: 1;
}

/* Get Involved modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 40px 16px;
}

.modal[hidden] {
  display: none;
}

body.modal-open {
  overflow: hidden;
}

.modal__panel {
  position: relative;
  background: #fff;
  border-radius: 12px;
  max-width: 640px;
  width: 100%;
  padding: 32px;
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: none;
  background: var(--color-badge-bg);
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: filter 0.15s ease;
}

.modal__close:hover,
.modal__close:active {
  filter: brightness(0.85);
}

.get-involved-form h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  margin: 0 0 8px;
}

.get-involved-form__intro {
  color: var(--color-gray);
  margin: 0 0 20px;
  font-size: 14px;
}

.get-involved-form h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  margin: 24px 0 12px;
  padding-top: 16px;
  border-top: 1px solid var(--color-badge-bg);
}

.get-involved-form h3:first-of-type {
  border-top: none;
  padding-top: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.form-grid--checkboxes {
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-family: var(--font-heading);
  font-weight: 500;
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 14px;
  padding: 8px 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
}

.get-involved-form > .form-field {
  margin-bottom: 14px;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 400;
}

.get-involved-form__status {
  margin: 16px 0;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--color-badge-bg);
  font-size: 14px;
}

.get-involved-form__status--success {
  background: #e6f4ea;
  color: #1e7a34;
}

.get-involved-form__status--error {
  background: #fdecea;
  color: #a12a1d;
}

/* Spam-trap field: kept off-screen so only bots fill it in */
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 600px) {
  .form-grid,
  .form-grid--checkboxes {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.site-footer {
  margin-top: 40px;
  background: var(--color-primary);
  color: #fff;
}

.site-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}

.site-footer__brand {
  flex: 1 1 280px;
}

.site-footer__logo {
  height: 40px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.site-footer__brand h3,
.site-footer__nav h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin: 0 0 16px;
  color: #fff;
}

.site-footer__brand p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 320px;
}

.site-footer__brand a {
  color: #fff;
  text-decoration: none;
}

.site-footer__brand a:hover {
  text-decoration: underline;
}

.site-footer__nav {
  flex: 1 1 200px;
}

.site-footer__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer__nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 14px;
}

.site-footer__nav a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding: 20px 40px;
  text-align: center;
}

.site-footer__bottom p {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 640px) {
  .site-footer__inner {
    padding: 40px 20px;
    gap: 32px;
  }

  .site-footer__bottom {
    padding: 16px 20px;
  }
}

/* About page */
.about-hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.about-hero img {
  width: 100%;
  height: 357px;
  object-fit: cover;
  border-radius: 0 0 12px 12px;
}

/* Taller hero (About slideshow, What We Do): 16:9 art on desktop, portrait art on mobile */
.about-hero--tall img {
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.hero-slides {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 12px 12px;
  aspect-ratio: 2 / 1;
  background: var(--color-badge-bg);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-slides .hero-slide img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  border-radius: 0;
}

.hero-slides__controls {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px 10px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 99px;
}

.hero-slides__dot {
  position: relative;
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.hero-slides__dot::before {
  content: '';
  position: absolute;
  inset: 7px;
  border: 2px solid #fff;
  border-radius: 50%;
}

.hero-slides__dot.is-active::before {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.hero-slides__toggle {
  position: relative;
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

/* pause bars; becomes a play triangle when paused */
.hero-slides__toggle::before,
.hero-slides__toggle::after {
  content: '';
  position: absolute;
  top: 6px;
  width: 4px;
  height: 12px;
  background: #fff;
}

.hero-slides__toggle::before {
  left: 6px;
}

.hero-slides__toggle::after {
  right: 6px;
}

.hero-slides__toggle.is-paused::before {
  left: 8px;
  width: 0;
  height: 0;
  background: transparent;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent #fff;
}

.hero-slides__toggle.is-paused::after {
  display: none;
}

.about-split {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 40px;
  display: flex;
  align-items: center;
  gap: 80px;
  flex-wrap: wrap;
}

.about-split--reverse {
  flex-direction: row-reverse;
}

.about-split__text {
  flex: 1 1 320px;
  min-width: 280px;
  position: relative;
}

.about-split__text h2 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 24px;
  margin: 0 0 12px;
}

.about-split__text p {
  margin: 0 0 12px;
}

.about-split__text img.underline {
  width: 140px;
  margin-bottom: 12px;
}

.about-split__media {
  flex: 1 1 400px;
}

.about-split__media img {
  width: 100%;
  height: 408px;
  object-fit: cover;
  border-radius: 12px;
}

/* Mission & Vision */
.mission-vision {
  background: var(--color-badge-bg);
  padding: 80px 40px;
}

.mission-vision__grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.mission-vision__item {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mission-vision__item img.photo {
  width: 100%;
  height: 408px;
  object-fit: cover;
  border-radius: 12px;
}

.mission-vision__item h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 24px;
  margin: 0;
}

.mission-vision__item p {
  margin: 0;
}

/* Awards */
.awards {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 40px;
}

.awards .section-title {
  align-items: flex-start;
  text-align: left;
}

/* Mobile-only scroll buttons (desktop shows these grids without scrolling) */
.scroll-btn--mobile-only {
  display: none;
}

.awards__wrap,
.board-section__wrap {
  position: relative;
}

.awards__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 20px;
}

.award-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 22px;
}

.award-card h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  margin: 0 0 12px;
}

.award-card p {
  font-size: 14px;
  margin: 0;
}

/* Journey */
.journey {
  padding: 40px;
  background: linear-gradient(to bottom, #fff 0%, rgba(250, 165, 33, 0.2) 51%, #fff 100%);
}

.journey__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.journey__year {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
}

.journey__year-badge {
  background: var(--color-primary);
  border: 3px solid #fff;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 28px;
  padding: 12px 20px;
  border-radius: 8px;
  min-width: 200px;
  text-align: center;
}

.journey__year-headline {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 20px;
  margin: 0;
}

.journey__entries {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 40px;
  border-left: 3px solid var(--color-primary);
  margin: 0 0 32px 100px;
}

.journey__entry {
  display: flex;
  gap: 20px;
  align-items: center;
}

.journey__entry img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.journey__entry-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  margin: 0 0 4px;
}

.journey__entry-desc {
  font-size: 14px;
  margin: 0;
}

/* Core Values */
.core-values {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px;
}

.core-values__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px 24px;
  padding: 40px 0;
}

.core-value {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.core-value__icon-wrap {
  background: #fff;
  border-radius: 100px;
  box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.1);
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.core-value__icon-wrap img {
  width: 36px;
  height: 36px;
}

.core-value__icon-wrap img.icon--recolor-grey {
  filter: invert(84%);
}

.core-value h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 17px;
  margin: 0;
}

.core-value p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  color: var(--color-gray);
  margin: 0;
}

/* Board / Team */
.board-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 40px;
}

.board-section__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.board-card {
  background: #fff;
  border: 0.5px solid #c4c4c4;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.board-card__photo {
  position: relative;
  width: 100%;
  height: 307px;
  border-radius: 4px;
  overflow: hidden;
}

.board-card img.headshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.board-card__placeholder {
  position: absolute;
  inset: 0;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 48px;
}

.board-card__placeholder::after {
  content: attr(data-initials);
}

.board-card__bio {
  position: absolute;
  inset: 0;
  background: #eee;
  padding: 16px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-text);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
}

.board-card__photo:hover .board-card__bio,
.board-card__photo:focus-within .board-card__bio,
.board-card__photo.is-open .board-card__bio {
  opacity: 1;
  visibility: visible;
}

.board-card__photo[role="button"] {
  cursor: pointer;
}

.board-card__hint {
  position: absolute;
  left: 8px;
  bottom: 8px;
  z-index: 1;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-text);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.board-card__photo:hover .board-card__hint,
.board-card__photo:focus-within .board-card__hint,
.board-card__photo.is-open .board-card__hint {
  opacity: 0;
}

.board-card__info {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.board-card__info h3,
.board-card__info h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 20px;
  margin: 0 0 4px;
}

.team-project__title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 20px;
  margin: 36px 0 0;
}

.board-card__info p {
  font-family: var(--font-heading);
  font-size: 16px;
  margin: 0;
  color: var(--color-gray);
}

.board-card__info img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.board-card__info a {
  display: inline-flex;
}

/* Join Us — Investments */
.investments {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px;
}

.investments > .section-title {
  display: flex;
  width: 100%;
  margin-bottom: 40px;
}

.funding-block {
  padding: 40px 0;
}

.divider--mobile-only {
  display: none;
}

.funding-block__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  margin-bottom: 40px;
}

.funding-block__header h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 24px;
  margin: 0;
}

.funding-block__header img.underline {
  position: absolute;
  left: 0;
  top: 40px;
  width: 200px;
}

.funding-block__grid {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.funding-block__col {
  flex: 1 1 320px;
  min-width: 280px;
}

.funding-block__col h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 20px;
  margin: 0 0 20px;
}

.funding-block__col p {
  margin: 0;
}

/* Responsive */
/* Below the crescent's native 1280px canvas, fall back to a simple centered stack */
@media (max-width: 1310px) {
  .problems__crescent {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding-top: 8px;
  }

  .problems__heading,
  .problems__intro.section-intro,
  .problems__cta {
    position: static;
    transform: none;
    width: auto;
    max-width: 90%;
  }

  .problems__crescent .problem {
    position: static;
  }

  .problems__crescent {
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
  }

  .problems__heading {
    order: -3;
    flex-basis: 100%;
  }

  .problems__intro.section-intro {
    order: -2;
    flex-basis: 100%;
  }

  .problems__cta {
    order: 99;
    flex: 0 0 auto;
    width: fit-content;
  }

  .problem--incubation {
    order: 1;
    flex-basis: 100%;
  }

  .problem--incubation .problem__desc {
    max-width: 140px;
  }
}

@media (max-width: 900px) {
  .how__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contribute__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .core-values__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .topbar {
    padding: 8px 16px;
    font-size: 12px;
    justify-content: center;
  }

  .topbar__left,
  .topbar__right {
    display: none;
  }

  .site-header__inner {
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    align-items: center;
    padding: 12px 16px;
    position: relative;
  }

  .nav-toggle {
    display: flex;
    grid-column: 1;
    justify-self: start;
  }

  .logo {
    grid-column: 2;
    justify-self: center;
  }

  .logo img {
    height: 44px;
  }

  .main-nav {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    flex-direction: column;
    gap: 0;
    font-size: 18px;
    background: #fff;
    border-bottom: 2px solid var(--color-text);
  }

  .main-nav__home {
    display: block;
  }

  .main-nav a {
    width: 100%;
    padding: 18px 20px;
    box-sizing: border-box;
  }

  .main-nav a:hover,
  .main-nav a:active,
  .main-nav a.active {
    background: var(--color-badge-bg);
    color: var(--color-text);
  }

  .site-header--nav-open .site-header__inner {
    grid-template-columns: 1fr 40px;
  }

  .site-header--nav-open .logo {
    grid-column: 1;
    justify-self: start;
  }

  .site-header--nav-open .nav-toggle {
    grid-column: 2;
    justify-self: end;
  }

  .site-header--nav-open .main-nav {
    display: flex;
  }

  .hero {
    flex-direction: column;
    padding: 40px 16px;
  }

  .hero__content {
    text-align: center;
    align-items: center;
  }

  .hero__media {
    gap: 12px;
  }

  .hero__shape--pill {
    width: 120px;
    height: 220px;
    border-radius: 60px;
  }

  .hero__shape--circle {
    width: 180px;
    height: 180px;
  }

  .hero__swirl {
    top: -15px;
    left: -67px;
    width: 367px;
  }

  .stats {
    gap: 24px;
    justify-content: space-between;
  }

  .stat {
    width: 45%;
  }

  .problems__crescent {
    gap: 24px;
  }

  .problems__crescent .problem {
    width: 140px;
  }

  .problem__img-wrap {
    width: 140px;
    height: 140px;
  }

  .why__card {
    padding: 16px;
  }

  .how__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .how__item {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .section-header {
    flex-direction: column;
    align-items: stretch;
    padding: 0 16px;
  }

  .section-title {
    display: flex;
    margin: 0 auto;
  }

  .projects,
  .gallery,
  .partners,
  .media,
  .problems,
  .how {
    padding: 24px 16px;
  }

  .video-carousel {
    padding: 24px 24px 8px;
    margin: 0 -16px;
  }

  .video-slide__poster,
  .video-slide video,
  .video-slide iframe {
    height: 260px;
  }

  .video-slide__play {
    width: 56px;
    height: 56px;
  }

  .contribute__grid {
    grid-template-columns: 1fr;
  }

  .partners__scroller img {
    height: 90px;
    width: 150px;
    flex: 0 0 150px;
  }

  .media__grid img {
    width: 45%;
    height: 150px;
  }

  .gallery__item {
    flex: 0 0 200px;
  }

  .gallery__img {
    width: 200px;
    height: 267px;
  }

  .about-hero {
    padding: 0 16px;
  }

  .about-hero img {
    height: 200px;
  }

  .about-hero--tall img,
  .hero-slides {
    aspect-ratio: 3 / 4;
    height: auto;
  }

  .hero-slides .hero-slide img {
    height: 100%;
  }

  .about-split,
  .mission-vision,
  .awards,
  .journey,
  .core-values,
  .board-section {
    padding: 24px 16px;
  }

  .about-split,
  .about-split--reverse {
    flex-direction: column;
    text-align: center;
  }

  .about-split__text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .about-split__text h2 {
    order: 0;
    margin: 0 0 4px;
  }

  .about-split__text img.underline {
    order: 1;
    margin-bottom: 16px;
  }

  .about-split__text p {
    order: 2;
  }

  .about-split__media img {
    height: 260px;
  }

  .mission-vision__grid {
    flex-direction: column;
  }

  .mission-vision__item {
    text-align: center;
  }

  .mission-vision__item img.photo {
    height: 260px;
  }

  .mission-vision__item {
    align-items: center;
    gap: 12px;
  }

  .awards .section-title {
    align-items: center;
    text-align: center;
  }

  .scroll-btn--mobile-only {
    display: block;
    z-index: 2;
    right: 8px;
  }

  .awards__grid {
    grid-template-columns: none;
    overflow-x: auto;
    grid-auto-flow: column;
    grid-auto-columns: 82%;
    gap: 16px;
    scroll-snap-type: x mandatory;
  }

  .award-card {
    scroll-snap-align: start;
  }

  .award-card img {
    height: 220px;
  }

  .scroll-btn--awards {
    top: 110px;
  }

  .journey__entries {
    margin-left: 0;
    padding-left: 16px;
  }

  .journey__year {
    flex-direction: column;
    align-items: flex-start;
  }

  .journey__year-badge {
    width: 100%;
  }

  .journey__entry {
    flex-direction: column;
    align-items: flex-start;
  }

  .core-values__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
  }

  .core-value:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 50%;
  }

  .core-value h3 {
    font-size: 15px;
  }

  .core-value p {
    font-size: 12px;
  }

  .board-section__grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 80%;
    overflow-x: auto;
  }

  .scroll-btn--board {
    top: 165px;
  }
}

/* Compliances page */
.compliances__title {
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 24px;
  margin: 40px 0;
}

.compliance-block {
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.compliance-block__heading {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 24px;
  margin: 0;
}

.compliance-block__underline {
  width: 140px;
}

.compliance-block__text {
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: 16px;
  max-width: 760px;
  margin: 0;
}

.compliance-block__download img {
  filter: brightness(0) invert(1);
}

.compliance-registrations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 20px;
  width: 100%;
}

.compliance-registrations__item {
  background: var(--color-badge-bg);
  border: 0.5px solid #c6c6c8;
  border-radius: 8px;
  padding: 16px;
}

.compliance-registrations__item h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
}

.compliance-registrations__item p {
  font-family: var(--font-heading);
  font-size: 13px;
  margin: 0 0 4px;
  color: var(--color-text);
}

@media (max-width: 768px) {
  .compliance-registrations {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.compliance-reports {
  padding: 40px 0;
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

.compliance-reports__intro {
  flex: 1 0 0;
  min-width: 0;
  padding: 0;
}

.compliance-reports__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  width: 688px;
  max-width: 100%;
  align-content: start;
}

.compliance-report-chip {
  background: var(--color-badge-bg);
  border: 0.5px solid #c6c6c8;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--color-text);
}

@media (max-width: 900px) {
  .compliance-reports {
    flex-direction: column;
    gap: 20px;
  }

  .compliance-reports__grid {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .compliance-reports__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .compliance-report-chip {
    font-size: 12px;
    padding: 10px 8px;
  }

  .compliance-block__text {
    font-size: 12px;
  }

  .compliances__title {
    margin: 24px 0 8px;
  }

  .compliance-block,
  .compliance-reports {
    padding: 24px 20px;
  }

  .compliance-block {
    align-items: center;
    gap: 16px;
  }

  .compliance-block__heading {
    align-items: center;
    font-size: 22px;
  }

  .compliance-block__text {
    width: 100%;
    line-height: 1.5;
  }

  .compliance-reports__intro {
    padding: 0;
  }

  .compliance-registrations,
  .compliance-reports__grid {
    gap: 12px;
  }
}

/* Media & Communication / Current Events page */
.media-page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 40px 80px;
}

.media-page__title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 24px;
  text-align: center;
  margin: 0 0 40px;
}

.media-page__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.media-page__search {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0.5px solid #000;
  border-radius: 8px;
  padding: 12px;
  width: 400px;
  max-width: 100%;
}

.media-page__search img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.media-page__search input {
  border: none;
  outline: none;
  font-family: var(--font-heading);
  font-size: 16px;
  width: 100%;
  background: transparent;
}

.media-page__filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-pill {
  font-family: var(--font-heading);
  font-size: 14px;
  border: none;
  border-radius: 50px;
  padding: 8px 20px;
  background: var(--color-badge-bg);
  color: #000;
  cursor: pointer;
}

.filter-pill--active {
  background: var(--color-primary);
  color: #fff;
  font-weight: 500;
}

.media-page__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.media-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.media-card[hidden] {
  display: none;
}

.media-card > a {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.media-card > a:hover,
.media-card > a:active {
  transform: scale(0.98);
}

/* Platform logo on social cards (LinkedIn, Instagram, YouTube) */
.media-card > a {
  position: relative;
}

.media-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

.media-card__badge img {
  width: 20px;
  height: 20px;
}

.media-card__badge--linkedin {
  background: #0a66c2;
}

.media-card__badge--instagram {
  background: linear-gradient(45deg, #f09433, #dc2743 55%, #bc1888);
}

.media-card__badge--youtube {
  background: #e62117;
}

.media-card__img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 12px;
}

.media-page__follow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 0 0 24px;
  padding: 16px 20px;
  background: var(--color-badge-bg);
  border-radius: 12px;
}

.media-page__follow[hidden] {
  display: none;
}

.media-page__follow p {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 600;
}

.media-page__follow ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.media-page__follow a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 99px;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.media-card h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  margin: 0;
}

.media-card p {
  font-family: var(--font-body);
  font-size: 14px;
  margin: 0;
}

@media (max-width: 768px) {
  .media-page {
    padding: 24px 16px 60px;
  }

  .media-page__controls {
    flex-direction: column;
    align-items: stretch;
  }

  .media-page__search {
    width: 100%;
  }

  .media-page__grid {
    grid-template-columns: 1fr;
  }
}

/* What We Do — Domains accordion */
.domains {
  position: relative;
  max-width: var(--max-width);
  margin: 40px auto;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  overflow: hidden;
}

.domains__overlay {
  position: absolute;
  inset: 0;
  background: rgba(250, 165, 33, 0.2);
  pointer-events: none;
}

.domains__list {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 24px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
}

.domain {
  display: flex;
  align-items: stretch;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #fff;
  width: 292px;
  transition: transform 0.15s ease;
}

.domain__label {
  cursor: pointer;
}

.domain:hover,
.domain:active {
  transform: scale(0.97);
}

.domain--orange .domain__label {
  background: var(--color-primary);
}

.domain--peach .domain__label {
  background: #ff8831;
}

.domain__label {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  padding: 24px 16px;
}

.domain__arrow {
  width: 29px;
  flex-shrink: 0;
  background: var(--color-badge-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.domain--active {
  width: 100%;
}

.domain--active .domain__label {
  flex: 0 0 292px;
}

.domain__panel {
  flex: 1 1 auto;
  background: #8e8e8e;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  min-width: 0;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.domain__panel--visible {
  opacity: 1;
  transform: translateX(0);
}

.domain__panel p {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 16px;
}

.domain__panel .btn {
  align-self: flex-start;
}

.domain--active .domain__arrow {
  align-self: stretch;
}

@media (max-width: 768px) {
  .domains {
    min-height: 750px;
    border-radius: 0;
    margin: 0;
  }

  .domain {
    width: 100%;
  }

  .domain--active {
    flex-direction: column;
  }

  .domain--active .domain__label {
    flex: none;
  }

  .domain__label {
    font-size: 12px;
    padding: 16px 8px;
  }
}

/* Join Us page responsive */
@media (max-width: 900px) {
  .funding-block__grid {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .investments {
    padding: 24px 16px;
  }

  .investments > .section-title {
    margin-bottom: 8px;
  }

  .funding-block {
    padding: 16px 0;
  }

  .funding-block__header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
  }

  .funding-block__header h3 {
    font-size: 20px;
  }

  .funding-block__header img.underline {
    top: 34px;
    width: 110px;
  }

  .funding-block__header .btn {
    padding: 10px 18px;
    font-size: 14px;
    border-radius: 8px;
    flex-shrink: 0;
  }

  .funding-block__col p {
    font-size: 13px;
    line-height: 1.5;
  }

  .divider--mobile-only {
    display: block;
    padding: 0;
    margin: 16px 0;
  }
}

/* Domain Specific page */
.domain-title {
  max-width: var(--max-width);
  margin: 40px auto 0;
  padding: 0 20px;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 24px;
  text-align: center;
}

.domain-title__underline {
  display: block;
  width: 150px;
  margin: 4px auto 0;
}

.domain-problem-solution {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  gap: 40px;
  padding: 40px 20px;
  flex-wrap: wrap;
}

.domain-problem-solution__col {
  flex: 1 1 320px;
}

.domain-problem-solution__col h2 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 20px;
  margin: 0 0 20px;
}

.domain-problem-solution__col p {
  margin: 0;
  font-size: 16px;
}

.project-card--plain .project-card__body {
  padding-top: 22px;
}

.project-card--plain h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  margin: 0 0 8px;
}

.project-card--plain p {
  font-size: 14px;
  margin: 0;
}

@media (max-width: 768px) {
  .domain-problem-solution {
    flex-direction: column;
    padding: 24px 16px;
  }

  .domain-title {
    padding: 0 16px;
    font-size: 20px;
  }
}
