/* ==========================================================================
   EPIC Dare to Dream Foundation — redesign system
   Palette, type and spacing follow the supplied Stitch design system.
   ========================================================================== */

:root {
  --primary: #001952;
  --primary-container: #002b80;
  --on-primary: #ffffff;
  --secondary: #006d44;
  --secondary-container: #c0ffd7;
  --on-secondary-container: #002111;
  --tertiary: #805600;
  --tertiary-container: #ffddaf;
  --on-tertiary-container: #281800;
  --surface: #f8f9fb;
  --surface-low: #f2f4f6;
  --surface-container: #edeef0;
  --surface-high: #e7e8ea;
  --surface-highest: #e1e2e4;
  --on-surface: #191c1e;
  --on-surface-variant: #444652;
  --outline: #747683;
  --outline-variant: #c4c6d3;
  --inverse: #00174d;
  --inverse-on: #f0f1f3;
  --white: #ffffff;
  --error: #ba1a1a;
  --success: #006d44;

  --font-display: "Radio Canada Big", "Segoe UI", sans-serif;
  --font-body: "Red Hat Text", "Segoe UI", sans-serif;
  --font-mono: "Red Hat Mono", "Consolas", monospace;

  --wrap: 1200px;
  --gutter: clamp(20px, 4.4vw, 48px);
  --section-y: clamp(56px, 7vw, 88px);
  --radius-sm: 6px;
  --radius: 10px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --ease: cubic-bezier(0.2, 0, 0, 1);
  --shadow-sm: 0 1px 2px rgba(0, 23, 77, 0.06);
  --shadow-md: 0 18px 40px -24px rgba(0, 23, 77, 0.28);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--on-surface);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-wrap: balance;
}

::selection {
  background: var(--primary);
  color: var(--white);
}

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

.section--navy :focus-visible,
.hero :focus-visible,
.site-footer :focus-visible,
.cta-band :focus-visible {
  outline-color: var(--tertiary-container);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: none;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.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;
}

