/* ============================================================
   Wellbeing Bangladesh Foundation — Homepage Stylesheet
   Palette: Deep Green · Sky Blue · Warm Gold · White
   ============================================================ */

:root {
  --green-950: #042817;
  --green-900: #06371F;
  --green-800: #085C36;
  --green-700: #0A7B4B;
  --green-600: #10895A;
  --green-500: #1B9E6E;
  --green-100: #DFF0E7;
  --green-50: #EFF7F2;

  --sky-600: #1F8FCB;
  --sky-500: #38A3D8;
  --sky-100: #DDF0FA;

  --gold-600: #C98A1E;
  --gold-500: #E8A93D;
  --gold-400: #F2C15C;
  --gold-100: #FBF0D7;

  --ink: #0E211A;
  --slate: #3E564C;
  --muted: #5C7268;
  --line: #E3EDE7;
  --cream: #F8F5EC;
  --white: #FFFFFF;

  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;

  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(6, 55, 31, .07);
  --shadow-md: 0 14px 34px rgba(6, 55, 31, .12);
  --shadow-lg: 0 26px 60px rgba(6, 55, 31, .18);
  --container: 1180px;
}

/* Skip to content — keyboard accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 9999;
  padding: 10px 20px;
  background: var(--green-700);
  color: #fff;
  font-weight: 700;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  /* overflow-x: hidden on body can break fixed/sticky positioning.
     Applied here conservatively; move to a .site-wrapper if issues arise. */
  overflow-x: clip;
}

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

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

ul {
  list-style: none;
}

address {
  font-style: normal;
}

.container {
  width: min(var(--container), 92%);
  margin-inline: auto;
}

.center {
  display: flex;
  justify-content: center;
}

.btn-row {
  gap: 14px;
  flex-wrap: wrap;
}

.section {
  padding: clamp(72px, 9vw, 116px) 0;
  position: relative;
}

::selection {
  background: var(--gold-400);
  color: var(--green-900);
}

/* ---------------- Typography helpers ---------------- */

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 8px 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff, #f0f8f3);
  border: 1px solid rgba(10, 123, 75, .22);
  box-shadow: 0 2px 8px rgba(10, 84, 52, .07), inset 0 1px 0 rgba(255, 255, 255, .9);
  color: var(--green-700);
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  margin: 0 0 18px;
}

.section-eyebrow.light {
  background: rgba(255, 255, 255, .09);
  border-color: rgba(255, 255, 255, .3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
  color: #C4E9D4;
}

.section-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.7vw, 2.2rem);
  line-height: 1.24;
  letter-spacing: -.01em;
  color: var(--green-900);
}

.section-sub {
  margin-top: 16px;
  color: var(--muted);
  max-width: 780px;
  font-size: 1.02rem;
}

.framework .section-sub {
  max-width: none;
}

.section-sub.light {
  color: #C9E4D6;
  margin-inline: auto;
}

.section-head {
  max-width: 860px;
  margin-bottom: clamp(36px, 5vw, 58px);
}

.section-head.light {
  text-align: center;
  margin-inline: auto;
}

.section-head:not(.light) {
  text-align: left;
}

.section-head.centered {
  text-align: center;
  margin-inline: auto;
}

/* ---------------- Buttons (rounded premium) ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .98rem;
  padding: 15px 32px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease,
    background-color .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
}

.btn-lg {
  padding: 16px 34px;
}

.hero-ctas .btn-lg {
  padding: 11px 22px;
  font-size: .88rem;
}

.btn-sm {
  padding: 10px 20px;
  font-size: .85rem;
}

.nav-cta.btn-sm {
  padding: 10px 20px;
  font-size: .85rem;
}

.site-header .mobile-nav-cta {
  display: none;
}

.btn-green {
  background: linear-gradient(135deg, var(--green-600), var(--green-700));
  color: #fff;
  box-shadow: 0 10px 24px rgba(10, 123, 75, .32);
}

.btn-green:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(10, 123, 75, .4);
}

.btn-gold,
.btn-gold:visited {
  background: var(--gold-500);
  color: var(--green-950);
  box-shadow: none;
}

.btn-gold:hover {
  background: var(--gold-400);
  color: var(--green-950);
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(232, 169, 61, .35);
}

.btn-gold:focus,
.btn-gold:focus-visible,
.btn-gold:active {
  color: var(--green-950);
  outline: 2px solid var(--green-800);
  outline-offset: 2px;
}

.btn-outline {
  border-color: var(--green-600);
  color: var(--green-700);
  background: rgba(253, 253, 253, 0.685);
}

.btn-outline:hover {
  background: var(--green-700);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-ghost-light {
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
  background: rgba(255, 255, 255, .06);
}

.btn-ghost-light:hover {
  background: #fff;
  color: var(--green-800);
  transform: translateY(-3px);
}

/* ---------------- Header / Nav — floating liquid-glass pill ---------------- */

.site-header {
  position: fixed;
  top: 12px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 0 24px;
  pointer-events: none;
}

body.admin-bar .site-header {
  top: 44px;
  /* 12px + 32px admin bar */
}

.nav-pill {
  pointer-events: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1100px, 100%);
  height: 66px;
  padding: 0 8px 0 7px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid transparent;
  box-shadow: none;
  backdrop-filter: blur(0px) saturate(100%);
  -webkit-backdrop-filter: blur(0px) saturate(100%);
  transition:
    background-color .5s ease,
    border-color .5s ease,
    box-shadow .5s ease,
    backdrop-filter .5s ease,
    -webkit-backdrop-filter .5s ease;
}

