/* ============================================================
   Home page — section-specific styles
   ============================================================ */

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: clamp(40px, 6vw, 96px) 0 clamp(56px, 7vw, 120px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: var(--s-8);
  align-items: center;
}
@media (max-width: 1023px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--s-7); }
}

/* ── Hero with background video ─────────────────────────── */
.hero.has-video {
  isolation: isolate;
  min-height: clamp(560px, 78vh, 760px);
  display: flex;
  align-items: center;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(26, 22, 53, 0.72) 0%, rgba(74, 31, 149, 0.55) 50%, rgba(31, 35, 196, 0.7) 100%),
    radial-gradient(ellipse at 85% 100%, rgba(255, 107, 53, 0.18), transparent 60%);
}

.home-page {
  --banner-image-overlay:
    linear-gradient(135deg, rgba(26, 22, 53, 0.72) 0%, rgba(74, 31, 149, 0.55) 50%, rgba(31, 35, 196, 0.7) 100%),
    radial-gradient(ellipse at 85% 100%, rgba(255, 107, 53, 0.18), transparent 60%);
}
.hero.has-video .container-x { width: 100%; }

.hero.has-video .chapter { color: rgba(250, 248, 255, 0.78); }
.hero.has-video .chapter b { color: var(--ochre); }
.hero.has-video h1 { color: var(--paper); }
.hero.has-video h1 em {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: var(--ochre);
}
.hero.has-video .hero-lede { color: rgba(250, 248, 255, 0.92); }
.hero.has-video .hero-lede b { color: var(--paper); }
.hero.has-video .hero-lede em { color: var(--ochre); }
.hero.has-video .hero-meta { color: rgba(250, 248, 255, 0.82); }
.hero.has-video .hero-meta .partners span {
  background: rgba(250, 248, 255, 0.18);
  border-color: rgba(250, 248, 255, 0.4);
  color: var(--paper);
}
.hero.has-video .btn-ghost {
  color: var(--paper);
  border-color: rgba(250, 248, 255, 0.55);
}
.hero.has-video .btn-ghost:hover {
  background: rgba(250, 248, 255, 0.14);
  color: var(--paper);
  border-color: var(--paper);
}

@media (max-width: 540px) {
  .hero.has-video { min-height: 520px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}

.hero.hero-has-banners .hero-video {
  display: none;
}

.hero h1 {
  font-size: var(--fs-hero-tight);
  font-weight: var(--fw-regular);
  line-height: 1.02;
  letter-spacing: var(--ls-display);
  margin: var(--s-4) 0 var(--s-5);
}
.hero h1 .line { display: block; }
.hero h1 .line-nowrap { white-space: nowrap; }
.hero h1 em {
  font-style: italic;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero h1 .underline {
  position: relative;
  display: inline-block;
}
.hero h1 .underline::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -8px;
  height: 14px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'><path d='M2 9 Q 50 2 100 7 T 198 6' stroke='%23ff6b35' stroke-width='3' fill='none' stroke-linecap='round'/></svg>") center/100% 100% no-repeat;
}

.hero-lede {
  font-size: var(--fs-lede);
  font-weight: var(--fw-light);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 52ch;
  margin-bottom: var(--s-6);
}

.hero-cta { display: flex; gap: var(--s-3); flex-wrap: wrap; }

.hero-meta {
  margin-top: var(--s-7);
  display: flex;
  align-items: center;
  gap: var(--s-5);
  font-size: var(--fs-xs);
  color: var(--muted);
  letter-spacing: 0.06em;
}
.hero-meta .partners {
  display: flex; gap: 0;
}
.hero-meta .partners span {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--paper-deep);
  border: 2px solid var(--paper);
  display: inline-grid;
  place-items: center;
  font-family: var(--ff-display);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--teal);
  margin-left: -8px;
  box-shadow: var(--shadow-1);
}
.hero-meta .partners span:first-child { margin-left: 0; }