/* --------------------------------------------------------------------------
   Type helpers
   -------------------------------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--primary);
}

.eyebrow--green {
  color: var(--secondary);
}

.eyebrow--light {
  color: var(--tertiary-container);
}

.section-title {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1.08;
}

.section-intro {
  max-width: 62ch;
  margin-top: 18px;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--on-surface-variant);
}

.section--navy .section-intro {
  color: rgba(240, 241, 243, 0.78);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 720px;
}

.section-head--center {
  align-items: center;
  text-align: center;
  margin-inline: auto;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.section-head--split {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  max-width: none;
  gap: 24px;
  margin-bottom: 32px;
}

.section-head--split > .link-arrow {
  flex: none;
}

.body-copy {
  color: var(--on-surface-variant);
  font-size: 0.98rem;
  line-height: 1.75;
}

.body-copy + .body-copy {
  margin-top: 14px;
}

.text-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.text-link:hover {
  color: var(--primary-container);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  transition: background 0.15s ease-out, color 0.15s ease-out,
    border-color 0.15s ease-out, transform 0.15s ease-out;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: none;
}

.btn svg {
  width: 17px;
  height: 17px;
  flex: none;
}

.btn--primary {
  background: var(--primary);
  color: var(--on-primary);
}

.btn--primary:hover {
  background: var(--primary-container);
}

.btn--green {
  background: var(--secondary);
  color: var(--white);
}

.btn--green:hover {
  background: #005c39;
}

.btn--outline {
  border-color: var(--outline-variant);
  background: transparent;
  color: var(--primary);
}

.btn--outline:hover {
  border-color: var(--primary);
  background: rgba(0, 25, 82, 0.04);
}

.btn--light {
  background: var(--white);
  color: var(--primary);
}

.btn--light:hover {
  background: var(--tertiary-container);
  color: var(--on-tertiary-container);
}

.btn--ghost-light {
  border-color: rgba(240, 241, 243, 0.42);
  background: rgba(0, 0, 0, 0.34);
  color: var(--inverse-on);
}

.btn--ghost-light:hover {
  background: rgba(0, 0, 0, 0.56);
  border-color: var(--inverse-on);
}

.btn--sm {
  min-height: 40px;
  padding: 9px 18px;
  font-size: 0.84rem;
}

.btn--lg {
  min-height: 52px;
  padding: 15px 30px;
  font-size: 0.96rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
}

.link-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform 0.15s ease-out;
}

.link-arrow:hover svg {
  transform: translateX(3px);
}

.link-arrow--light {
  color: var(--tertiary-container);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(248, 249, 251, 0.96);
  border-bottom: 1px solid rgba(196, 198, 211, 0.7);
  backdrop-filter: blur(12px);
  transition: box-shadow 0.2s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px -22px rgba(0, 23, 77, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 80px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
  border-radius: 8px;
}

.brand-logo {
  width: auto;
  height: 46px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.18;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--secondary);
}

.brand-text small {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
}

.nav {
  display: none;
  align-items: center;
  gap: clamp(20px, 2.6vw, 36px);
}

.nav a {
  position: relative;
  padding: 6px 0;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--on-surface-variant);
  transition: color 0.15s ease-out;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--primary);
}

.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  background: var(--primary);
}

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

.header-cta {
  display: none;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--outline-variant);
  border-radius: 999px;
  background: var(--surface-container);
  color: var(--on-surface);
  transition: background 0.15s ease-out;
}

.nav-toggle:hover {
  background: var(--surface-high);
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.mobile-menu {
  display: none;
  border-top: 1px solid rgba(196, 198, 211, 0.7);
  background: var(--surface-low);
  padding: 18px var(--gutter) 24px;
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: var(--wrap);
  margin-inline: auto;
}

.mobile-menu a {
  padding: 13px 4px;
  border-bottom: 1px solid rgba(196, 198, 211, 0.6);
  font-size: 1.15rem;
  font-weight: 500;
}

.mobile-menu a[aria-current="page"] {
  color: var(--primary);
  font-weight: 600;
}

.mobile-menu .btn {
  margin-top: 14px;
  padding: 13px 18px;
  border-bottom: 0;
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(620px, 84vh, 780px);
  overflow: hidden;
  background: var(--inverse);
  color: var(--inverse-on);
}

.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: center 32%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 10, 40, 0.93) 0%, rgba(0, 10, 40, 0.76) 46%, rgba(0, 10, 40, 0.3) 100%),
    linear-gradient(180deg, rgba(0, 10, 40, 0.28) 0%, rgba(0, 10, 40, 0.18) 45%, rgba(0, 10, 40, 0.82) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 4vw, 48px);
  width: 100%;
  padding-block: clamp(64px, 9vw, 104px) clamp(36px, 5vw, 56px);
}

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

.hero h1 {
  max-width: 15ch;
  font-size: clamp(2.45rem, 5.4vw, 4.15rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--white);
}

.hero h1 em {
  font-style: normal;
  color: var(--tertiary-container);
}

.hero-lead {
  max-width: 58ch;
  margin-top: 22px;
  font-size: clamp(1rem, 1.4vw, 1.14rem);
  line-height: 1.7;
  color: rgba(240, 241, 243, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border: 1px solid rgba(240, 241, 243, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(0, 8, 32, 0.62);
  backdrop-filter: blur(10px);
}

.hero-fact {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 17px 20px;
}

.hero-fact:nth-child(even) {
  border-left: 1px solid rgba(240, 241, 243, 0.14);
}

.hero-fact:nth-child(n + 3) {
  border-top: 1px solid rgba(240, 241, 243, 0.14);
}

.hero-fact strong {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--white);
}

.hero-fact span {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(240, 241, 243, 0.68);
}

/* --------------------------------------------------------------------------
   Page hero
   -------------------------------------------------------------------------- */

.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--surface-low);
  border-bottom: 1px solid rgba(196, 198, 211, 0.65);
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 109, 68, 0.12), transparent 68%);
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  display: grid;
  gap: 36px;
  padding-block: clamp(52px, 7vw, 80px);
}

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

.page-hero h1 {
  margin-top: 16px;
  font-size: clamp(2.2rem, 4.5vw, 3.45rem);
  line-height: 1.06;
  letter-spacing: -0.032em;
}