.site-header.scrolled .nav-pill {
  background:
    linear-gradient(115deg, rgb(255, 255, 255) 0%, rgb(255, 255, 255) 45%, rgb(255, 255, 255) 100%);
  border-color: rgba(255, 255, 255, .55);
  box-shadow:
    0 22px 55px rgba(6, 55, 31, .28),
    inset 0 1px 1px rgba(255, 255, 255, .95),
    inset 0 -1px 2px rgba(6, 55, 31, .06);
  /* backdrop-filter: blur(24px) saturate(190%) brightness(1.04);
  -webkit-backdrop-filter: blur(24px) saturate(190%) brightness(1.04); */
}

/* ---------- Dark-hero pages: white nav while pill is transparent at top ---------- */
/* (top-level links only — never dropdown links, which sit on white panels) */
.dark-hero .site-header:not(.scrolled) .main-nav>a,
.dark-hero .site-header:not(.scrolled) .nav-more>button {
  color: rgba(255, 255, 255, .95);
}

.dark-hero .site-header:not(.scrolled) .main-nav>a:hover,
.dark-hero .site-header:not(.scrolled) .nav-more>button:hover {
  background: rgba(255, 255, 255, .16);
  color: #fff;
}

.dark-hero .site-header:not(.scrolled) .nav-toggle span {
  background: #fff;
}

.dark-hero .site-header:not(.scrolled) .brand img {
  filter: brightness(0) invert(1);
  background: transparent;
  box-shadow: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  justify-self: start;
  padding-left: 4px;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: block;
  background: #fff;
  box-shadow: 0 2px 8px rgba(6, 55, 31, .16);
  transition: transform .3s ease;
}

.brand img.brand-logo-wide {
  width: auto;
  height: 44px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  object-fit: contain;
}

.brand:hover img {
  transform: scale(1.06) rotate(-4deg);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  justify-self: center;
}

.main-nav a,
.nav-more>button {
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--green-900);
  white-space: nowrap;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background-color .25s ease, color .25s ease;
}

.main-nav a:hover,
.nav-more>button:hover {
  background: rgba(10, 123, 75, .12);
  color: var(--green-700);
}

.nav-more {
  position: relative;
}

.nav-more svg {
  width: 10px;
  height: 7px;
  transition: transform .25s ease;
}

.nav-more.open svg {
  transform: rotate(180deg);
}

.nav-drop {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translate(-50%, -8px);
  min-width: 240px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(6, 55, 31, .18);
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}

.nav-more.open .nav-drop {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.nav-drop a {
  display: block;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--green-900);
}

.nav-drop a:hover {
  background: var(--green-50);
  color: var(--green-700);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
  padding-right: 4px;
}

.nav-cta {
  border-radius: 999px;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(10, 123, 75, .1);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--green-800);
  transition: transform .3s ease, opacity .3s ease;
}

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

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

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

/* ---------------- HERO ---------------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 130px 0 90px;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg,
.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: -2;
  filter: saturate(1.15) contrast(1.05) brightness(1.10);
}

.hero-bg img {
  animation: heroZoom 12s ease-in-out infinite alternate;
  will-change: transform;
  /* GPU layer promotion */
  backface-visibility: hidden;
  /* Prevents rendering artifacts */
}

@keyframes heroZoom {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.12);
  }
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg,
      rgba(246, 250, 247, .96) 0%,
      rgba(244, 250, 246, .88) 25%,
      rgba(228, 243, 234, .40) 45%,
      rgba(198, 226, 210, .10) 65%,
      rgba(172, 208, 188, 0) 80%),
    linear-gradient(to top, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 20%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--green-700);
  background: rgba(255, 255, 255, .8);
  border: 1px solid var(--line);
  padding: 9px 18px;
  border-radius: 999px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}

.hero-eyebrow .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(232, 169, 61, .22);
}

.hero-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.55rem);
  line-height: 1.18;
  letter-spacing: -.015em;
  color: var(--green-950);
  margin-bottom: 18px;
  text-wrap: balance;
}

.hero-title em {
  font-style: normal;
  color: var(--green-700);
  position: relative;
  white-space: nowrap;
}

.hero-title em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: .04em;
  height: .32em;
  background: linear-gradient(90deg, rgba(242, 193, 92, .55), rgba(242, 193, 92, .12));
  border-radius: 4px;
  z-index: -1;
}

.hero-sub {
  font-size: .97rem;
  color: #000000;
  max-width: 620px;
  margin-bottom: 16px;
}

.hero-hr {
  border: none;
  height: 1px;
  width: 84px;
  background: linear-gradient(90deg, var(--gold-500), rgba(232, 169, 61, 0));
  margin: 0 0 26px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-bottom: 34px;
}

.hero-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  max-width: 640px;
}

.hero-preview li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .85);
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: .87rem;
  font-weight: 600;
  color: var(--green-800);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(6px);
}

.ic {
  width: 20px;
  height: 20px;
  flex: none;
}

.hero-preview .ic {
  width: 17px;
  height: 17px;
  color: var(--green-600);
}

/* Framework highlight panel — removed from hero per client request */

.scroll-prompt {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--green-700);
}

.scroll-prompt svg {
  animation: bob 1.8s ease-in-out infinite;
}

@keyframes bob {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(7px);
  }
}

/* ---------------- WHO WE ARE ---------------- */

.who {
  background: #fff;
  overflow: hidden;
}

.who-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(34px, 5vw, 70px);
  align-items: center;
}

.who-copy p {
  color: var(--slate);
  margin-bottom: 16px;
  font-size: 1.01rem;
}

.who-copy p strong {
  color: var(--green-800);
}

.who-cta {
  margin-top: 12px;
}

