:root {
  color-scheme: light;
  --ink: #07192f;
  --muted: #52657b;
  --blue-950: #06152c;
  --blue-900: #082650;
  --blue-800: #0c3772;
  --blue-700: #1155a6;
  --blue-100: #eaf4ff;
  --blue-050: #f4f9ff;
  --orange: #ff7a1a;
  --orange-soft: #fff1e6;
  --white: #ffffff;
  --page-background: #f3f2ed;
  --line: rgba(7, 25, 47, 0.12);
  --shadow: 0 24px 80px rgba(7, 25, 47, 0.14);
  --max: 1180px;
  --radius: 8px;
  --header: 86px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page-background);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.skip-link:focus {
  top: 14px;
  left: 14px;
  width: auto;
  height: auto;
  z-index: 1000;
  padding: 10px 14px;
  clip: auto;
  background: var(--white);
  border: 1px solid var(--line);
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 16px 24px;
  transition: background 220ms ease, box-shadow 220ms ease, padding 220ms ease;
}

.site-header.is-scrolled {
  padding-block: 10px;
  background: rgba(243, 242, 237, 0.94);
  box-shadow: 0 16px 40px rgba(7, 25, 47, 0.08);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(100%, 1280px);
  min-height: 58px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark,
.mini-mark {
  width: 68px;
  height: 52px;
  flex: 0 0 auto;
  display: inline-block;
  background-image: url("assets/wma-earth.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.brand-copy {
  display: grid;
  gap: 0;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.05;
  text-transform: uppercase;
}

.brand-copy strong {
  color: var(--orange);
  font-size: 1rem;
  letter-spacing: 0.12em;
}

.site-header.is-scrolled .brand-copy,
.site-header.is-scrolled .site-nav,
.site-header.is-scrolled .ghost-link {
  color: var(--ink);
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled .site-nav {
  background: var(--blue-050);
  border-color: var(--line);
}

.site-nav a {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
  transition: background 180ms ease, color 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: var(--white);
  color: var(--blue-800);
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-scrolled .site-nav a.is-active {
  background: var(--blue-800);
  color: var(--white);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.ghost-link {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 800;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-700), var(--blue-900));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-weight: 850;
  box-shadow: 0 16px 36px rgba(12, 55, 114, 0.25);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 46px rgba(12, 55, 114, 0.3);
}

.button-small {
  min-height: 42px;
  padding-inline: 18px;
  font-size: 0.9rem;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow: none;
}

.section-light .button-secondary,
.section-white .button-secondary {
  color: var(--blue-900);
  border-color: var(--line);
  background: var(--white);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  gap: 4px;
  padding: 11px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.nav-toggle-line {
  width: 18px;
  height: 2px;
  display: block;
  background: var(--ink);
}

.section {
  position: relative;
  padding: 112px 24px;
}

.section-shell {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.section-dark {
  background: radial-gradient(circle at 76% 28%, rgba(255, 122, 26, 0.28), transparent 28%),
    linear-gradient(140deg, #061225 0%, #082650 50%, #0c3772 100%);
  color: var(--white);
}

.section-blue {
  background: linear-gradient(135deg, var(--blue-950), var(--blue-800));
  color: var(--white);
}

.section-light {
  background: var(--page-background);
}

.section-white {
  background: var(--page-background);
}

.hero {
  min-height: 88svh;
  display: grid;
  align-items: center;
  padding: calc(var(--header) + 54px) 24px 78px;
  overflow: hidden;
  background: linear-gradient(180deg, #061225, var(--blue-900));
}

.network-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.network-canvas {
  width: 100%;
  height: 100%;
  opacity: 0.7;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  gap: 64px;
  align-items: center;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1,
h2 {
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(3.1rem, 5.8vw, 5.8rem);
  font-weight: 900;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.35rem, 5.8vw, 5.8rem);
  font-weight: 900;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.18rem, 1.4vw, 1.42rem);
  line-height: 1.15;
}

.hero-lede {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.08rem, 1.55vw, 1.38rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.intro-strip {
  overflow: hidden;
  padding: 18px 0;
  color: var(--white);
  background: var(--blue-950);
}

.strip-track {
  display: flex;
  width: max-content;
  gap: 14px;
  animation: marquee 34s linear infinite;
}

.strip-track span {
  padding: 7px 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.86rem;
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 72px;
  align-items: start;
}

.split.reverse {
  grid-template-columns: 1fr 0.86fr;
}

.section-heading {
  max-width: 880px;
}

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

.section-heading p:not(.eyebrow),
.statement {
  color: var(--muted);
  font-size: clamp(1.04rem, 1.4vw, 1.25rem);
}

.section-blue .section-heading p:not(.eyebrow),
.section-blue .statement,
.section-dark .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.75);
}

.statement p:last-child {
  color: var(--ink);
  font-weight: 850;
}

.grid {
  display: grid;
  gap: 18px;
  margin-top: 46px;
}

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

.feature-card,
.governance-card,
.insight-card,
.programme,
.solution {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
}

.feature-card {
  min-height: 244px;
  padding: 28px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-index {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--orange);
  font-weight: 900;
}

.feature-card p,
.governance-card p,
.solution p {
  margin-bottom: 0;
  color: var(--muted);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 42px;
}

.media-chip {
  min-height: 86px;
  display: flex;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--blue-050);
  color: var(--blue-900);
  font-weight: 900;
}

.large-quote {
  padding: 38px;
  border-left: 4px solid var(--orange);
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
}

.large-quote p {
  margin-bottom: 0;
  font-size: clamp(1.5rem, 3.3vw, 3.3rem);
  font-weight: 900;
  line-height: 1.08;
}

.value-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  margin-top: 54px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
}

.value-item {
  min-height: 190px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
}

.value-item strong {
  display: block;
  margin-bottom: 12px;
  color: var(--orange);
  font-size: 1.12rem;
}

.value-item span {
  color: rgba(255, 255, 255, 0.78);
}

.member-layout,
.directory-layout,
.global-layout,
.partnership-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1fr);
  gap: 70px;
  align-items: center;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 12px;
  color: rgba(255, 255, 255, 0.82);
}

.check-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(255, 122, 26, 0.14);
}