.page-hero p {
  max-width: 64ch;
  margin-top: 18px;
  font-size: 1.04rem;
  line-height: 1.72;
  color: var(--on-surface-variant);
}

.page-hero-aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-self: end;
  padding: 22px;
  border: 1px solid rgba(196, 198, 211, 0.8);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.7);
}

.page-hero-aside span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
}

.page-hero-aside strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
}

.page-hero-aside p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--on-surface-variant);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--on-surface-variant);
}

.crumbs a {
  font-weight: 500;
}

.crumbs a:hover {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.crumbs span {
  color: var(--outline);
}

.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.anchor-nav a {
  padding: 8px 14px;
  border: 1px solid rgba(196, 198, 211, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--on-surface-variant);
  transition: border-color 0.15s ease-out, color 0.15s ease-out,
    background 0.15s ease-out;
}

.anchor-nav a:hover {
  border-color: var(--primary);
  background: var(--white);
  color: var(--primary);
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
  padding-block: var(--section-y);
}

.section--low {
  background: var(--surface-low);
}

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

.section--navy {
  background: var(--inverse);
  color: var(--inverse-on);
}

.section--tight {
  padding-block: clamp(40px, 5vw, 60px);
}

.section--navy .section-title {
  color: var(--white);
}

/* --------------------------------------------------------------------------
   Split layouts & media
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.split-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.split-copy .section-title {
  max-width: 18ch;
}

.split-media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--surface-container);
}

.split-media img {
  width: 100%;
  height: clamp(320px, 42vw, 500px);
  object-fit: cover;
}

.split-media--portrait img {
  height: clamp(380px, 50vw, 560px);
  object-position: center 22%;
}

.split-media--landscape img {
  height: auto;
}

@media (min-width: 768px) {
  #story .split-media--landscape {
    align-self: stretch;
  }

  #story .split-media--landscape img {
    height: 100%;
    min-height: 560px;
    object-fit: cover;
    object-position: center;
  }
}

.split-media--reverse {
  order: -1;
}

.media-caption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 12px 16px;
  border: 1px solid rgba(240, 241, 243, 0.2);
  border-radius: 999px;
  background: rgba(0, 10, 40, 0.72);
  backdrop-filter: blur(8px);
  color: var(--inverse-on);
  font-size: 0.76rem;
  font-weight: 500;
  text-align: center;
}

/* Feature cards */
.feature-grid {
  display: grid;
  gap: 16px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  border: 1px solid rgba(196, 198, 211, 0.55);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.62);
}

.icon-pill {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.icon-pill svg {
  width: 20px;
  height: 20px;
}

.feature-card h3 {
  font-size: 1.08rem;
  line-height: 1.28;
}

.feature-card p {
  font-size: 0.84rem;
  line-height: 1.65;
  color: var(--on-surface-variant);
}

/* --------------------------------------------------------------------------
   Photo cards
   -------------------------------------------------------------------------- */

.card-grid {
  display: grid;
  gap: 20px;
}

.photo-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 400px;
  padding: 26px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--inverse);
  color: var(--white);
  isolation: isolate;
}

.photo-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 10, 40, 0.02) 24%, rgba(0, 10, 40, 0.9) 100%);
}

.photo-card:hover img {
  transform: scale(1.045);
}

.photo-card-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.photo-card h3 {
  font-size: 1.45rem;
  line-height: 1.16;
  color: var(--white);
}

.photo-card p {
  max-width: 42ch;
  font-size: 0.84rem;
  line-height: 1.6;
  color: rgba(240, 241, 243, 0.82);
}

.photo-card .link-arrow {
  margin-top: 4px;
  color: var(--white);
  font-size: 0.82rem;
}

/* --------------------------------------------------------------------------
   Initiative / action cards
   -------------------------------------------------------------------------- */

.initiative-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: 18px;
  border: 1px solid rgba(196, 198, 211, 0.5);
  border-radius: var(--radius-xl);
  background: var(--surface-container);
}

.initiative-card img {
  width: 100%;
  height: 190px;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.initiative-body {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.initiative-body h3 {
  font-size: 1.2rem;
  line-height: 1.25;
}

.initiative-body .kicker {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
}

.initiative-body p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--on-surface-variant);
}

.initiative-card .btn {
  align-self: flex-start;
}