.who-visual {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* --- Masonry collage: 4 photos + ripple chart as a tile --- */
.collage {
  display: grid;
  gap: 12px;
  grid-template-columns: 1.05fr 1.35fr;
  grid-auto-rows: 126px;
  grid-template-areas:
    "a d"
    "a d"
    "b c"
    "b c";
}

/* --- Ripple chart tile (bottom-right, dark green, polished) --- */
.collage-item.ripple {
  background:
    radial-gradient(120% 120% at 18% 12%, rgba(35, 110, 75, .55) 0%, rgba(11, 59, 36, 0) 55%),
    radial-gradient(120% 120% at 85% 90%, rgba(232, 169, 61, .10) 0%, rgba(11, 59, 36, 0) 50%),
    linear-gradient(155deg, #123E27 0%, #0B3B24 55%, #082E1C 100%);
  border: 1px solid rgba(159, 212, 183, .22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .08),
    0 14px 34px rgba(6, 55, 31, .35);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.collage-item.ripple svg {
  width: auto;
  height: 100%;
  aspect-ratio: 1;
  max-width: 100%;
  margin: auto;
  display: block;
}

.collage-item.ripple .flow {
  stroke-dasharray: 90 160;
  animation: flowDash 7s linear infinite;
}

.collage-item.ripple .flow-2 {
  animation-delay: -3.5s;
}

@keyframes flowDash {
  to {
    stroke-dashoffset: -250;
  }
}

@media (prefers-reduced-motion: reduce) {
  .collage-item.ripple .flow {
    animation: none;
  }
}

.collage-item {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
  background: var(--green-50);
}

.collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}

.collage-item:hover img {
  transform: scale(1.05);
}

.collage-item.a {
  grid-area: a;
}

.collage-item.b {
  grid-area: b;
}

.collage-item.c {
  grid-area: c;
}

.collage-item.d {
  grid-area: d;
}


.ripple .ring {
  animation: ringPulse 5s ease-in-out infinite;
  transform-origin: 100px 100px;
}

@keyframes ringPulse {

  0%,
  100% {
    opacity: .6;
  }

  50% {
    opacity: 1;
  }
}

/* ---------------- WHY WELLBEING ---------------- */

.why {
  background:
    radial-gradient(680px 420px at 8% 8%, rgba(27, 158, 110, .07), transparent 65%),
    radial-gradient(620px 420px at 95% 30%, rgba(56, 163, 216, .07), transparent 65%),
    radial-gradient(560px 400px at 50% 100%, rgba(232, 169, 61, .08), transparent 65%),
    var(--cream);
}

.why-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(30px, 4vw, 56px);
  margin-bottom: clamp(36px, 5vw, 56px);
}

.why-copy p {
  color: var(--slate);
  margin-bottom: 15px;
}

.belief-card {
  align-self: start;
  position: sticky;
  top: 100px;
  border-radius: var(--radius-lg);
  color: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  isolation: isolate;
}

.belief-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(1px) saturate(115%);
  transform: scale(1.12);
  /* hide blurred edge bleed */
}

.belief-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(360px 240px at 88% 90%, rgba(232, 169, 61, .16), transparent 70%),
    linear-gradient(160deg, rgba(6, 61, 37, .82) 0%, rgba(10, 84, 52, .74) 45%, rgba(4, 44, 26, .88) 100%);
}

.belief-content {
  position: relative;
  padding: 34px 30px;
}

.belief-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 220px;
  height: 220px;
  border: 2px dashed rgba(255, 255, 255, .28);
  border-radius: 50%;
  z-index: 1;
}

.belief-card h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--gold-400);
  text-shadow: 0 1px 12px rgba(0, 0, 0, .35);
}

.belief-chain li {
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .22);
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .4);
}

.belief-chain li:last-child {
  border-bottom: none;
}

.belief-chain strong {
  font-family: var(--font-head);
  font-size: 1.02rem;
}

.belief-chain span {
  font-size: .8rem;
  color: #9BD4B8;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.belief-chain em {
  font-style: normal;
  color: var(--gold-400);
  font-weight: 700;
}

.why-needs {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--sky-500);
  border-radius: var(--radius);
  padding: clamp(24px, 3.4vw, 40px);
  margin-bottom: clamp(36px, 5vw, 56px);
  box-shadow: var(--shadow-sm);
}

.why-needs h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--green-900);
  margin-bottom: 12px;
}

.why-needs p {
  color: var(--slate);
  margin-bottom: 12px;
}

.why-needs p:last-child {
  margin-bottom: 0;
}

.timeline {
  margin-bottom: clamp(36px, 5vw, 56px);
}

.timeline-steps {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 34px);
  box-shadow: var(--shadow-sm);
}

.t-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  flex: 1;
}

.t-num {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.02rem;
  color: var(--green-700);
  background: var(--green-50);
  border: 2px solid var(--green-100);
  transition: transform .3s ease, background-color .3s ease, color .3s ease;
}

.t-step:hover .t-num {
  transform: scale(1.12);
  background: var(--green-700);
  color: #fff;
  border-color: var(--green-700);
}

.t-label {
  font-weight: 700;
  font-size: .86rem;
  color: var(--green-900);
  line-height: 1.35;
}

.t-line {
  flex: .55;
  height: 2.5px;
  margin-top: 22px;
  border-radius: 2px;
  background: repeating-linear-gradient(90deg, var(--green-500) 0 8px, transparent 8px 15px);
}

.highlight-statement {
  text-align: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  line-height: 1.4;
  color: var(--green-900);
  max-width: 860px;
  margin: 0 auto clamp(36px, 5vw, 52px);
  text-wrap: balance;
}