/* — Hero visual (right column collage) — */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1.05;
  max-width: 560px;
  margin-inline: auto;
}
.hero-visual .panel {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-3);
  background: var(--paper-deep);
}
.hero-visual .panel-1 {
  top: 0; left: 0;
  width: 64%; height: 60%;
  background-image: url("https://images.unsplash.com/photo-1588196749597-9ff075ee6b5b?auto=format&fit=crop&w=900&q=80");
  background-size: cover;
  background-position: center;
  border: 6px solid var(--paper);
  transform: rotate(-2.5deg);
}
.hero-visual .panel-2 {
  bottom: 4%; right: 0;
  width: 58%; height: 58%;
  background-image: url("https://images.unsplash.com/photo-1582213782179-e0d53f98f2ca?auto=format&fit=crop&w=900&q=80");
  background-size: cover;
  background-position: center;
  border: 6px solid var(--paper);
  transform: rotate(3deg);
}
.hero-visual .panel-tag {
  position: absolute;
  top: 3%;
  right: 0;
  background: rgba(250, 248, 255, 0.96);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 16px;
  display: grid;
  gap: 4px;
  min-width: 180px;
  box-shadow: var(--shadow-2);
  z-index: 3;
}
.hero-visual .panel-tag .kicker,
.hero-visual .panel-stat .kicker {
  display: block;
  font-family: var(--ff-mono);
  font-size: var(--fs-xxs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
}
.hero-visual .panel-tag strong {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: var(--fs-2xl);
  line-height: 1;
  color: var(--violet);
}
.hero-visual .panel-tag small {
  font-size: var(--fs-xs);
  line-height: 1.4;
  color: var(--ink-soft);
}
.hero-visual .panel-stat {
  position: absolute;
  bottom: 2%;
  left: 0;
  background: var(--ink);
  color: var(--paper);
  border-radius: 16px;
  padding: 12px 16px;
  z-index: 3;
  box-shadow: var(--shadow-3);
  min-width: 190px;
}
.hero-visual .panel-stat .big {
  font-family: var(--ff-display);
  font-size: var(--fs-stat);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-top: 4px;
}
.hero-visual .panel-stat small {
  display: block;
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  letter-spacing: 0.02em;
  text-transform: none;
  opacity: 0.85;
  margin-top: 2px;
}

.hero-banner-swiper--bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: var(--ink);
}
.hero-banner-swiper--bg .swiper-wrapper,
.hero-banner-swiper--bg .swiper-slide {
  height: 100%;
}
.hero-banner-swiper--bg .hero-banner-slide {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
}
.hero-banner-swiper--bg .hero-banner-slide picture,
.hero-banner-swiper--bg .hero-banner-slide img {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-banner-swiper--bg .hero-banner-slide img {
  object-fit: cover;
  object-position: center;
}

.hero-visual--stats-only {
  aspect-ratio: auto;
  min-height: clamp(220px, 32vw, 320px);
}
.hero-visual--stats-only .panel-tag,
.hero-visual--stats-only .panel-stat {
  z-index: 2;
}

.hero-banner-controls {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}
.hero-banner-controls--bg {
  left: 50%;
  right: auto;
  bottom: clamp(20px, 4vw, 36px);
  transform: translateX(-50%);
  width: min(100% - 32px, 420px);
  z-index: 2;
}
.hero-banner-controls .swiper-arrow,
.hero-banner-controls .hero-banner-pagination {
  pointer-events: auto;
}
.hero-banner-controls .swiper-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(250, 248, 255, 0.55);
  background: rgba(26, 22, 53, 0.55);
  color: var(--paper);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.hero-banner-controls .swiper-arrow:hover {
  background: rgba(26, 22, 53, 0.8);
  border-color: var(--paper);
}
.hero-banner-pagination {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.hero-banner-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 !important;
  background: rgba(250, 248, 255, 0.45);
  opacity: 1;
}
.hero-banner-pagination .swiper-pagination-bullet-active {
  background: var(--ochre);
}

@media (prefers-reduced-motion: reduce) {
  .hero-banner-swiper .swiper-wrapper {
    transform: none !important;
  }
}

/* Folk-geometric pattern behind hero */
.hero-deco-1 {
  position: absolute;
  top: -20px; right: -40px;
  width: 220px; height: 220px;
  z-index: 1;
  opacity: 0.5;
}
.hero-deco-2 {
  position: absolute;
  bottom: 0; left: -60px;
  width: 280px; height: 200px;
  z-index: 1;
  opacity: 0.4;
}

/* ── SBC intro section ─────────────────────────────────── */
.intro { padding: var(--s-9) 0; }
.intro-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--s-7);
  align-items: end;
  margin-bottom: var(--s-7);
}
@media (max-width: 900px) {
  .intro-head { grid-template-columns: 1fr; gap: var(--s-4); }
}
.intro-head h2 {
  font-size: var(--fs-3xl);
  line-height: 1.08;
  letter-spacing: var(--ls-heading);
  margin: 0;
}
.intro-head h2 em { color: var(--teal); }
.intro-head h2.hashtag-heading .hashtag-mark { color: var(--teal); }
.intro-head .intro-statement {
  margin: var(--s-3) 0 0;
  font-size: var(--fs-3xl);
  line-height: 1.25;
  font-weight: 600;
  color: var(--ink);
}
.intro-head p {
  margin: 0;
  font-size: var(--fs-lg);
  color: var(--ink-soft);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
}
@media (max-width: 1023px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .pillars { grid-template-columns: 1fr; } }

.pillar {
  background: var(--paper-soft);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: var(--s-5);
  position: relative;
  overflow: hidden;
}
.pillar-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--paper-deep);
  display: grid;
  place-items: center;
  margin-bottom: var(--s-4);
  color: var(--terracotta);
}
.pillar h4 {
  font-size: var(--fs-lg);
  margin: 0 0 var(--s-2);
  font-weight: 500;
}
.pillar p { font-size: var(--fs-sm); color: var(--ink-soft); margin: 0; }
.pillar .ch-num {
  position: absolute;
  top: var(--s-4); right: var(--s-4);
  font-family: var(--ff-mono);
  font-size: var(--fs-xxs);
  letter-spacing: var(--ls-caps);
  color: var(--muted);
}

.programs-section {
  padding: var(--s-9) 0;
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 107, 53, 0.08), transparent 28%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-soft) 100%);
}
.programs-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: var(--s-7);
  align-items: end;
  margin-bottom: var(--s-7);
}
.programs-head h2 {
  font-size: var(--fs-3xl);
  line-height: 1.05;
  margin: var(--s-3) 0 0;
  max-width: 14ch;
}
.programs-head h2 em {
  color: var(--terracotta);
  font-style: italic;
}
.programs-head p {
  color: var(--ink-soft);
  font-size: var(--fs-lg);
  margin: 0;
}
.programs-grid {
  display: none;
}

.programs-head--center-slider {
  margin-bottom: var(--s-4);
}

.programs-head--center-slider h2 {
  max-width: 18ch;
}

.programs-center-controls {
  display: flex;
  gap: 0.5rem;
}

.programs-center-nav-btn {
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 50%;
  background: rgba(93, 44, 181, 0.14);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background var(--dur-2), color var(--dur-2);
}

.programs-center-nav-btn:hover {
  background: var(--terracotta);
  color: var(--paper);
}

.programs-center-nav-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.programs-center-lede {
  color: var(--ink-soft);
  font-size: var(--fs-md);
  margin: 0 0 var(--s-5);
  max-width: 62ch;
}

.programs-center-slider {
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

.programs-center-track {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  justify-content: flex-start;
  width: 100%;
  max-width: 100%;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--s-5);
}

.programs-center-track::-webkit-scrollbar {
  display: none;
}

.programs-center-card {
  position: relative;
  flex: 1 1 0;
  min-width: 4.75rem;
  height: 26rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: flex var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out), min-width var(--dur-3) var(--ease-out);
}

.programs-center-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15,23,42,0.4),
    rgba(15,23,42,0.8)
  );
  z-index: 1;
  pointer-events: none;
}

.programs-center-card[active] {
  flex: 5 1 0;
  min-width: min(22rem, 52%);
  max-width: none;
  transform: translateY(-0.375rem);
  box-shadow: var(--shadow-3);
}

.programs-center-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.74) saturate(84%);
  transition: transform var(--dur-3) var(--ease-out), filter var(--dur-2);
}