/* --------------------------------------------------------------------------
   Impact metrics
   -------------------------------------------------------------------------- */

.stats-layout {
  display: grid;
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.stat-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 24px;
  border: 1px solid rgba(196, 198, 211, 0.5);
  border-radius: var(--radius-lg);
  background: var(--surface-container);
}

.stat-card--wide {
  grid-column: 1 / -1;
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.4vw, 3.4rem);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--primary);
}

.stat-label {
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--on-surface-variant);
}

.stats-note {
  margin-top: 16px;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--outline);
}

/* --------------------------------------------------------------------------
   Programme blocks
   -------------------------------------------------------------------------- */

.programme {
  display: grid;
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
  padding-block: clamp(40px, 5.5vw, 68px);
  border-bottom: 1px solid rgba(196, 198, 211, 0.55);
}

.programme:last-of-type {
  border-bottom: 0;
}

.programme-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--surface-container);
}

.programme-media img {
  width: 100%;
  height: clamp(300px, 38vw, 420px);
  object-fit: cover;
}

.programme-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.programme-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
}

.programme h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.12;
}

.programme p {
  max-width: 58ch;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--on-surface-variant);
}

.check-list {
  display: grid;
  gap: 9px;
  margin-top: 2px;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--on-surface-variant);
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.42em;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--secondary);
}

.check-list li::after {
  content: "";
  position: absolute;
  top: 0.56em;
  left: 4px;
  width: 5px;
  height: 8px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* --------------------------------------------------------------------------
   Steps
   -------------------------------------------------------------------------- */

.step-grid {
  display: grid;
  gap: 16px;
  counter-reset: steps;
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border: 1px solid rgba(196, 198, 211, 0.5);
  border-radius: var(--radius-lg);
  background: var(--white);
  counter-increment: steps;
}

.step::before {
  content: "0" counter(steps);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--secondary);
}

.step h3 {
  font-size: 1.1rem;
  line-height: 1.28;
}

.step p {
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--on-surface-variant);
}

/* --------------------------------------------------------------------------
   Objectives
   -------------------------------------------------------------------------- */

.objective-grid {
  display: grid;
  gap: 12px;
}

.objective {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  padding: 20px;
  border: 1px solid rgba(196, 198, 211, 0.5);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.7);
}

.objective-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--secondary);
}

.objective p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--on-surface-variant);
}

/* --------------------------------------------------------------------------
   Values
   -------------------------------------------------------------------------- */

.value-grid {
  display: grid;
  gap: 16px;
}

.value-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px;
  border: 1px solid rgba(196, 198, 211, 0.55);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.value-card h3 {
  font-size: 1.2rem;
  line-height: 1.25;
}

.value-card p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--on-surface-variant);
}

/* --------------------------------------------------------------------------
   Leadership
   -------------------------------------------------------------------------- */

.leader-grid {
  display: grid;
  gap: 18px;
}

.leader-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(196, 198, 211, 0.5);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.leader-photo {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center 18%;
}

.leader-initials {
  display: grid;
  place-items: center;
  height: 300px;
  background:
    radial-gradient(circle at 30% 20%, rgba(0, 109, 68, 0.22), transparent 58%),
    linear-gradient(135deg, var(--primary), var(--primary-container));
  color: var(--tertiary-container);
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.leader-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
}

.leader-body h3 {
  font-size: 1.15rem;
  line-height: 1.25;
}

.leader-role {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary);
}

.leader-body p {
  margin-top: 4px;
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--on-surface-variant);
}

/* --------------------------------------------------------------------------
   Gallery
   -------------------------------------------------------------------------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface-container);
}

.gallery-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item figcaption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 10, 40, 0.72);
  backdrop-filter: blur(6px);
  color: var(--inverse-on);
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease-out, transform 0.2s ease-out;
}

.gallery-item:hover figcaption,
.gallery-item:focus-within figcaption {
  opacity: 1;
  transform: none;
}

@media (hover: none) {
  .gallery-item figcaption {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Partnership
   -------------------------------------------------------------------------- */

.partner-grid {
  display: grid;
  gap: 16px;
}

.partner-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--surface-container);
}