.highlight-statement em {
  font-style: normal;
  color: var(--gold-600);
  background: linear-gradient(transparent 62%, rgba(242, 193, 92, .4) 62%);
  padding: 0 4px;
}

/* ---------------- FRAMEWORK ---------------- */

.framework {
  background:
    radial-gradient(900px 500px at 12% 0%, rgba(27, 158, 110, .25), transparent 60%),
    radial-gradient(800px 520px at 88% 100%, rgba(56, 163, 216, .16), transparent 60%),
    linear-gradient(180deg, var(--green-900), var(--green-950));
  color: #fff;
}

.framework .section-title {
  color: #fff;
}

.framework .sub-highlight {
  background: linear-gradient(180deg, rgba(56, 163, 216, .22), rgba(56, 163, 216, .12));
  border-bottom: 2px solid var(--sky-500);
  color: #A8D8F2;
  padding: 2px 8px 3px;
  border-radius: 8px 8px 0 0;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.framework .section-head {
  margin-bottom: 20px;
}

.fw-intro {
  max-width: none;
  margin: 0 0 clamp(40px, 6vw, 64px);
  text-align: left;
}

.fw-intro p {
  color: #C9E4D6;
  margin-bottom: 14px;
  font-size: 1.02rem;
}

.fw-statement {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.28rem;
  color: #fff;
  padding: 18px 26px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  display: inline-block;
  margin-top: 8px;
  white-space: normal;
}

.wheel-zone {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
  margin-bottom: clamp(40px, 6vw, 60px);
}

.wheel-wrap {
  display: grid;
  place-items: center;
}

.wheel {
  position: relative;
  width: min(520px, 90vw);
  aspect-ratio: 1;
}

.wheel::before {
  content: "";
  position: absolute;
  inset: 6%;
  border: 1.6px dashed rgba(255, 255, 255, .22);
  border-radius: 50%;
  animation: spin 70s linear infinite;
}

.wheel::after {
  content: "";
  position: absolute;
  inset: 20%;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.wheel-core {
  position: absolute;
  inset: 31%;
  z-index: 2;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .16), rgba(255, 255, 255, .04));
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  gap: 8px;
  backdrop-filter: blur(4px);
  box-shadow: 0 0 60px rgba(232, 169, 61, .18), inset 0 0 30px rgba(255, 255, 255, .05);
}

.wheel-core strong {
  font-family: var(--font-head);
  font-size: clamp(.95rem, 1.7vw, 1.22rem);
  line-height: 1.25;
  color: #fff;
}

.wheel-core span {
  font-size: clamp(.58rem, 1vw, .7rem);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-400);
  font-weight: 700;
  line-height: 1.5;
}

.w-node {
  position: absolute;
  width: 58px;
  height: 58px;
  margin: -29px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .09);
  color: #DFF0E7;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 3;
  transition: transform .3s ease, background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.w-node .ic {
  width: 24px;
  height: 24px;
}

.w-node span {
  position: absolute;
  top: calc(100% + 7px);
  left: 50%;
  transform: translateX(-50%);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
  color: rgba(255, 255, 255, .75);
  pointer-events: none;
  transition: color .3s ease;
}

.w-node:hover {
  transform: scale(1.14);
  background: rgba(255, 255, 255, .18);
}

.w-node.active {
  background: linear-gradient(140deg, var(--gold-400), var(--gold-500));
  border-color: #fff;
  color: var(--green-950);
  transform: scale(1.2);
  box-shadow: 0 0 0 7px rgba(232, 169, 61, .22), 0 10px 26px rgba(0, 0, 0, .3);
}

.w-node.active span {
  color: var(--gold-400);
}

.dim-detail {
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3.4vw, 42px);
  backdrop-filter: blur(8px);
  min-height: 320px;
  display: flex;
  flex-direction: column;
}

.dim-eyebrow {
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #8FD8B4;
  margin-bottom: 12px;
}

.dim-detail h3 {
  font-family: var(--font-head);
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  margin-bottom: 12px;
  color: #fff;
  min-height: 1.3em;
}

.dim-detail>p {
  color: #C9E4D6;
  margin-bottom: 18px;
  flex: 1;
}

.dim-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.dim-tags span {
  font-size: .8rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(56, 163, 216, .14);
  border: 1px solid rgba(56, 163, 216, .35);
  color: #BEE3F5;
}

.dim-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.dim-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.6px solid rgba(255, 255, 255, .3);
  background: transparent;
  color: #fff;
  font-size: 1.15rem;
  cursor: pointer;
  transition: background-color .25s ease, transform .25s ease, border-color .25s ease;
}

.dim-btn:hover {
  background: rgba(255, 255, 255, .15);
  border-color: #fff;
  transform: translateY(-2px);
}

#dimCount {
  font-weight: 700;
  color: #9BD4B8;
  font-size: .92rem;
  letter-spacing: .12em;
}

.fw-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: clamp(40px, 6vw, 60px);
}

.fw-badges span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .06em;
  color: var(--gold-400);
  padding: 11px 24px;
  border: 1px solid rgba(232, 169, 61, .45);
  border-radius: 999px;
  background: rgba(232, 169, 61, .08);
}

.fw-badges i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .4);
}

.fw-close {
  max-width: 840px;
  margin: 0 auto clamp(34px, 5vw, 50px);
  text-align: left;
}

.fw-close p {
  color: #C9E4D6;
  margin-bottom: 14px;
  font-size: 1rem;
}

/* ---------------- FOCUS AREAS ---------------- */

.focus-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: clamp(34px, 5vw, 52px);
}

.f-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.f-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-500), var(--sky-500), var(--gold-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}

.f-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-md);
  border-color: rgba(16, 137, 90, .35);
}

.f-card:hover::before {
  transform: scaleX(1);
}