.programs-center-card:hover .programs-center-card__bg {
  transform: scale(1.06);
  filter: brightness(0.88) saturate(100%);
}

.programs-center-card__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  padding: 0;
  background: none;
}

.programs-center-card__title {
  color: var(--paper);
  font-size: var(--fs-xl);
  line-height: 1.1;
  margin: 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.programs-center-card__thumb,
.programs-center-card__desc,
.programs-center-card__btn {
  display: none;
}

.programs-center-card[active] .programs-center-card__content {
  justify-content: flex-start;
  align-items: flex-end;
  padding: var(--s-5);
  gap: var(--s-4);
}

.programs-center-card[active] .programs-center-card__title {
  writing-mode: horizontal-tb;
  transform: none;
  font-size: var(--fs-2xl);
  margin-bottom: var(--s-2);
}

.programs-center-card[active] .programs-center-card__thumb,
.programs-center-card[active] .programs-center-card__desc,
.programs-center-card[active] .programs-center-card__btn {
  display: block;
}

.programs-center-card[active] .programs-center-card__thumb {
  width: clamp(7.5rem, 14vw, 10.5rem);
  height: clamp(14rem, 28vw, 17.5rem);
}

.programs-center-card__thumb {
  width: 8.25rem;
  height: 16.75rem;
  border-radius: 0.5rem;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-2);
}

.programs-center-card__copy {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  flex: 1 1 0;
  min-width: 0;
}

.programs-center-card__desc {
  color: rgba(250, 248, 255, 0.92);
  font-size: var(--fs-sm);
  line-height: 1.5;
  max-width: min(48ch, 100%);
  margin: 0;
}

.programs-center-card__btn {
  width: max-content;
  border: 0;
  border-radius: 999px;
  background: var(--terracotta);
  color: var(--paper);
  text-decoration: none;
  padding: 0.55rem 1.1rem;
  font-size: var(--fs-xs);
  font-weight: 700;
}

.programs-center-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  padding: 0 0 var(--s-5);
}

.programs-center-dot {
  width: 0.72rem;
  height: 0.72rem;
  border: 0;
  border-radius: 50%;
  background: rgba(93, 44, 181, 0.28);
  cursor: pointer;
  transition: transform var(--dur-2), background var(--dur-2);
}

.programs-center-dot.active {
  background: var(--terracotta);
  transform: scale(1.2);
}

/* Flip cards — 2 per row; compact height with scroll on back for long copy */
.program-flip-grid {
  --program-card-h: clamp(18rem, 52vw, 22.5rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
  perspective: 75rem;
}

@media (min-width: 640px) {
  .program-flip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    --program-card-h: 22.5rem;
  }
}

.program-flip-card {
  width: 100%;
  max-width: none;
  height: var(--program-card-h);
  margin-inline: 0;
}

@media (min-width: 640px) {
  .program-flip-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc((100% - var(--s-6)) / 2);
    max-width: calc((100% - var(--s-6)) / 2);
    justify-self: center;
  }
}

.program-flip-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform var(--dur-3) var(--ease-out);
  border-radius: var(--radius-lg);
  outline: none;
}

.program-flip-card:hover .program-flip-card__inner,
.program-flip-card:focus-within .program-flip-card__inner {
  transform: rotateY(180deg);
}

.program-flip-card__face {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.program-flip-card__front {
  background: var(--ink);
  box-shadow: var(--shadow-2);
}

.program-flip-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.program-flip-card__photo--placeholder {
  background: var(--brand-grad);
}

.program-flip-card__front-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: var(--s-5);
  background: linear-gradient(180deg, rgba(26, 22, 53, 0.05) 35%, rgba(26, 22, 53, 0.82) 100%);
}

.program-flip-card__title {
  margin: 0;
  font-family: var(--ff-display);
  font-size: var(--fs-heading);
  font-weight: 600;
  line-height: 1.15;
  color: var(--paper);
  text-shadow: 0 0.125rem 0.5rem rgba(26, 22, 53, 0.45);
}

.program-flip-card__back {
  transform: rotateY(180deg);
  display: flex;
  align-items: stretch;
  color: var(--paper);
  box-shadow: var(--shadow-2);
}

.program-flip-card--grad .program-flip-card__back {
  background: var(--brand-grad);
}

.program-flip-card--orange .program-flip-card__back {
  background: var(--ochre);
}

.program-flip-card--black .program-flip-card__back {
  background: var(--ink);
}