.partner-card svg {
  width: 26px;
  height: 26px;
  color: var(--primary);
}

.partner-card h3 {
  font-size: 1.12rem;
  line-height: 1.28;
}

.partner-card p {
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--on-surface-variant);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.pill-list li {
  padding: 7px 13px;
  border: 1px solid rgba(196, 198, 211, 0.8);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--on-surface-variant);
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq {
  border: 1px solid rgba(196, 198, 211, 0.65);
  border-radius: var(--radius-md);
  background: var(--surface-container);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 20px;
  cursor: pointer;
  list-style: none;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.45;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--on-surface-variant);
  transition: transform 0.2s var(--ease);
}

.faq[open] summary svg {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px 18px;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--on-surface-variant);
}

.faq[open] .faq-answer {
  border-top: 1px solid rgba(196, 198, 211, 0.6);
  padding-top: 14px;
  margin-inline: 20px;
  padding-inline: 0;
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-list {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(196, 198, 211, 0.7);
}

.contact-list li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(196, 198, 211, 0.7);
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid rgba(196, 198, 211, 0.7);
  color: var(--secondary);
}

.contact-icon svg {
  width: 18px;
  height: 18px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-list li > div > span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--outline);
}

.contact-list a,
.contact-list strong {
  display: inline-block;
  margin-top: 2px;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.contact-list a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(0, 25, 82, 0.28);
}

.contact-list a:hover {
  color: var(--secondary);
}

.form-card {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(196, 198, 211, 0.6);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.form-card h3 {
  font-size: 1.35rem;
}

.form-card > p {
  margin-top: 8px;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--on-surface-variant);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.4;
}

.field label .req {
  color: var(--error);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius-md);
  background: var(--surface);
  font-size: 0.9rem;
  line-height: 1.4;
  transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out;
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--outline);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--primary);
  outline: 3px solid rgba(0, 25, 82, 0.16);
  outline-offset: 0;
  box-shadow: none;
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--error);
  background: #fff5f4;
}

.form-note {
  margin-top: 2px;
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--outline);
}

.form-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}

.form-submit {
  width: 100%;
}

.form-status {
  font-size: 0.76rem;
  line-height: 1.55;
  color: var(--on-surface-variant);
}

.form-status.is-error {
  color: var(--error);
  font-weight: 500;
}

.form-status a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--inverse);
  color: var(--inverse-on);
}

.cta-band::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -100px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 221, 175, 0.16), transparent 66%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-block: clamp(48px, 6vw, 68px);
}

.cta-copy {
  max-width: 640px;
}

.cta-copy h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.1;
  color: var(--white);
}

.cta-copy p {
  margin-top: 14px;
  font-size: 0.96rem;
  line-height: 1.7;
  color: rgba(240, 241, 243, 0.78);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--inverse);
  color: var(--inverse-on);
  padding-top: clamp(48px, 6vw, 72px);
}

.footer-top {
  display: grid;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(240, 241, 243, 0.16);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-logo img {
  width: auto;
  height: 58px;
}

.footer-logo strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--inverse-on);
}

.footer-logo small {
  display: block;
  margin-top: 2px;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(240, 241, 243, 0.6);
}

.footer-brand p {
  max-width: 36ch;
  font-size: 0.84rem;
  line-height: 1.7;
  color: rgba(240, 241, 243, 0.72);
}

.footer-contact {
  display: grid;
  gap: 8px;
  font-size: 0.84rem;
}

.footer-contact a,
.footer-contact span {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  color: rgba(240, 241, 243, 0.78);
  overflow-wrap: anywhere;
}

.footer-contact a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(240, 241, 243, 0.35);
}

.footer-contact a:hover {
  color: var(--tertiary-container);
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 2px;
  color: var(--tertiary-container);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col h3 {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tertiary-container);
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  font-size: 0.84rem;
  line-height: 1.5;
  color: rgba(240, 241, 243, 0.76);
  transition: color 0.15s ease-out;
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-note {
  font-size: 0.78rem;
  line-height: 1.6;
  color: rgba(240, 241, 243, 0.66);
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border: 1px solid rgba(240, 241, 243, 0.24);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--inverse-on);
  transition: background 0.15s ease-out, border-color 0.15s ease-out;
}