.f-card .ic {
  width: 30px;
  height: 30px;
  color: var(--green-700);
  background: var(--green-50);
  border-radius: 12px;
  padding: 8px;
  width: 48px;
  height: 48px;
  transition: background-color .3s ease, color .3s ease;
}

.f-card:hover .ic {
  background: var(--green-700);
  color: #fff;
}

.f-card h3 {
  font-size: .93rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--green-950);
}

/* ---------------- PROGRAMS ---------------- */

.programs {
  background: var(--cream);
}

.prog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: clamp(34px, 5vw, 52px);
}

.p-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform .35s ease, box-shadow .35s ease;
  display: flex;
  flex-direction: column;
}

.p-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.p-media {
  display: block;
  height: 165px;
  overflow: hidden;
  position: relative;
}

.p-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s ease;
}

.p-card:hover .p-media img {
  transform: scale(1.08);
}

.p-body {
  padding: 20px 22px 24px;
  position: relative;
}

.p-body .ic {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 13px;
  background: linear-gradient(140deg, var(--green-50), var(--sky-100));
  color: var(--green-700);
  margin-top: -43px;
  position: relative;
  border: 2px solid #fff;
  box-shadow: var(--shadow-sm);
  margin-bottom: 12px;
}

.p-body h3 {
  font-family: var(--font-head);
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--green-950);
  margin-bottom: 7px;
}

.p-body p {
  font-size: .9rem;
  color: var(--muted);
}

/* ---------------- IMPACT ---------------- */

.impact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  padding: clamp(80px, 10vw, 130px) 0;
}

.impact-bg,
.impact-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.impact-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(160deg, rgba(4, 40, 23, .93), rgba(6, 55, 31, .88) 55%, rgba(8, 92, 54, .82));
}

.impact .section-title {
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: clamp(36px, 5vw, 54px);
}

.stat {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 38px) 20px;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: transform .3s ease, background-color .3s ease;
}

.stat:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, .1);
}

.stat strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 1.1;
  background: linear-gradient(120deg, #fff, var(--gold-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}

.stat span {
  font-weight: 600;
  color: #C9E4D6;
  font-size: .96rem;
}

/* ---------------- JOIN ---------------- */

.join-lede {
  text-align: center;
  max-width: 640px;
  margin: -18px auto 40px;
  color: var(--slate);
  font-weight: 600;
}

.join-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: clamp(36px, 5vw, 54px);
}

.j-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px 56px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  overflow: hidden;
}

.j-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(16, 137, 90, .4);
}

.j-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-500), var(--sky-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}

.j-card:hover::after {
  transform: scaleX(1);
}

.j-icon {
  width: 56px;
  height: 56px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: linear-gradient(140deg, var(--green-700), var(--green-500));
  color: #fff;
  box-shadow: 0 8px 18px rgba(10, 123, 75, .3);
}

.j-icon .ic {
  width: 26px;
  height: 26px;
}

.j-card h3 {
  font-family: var(--font-head);
  font-size: 1.08rem;
  color: var(--green-950);
  margin-bottom: 8px;
}

.j-card p {
  font-size: .92rem;
  color: var(--muted);
}

.j-arrow {
  position: absolute;
  right: 24px;
  bottom: 20px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green-600);
  transition: transform .3s ease;
}

.j-card:hover .j-arrow {
  transform: translateX(6px);
}

/* ---------------- PARTNERS ---------------- */

.partners {
  background: var(--cream);
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 26px;
}

.pt-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}

.pt-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.pt-card .ic {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 13px;
  background: var(--green-50);
  color: var(--green-700);
  flex: none;
}

.pt-card h3 {
  font-size: .98rem;
  font-weight: 700;
  color: var(--green-950);
  line-height: 1.4;
}

.partner-note {
  text-align: center;
  margin-bottom: 34px;
}

.partner-note::before {
  content: "✦ ";
  color: var(--gold-600);
}

.partner-note {
  font-weight: 700;
  color: var(--green-700);
  letter-spacing: .04em;
}

/* ---------------- NEWS ---------------- */

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: clamp(34px, 5vw, 52px);
}

.n-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}

.n-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-md);
}

.n-media {
  display: block;
  height: 150px;
  overflow: hidden;
}

.n-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.n-card:hover .n-media img {
  transform: scale(1.07);
}

.n-tag {
  margin: 18px 20px 0;
  align-self: flex-start;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-700);
  background: var(--green-50);
  border: 1px solid var(--green-100);
  padding: 6px 13px;
  border-radius: 999px;
}

.n-body {
  padding: 12px 20px 22px;
  font-size: .92rem;
  color: var(--slate);
}

/* ---------------- FINAL CTA / CTA BAND (full-bleed photo banner) ---------------- */

.cta-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(90px, 11vw, 140px) 0;
  text-align: center;
  color: #fff;
}

.cta-band-bg,
.cta-band-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.cta-band-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(160deg, rgba(4, 40, 23, .93), rgba(6, 55, 31, .86) 55%, rgba(8, 92, 54, .8));
}

.cta-band-inner {
  position: relative;
}

.cta-band-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.3vw, 2.45rem);
  line-height: 1.22;
  letter-spacing: -.01em;
  max-width: 860px;
  margin: 14px auto 18px;
  text-wrap: balance;
}

.cta-band-title em {
  font-style: normal;
  color: var(--gold-400);
}