.program-flip-card__back-inner {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: var(--s-5);
  width: 100%;
  height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.program-flip-card__back-title {
  margin: 0;
  font-family: var(--ff-display);
  font-size: var(--fs-subheading);
  font-weight: 600;
  line-height: 1.15;
  color: var(--paper);
}

.program-flip-card__description {
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: rgba(250, 248, 255, 0.92);
}

.programs-explore {
  display: flex;
  justify-content: center;
  margin-top: var(--s-7);
}

.programs-explore__btn {
  min-width: 12.5rem;
}

@media (max-width: 900px) {
  .programs-head {
    grid-template-columns: 1fr;
    gap: var(--s-5);
  }

  .programs-head--center-slider {
    gap: var(--s-4);
  }

  .programs-center-slider {
    padding-inline: 0;
  }
}

@media (max-width: 767px) {
  .programs-center-controls {
    width: 100%;
    justify-content: space-between;
  }

  .programs-center-track {
    flex-direction: column;
    gap: 0.8rem;
    scroll-snap-type: y mandatory;
    justify-content: flex-start;
    align-items: stretch;
    padding-bottom: var(--s-4);
  }

  .programs-center-card {
    flex: 0 0 auto;
    width: 100%;
    min-height: 5rem;
    height: auto;
    scroll-snap-align: start;
  }

  .programs-center-card[active] {
    flex: 0 0 auto;
    min-width: 0;
    max-width: none;
    min-height: 18.75rem;
    transform: none;
  }

  .programs-center-card__content {
    justify-content: flex-start;
    padding: var(--s-4);
  }

  .programs-center-card__title {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: var(--fs-lg);
  }

  .programs-center-card__thumb,
  .programs-center-card__desc,
  .programs-center-card__btn {
    display: none;
  }

  .programs-center-card[active] .programs-center-card__content {
    align-items: flex-start;
    padding: var(--s-5);
    gap: var(--s-3);
  }

  .programs-center-card[active] .programs-center-card__title {
    font-size: var(--fs-2xl);
    margin-top: var(--s-7);
    margin-bottom: var(--s-2);
  }

  .programs-center-card[active] .programs-center-card__thumb {
    width: 8rem;
    height: 12rem;
  }

  .programs-center-card[active] .programs-center-card__desc {
    max-width: 100%;
    font-size: var(--fs-sm);
  }

  .programs-center-card[active] .programs-center-card__btn {
    align-self: flex-start;
  }

  .programs-center-dots {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .program-flip-card__inner {
    transition: none;
    transform: none !important;
  }

  .program-flip-card__back {
    position: relative;
    transform: none;
    backface-visibility: visible;
    margin-top: var(--s-3);
    border-radius: var(--radius);
    min-height: auto;
  }

  .program-flip-card {
    height: auto;
    max-width: none;
  }

  .program-flip-card__inner {
    display: flex;
    flex-direction: column;
    height: auto;
  }

  .program-flip-card__front {
    position: relative;
    height: clamp(12rem, 40vw, 16rem);
  }

  .program-flip-card:hover .program-flip-card__inner,
  .program-flip-card:focus-within .program-flip-card__inner {
    transform: none;
  }
}

/* Legacy program-card rules kept for CMS html fallback */
.program-card {
  grid-column: span 3;
  background: var(--paper);
  border: 0.0625rem solid var(--rule);
  border-top: 0.25rem solid var(--terracotta);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  padding: clamp(1.25rem, 2.4vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  transition: transform var(--dur-2) var(--ease-spring), box-shadow var(--dur-2);
}
.program-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: var(--shadow-2);
}
.program-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: var(--s-6);
  align-items: start;
  background: var(--ink);
  color: var(--paper);
  border-color: rgba(250, 248, 255, 0.16);
  border-top-color: var(--ochre);
}
.program-card--teal { border-top-color: var(--teal); }
.program-card--ochre { border-top-color: var(--ochre); }
.program-card--leaf { border-top-color: var(--leaf); }
.program-card-main,
.program-card-copy {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.program-card-copy {
  border-left: 0.0625rem dashed rgba(250, 248, 255, 0.2);
  padding-left: var(--s-6);
}
.program-tag {
  width: max-content;
  max-width: 100%;
  border-radius: 999px;
  background: var(--paper-soft);
  color: var(--terracotta);
  border: 0.0625rem solid var(--rule);
  padding: 0.4rem 0.75rem;
  font-size: var(--fs-xxs);
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}
.program-card--featured .program-tag {
  background: rgba(250, 248, 255, 0.1);
  border-color: rgba(250, 248, 255, 0.24);
  color: var(--ochre);
}
.program-card h3 {
  font-family: var(--ff-display);
  font-size: var(--fs-xl);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}
.program-card--featured h3 { color: var(--paper); }
.program-card p {
  color: var(--ink-soft);
  font-size: var(--fs-sm);
  line-height: 1.68;
  margin: 0;
}
.program-card--featured p { color: rgba(250, 248, 255, 0.82); }

@media (max-width: 900px) {
  .programs-head,
  .program-card--featured {
    grid-template-columns: 1fr;
    gap: var(--s-5);
  }
  .programs-grid {
    grid-template-columns: 1fr;
  }
  .program-card {
    grid-column: auto;
  }
  .program-card-copy {
    border-left: 0;
    border-top: 0.0625rem dashed rgba(250, 248, 255, 0.2);
    padding-left: 0;
    padding-top: var(--s-5);
  }
}

/* ── Impact dashboard ───────────────────────────────────── */
.dashboard {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 64px);
  position: relative;
  overflow: hidden;
  margin: var(--s-7) auto;
  isolation: isolate;
}
.dashboard::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(255, 107, 53, 0.18) 0%, transparent 40%),
    radial-gradient(ellipse at 100% 100%, rgba(93, 44, 181, 0.22) 0%, transparent 50%);
  z-index: -1;
}
.dashboard-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--s-7);
  align-items: end;
  margin-bottom: var(--s-7);
}
@media (max-width: 900px) { .dashboard-head { grid-template-columns: 1fr; } }

.dashboard h2 {
  color: var(--paper);
  font-size: var(--fs-3xl);
  margin: 0;
}
.dashboard h2 em { color: var(--ochre); }
.dashboard-head p { color: rgba(250, 248, 255, 0.78); margin: 0; }

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
}
@media (max-width: 900px) { .dashboard-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .dashboard-grid { grid-template-columns: 1fr; } }

.dashboard .stat {
  background: rgba(250, 248, 255, 0.04);
  border: 1px solid rgba(250, 248, 255, 0.12);
  color: var(--paper);
}
.dashboard .stat .stat-label { color: rgba(250, 248, 255, 0.6); }
.dashboard .stat .stat-num { color: var(--paper); }
.dashboard .stat .stat-num .unit { color: var(--ochre); }
.dashboard .stat .stat-foot { color: rgba(250, 248, 255, 0.7); border-color: rgba(250, 248, 255, 0.15); }

.dashboard-footer {
  margin-top: var(--s-7);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--s-7);
  align-items: center;
}
@media (max-width: 900px) { .dashboard-footer { grid-template-columns: 1fr; } }

.coverage-chart {
  background: rgba(250, 248, 255, 0.04);
  border: 1px solid rgba(250, 248, 255, 0.12);
  border-radius: var(--radius);
  padding: var(--s-5);
  display: flex;
  align-items: center;
  gap: var(--s-5);
}
.coverage-chart canvas { max-width: 180px; max-height: 180px; }
.coverage-chart .label { font-family: var(--ff-display); font-size: var(--fs-md); color: var(--paper); }
.coverage-chart .label b {
  display: block;
  font-size: var(--fs-stat);
  font-weight: 500;
  line-height: 1;
  font-feature-settings: "tnum" 1;
}
.coverage-chart .label small {
  font-family: var(--ff-body);
  font-size: var(--fs-xxs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250, 248, 255, 0.55);
}