.member-card {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06));
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.28);
}

.member-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.member-label {
  margin-bottom: 12px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.member-card h3 {
  margin-bottom: 2px;
  font-size: clamp(2rem, 4vw, 4rem);
}

.member-card p {
  color: rgba(255, 255, 255, 0.74);
}

.member-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.member-meta span {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 800;
}

.solutions-list {
  display: grid;
  gap: 14px;
  margin-top: 44px;
}

.solution {
  display: grid;
  grid-template-columns: 74px 0.55fr 1fr;
  gap: 24px;
  align-items: center;
  min-height: 132px;
  padding: 24px;
}

.solution span {
  color: var(--orange);
  font-weight: 950;
  font-size: 1.15rem;
}

.solution h3,
.solution p {
  margin-bottom: 0;
}

.directory-demo {
  display: grid;
  gap: 16px;
}

.verified-panel,
.directory-form {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.verified-panel {
  padding: 32px;
}

.verified-badge {
  display: inline-flex;
  margin-bottom: 24px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--white);
  background: var(--blue-800);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.directory-form {
  display: grid;
  grid-template-columns: 1fr 0.55fr auto auto;
  gap: 12px;
  align-items: end;
  padding: 18px;
}

.directory-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.directory-form input,
.directory-form select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  color: var(--ink);
  background: var(--blue-050);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.checkbox-row {
  display: flex !important;
  flex-direction: row;
  gap: 8px !important;
  align-items: center;
  min-height: 44px;
}

.checkbox-row input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--blue-800);
}

.governance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
}

.governance-card {
  min-height: 260px;
  padding: 30px;
}

.governance-card::before {
  content: "";
  width: 52px;
  height: 4px;
  display: block;
  margin-bottom: 28px;
  background: var(--orange);
}