.cta-band-sub {
  max-width: 720px;
  margin: 0 auto 30px;
  color: #D9EBDF;
  line-height: 1.85;
  font-size: clamp(.98rem, 1.4vw, 1.08rem);
}

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.final-cta {
  position: relative;
  overflow: hidden;
  min-height: clamp(540px, 58vw, 680px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(70px, 9vw, 110px) 0;
}

.cta-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(4, 40, 23, 0.459), rgba(4, 40, 23, .54) 45%, rgba(4, 40, 23, .78)),
    radial-gradient(900px 480px at 50% 45%, rgba(8, 92, 54, .22), transparent 70%);
}

.cta-content {
  position: relative;
  z-index: 2;
  width: min(860px, calc(100% - 48px));
  margin-inline: auto;
  color: #fff;
}

.cta-box-title {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  letter-spacing: -.01em;
  margin-bottom: 20px;
  text-wrap: balance;
}

.cta-box-title em {
  font-style: normal;
  color: var(--gold-400);
}

.cta-box-sub {
  max-width: 720px;
  margin: 0 auto;
  color: #D9EBDF;
  font-size: clamp(.98rem, 1.4vw, 1.08rem);
  line-height: 1.8;
}

.cta-box-note {
  display: inline-block;
  margin-top: 22px;
  padding: 13px 24px;
  background: rgba(232, 169, 61, .14);
  border: 1px solid rgba(242, 193, 92, .45);
  border-radius: 999px;
  color: var(--gold-400);
  font-weight: 700;
  font-size: clamp(.92rem, 1.3vw, 1.02rem);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.cta-box-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

@media (max-width: 640px) {
  .cta-photo {
    object-position: 50% 38%;
  }

  .cta-box-note {
    white-space: normal;
    line-height: 1.5;
    padding: 12px 20px;
  }
}

/* ---------------- FOOTER ---------------- */

.footer {
  background: var(--green-950);
  color: #B9D6C7;
  padding: clamp(60px, 8vw, 90px) 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 54px);
  padding-bottom: clamp(40px, 6vw, 64px);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.f-brand .f-logo-img {
  display: block;
  width: 190px;
  height: auto;
  background: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.f-brand .brand.f-brand-logo {
  padding-left: 0;
}

.f-mission {
  margin: 18px 0 20px;
  font-family: var(--font-head);
  font-weight: 600;
  color: #fff;
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 340px;
}

.f-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.f-badges span {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid rgba(232, 169, 61, .4);
  color: var(--gold-400);
}

.f-col h3,
.f-col h4,
.f-col .f-col-title {
  font-family: var(--font-head);
  font-size: .82rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}

.f-col a {
  display: block;
  padding: 6px 0;
  color: #B9D6C7;
  font-size: .95rem;
  transition: color .25s ease, transform .25s ease;
}

.f-col a:hover {
  color: var(--gold-400);
  transform: translateX(4px);
}

.f-contact address {
  margin-bottom: 10px;
}

.f-contact a[href^="mailto"],
.f-contact a[href^="tel"] {
  color: var(--gold-400);
  font-weight: 600;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.socials a {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  color: #fff;
  transition: background-color .25s ease, transform .25s ease, border-color .25s ease;
}

.socials a:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--green-950);
  transform: translateY(-3px);
}

.socials svg {
  width: 19px;
  height: 19px;
}

.footer-quote {
  text-align: center;
  padding: clamp(36px, 5vw, 52px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer-quote p {
  max-width: 760px;
  margin-inline: auto;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: #fff;
  line-height: 1.65;
}

.footer-quote p::before {
  content: "“";
  color: var(--gold-400);
}

.footer-quote p::after {
  content: "”";
  color: var(--gold-400);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 24px 0;
  font-size: .88rem;
}

.f-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.f-links a:hover {
  color: var(--gold-400);
}

/* ---------------- Reveal animations ---------------- */

html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s ease, transform .8s ease;
}

html.js .reveal.in {
  opacity: 1;
  transform: none;
}

.no-js .reveal,
html:not(.js) .reveal {
  opacity: 1 !important;
  transform: none !important;
}

/* Critical Failsafe: Never hide editorial, article, or legal post content */
.entry-content,
.entry-content *,
.legal,
.legal *,
.story-copy,
#page-content,
#legal-content,
article.section {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

.focus-grid .f-card,
.prog-grid .p-card,
.join-grid .j-card,
.news-grid .n-card,
.stats-grid .stat,
.partner-grid .pt-card,
.hero-preview li {
  transition-delay: 0ms;
}

.focus-grid .f-card:nth-child(2),
.prog-grid .p-card:nth-child(2),
.join-grid .j-card:nth-child(2),
.news-grid .n-card:nth-child(2),
.stats-grid .stat:nth-child(2),
.partner-grid .pt-card:nth-child(2) {
  transition-delay: 70ms;
}

.focus-grid .f-card:nth-child(3),
.prog-grid .p-card:nth-child(3),
.join-grid .j-card:nth-child(3),
.news-grid .n-card:nth-child(3),
.stats-grid .stat:nth-child(3),
.partner-grid .pt-card:nth-child(3) {
  transition-delay: 140ms;
}

.focus-grid .f-card:nth-child(4),
.prog-grid .p-card:nth-child(4),
.join-grid .j-card:nth-child(4),
.news-grid .n-card:nth-child(4),
.stats-grid .stat:nth-child(4),
.partner-grid .pt-card:nth-child(4) {
  transition-delay: 210ms;
}

.focus-grid .f-card:nth-child(5),
.prog-grid .p-card:nth-child(5),
.stats-grid .stat:nth-child(5),
.partner-grid .pt-card:nth-child(5) {
  transition-delay: 280ms;
}

.focus-grid .f-card:nth-child(6),
.stats-grid .stat:nth-child(6),
.partner-grid .pt-card:nth-child(6) {
  transition-delay: 350ms;
}

.focus-grid .f-card:nth-child(7) {
  transition-delay: 420ms;
}

.focus-grid .f-card:nth-child(8) {
  transition-delay: 490ms;
}

.focus-grid .f-card:nth-child(9) {
  transition-delay: 560ms;
}

.focus-grid .f-card:nth-child(10) {
  transition-delay: 630ms;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ============================================================
   WordPress Content & Typography Engine (.entry-content, .legal)
   Comprehensive styling for Gutenberg blocks, ChatGPT pasted
   content, standard pages, legal pages, and blog posts.
   ============================================================ */

.entry-content,
.legal {
  max-width: 880px;
  margin-inline: auto;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.85;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Headings */
.entry-content h1,
.legal h1,
.entry-content .wp-block-heading:is(h1) {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  color: var(--green-950);
  line-height: 1.25;
  margin: 40px 0 20px;
  letter-spacing: -0.02em;
}

.entry-content h2,
.legal h2,
.entry-content .wp-block-heading:is(h2) {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  color: var(--green-950);
  line-height: 1.3;
  margin: 46px 0 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 104px;
  letter-spacing: -0.015em;
}

.entry-content h2:first-child,
.legal h2:first-child,
.entry-content>*:first-child:is(h2),
.legal>*:first-child:is(h2) {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.entry-content h3,
.legal h3,
.entry-content .wp-block-heading:is(h3) {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--green-900);
  line-height: 1.35;
  margin: 32px 0 12px;
  scroll-margin-top: 104px;
}

.entry-content h4,
.legal h4,
.entry-content .wp-block-heading:is(h4) {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--green-900);
  margin: 24px 0 10px;
}

.entry-content h5,
.legal h5,
.entry-content h6,
.legal h6 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--green-800);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 20px 0 8px;
}

/* Paragraphs & Text */
.entry-content p,
.legal p,
.entry-content .wp-block-paragraph {
  color: #2e3834;
  line-height: 1.85;
  margin: 0 0 20px;
  font-size: 1.04rem;
}

.entry-content p:last-child,
.legal p:last-child {
  margin-bottom: 0;
}

.entry-content strong,
.legal strong,
.entry-content b,
.legal b {
  color: var(--green-950);
  font-weight: 700;
}

.entry-content em,
.legal em,
.entry-content i,
.legal i {
  font-style: italic;
}

/* Links */
.entry-content a,
.legal a {
  color: var(--green-700);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3.5px;
  text-decoration-thickness: 1.5px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.entry-content a:hover,
.legal a:hover {
  color: var(--gold-600);
  text-decoration-color: var(--gold-500);
}

/* Unordered & Ordered Lists */
.entry-content ul,
.legal ul,
.entry-content .wp-block-list:is(ul) {
  margin: 0 0 22px;
  padding-left: 26px;
  list-style: disc outside !important;
  color: #2e3834;
  line-height: 1.85;
}

.entry-content ol,
.legal ol,
.entry-content .wp-block-list:is(ol) {
  margin: 0 0 22px;
  padding-left: 26px;
  list-style: decimal outside !important;
  color: #2e3834;
  line-height: 1.85;
}

.entry-content li,
.legal li {
  margin-bottom: 8px;
  padding-left: 4px;
}

.entry-content li::marker,
.legal li::marker {
  color: var(--green-600);
  font-weight: 700;
}

.entry-content ul ul,
.legal ul ul,
.entry-content ol ul {
  list-style: circle outside !important;
  margin: 6px 0 12px;
  padding-left: 22px;
}

.entry-content ol ol,
.legal ol ol,
.entry-content ul ol {
  list-style: lower-alpha outside !important;
  margin: 6px 0 12px;
  padding-left: 22px;
}

/* Blockquotes */
.entry-content blockquote,
.legal blockquote,
.entry-content .wp-block-quote {
  margin: 28px 0;
  padding: 18px 24px 18px 26px;
  border-left: 4px solid var(--gold-500);
  background: #f7faf8;
  border-radius: 0 10px 10px 0;
  color: var(--green-950);
  font-style: italic;
  font-size: 1.08rem;
  line-height: 1.8;
}

.entry-content blockquote p,
.legal blockquote p {
  margin-bottom: 10px;
  color: var(--green-950);
}

.entry-content blockquote p:last-child,
.legal blockquote p:last-child {
  margin-bottom: 0;
}

.entry-content blockquote cite,
.legal blockquote cite,
.entry-content .wp-block-quote cite {
  display: block;
  font-style: normal;
  font-size: 0.88rem;
  color: var(--slate);
  margin-top: 10px;
  font-weight: 600;
}

/* Tables (Markdown tables pasted from ChatGPT) */
.entry-content table,
.legal table,
.entry-content .wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  text-align: left;
  font-size: 0.98rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.entry-content .wp-block-table,
.legal .wp-block-table {
  overflow-x: auto;
  margin: 28px 0;
}

.entry-content th,
.legal th {
  background: #edf5f0;
  color: var(--green-950);
  font-weight: 700;
  padding: 13px 18px;
  border-bottom: 2px solid var(--line);
  letter-spacing: 0.01em;
}

.entry-content td,
.legal td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  color: #2e3834;
  vertical-align: top;
}

.entry-content tbody tr:nth-child(even),
.legal tbody tr:nth-child(even) {
  background: #f9fcfb;
}

.entry-content tbody tr:last-child td,
.legal tbody tr:last-child td {
  border-bottom: none;
}

/* Horizontal Rules */
.entry-content hr,
.legal hr,
.entry-content .wp-block-separator,
.legal .wp-block-separator {
  border: none !important;
  height: 1px !important;
  background: linear-gradient(90deg, transparent, var(--line), transparent) !important;
  margin: 40px 0 !important;
  opacity: 1 !important;
}

/* Code & Preformatted */
.entry-content code,
.legal code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.9em;
  background: #edf5f0;
  color: var(--green-900);
  padding: 3px 7px;
  border-radius: 4px;
}

.entry-content pre,
.legal pre,
.entry-content .wp-block-code,
.entry-content .wp-block-preformatted {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  background: #0f2419;
  color: #e2f0e8;
  padding: 20px 24px;
  border-radius: 10px;
  overflow-x: auto;
  margin: 28px 0;
  font-size: 0.92rem;
  line-height: 1.65;
}

.entry-content pre code,
.legal pre code {
  background: transparent;
  color: inherit;
  padding: 0;
  font-size: inherit;
}

/* Gutenberg Buttons */
.entry-content .wp-block-buttons,
.legal .wp-block-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 28px 0;
}