/* ── Initiatives bento ──────────────────────────────────── */
.home-events-grid .tile,
.home-events-grid .tile[data-aos] {
  opacity: 1;
  transform: none;
}

.home-events-grid .tile::after {
  background: linear-gradient(
    to bottom,
    rgba(15,23,42,0.4),
    rgba(15,23,42,0.8)
  );
}

.home-events-section .champions-head h2 {
  font-size: clamp(1.5rem, 2vw, 1.875rem);
  line-height: 1.12;
}

.home-events-section .champions-head .head-side {
  font-size: clamp(0.875rem, 0.95vw, 1rem);
  line-height: 1.55;
}

.home-events-section .champions-head .chapter {
  font-size: clamp(0.6875rem, 0.75vw, 0.75rem);
}

.home-events-grid .tile h4 {
  font-size: clamp(1.0625rem, 1.25vw, 1.25rem);
  line-height: 1.2;
}

.home-events-grid .tile p {
  font-size: clamp(0.75rem, 0.8vw, 0.8125rem);
  line-height: 1.45;
}

.home-events-grid .tile .tile-tag {
  font-size: clamp(0.625rem, 0.7vw, 0.6875rem);
  padding: 4px 8px;
}

.initiatives-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 220px;
  gap: var(--s-4);
}
@media (max-width: 900px) { .initiatives-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; } }
@media (max-width: 480px) { .initiatives-grid { grid-template-columns: 1fr; } }

.tile {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--paper);
  text-decoration: none;
  transition: transform var(--dur-2) var(--ease-spring), box-shadow var(--dur-2);
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.tile::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: var(--banner-image-overlay);
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); }
.tile h4 {
  color: var(--paper);
  font-size: var(--fs-2xl);
  font-weight: 500;
  margin: 0 0 var(--s-2);
  line-height: 1.1;
  text-shadow: 0 4px 18px rgba(8, 7, 20, 0.7);
}
.tile p {
  font-size: var(--fs-sm);
  color: rgba(250, 248, 255, 0.94);
  margin: 0;
  text-shadow: 0 3px 14px rgba(8, 7, 20, 0.68);
}
.tile .tile-tag {
  position: absolute;
  top: var(--s-4); left: var(--s-4);
  background: rgba(250, 248, 255, 0.96);
  color: var(--ink);
  font-size: var(--fs-xxs);
  font-weight: 700;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  box-shadow: 0 10px 20px rgba(18, 15, 37, 0.18);
}
.tile .arrow-circle {
  position: absolute;
  top: var(--s-4); right: var(--s-4);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(18, 15, 37, 0.28);
  border: 1px solid rgba(250, 248, 255, 0.48);
  display: grid; place-items: center;
  color: var(--paper);
  transition: background var(--dur-2), transform var(--dur-2) var(--ease-spring);
  box-shadow: 0 12px 24px rgba(18, 15, 37, 0.22);
}
.tile:hover .arrow-circle { background: var(--ochre); transform: rotate(-45deg); }

/* Bento sizing */
.tile-1 { grid-column: span 3; grid-row: span 2; background-image: url("https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?auto=format&fit=crop&w=1200&q=80"); }
.tile-2 { grid-column: span 3; background-image: url("https://images.unsplash.com/photo-1574278227304-fc55ad8e6b9d?auto=format&fit=crop&w=1100&q=80"); }
.tile-3 { grid-column: span 2; background-image: url("https://images.unsplash.com/photo-1542810634-71277d95dcbb?auto=format&fit=crop&w=900&q=80"); }
.tile-4 { grid-column: span 1; background-image: url("https://images.unsplash.com/photo-1517673400267-0251440c45dc?auto=format&fit=crop&w=900&q=80"); }
.tile-5 { grid-column: span 3; background-image: url("https://images.unsplash.com/photo-1591311594388-fe3aa9d33ff5?auto=format&fit=crop&w=1100&q=80"); }
@media (max-width: 900px) {
  .tile-1, .tile-2, .tile-3, .tile-4, .tile-5 { grid-column: span 1; grid-row: span 1; }
}

/* ── Champions carousel ─────────────────────────────────── */
.champions-section { padding: var(--s-9) 0; background: var(--paper-soft); position: relative; }
.champions-section::before, .champions-section::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 32px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 32' preserveAspectRatio='none'><path d='M0 32 L0 16 Q15 0 30 16 T60 16 L60 32 Z' fill='%23faf8ff'/></svg>");
  background-size: 60px 32px;
  background-repeat: repeat-x;
  pointer-events: none;
}
.champions-section::before { top: 0; transform: rotate(180deg); }
.champions-section::after  { bottom: 0; }

.champions-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: var(--s-4);
  margin-bottom: var(--s-7);
}
.champions-head h2 { margin: 0; font-size: var(--fs-3xl); line-height: 1.08; letter-spacing: var(--ls-heading); max-width: 12ch; }
.champions-head h2 em { color: var(--terracotta); }
.champions-head .head-side { max-width: 380px; color: var(--ink-soft); }

.champions-swiper {
  padding-bottom: var(--s-7);
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
}
.champions-swiper .swiper-slide { height: auto; }

.champions-section .champion-photo {
  aspect-ratio: 16 / 10;
}
.champions-section .champion-body {
  padding: var(--s-4) var(--s-4) var(--s-5);
}
.champions-section .champion-where {
  margin-bottom: var(--s-2);
}
.champions-section .champion-name {
  font-size: var(--fs-body);
  line-height: var(--lh-snug);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.champions-section .champion-name a {
  color: inherit;
  text-decoration: none;
}

.champions-section .champion-name a:hover {
  color: var(--terracotta);
}
.champions-section .champion-blurb {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.45;
}
.champions-section .champion-authored {
  margin-top: var(--s-2);
  font-size: var(--fs-xs);
}

.champions-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-4);
  position: relative;
  z-index: 2;
}
.champions-controls .btn-link {
  position: relative;
  z-index: 1;
}
.champions-controls .nav-arrows { display: flex; gap: var(--s-2); }
.swiper-arrow {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: transparent;
  display: grid; place-items: center;
  cursor: pointer;
  color: var(--ink);
  transition: background var(--dur-1), color var(--dur-1), transform var(--dur-1) var(--ease-spring);
}
.swiper-arrow:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }
.swiper-arrow:disabled { opacity: 0.3; cursor: not-allowed; }
.swiper-pagination-bar {
  flex: 1;
  height: 2px;
  background: var(--paper-deep);
  position: relative;
  border-radius: 999px;
}
.swiper-pagination-bar > span {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  background: var(--brand-grad);
  border-radius: 999px;
  transition: width var(--dur-3) var(--ease-out);
}