.footer-social:hover {
  background: rgba(240, 241, 243, 0.1);
  border-color: rgba(240, 241, 243, 0.5);
}

.footer-social svg {
  width: 15px;
  height: 15px;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-block: 20px 24px;
  font-size: 0.72rem;
  line-height: 1.5;
  color: rgba(240, 241, 243, 0.58);
}

.footer-bottom a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   WhatsApp float
   -------------------------------------------------------------------------- */

.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1faa59;
  color: var(--white);
  box-shadow: 0 12px 26px -10px rgba(0, 23, 77, 0.45);
  transition: transform 0.15s ease-out, background 0.15s ease-out,
    opacity 0.2s ease-out, visibility 0.2s ease-out;
}

.wa-float:hover {
  transform: translateY(-2px);
  background: #178a48;
}

.wa-float.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;
}

.wa-float svg {
  width: 27px;
  height: 27px;
}

.wa-float::before {
  content: "Chat on WhatsApp";
  position: absolute;
  right: 68px;
  padding: 7px 11px;
  border-radius: 8px;
  background: var(--inverse);
  color: var(--inverse-on);
  font-size: 0.72rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(4px);
  transition: opacity 0.15s ease-out, transform 0.15s ease-out;
  pointer-events: none;
}

.wa-float:hover::before,
.wa-float:focus-visible::before {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   No-JS fallback
   -------------------------------------------------------------------------- */

html.no-js .nav-toggle {
  display: none;
}

html.no-js .mobile-menu {
  display: block;
}

@media (min-width: 1024px) {
  html.no-js .mobile-menu {
    display: none;
  }
}

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

@media (min-width: 560px) {
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }
}