.entry-content .wp-block-button__link,
.legal .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  background: var(--gold-500);
  color: var(--green-950) !important;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.entry-content .wp-block-button__link:hover,
.legal .wp-block-button__link:hover {
  background: var(--gold-600);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .14);
}

/* Gutenberg Images & Figures */
.entry-content figure,
.legal figure,
.entry-content .wp-block-image {
  margin: 32px 0;
}

.entry-content .wp-block-image img,
.legal .wp-block-image img {
  border-radius: 10px;
  height: auto;
  max-width: 100%;
  box-shadow: var(--shadow-sm);
  margin-inline: auto;
}

.entry-content figcaption,
.legal figcaption,
.entry-content .wp-element-caption {
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
  margin-top: 10px;
  font-style: italic;
}

/* Accordions / Details (FAQs) */
.entry-content details,
.legal details {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 14px 0;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.entry-content details[open],
.legal details[open] {
  border-color: var(--green-600);
  box-shadow: 0 2px 8px rgba(10, 84, 52, .06);
}

.entry-content summary,
.legal summary {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--green-950);
  cursor: pointer;
  outline: none;
}

/* ---------------- Responsive ---------------- */

@media (max-width: 1080px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .prog-grid,
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .join-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .main-nav a,
  .nav-more>button {
    padding: 8px 10px;
    font-size: .78rem;
    letter-spacing: .05em;
  }
}