/* ── Stories from the field ─────────────────────────────── */
.stories { padding: var(--s-9) 0; }
.stories-head { margin-bottom: var(--s-7); }
.stories-head h2 { font-size: var(--fs-3xl); line-height: 1.08; letter-spacing: var(--ls-heading); max-width: 14ch; margin: 0; }
.stories-head h2 em { color: var(--leaf); }
.stories-list { display: flex; flex-direction: column; gap: var(--s-7); }

/* ── Voices / testimonials ──────────────────────────────── */
.voices {
  padding: var(--s-9) 0;
  background: linear-gradient(180deg, var(--paper-soft) 0%, var(--paper-deep) 100%);
  position: relative;
}
.voices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
@media (max-width: 900px) { .voices-grid { grid-template-columns: 1fr; } }
.voices-head { text-align: center; margin-bottom: var(--s-7); }
.voices-head h2 { font-size: var(--fs-3xl); line-height: 1.08; letter-spacing: var(--ls-heading); margin: 0 auto; max-width: 18ch; }
.voices-head h2 em { color: var(--terracotta); }

/* ── Knowledge hub teaser ───────────────────────────────── */
.hub { padding: var(--s-9) 0; }
.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}
@media (max-width: 900px) { .hub-grid { grid-template-columns: 1fr; } }

.hub-grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1023px) { .hub-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .hub-grid-4 { grid-template-columns: 1fr; } }

.resource {
  background: var(--paper-soft);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: var(--s-5);
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  transition: transform var(--dur-2) var(--ease-spring), box-shadow var(--dur-2);
  position: relative;
}
.resource:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); color: var(--ink); }
.resource-type {
  font-size: var(--fs-xxs);
  font-weight: 700;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--terracotta);
}
.resource h4 { font-size: var(--fs-lg); margin: 0; line-height: 1.2; }
.resource-meta {
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: var(--muted);
  border-top: 1px dashed var(--rule);
  padding-top: var(--s-3);
  margin-top: auto;
}
.resource-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--paper-deep);
  display: grid; place-items: center;
  color: var(--terracotta);
}

.hub-library-cta {
  text-align: center;
  margin-top: var(--s-6);
}

/* ── Get involved CTA ───────────────────────────────────── */
.home-get-involved .home-get-involved-grid,
.home-get-involved .home-get-involved-paths,
.home-get-involved .home-get-involved-grid[data-aos],
.home-get-involved .home-get-involved-paths[data-aos] {
  opacity: 1;
  transform: none;
}

.home-get-involved-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-7);
  align-items: start;
}
@media (max-width: 900px) {
  .home-get-involved-grid { grid-template-columns: 1fr; }
}
.home-get-involved-paths {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-3);
}
@media (max-width: 480px) {
  .home-get-involved-paths { grid-template-columns: 1fr; }
}
.home-get-involved-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  margin-top: var(--s-4);
}
.home-get-involved-btn .arrow {
  transition: transform var(--dur-1);
}
.home-get-involved-btn:hover .arrow {
  transform: translateX(3px);
}

.newsletter-subscribe--compact {
  margin-top: var(--s-6);
}
.newsletter-subscribe--compact .cta-lede {
  font-size: var(--fs-base);
}

/* ── Get involved CTA ───────────────────────────────────── */
.cta {
  position: relative;
  background: var(--brand-grad);
  color: var(--paper);
  padding: clamp(48px, 6vw, 96px) 0;
  overflow: hidden;
  isolation: isolate;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 0% 100%, rgba(255, 107, 53, 0.32) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 0%, rgba(125, 74, 208, 0.35) 0%, transparent 50%);
  z-index: -1;
}
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-7);
  align-items: center;
}
@media (max-width: 900px) { .cta-grid { grid-template-columns: 1fr; } }
.cta h2 {
  color: var(--paper);
  font-size: var(--fs-display);
  margin: 0 0 var(--s-4);
}
.cta h2 em { font-style: italic; color: var(--ochre); }
.cta-lede { color: rgba(250, 248, 255, 0.92); font-size: var(--fs-lg); max-width: 50ch; margin: 0 0 var(--s-5); }

.cta-paths {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-3);
}
@media (max-width: 480px) { .cta-paths { grid-template-columns: 1fr; } }
.cta-path {
  background: rgba(250, 248, 255, 0.08);
  border: 1px solid rgba(250, 248, 255, 0.2);
  padding: var(--s-5);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--paper);
  display: flex; flex-direction: column;
  gap: var(--s-2);
  transition: background var(--dur-1), transform var(--dur-1) var(--ease-spring);
}
.cta-path:hover { background: rgba(250, 248, 255, 0.15); transform: translateY(-2px); color: var(--paper); }
.cta-path b {
  font-family: var(--ff-display);
  font-size: var(--fs-lg);
  font-weight: 500;
  color: var(--paper);
}
.cta-path span {
  font-size: var(--fs-xs);
  color: rgba(250, 248, 255, 0.7);
  letter-spacing: 0.06em;
}
.cta-path .arrow { margin-top: auto; align-self: flex-end; opacity: 0.7; transition: opacity var(--dur-1), transform var(--dur-1); }
.cta-path:hover .arrow { opacity: 1; transform: translateX(3px); }