@media (min-width: 640px) {
  .header-cta {
    display: inline-flex;
  }

  .hero-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-fact:nth-child(n) {
    border-top: 0;
    border-left: 0;
  }

  .hero-fact + .hero-fact {
    border-left: 1px solid rgba(240, 241, 243, 0.14);
  }

  .hero-fact:nth-child(n + 4) {
    border-top: 1px solid rgba(240, 241, 243, 0.14);
  }

  .card-grid,
  .step-grid,
  .partner-grid,
  .leader-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

@media (min-width: 768px) {
  .page-hero-inner {
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
    align-items: end;
  }

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

  .split--wide-copy {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }

  .split-media--reverse {
    order: -1;
  }

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

  .programme--reverse .programme-media {
    order: 2;
  }

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

  .initiative-card img {
    height: 200px;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }

  .cta-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .cta-actions {
    flex: none;
  }

  .footer-top {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.75fr) minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

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

  .gallery-item--wide {
    grid-column: span 2;
  }

  .gallery-item--tall img {
    height: 100%;
    min-height: 492px;
  }

  .stats-layout {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }

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

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

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

@media (min-width: 1024px) {
  .nav {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .mobile-menu,
  .mobile-menu.is-open {
    display: none;
  }

  .hero-inner {
    padding-bottom: 56px;
  }

  .split--wide-copy {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }

  .objectives-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(32px, 5vw, 64px);
    align-items: start;
  }

  .objectives-layout .objective-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .objectives-layout .objective:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1023px) {
  .nav {
    display: none;
  }

  body.menu-open .site-header {
    background: var(--surface);
  }
}

@media (max-width: 767px) {
  .split-media--reverse {
    order: 0;
  }

  .section-head--split {
    flex-direction: column;
    align-items: flex-start;
  }

  .programme--reverse .programme-media {
    order: 0;
  }

  .page-hero-aside {
    max-width: none;
  }

  .gallery-item img {
    height: 200px;
  }

  .gallery-item--tall img {
    height: 300px;
  }

  .leader-photo,
  .leader-initials {
    height: 260px;
  }

  .footer-top {
    gap: 30px;
  }
}

@media (max-width: 559px) {
  .brand-logo {
    height: 40px;
  }

  .brand-text strong {
    font-size: 0.9rem;
  }

  .brand-text small {
    font-size: 0.64rem;
  }

  .hero {
    min-height: 640px;
  }

  .hero-inner {
    padding-block: 56px 30px;
  }

  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }

  .hero-fact {
    padding: 14px 16px;
  }

  .hero-fact strong {
    font-size: 1.12rem;
  }

  .photo-card {
    min-height: 360px;
    padding: 22px;
  }

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

  .gallery-item--wide {
    grid-column: auto;
  }

  .gallery-item img,
  .gallery-item--tall img {
    height: 250px;
    min-height: 0;
  }

  .gallery-item figcaption {
    opacity: 1;
    transform: none;
  }

  .wa-float {
    right: 14px;
    bottom: 14px;
    width: 52px;
    height: 52px;
  }

  .wa-float::before {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Motion, reveals and small-screen refinement
   -------------------------------------------------------------------------- */

.motion-ready .reveal {
  opacity: 0;
  translate: 0 24px;
  transition: opacity 0.65s var(--ease), translate 0.65s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.motion-ready .reveal.is-visible {
  opacity: 1;
  translate: 0 0;
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes hero-image-in {
    from {
      opacity: 0.7;
      transform: scale(1.035);
    }
    to {
      opacity: 1;
      transform: scale(1);
    }
  }

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

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

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

  .hero-media img {
    animation: hero-image-in 1.5s var(--ease) both;
  }

  .hero-copy > *,
  .page-hero-inner > div > *,
  .hero-facts,
  .page-hero-aside {
    animation: rise-in 0.68s var(--ease) both;
  }

  .hero-copy > *:nth-child(2),
  .page-hero-inner > div > *:nth-child(2) {
    animation-delay: 70ms;
  }

  .hero-copy > *:nth-child(3),
  .page-hero-inner > div > *:nth-child(3) {
    animation-delay: 140ms;
  }

  .hero-copy > *:nth-child(4),
  .page-hero-inner > div > *:nth-child(4) {
    animation-delay: 210ms;
  }

  .hero-facts,
  .page-hero-aside {
    animation-delay: 280ms;
  }

  .mobile-menu.is-open {
    animation: menu-in 0.22s ease-out both;
  }

  .faq[open] .faq-answer {
    animation: answer-in 0.25s ease-out both;
  }
}

@media (hover: hover) and (pointer: fine) {
  .initiative-card,
  .feature-card,
  .value-card,
  .leader-card,
  .partner-card,
  .step,
  .stat-card {
    transition: transform 0.26s var(--ease), box-shadow 0.26s var(--ease),
      border-color 0.26s var(--ease);
  }

  .initiative-card:hover,
  .feature-card:hover,
  .value-card:hover,
  .leader-card:hover,
  .partner-card:hover,
  .step:hover,
  .stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 25, 82, 0.18);
    box-shadow: 0 22px 42px -28px rgba(0, 23, 77, 0.32);
  }

  .split-media img,
  .programme-media img {
    transition: transform 0.55s var(--ease);
  }

  .split-media:hover img,
  .programme-media:hover img {
    transform: scale(1.025);
  }

  .btn--primary:hover,
  .btn--green:hover {
    box-shadow: 0 14px 28px -18px rgba(0, 23, 77, 0.75);
  }
}

@media (max-width: 559px) {
  :root {
    --section-y: 48px;
  }

  .hero-inner {
    gap: 28px;
  }

  .page-hero-inner {
    gap: 24px;
    padding-block: 44px;
  }

  .split {
    gap: 28px;
  }

  .section-head--split {
    gap: 16px;
    margin-bottom: 24px;
  }

  .media-caption {
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    font-size: 0.7rem;
  }

  .faq summary {
    padding: 16px;
  }

  .field input,
  .field select,
  .field textarea {
    min-height: 48px;
    font-size: 16px;
  }

  .field textarea {
    min-height: 140px;
  }

  .form-note {
    font-size: 0.75rem;
  }

  .contact-list li {
    padding: 14px 0;
  }

  .contact-actions .btn {
    width: 100%;
  }

  .mobile-menu {
    max-height: calc(100dvh - 81px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .wa-float {
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    width: 46px;
    height: 46px;
  }

  .motion-ready .reveal {
    translate: 0 16px;
  }
}

@media print {
  .motion-ready .reveal {
    opacity: 1 !important;
    translate: none !important;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