@media (max-width: 960px) {
  .nav-pill {
    grid-template-columns: auto 1fr;
    padding: 0 8px 0 7px;
  }

  .nav-actions {
    justify-self: end;
    grid-column: 2;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-side {
    align-items: flex-start;
  }

  .hero-tagline {
    text-align: left;
  }

  .who-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .collage {
    grid-auto-rows: 150px;
  }

  .belief-card {
    position: relative;
    top: 0;
  }

  .wheel-zone {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .partner-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .main-nav {
    position: fixed;
    top: 86px;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 99;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 22px;
    padding: 20px 18px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, .7);
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    opacity: 0;
    transform: translateY(-14px);
    pointer-events: none;
    transition: opacity .3s ease, transform .3s ease;
  }

  .main-nav.open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .main-nav a,
  .nav-more>button {
    color: var(--slate);
    width: 100%;
    box-sizing: border-box;
    padding: 14px 18px;
    border-radius: 12px;
    text-transform: none;
    letter-spacing: 0;
    font-size: 1.05rem;
  }

  .main-nav a:hover {
    background: var(--green-50);
    color: var(--green-700);
  }

  .main-nav a.mobile-nav-cta {
    display: flex;
    margin-top: 10px;
    background: var(--gold-500);
    color: var(--green-950);
    border-radius: 999px;
    justify-content: center;
    box-shadow: none;
    font-weight: 700;
  }

  .main-nav a.mobile-nav-cta:hover {
    background: var(--gold-400);
    color: var(--green-950);
    transform: translateY(-3px);
  }

  /* dark-hero pages: menu items must stay dark on the white mobile panel */
  .dark-hero .site-header:not(.scrolled) .main-nav>a,
  .dark-hero .site-header:not(.scrolled) .main-nav a,
  .dark-hero .site-header:not(.scrolled) .nav-more>button {
    color: var(--slate);
  }

  .dark-hero .site-header:not(.scrolled) .main-nav a:hover {
    background: var(--green-50);
    color: var(--green-700);
  }

  .nav-drop {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    display: none;
    min-width: 0;
    padding: 0 0 0 16px;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .nav-more.open .nav-drop {
    display: block;
    transform: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .scroll-prompt {
    display: none;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15.5px;
  }

  .focus-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .prog-grid,
  .news-grid,
  .join-grid,
  .partner-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .btn {
    white-space: normal;
  }

  .timeline-steps {
    flex-direction: column;
    gap: 16px;
  }

  .t-line {
    width: 2.5px;
    height: 26px;
    margin: 0 auto;
    background: repeating-linear-gradient(180deg, var(--green-500) 0 8px, transparent 8px 15px);
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }

  .w-node {
    width: 46px;
    height: 46px;
    margin: -23px;
  }

  .w-node .ic {
    width: 19px;
    height: 19px;
  }

  .w-node span {
    font-size: .58rem;
  }

  .collage {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(300px, 44vh);
    grid-template-areas: "a" "b" "d" "c";
  }

  .collage-item img {
    height: 100%;
  }

  .nav-cta {
    display: none;
  }

  .nav-pill {
    grid-template-columns: 1fr 1fr;
  }

  .nav-actions {
    grid-column: 1;
    justify-self: start;
    grid-row: 1;
    padding-right: 0;
  }

  .brand {
    grid-column: 2;
    justify-self: end;
    grid-row: 1;
    padding-left: 0;
    padding-right: 4px;
  }
}