/* ── Home newsletter (replaces Get in Touch CTA) ───────── */
.home-newsletter .newsletter-section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-7);
  align-items: center;
}
@media (max-width: 900px) {
  .home-newsletter .newsletter-section-grid { grid-template-columns: 1fr; }
}
.home-newsletter .newsletter-chapter {
  color: rgba(250, 248, 255, 0.7);
}
.home-newsletter .newsletter-panel {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.home-newsletter .newsletter--home {
  max-width: 100%;
  width: 100%;
}
.home-newsletter .newsletter--home input {
  font-size: var(--fs-base);
  padding: 12px 16px;
}
.home-newsletter .newsletter--home button {
  font-size: var(--fs-base);
  padding: 12px 22px;
  white-space: nowrap;
}
.home-newsletter .newsletter-note {
  font-size: var(--fs-sm);
  color: rgba(250, 248, 255, 0.72);
  margin: 0;
  max-width: 42ch;
  line-height: 1.5;
}
.home-newsletter .newsletter-alert {
  font-size: var(--fs-sm);
  margin: 0;
  padding: var(--s-3) var(--s-4);
  border-radius: var(--radius);
}
.home-newsletter .newsletter-alert--success {
  background: rgba(250, 248, 255, 0.12);
  border: 1px solid rgba(250, 248, 255, 0.25);
  color: var(--paper);
}
.home-newsletter .newsletter-alert--error {
  background: rgba(255, 107, 53, 0.2);
  border: 1px solid rgba(255, 107, 53, 0.45);
  color: var(--paper);
}

@media (max-width: 1023px) {
  .home-page .container-x {
    padding-inline: clamp(28px, 4vw, 40px);
  }
}

@media (max-width: 767px) {
  .home-page .container-x {
    padding-inline: clamp(20px, 6vw, 28px);
  }
  .champions-head {
    align-items: flex-start;
    gap: var(--s-3);
    margin-bottom: var(--s-5);
  }
  .champions-head .head-side {
    max-width: none;
    margin: 0;
  }
  .initiatives-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(250px, auto);
    gap: var(--s-5);
    margin-top: var(--s-2);
  }
  .hero {
    padding: clamp(32px, 8vw, 48px) 0 clamp(44px, 10vw, 64px);
  }
  .hero.has-video {
    min-height: auto;
  }
  .hero-grid {
    gap: var(--s-6);
    align-items: start;
  }
  .hero h1 {
    font-size: var(--fs-2xl);
    line-height: 1.04;
    margin: var(--s-3) 0 var(--s-4);
  }
  .hero-lede {
    font-size: var(--fs-md);
    margin-bottom: var(--s-5);
  }
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-meta {
    margin-top: var(--s-5);
    flex-direction: column;
    align-items: flex-start;
    gap: var(--s-3);
  }
  .hero-meta .partners span {
    width: 32px;
    height: 32px;
    font-size: var(--fs-xs);
  }
  .hero-visual {
    max-width: 320px;
    width: 100%;
    aspect-ratio: 1 / 1.02;
  }
  .hero-visual .panel-tag {
    top: 4%;
    right: 0;
    min-width: 148px;
    padding: 10px 12px;
  }
  .hero-visual .panel-tag strong {
    font-size: var(--fs-2xl);
  }
  .hero-visual .panel-stat {
    left: 2%;
    bottom: 2%;
    min-width: 160px;
    padding: 10px 12px;
  }
  .hero-visual .panel-stat .big {
    font-size: var(--fs-3xl);
  }
  .hero-deco-1 {
    width: 150px;
    height: 150px;
    top: 40px;
    right: -16px;
  }
  .hero-deco-2 {
    width: 180px;
    height: 130px;
    left: -24px;
    bottom: -8px;
  }
  .dashboard {
    padding: var(--s-5);
    border-radius: var(--radius-lg);
  }
  .coverage-chart {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--s-4);
  }
  .coverage-chart canvas {
    max-width: 140px;
    max-height: 140px;
  }
  .coverage-chart .label b {
    font-size: var(--fs-3xl);
  }
  .tile {
    min-height: 220px;
    padding: var(--s-4);
  }
  .home-events-grid .tile h4 {
    font-size: clamp(1rem, 3.5vw, 1.125rem);
  }
  .home-events-section .champions-head h2 {
    font-size: clamp(1.375rem, 5vw, 1.625rem);
  }
  .tile h4 {
    font-size: var(--fs-xl);
  }
  .champions-head h2,
  .stories-head h2,
  .voices-head h2,
  .intro-head h2,
  .dashboard h2,
  .cta h2 {
    font-size: var(--fs-3xl);
  }
  .champions-head .head-side,
  .intro-head p:not(.intro-statement),
  .cta-lede {
    font-size: var(--fs-md);
  }
  .intro-head .intro-statement {
    font-size: var(--fs-2xl);
  }
  .champions-controls {
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .champions-controls .nav-arrows {
    order: 1;
  }
  .champions-controls .btn-link {
    order: 2;
    width: 100%;
  }
  .swiper-pagination-bar {
    order: 3;
    flex: 0 0 100%;
    width: 100%;
  }
  .hub-grid-4,
  .cta-paths {
    grid-template-columns: 1fr;
  }
  .resource,
  .cta-path {
    padding: var(--s-4);
  }
  .resource-meta {
    gap: var(--s-2);
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 540px) {
  .hero.has-video {
    min-height: auto;
  }
  .initiatives-grid {
    grid-auto-rows: minmax(250px, auto);
    gap: var(--s-5);
  }
  .hero h1 {
    font-size: var(--fs-3xl);
  }
  .hero h1 .line:last-child {
    max-width: 8ch;
  }
  .hero-lede {
    font-size: var(--fs-md);
  }
  .hero-visual {
    max-width: 280px;
  }
  .hero-visual .panel-1,
  .hero-visual .panel-2 {
    border-width: 4px;
  }
  .hero-visual .panel-tag,
  .hero-visual .panel-stat {
    min-width: 0;
    width: calc(100% - 24px);
  }
  .hero-visual .panel-stat {
    left: 12px;
  }
  .hero-meta {
    font-size: var(--fs-xxs);
  }
  .tile .tile-tag {
    font-size: var(--fs-xxs);
    letter-spacing: 0.14em;
  }
  .tile {
    min-height: 250px;
    padding-block: var(--s-6);
  }
  .swiper-arrow {
    width: 46px;
    height: 46px;
  }
}

/* ── Events calendar ─────────────────────────────────────── */
.ev-calendar-wrap {
  margin-top: var(--s-8);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s-6);
  align-items: start;
  background: var(--ink);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}