.map-panel {
  position: relative;
  min-height: 470px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: radial-gradient(circle at 50% 52%, rgba(255, 255, 255, 0.2), transparent 40%),
    rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.map-panel::before {
  content: "";
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  transform: rotate(18deg) scaleX(1.45);
}

.map-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 122, 26, 0.9), transparent);
  transform-origin: left center;
}

.line-a { top: 42%; left: 22%; width: 55%; transform: rotate(8deg); }
.line-b { top: 50%; left: 28%; width: 48%; transform: rotate(-22deg); }
.line-c { top: 58%; left: 20%; width: 58%; transform: rotate(27deg); }

.map-point {
  position: absolute;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 900;
}

.map-point::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--orange);
}

.point-a { top: 38%; left: 12%; }
.point-b { top: 28%; left: 44%; }
.point-c { top: 57%; left: 36%; }
.point-d { top: 45%; right: 10%; }

.insight-card,
.programme {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
}

.insight-card span,
.programme span {
  color: var(--orange);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.insight-card h3,
.programme h3 {
  margin-bottom: 0;
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.programme-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 42px;
}

.partnership-layout {
  grid-template-columns: 1fr auto;
}

.partner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.final-cta {
  text-align: center;
}

.final-cta-inner {
  max-width: 940px;
}

.final-cta .hero-actions {
  justify-content: center;
}

.site-footer {
  padding: 70px 24px 28px;
  color: rgba(255, 255, 255, 0.75);
  background: #041125;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 42px;
}

.footer-brand {
  margin-bottom: 18px;
}

.site-footer h2 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: 0.9rem;
  line-height: 1.2;
}

.site-footer a {
  display: block;
  margin-bottom: 10px;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 50px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 1040px) {
  .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav,
  .header-actions {
    display: none;
  }

  .site-nav {
    position: fixed;
    inset: 86px 18px auto;
    justify-self: stretch;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    color: var(--ink);
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-nav a {
    border-radius: var(--radius);
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .hero-grid,
  .split,
  .split.reverse,
  .member-layout,
  .directory-layout,
  .global-layout,
  .partnership-layout {
    grid-template-columns: 1fr;
  }

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

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

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

  .solution {
    grid-template-columns: 52px 1fr;
  }

  .solution p {
    grid-column: 2;
  }

  .directory-form {
    grid-template-columns: 1fr 1fr;
  }

  .partner-actions {
    justify-content: flex-start;
  }

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

@media (max-width: 700px) {
  :root {
    --header: 72px;
  }

  .site-header {
    padding: 12px 16px;
  }

  .brand-mark {
    width: 58px;
    height: 46px;
  }

  .brand-copy span {
    font-size: 0.68rem;
  }

  .brand-copy strong {
    font-size: 0.84rem;
  }

  .section {
    padding: 78px 18px;
  }

  .hero {
    min-height: 82svh;
    padding: calc(var(--header) + 42px) 18px 58px;
  }

  h1 {
    font-size: clamp(3.1rem, 15vw, 5.1rem);
  }

  h2 {
    font-size: clamp(2.25rem, 11vw, 3.8rem);
  }

  .hero-actions,
  .partner-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .grid.three,
  .media-grid,
  .governance-grid,
  .programme-grid,
  .value-row,
  .footer-grid,
  .directory-form {
    grid-template-columns: 1fr;
  }

  .intro-strip {
    padding: 12px 18px;
  }

  .strip-track {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    animation: none;
  }

  .feature-card,
  .governance-card,
  .insight-card,
  .programme,
  .member-card {
    min-height: auto;
  }

  .solution {
    grid-template-columns: 1fr;
  }

  .solution p {
    grid-column: auto;
  }

  .map-panel {
    min-height: 390px;
  }

  .map-point {
    max-width: 190px;
    white-space: normal;
  }

  .point-a { left: 6%; }
  .point-b { left: 28%; }
  .point-c { left: 16%; }
  .point-d { right: 5%; }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