.ev-cal {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ev-cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--s-5);
}
.ev-cal-month-label {
  font-family: var(--ff-display);
  font-size: var(--fs-xl);
  font-weight: 500;
  color: var(--paper);
  letter-spacing: -0.01em;
}
.ev-cal-nav {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(250, 248, 255, 0.08);
  border: 1px solid rgba(250, 248, 255, 0.15);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--dur-1), border-color var(--dur-1);
  flex-shrink: 0;
}
.ev-cal-nav:hover {
  background: rgba(250, 248, 255, 0.16);
  border-color: rgba(250, 248, 255, 0.3);
}
.ev-cal-days-head {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 0.5rem;
}
.ev-cal-days-head span {
  text-align: center;
  font-size: var(--fs-xxs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250, 248, 255, 0.45);
  padding: 0.25rem 0;
}
.ev-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  min-height: 200px;
}
.ev-cal-loading {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-6);
  color: rgba(250, 248, 255, 0.4);
}
.ev-cal-error {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--s-5);
  color: rgba(250, 248, 255, 0.45);
  font-size: var(--fs-sm);
}
.ev-cal-spin {
  animation: cal-spin 0.9s linear infinite;
}
@keyframes cal-spin {
  to { transform: rotate(360deg); }
}
.ev-cal-cell {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-radius: 8px;
  cursor: default;
  transition: background var(--dur-1);
  position: relative;
}
.ev-cal-cell--out {
  visibility: hidden;
}
.ev-cal-cell[data-date] {
  cursor: pointer;
}
.ev-cal-cell[data-date]:hover {
  background: rgba(250, 248, 255, 0.08);
}
.ev-cal-day-num {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: rgba(250, 248, 255, 0.7);
  line-height: 1;
}
.ev-cal-cell--today .ev-cal-day-num {
  color: var(--ochre);
  font-weight: 800;
}
.ev-cal-cell--today {
  background: rgba(255, 107, 53, 0.1);
}
.ev-cal-cell--event .ev-cal-day-num {
  color: var(--paper);
}
.ev-cal-cell--event {
  background: rgba(250, 248, 255, 0.06);
}
.ev-cal-cell--selected {
  background: var(--terracotta) !important;
}
.ev-cal-cell--selected .ev-cal-day-num {
  color: #fff !important;
}
.ev-cal-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ochre);
  flex-shrink: 0;
}
.ev-cal-cell--selected .ev-cal-dot {
  background: rgba(255,255,255,0.7);
}
.ev-cal-legend {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  margin-top: var(--s-4);
  font-size: var(--fs-xxs);
  font-weight: 600;
  letter-spacing: var(--ls-wide);
  color: rgba(250, 248, 255, 0.4);
  text-transform: uppercase;
}
.ev-cal-legend-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ochre);
}
.ev-cal-legend-today {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: rgba(255, 107, 53, 0.3);
  border: 1px solid rgba(255, 107, 53, 0.5);
}
.ev-cal-events-list {
  border-left: 1px dashed rgba(250, 248, 255, 0.12);
  padding-left: var(--s-6);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ev-cal-events-empty {
  color: rgba(250, 248, 255, 0.35);
  font-size: var(--fs-sm);
  font-style: italic;
}
.ev-cal-event-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.ev-cal-event-item {
  display: flex;
}
.ev-cal-event-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: var(--s-3) var(--s-4);
  background: rgba(250, 248, 255, 0.05);
  border: 1px solid rgba(250, 248, 255, 0.1);
  border-radius: var(--radius);
  text-decoration: none;
  width: 100%;
  transition: background var(--dur-1), border-color var(--dur-1);
  position: relative;
}
.ev-cal-event-link:hover {
  background: rgba(250, 248, 255, 0.1);
  border-color: rgba(250, 248, 255, 0.2);
}
.ev-cal-event-link svg {
  position: absolute;
  top: var(--s-3);
  right: var(--s-3);
  color: rgba(250, 248, 255, 0.3);
}
.ev-cal-event-date {
  font-size: var(--fs-xxs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ochre);
}
.ev-cal-event-title {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--paper);
  line-height: 1.35;
  padding-right: var(--s-5);
}

@media (max-width: 900px) {
  .ev-calendar-wrap {
    grid-template-columns: 1fr;
  }
  .ev-cal-events-list {
    border-left: 0;
    border-top: 1px dashed rgba(250, 248, 255, 0.12);
    padding-left: 0;
    padding-top: var(--s-5);
    min-height: auto;
  }
}

/* ── Insights sub-section (inside programs-section) ──────── */
.insights-sub-head {
  margin-top: var(--s-9);
  margin-bottom: var(--s-7);
  border-top: 0.0625rem solid var(--rule);
  padding-top: var(--s-8);
}
.insights-sub-head h2 {
  font-size: var(--fs-heading);
  line-height: 1.05;
  margin: var(--s-3) 0 var(--s-3);
  max-width: 20ch;
}
.insights-sub-head h2 em {
  color: var(--teal);
  font-style: italic;
}
.insights-sub-head p {
  color: var(--ink-soft);
  font-size: var(--fs-lg);
  margin: 0;
  max-width: 60ch;
}
.insights-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-5);
}
.insight-card {
  background: var(--paper);
  border: 0.0625rem solid var(--rule);
  border-top: 0.25rem solid var(--teal);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-2) var(--ease-spring), box-shadow var(--dur-2);
}
.insight-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: var(--shadow-2);
}
.insight-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--paper-soft);
}
.insight-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.insight-card-body {
  padding: clamp(1.25rem, 2.4vw, 1.75rem);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  flex: 1;
}
.insight-card h3 {
  font-family: var(--ff-display);
  font-size: var(--fs-xl);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}
.insight-card p {
  color: var(--ink-soft);
  font-size: var(--fs-sm);
  line-height: 1.68;
  margin: 0;
}
.insight-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--teal);
  text-decoration: none;
  margin-top: auto;
  padding-top: var(--s-2);
}
.insight-link:hover {
  color: var(--terracotta);
}
.insight-link i {
  transition: transform var(--dur-1);
}
.insight-link:hover i {
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .insights-head {
    grid-template-columns: 1fr;
    gap: var(--s-5);
  }
  .insights-grid {
    grid-template-columns: 1fr;
  }
}
