/*
Theme Name: SATAF
Theme URI: https://sat-found.org
Author: Sub Saharan Africa Technological Advancement Foundation
Author URI: https://sat-found.org
Description: Official website theme for the Sub Saharan Africa Technological Advancement Foundation — covering Water & Climate Change, Public Healthcare, Education, and AI & Technology divisions.
Version: 2.1.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sataf
Tags: nonprofit, health, water, education, ai, responsive, multi-page
*/

/* ─── Reset & Tokens ───────────────────────────────────────────────────── */

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

:root {
  --navy:      #0D2B4E;
  --navy-dk:   #07192e;
  --navy-lt:   #1a3f6a;
  --navy-mid:  #163559;
  --green:     #156b38;
  --green-lt:  #1e8a4a;
  --green-dim: rgba(21,107,56,0.1);
  --teal:      #0b6e86;
  --teal-lt:   #0891b2;
  --amber:     #a84f07;
  --amber-lt:  #d4680d;
  --energy:    #c47900;
  --energy-lt: #e89a00;
  --energy-dim: rgba(196,121,0,0.1);
  --white:     #ffffff;
  --off:       #f7f8fb;
  --g50:       #f0f2f7;
  --g100:      #e2e6ef;
  --g200:      #c9d0df;
  --g400:      #8d9ab5;
  --g600:      #4b5878;
  --g700:      #2f3c56;
  --ink:       #0f1624;

  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Poppins', 'Inter', sans-serif;

  --r-sm:  4px;
  --r:     8px;
  --r-lg:  14px;
  --r-xl:  20px;
  --sh-sm: 0 1px 4px rgba(0,0,0,0.06);
  --sh:    0 4px 16px rgba(0,0,0,0.08);
  --sh-md: 0 8px 32px rgba(0,0,0,0.11);
  --sh-lg: 0 16px 48px rgba(0,0,0,0.14);
}

/* ─── Base ─────────────────────────────────────────────────────────────── */

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

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--ink);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--green); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--navy); text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 1.3rem; }
li { margin-bottom: 0.25rem; }
strong { font-weight: 600; }
p { margin-bottom: 0.9rem; }
p:last-child { margin-bottom: 0; }

/* ─── Typography ───────────────────────────────────────────────────────── */

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--navy);
  font-weight: 700;
}

h1 { font-size: clamp(1.9rem, 4.5vw, 3.1rem);  letter-spacing: -0.025em; }
h2 { font-size: clamp(1.35rem, 2.8vw, 2.1rem);  letter-spacing: -0.02em; }
h3 { font-size: clamp(1.05rem, 1.8vw, 1.35rem); letter-spacing: -0.01em; }
h4 { font-size: 0.95rem; font-weight: 600; }

/* ─── Layout ───────────────────────────────────────────────────────────── */

.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 1.75rem; }
.section    { padding: 5rem 0; }
.section--sm { padding: 3.5rem 0; }
.section--alt  { background: var(--off); }
.section--dark { background: var(--navy-dk); color: #fff; }
.section--dark .sec-hdr__title { color: #fff; }
.section--dark .sec-hdr__tag  { color: rgba(255,255,255,0.55); background: rgba(255,255,255,0.07); border-color: transparent; }
.section--dark .sec-hdr__body  { color: rgba(255,255,255,0.65); }
.section--ink  { background: var(--navy-dk); }
.section--green { background: var(--green); }

/* ─── Top accent stripe ─────────────────────────────────────────────── */

body::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--green) 0%, var(--teal) 50%, var(--green) 100%);
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 2000;
}

/* ─── Navigation ───────────────────────────────────────────────────────── */

/* ─── Site Header ──────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy-dk);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04), 0 4px 24px rgba(0,0,0,0.28);
}

/* Thin green accent line at very top */
.site-header::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--green) 0%, var(--teal-lt) 100%);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 66px;
  gap: 2rem;
}

/* ─── Brand / Logo ─────────────────────────────────────────────────────── */

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 0;          /* gap set per logo section below */
  flex-shrink: 0;
  text-decoration: none;
  outline: none;
}
.site-header__brand:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

.brand-mark {
  width: 34px;
  height: 34px;
  background: var(--green);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.6rem;
  color: var(--white);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
  line-height: 1.15;
}

.brand-tagline {
  font-size: 0.58rem;
  color: rgba(255,255,255,0.38);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}

/* ─── Primary Navigation ───────────────────────────────────────────────── */

/* nav element: NO position:relative — mobile ul uses site-header as anchor */
.site-header nav { flex: 1; display: flex; justify-content: flex-end; }

.primary-nav {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0.1rem;
}

.primary-nav > li { position: relative; }

.primary-nav a,
.primary-nav button {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.83rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  padding: 0.5rem 0.9rem;
  border-radius: var(--r-sm);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
  text-decoration: none;
  letter-spacing: 0.01em;
  line-height: 1;
}

.primary-nav a:hover,
.primary-nav button:hover,
.primary-nav a:focus-visible,
.primary-nav button:focus-visible {
  background: rgba(255, 255, 255, 0.09);
  color: var(--white);
  text-decoration: none;
  outline: none;
}

/* CTA nav item (Get Involved) */
.nav-cta-item { margin-left: 0.5rem; }
.nav-cta {
  background: var(--green) !important;
  color: var(--white) !important;
  border-radius: var(--r-sm) !important;
  font-weight: 600 !important;
  padding: 0.48rem 1rem !important;
}
.nav-cta:hover {
  background: var(--green-lt) !important;
  color: var(--white) !important;
}

/* Caret */
.nav-caret {
  font-size: 0.5rem;
  opacity: 0.45;
  transition: transform 0.2s ease;
  display: inline-block;
}
.dropdown--open > button > .nav-caret { transform: rotate(180deg); opacity: 0.8; }

/* ─── Dropdown menu ────────────────────────────────────────────────────── */

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--g100);
  border-top: 2px solid var(--green);
  border-radius: 0 0 var(--r) var(--r);
  box-shadow: 0 12px 32px rgba(0,0,0,0.14), 0 2px 8px rgba(0,0,0,0.06);
  padding: 0.4rem 0;
  z-index: 9000;
}

.dropdown--open > .dropdown-menu {
  display: block;
  animation: dropIn 0.16s ease;
}

/* CSS-native hover for desktop — most reliable, no timing gaps */
@media (min-width: 769px) {
  .has-dropdown:hover > .dropdown-menu {
    display: block;
    animation: dropIn 0.16s ease;
  }
  .has-dropdown:hover > button > .nav-caret {
    transform: rotate(180deg);
    opacity: 0.8;
  }
}

@keyframes dropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.dropdown-menu li { list-style: none; }

.dropdown-menu__divider {
  height: 1px;
  background: var(--g100);
  margin: 0.3rem 0;
}

.dropdown-menu a {
  display: block;
  padding: 0.62rem 1.1rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--g700);
  border-left: 2px solid transparent;
  transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
  text-decoration: none;
}

.dropdown-menu a:hover {
  background: var(--g50);
  color: var(--navy);
  border-left-color: var(--green);
  text-decoration: none;
}

/* ─── Mobile toggle button ─────────────────────────────────────────────── */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  padding: 0.5rem 0.55rem;
  border-radius: var(--r-sm);
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}
.nav-toggle__bar {
  display: block;
  width: 18px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.82);
  border-radius: 2px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* ─── Mobile nav open state ────────────────────────────────────────────── */

/* .nav--open is applied to ul.primary-nav
   position:absolute is relative to .site-header (sticky → containing block) */
.nav--open {
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  position: absolute;
  top: 69px; /* header height (66px) + 3px accent line */
  left: 0;
  right: 0;
  background: var(--navy-dk);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 0.6rem 1.25rem 1.5rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
  z-index: 999;
  animation: mobileNavIn 0.2s ease;
  gap: 0;
}

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

.nav--open > li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.nav--open > li:last-child { border-bottom: none; }

.nav--open > li > a,
.nav--open > li > button {
  padding: 0.8rem 0.25rem;
  width: 100%;
  font-size: 0.9rem;
  font-weight: 500;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.8);
  border-radius: 0;
  background: none;
}
.nav--open > li > a:hover,
.nav--open > li > button:hover {
  color: var(--white);
  background: none;
}

/* Get Involved CTA inside mobile nav */
.nav--open .nav-cta-item { margin-left: 0; }
.nav--open .nav-cta {
  color: var(--white) !important;
  background: var(--green) !important;
  border-radius: var(--r-sm) !important;
  justify-content: center !important;
  margin-top: 0.5rem;
}

/* Mobile dropdown */
.nav--open .has-dropdown .dropdown-menu {
  position: static !important;
  display: none;
  box-shadow: none;
  border: none;
  border-top: none;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--r-sm);
  padding: 0.3rem 0 0.5rem 0.75rem;
  margin: 0 0 0.25rem;
  border-left: 2px solid rgba(255, 255, 255, 0.12);
  animation: none;
}
.nav--open .dropdown--open > .dropdown-menu {
  display: block !important;
}

.nav--open .dropdown-menu li { border: none; }
.nav--open .dropdown-menu__divider { background: rgba(255,255,255,0.08); }
.nav--open .dropdown-menu a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.84rem;
  padding: 0.5rem 0.75rem;
  border-left: none;
}
.nav--open .dropdown-menu a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border-left: none;
}

/* ─── Buttons ──────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.72rem 1.5rem;
  border-radius: var(--r-sm);
  transition: all 0.18s;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn--primary { background: var(--green); color: var(--white); border-color: var(--green); }
.btn--primary:hover { background: var(--green-lt); border-color: var(--green-lt); color: var(--white); text-decoration: none; }

.btn--outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.35); }
.btn--outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); color: var(--white); text-decoration: none; }

.btn--navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn--navy:hover { background: var(--navy-lt); border-color: var(--navy-lt); color: var(--white); text-decoration: none; }

.btn--green-outline { background: transparent; color: var(--green); border-color: var(--green); }
.btn--green-outline:hover { background: var(--green); color: var(--white); text-decoration: none; }

.btn--white { background: var(--white); color: var(--green); border-color: var(--white); font-weight: 700; }
.btn--white:hover { background: var(--off); color: var(--green); text-decoration: none; }

.btn--white-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.45); }
.btn--white-outline:hover { background: rgba(255,255,255,0.1); color: var(--white); text-decoration: none; }

/* ─── Hero ─────────────────────────────────────────────────────────────── */

.hero {
  background: var(--navy-dk);
  background-image:
    radial-gradient(ellipse 70% 80% at 90% 20%, rgba(21,107,56,0.22) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 5% 90%,  rgba(11,110,134,0.15) 0%, transparent 55%);
  padding: 6rem 1.75rem 5.5rem;
  position: relative;
  overflow: hidden;
}

/* Subtle grid texture */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero__inner { max-width: 1080px; margin: 0 auto; position: relative; z-index: 1; }

.hero--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  border-radius: 100px;
  padding: 0.3rem 0.85rem 0.3rem 0.55rem;
  margin-bottom: 1.4rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}

.hero__eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--green-lt);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--green-lt);
}

.hero__title {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.12;
  margin-bottom: 1.1rem;
  letter-spacing: -0.03em;
}

.hero__title em {
  font-style: normal;
  color: rgba(255,255,255,0.45);
}

.hero__lead {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  margin-bottom: 2.25rem;
  max-width: 500px;
}

.hero__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ─── Page Hero ────────────────────────────────────────────────────────── */

.page-hero {
  background: var(--navy-dk);
  background-image:
    radial-gradient(ellipse 80% 60% at 100% 50%, rgba(21,107,56,0.18) 0%, transparent 55%),
    linear-gradient(180deg, var(--navy-dk) 0%, var(--navy) 100%);
  padding: 4.5rem 1.75rem 4rem;
  border-bottom: 3px solid var(--green);
  position: relative;
}

.page-hero__inner { max-width: 1080px; margin: 0 auto; }

.page-hero__breadcrumb {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.page-hero__breadcrumb a { color: rgba(255,255,255,0.5); text-decoration: none; }
.page-hero__breadcrumb a:hover { color: var(--white); }
.page-hero__breadcrumb span { opacity: 0.35; font-size: 0.7rem; }

.page-hero__tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-lt);
  background: rgba(21,107,56,0.18);
  border: 1px solid rgba(21,107,56,0.3);
  padding: 0.25rem 0.6rem;
  border-radius: var(--r-sm);
  margin-bottom: 0.85rem;
}

.page-hero__title {
  color: var(--white);
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  margin-bottom: 0.85rem;
  letter-spacing: -0.025em;
}

.page-hero__lead {
  color: rgba(255,255,255,0.62);
  font-size: 1rem;
  max-width: 600px;
  line-height: 1.75;
}

/* ─── Stats Bar ────────────────────────────────────────────────────────── */

.stats-bar {
  background: var(--navy-mid);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 2.75rem 1.75rem;
}

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0;
  max-width: 1080px;
  margin: 0 auto;
}

.stats-bar__grid .stat {
  text-align: center;
  padding: 0.5rem 1rem;
  border-right: 1px solid rgba(255,255,255,0.07);
}

.stats-bar__grid .stat:last-child { border-right: none; }

.stat__number {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.stat__label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.45;
  letter-spacing: 0.02em;
}

/* ─── Section Header ───────────────────────────────────────────────────── */

.sec-hdr {
  margin-bottom: 3rem;
}

.sec-hdr__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.6rem;
}

.sec-hdr__eyebrow::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  flex-shrink: 0;
}

.sec-hdr__title {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  color: var(--navy);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.sec-hdr__lead {
  font-size: 0.97rem;
  color: var(--g600);
  max-width: 560px;
  line-height: 1.7;
}

.sub-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.35rem;
  display: block;
}

/* ─── Cards ────────────────────────────────────────────────────────────── */

.card {
  background: var(--white);
  border: 1px solid var(--g100);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  transition: box-shadow 0.22s, transform 0.22s;
}

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

.card--accent-top   { border-top: 3px solid var(--green); }
.card--accent-teal  { border-top: 3px solid var(--teal); }
.card--accent-navy  { border-top: 3px solid var(--navy); }
.card--accent-amber { border-top: 3px solid var(--amber); }

.card__eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green);
  margin-bottom: 0.45rem;
}

.card--accent-teal  .card__eyebrow { color: var(--teal); }
.card--accent-navy  .card__eyebrow { color: var(--navy-lt); }
.card--accent-amber .card__eyebrow { color: var(--amber); }

.card__title { font-size: 1.05rem; color: var(--navy); margin-bottom: 0.6rem; }
.card__body  { font-size: 0.9rem;  color: var(--g600);  line-height: 1.7; }

/* Division card */
.div-card {
  background: var(--white);
  border: 1px solid var(--g100);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: box-shadow 0.22s, transform 0.22s;
  display: flex;
  flex-direction: column;
}

.div-card:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }

.div-card__band { height: 4px; background: var(--green); }
.div-card--teal   .div-card__band { background: var(--teal); }
.div-card--navy   .div-card__band { background: var(--navy); }
.div-card--amber  .div-card__band { background: var(--amber); }
.div-card--energy .div-card__band { background: var(--energy); }

.div-card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }

.div-card__label {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green);
  margin-bottom: 0.4rem;
}

.div-card--teal   .div-card__label { color: var(--teal); }
.div-card--navy   .div-card__label { color: var(--navy-lt); }
.div-card--amber  .div-card__label { color: var(--amber); }
.div-card--energy .div-card__label { color: var(--energy); }

.div-card__title { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 0.55rem; }
.div-card__desc  { font-size: 0.87rem; color: var(--g400); line-height: 1.65; flex: 1; margin-bottom: 1.1rem; }

.div-card__programs { list-style: none; padding: 0; margin-bottom: 1.25rem; }

.div-card__programs li {
  font-size: 0.82rem;
  color: var(--g700);
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--g50, #f5f6fa);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.div-card__programs li:last-child { border-bottom: none; }

.div-card__programs li::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
}

.div-card--teal   .div-card__programs li::before { background: var(--teal); }
.div-card--navy   .div-card__programs li::before { background: var(--navy-lt); }
.div-card--amber  .div-card__programs li::before { background: var(--amber); }
.div-card--energy .div-card__programs li::before { background: var(--energy); }

.div-card__link {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  text-decoration: none;
  transition: gap 0.15s;
  margin-top: auto;
}

.div-card__link:hover { gap: 0.6rem; text-decoration: none; }
.div-card__link::after { content: '\2192'; }

.div-card--teal   .div-card__link { color: var(--teal); }
.div-card--navy   .div-card__link { color: var(--navy-lt); }
.div-card--amber  .div-card__link { color: var(--amber); }
.div-card--energy .div-card__link { color: var(--energy); }

/* ─── Project Grid ─────────────────────────────────────────────────────── */

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.project-card {
  background: var(--white);
  border: 1px solid var(--g100);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.22s, transform 0.22s;
}

.project-card:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }

.project-card__img {
  height: 190px;
  overflow: hidden;
  background: var(--g50);
  position: relative;
}

.project-card__img img { width: 100%; height: 100%; object-fit: cover; }

.project-card__tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--green);
  color: var(--white);
  padding: 0.2rem 0.55rem;
  border-radius: var(--r-sm);
}

.project-card__tag--teal  { background: var(--teal); }
.project-card__tag--navy  { background: var(--navy); }
.project-card__tag--amber { background: var(--amber); }

.project-card__body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }

.project-card__title {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.project-card__desc {
  font-size: 0.86rem;
  color: var(--g400);
  line-height: 1.62;
  flex: 1;
  margin-bottom: 0.9rem;
}

.project-card__meta {
  font-size: 0.73rem;
  color: var(--g200);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ─── Feature Row ──────────────────────────────────────────────────────── */

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.feature-row--reverse { direction: rtl; }
.feature-row--reverse > * { direction: ltr; }

.feature-row__eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.feature-row__eyebrow::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}

.feature-row__title {
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
  color: var(--navy);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.feature-row__body {
  font-size: 0.97rem;
  color: var(--g700);
  line-height: 1.78;
  margin-bottom: 1.25rem;
}

.feature-list { list-style: none; padding: 0; margin-bottom: 1.5rem; }

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--g700);
  margin-bottom: 0.6rem;
  line-height: 1.55;
}

.feature-list li::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--green);
  border-radius: 50%;
  margin-top: 0.5rem;
  flex-shrink: 0;
}

/* ─── Impact Grid ──────────────────────────────────────────────────────── */

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1px;
  background: var(--g100);
  border: 1px solid var(--g100);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.impact-item { background: var(--white); padding: 1.75rem 1.25rem; text-align: center; }

.impact-item__num {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.impact-item__label { font-size: 0.78rem; color: var(--g400); line-height: 1.45; }

/* ─── Testimonials ─────────────────────────────────────────────────────── */

.testimony-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.testimony {
  background: var(--white);
  border: 1px solid var(--g100);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  position: relative;
}

.testimony::before {
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 4.5rem;
  line-height: 0.8;
  color: var(--g100);
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
}

.testimony__text {
  font-size: 0.93rem;
  color: var(--g700);
  line-height: 1.72;
  margin-bottom: 1.1rem;
  padding-top: 1.5rem;
  position: relative;
  z-index: 1;
}

.testimony__author { font-size: 0.85rem; font-weight: 700; color: var(--navy); }
.testimony__role   { font-size: 0.78rem; color: var(--g400); }

/* ─── Program Items ────────────────────────────────────────────────────── */

.program-list { display: flex; flex-direction: column; gap: 2px; }

.program-item {
  background: var(--white);
  border: 1px solid var(--g100);
  border-radius: var(--r);
  padding: 1.25rem 1.5rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: box-shadow 0.18s;
}

.program-item:hover { box-shadow: var(--sh-sm); }

.program-item__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--g100);
  line-height: 1;
  min-width: 2.5rem;
  padding-top: 0.05rem;
  letter-spacing: -0.03em;
}

.program-item__title {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.3rem;
}

.program-item__desc { font-size: 0.87rem; color: var(--g400); line-height: 1.62; }

/* ─── Partner Logos ────────────────────────────────────────────────────── */

.partner-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
}

.partner-logo {
  background: var(--g50);
  border: 1px solid var(--g100);
  border-radius: var(--r);
  padding: 0.7rem 1.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--g400);
  min-width: 120px;
  text-align: center;
  transition: border-color 0.15s, color 0.15s;
}

.partner-logo:hover { border-color: var(--g200); color: var(--g700); }

/* ─── CTA Banner ───────────────────────────────────────────────────────── */

.cta-banner {
  background: var(--green);
  background-image: radial-gradient(ellipse at 80% 50%, rgba(255,255,255,0.08) 0%, transparent 60%);
  border-radius: var(--r-xl);
  padding: 3.25rem 2.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-banner__title {
  font-size: clamp(1.15rem, 2.5vw, 1.65rem);
  color: var(--white);
  margin-bottom: 0.4rem;
  letter-spacing: -0.015em;
}

.cta-banner__body { font-size: 0.95rem; color: rgba(255,255,255,0.78); }

.cta-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ─── Division Banner ──────────────────────────────────────────────────── */

.division-banner {
  background: var(--navy);
  padding: 3.75rem 1.75rem;
}

.division-banner__inner { max-width: 1080px; margin: 0 auto; }

.division-banner__tag {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green-lt);
  margin-bottom: 0.6rem;
  display: block;
}

.division-banner__title {
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.division-banner__lead {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  max-width: 660px;
  line-height: 1.72;
}

/* ─── Image / Video Placeholders ───────────────────────────────────────── */

.img-placeholder {
  background: var(--g50);
  border: 2px dashed var(--g200);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 300px;
  text-align: center;
  padding: 2rem;
}

.img-placeholder__icon {
  width: 48px;
  height: 48px;
  background: var(--g100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--g200);
}

.img-placeholder__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--g200);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.video-placeholder {
  background: var(--ink);
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy-dk) 0%, rgba(21,107,56,0.28) 100%);
}

.video-placeholder__play {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.12);
  border: 2px solid rgba(255,255,255,0.28);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-placeholder__play::after {
  content: '';
  width: 0;
  height: 0;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 18px solid rgba(255,255,255,0.75);
  margin-left: 4px;
}

.video-placeholder__label {
  position: absolute;
  bottom: 1rem;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 1;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ─── Contact ──────────────────────────────────────────────────────────── */

.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--g700);
  margin-bottom: 0.3rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--g200);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
  margin-bottom: 1rem;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(21,107,56,0.1);
}

.contact-form textarea { resize: vertical; min-height: 140px; }

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}

.contact-info-item__icon {
  width: 38px;
  height: 38px;
  background: var(--green-dim);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.contact-info-item__label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--g200);
  margin-bottom: 0.15rem;
}

.contact-info-item__value { font-size: 0.92rem; color: var(--g700); }

/* ─── Utility Grids ────────────────────────────────────────────────────── */

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; }
/* 5-card grid: 3 cols on desktop, 2 on tablet, 1 on mobile */
.grid-5 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

/* ─── Misc Components ──────────────────────────────────────────────────── */

.highlight-box {
  background: rgba(21,107,56,0.06);
  border-left: 4px solid var(--green);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 1.1rem 1.5rem;
  font-size: 0.93rem;
  color: var(--g700);
  line-height: 1.72;
}

.badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.22rem 0.55rem;
  border-radius: var(--r-sm);
}

.badge--green  { background: rgba(21,107,56,0.1);   color: var(--green);  border: 1px solid rgba(21,107,56,0.22); }
.badge--teal   { background: rgba(11,110,134,0.1);  color: var(--teal);   border: 1px solid rgba(11,110,134,0.22); }
.badge--navy   { background: rgba(13,43,78,0.08);   color: var(--navy);   border: 1px solid rgba(13,43,78,0.15); }
.badge--amber  { background: rgba(168,79,7,0.1);    color: var(--amber);  border: 1px solid rgba(168,79,7,0.22); }

/* ─── Footer ───────────────────────────────────────────────────────────── */

.site-footer {
  background: var(--navy-dk);
  color: rgba(255,255,255,0.5);
  padding: 5rem 1.75rem 2rem;
  border-top: 3px solid var(--green);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 2.75rem;
  max-width: 1080px;
  margin: 0 auto;
}

.footer-brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer-brand__tagline { font-size: 0.85rem; line-height: 1.65; margin-bottom: 1.35rem; }

.footer-brand__socials {
  display: flex;
  gap: 0.45rem;
  list-style: none;
  padding: 0;
}

.footer-brand__socials a {
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.footer-brand__socials a:hover {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-color: rgba(255,255,255,0.2);
}

.footer-col__heading {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1rem;
}

.footer-col__links { list-style: none; padding: 0; }
.footer-col__links li { margin-bottom: 0.5rem; }

.footer-col__links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-col__links a:hover { color: rgba(255,255,255,0.9); }

.site-footer__bottom {
  max-width: 1080px;
  margin: 2.25rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.25);
}

/* ─── Responsive ───────────────────────────────────────────────────────── */

@media (max-width: 1100px) {
  .container { max-width: 100%; }
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (max-width: 960px) {
  .hero--split      { grid-template-columns: 1fr; }
  .hero--split .hero__visual { display: none; }
  .feature-row      { grid-template-columns: 1fr; gap: 2rem; }
  .feature-row--reverse { direction: ltr; }
  .contact-grid     { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .stats-bar__grid .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .stats-bar__grid .stat:last-child { border-bottom: none; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .program-list { gap: 4px; }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .approach-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .demand-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { font-size: 15px; }
  .primary-nav { display: none; }   /* JS adds nav--open to show */
  .nav-toggle  { display: flex; }
  .site-header nav { flex: 0; }

  /* Sections */
  .section     { padding: 3rem 0; }
  .section--sm { padding: 2.25rem 0; }
  .container   { padding: 0 1.25rem; }

  /* Hero */
  .hero { padding: 3.5rem 1.25rem 3rem; }
  .hero__lead { font-size: 0.97rem; }
  .hero__actions { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  /* Page hero */
  .page-hero { padding: 2.75rem 1.25rem 2.5rem; }
  .page-hero__title { font-size: clamp(1.4rem, 5vw, 2rem); }

  /* Stats */
  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar__grid .stat { border-bottom: 1px solid rgba(255,255,255,0.07); }
  .stats-bar__grid .stat:nth-child(2) { border-right: none; }

  /* Cards */
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; }
  .testimony-grid { grid-template-columns: 1fr; }

  /* CTA */
  .cta-banner { flex-direction: column; text-align: center; padding: 2.25rem 1.5rem; }
  .cta-banner__actions { justify-content: center; flex-direction: column; }
  .cta-banner__actions .btn { width: 100%; justify-content: center; }

  /* Footer */
  .site-footer { padding: 3.5rem 1.25rem 1.5rem; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .site-footer__bottom { flex-direction: column; text-align: center; gap: 0.35rem; }

  /* Impact */
  .impact-grid { grid-template-columns: repeat(2, 1fr); }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; }

  /* Feature row */
  .feature-row { gap: 1.75rem; }
}

@media (max-width: 480px) {
  :root { font-size: 14px; }

  body::before { display: none; } /* hide stripe on very small screens */

  .site-header__inner { padding: 0 1rem; height: 60px; gap: 1rem; }
  .brand-tagline { display: none; }
  .nav--open { top: 63px; } /* 60px header + 3px accent line */

  /* Hero */
  .hero { padding: 3rem 1rem 2.5rem; }
  .hero__title { font-size: clamp(1.65rem, 7vw, 2.4rem); }
  .hero__lead  { font-size: 0.93rem; }
  .hero__eyebrow { font-size: 0.6rem; }

  /* Page hero */
  .page-hero { padding: 2.25rem 1rem 2rem; }

  /* Section header */
  .sec-hdr { margin-bottom: 2rem; }

  /* Stats */
  .stats-bar__grid { grid-template-columns: 1fr 1fr; }
  .stat__number { font-size: 1.75rem; }

  /* Cards */
  .card, .div-card__body { padding: 1.25rem; }
  .program-item { padding: 1rem 1.1rem; flex-direction: column; gap: 0.35rem; }
  .program-item__num { font-size: 1rem; min-width: unset; }

  /* Buttons */
  .btn { padding: 0.65rem 1.15rem; font-size: 0.82rem; }

  /* Footer */
  .footer-brand__socials { flex-wrap: wrap; }

  /* Tables / grids */
  .impact-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 360px) {
  :root { font-size: 13.5px; }
  .container { padding: 0 0.85rem; }
  .stats-bar__grid { grid-template-columns: 1fr; }
  .stats-bar__grid .stat { border-right: none; }
  /* On very small screens show only the logomark */
  .site-header__wordmark { display: none; }
}

/* ─── Touch & pointer improvements ─────────────────────────────────────── */

@media (hover: none) {
  /* JS owns all dropdown logic — disable CSS hover entirely */
  .card:hover, .div-card:hover, .project-card:hover { transform: none; }
}

/* ─── Print ─────────────────────────────────────────────────────────────── */

@media print {
  .site-header, .site-footer, .nav-toggle { display: none !important; }
  body::before { display: none; }
  .page-hero { background: none !important; color: var(--ink) !important; padding: 1.5rem 0; }
  .page-hero__title, .page-hero__lead { color: var(--ink) !important; }
  a { color: var(--ink); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   FELLOWSHIP ANNOUNCEMENT MODAL
   ═══════════════════════════════════════════════════════════════════════════ */

/* Backdrop */
.sataf-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 12, 24, 0.6);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 9900;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.sataf-modal-backdrop--open {
  opacity: 1;
  pointer-events: auto;
}

/* Modal card — centred */
.sataf-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 9910;
  width: calc(100% - 2.5rem);
  max-width: 540px;
  background: var(--white);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg), 0 2px 8px rgba(0,0,0,0.06);
  overflow: hidden;
  transform: translate(-50%, -50%) scale(0.96);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.25s ease;
  outline: none;
}
.sataf-modal--open {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

/* ── Header (dark navy band) ───────────────────────────────────────────── */
.sataf-modal__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.6rem 1.75rem 1.5rem;
  background: var(--navy);
  border-bottom: 3px solid var(--green);
}
.sataf-modal__label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.45rem;
}
.sataf-modal__title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
}

/* Close button */
.sataf-modal__close {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--r-sm);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
  padding: 0;
  margin-top: 0.1rem;
}
.sataf-modal__close:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}
.sataf-modal__close:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

/* ── Body ──────────────────────────────────────────────────────────────── */
.sataf-modal__body {
  padding: 1.6rem 1.75rem 1.4rem;
}
.sataf-modal__body p {
  font-size: 0.92rem;
  color: var(--g600);
  line-height: 1.72;
  margin: 0 0 1.4rem;
}

/* Stats row */
.sataf-modal__stats {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 1rem 1.1rem;
  background: var(--g50);
  border: 1px solid var(--g100);
  border-radius: var(--r-lg);
  margin-bottom: 1.25rem;
}
.sataf-modal__stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.2rem;
}
.sataf-modal__stat-val {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
}
.sataf-modal__stat-key {
  font-size: 0.67rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--g400);
}
.sataf-modal__stat-div {
  width: 1px;
  height: 28px;
  background: var(--g200);
  flex-shrink: 0;
}

/* Track list */
.sataf-modal__tracks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.sataf-modal__tracks span {
  font-size: 0.73rem;
  font-weight: 500;
  color: var(--g700);
  background: var(--white);
  border: 1px solid var(--g200);
  border-radius: var(--r-sm);
  padding: 0.3rem 0.65rem;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

/* ── Footer ────────────────────────────────────────────────────────────── */
.sataf-modal__foot {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.1rem 1.75rem 1.4rem;
  border-top: 1px solid var(--g100);
  background: var(--white);
}

/* CTA — matches site .btn.btn--primary exactly */
.sataf-modal__cta {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.65rem 1.35rem;
  border-radius: var(--r);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 0.18s ease;
  white-space: nowrap;
}
.sataf-modal__cta:hover {
  background: var(--green-lt);
  color: var(--white);
  text-decoration: none;
}
.sataf-modal__cta:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

/* Dismiss */
.sataf-modal__dismiss {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--g400);
  cursor: pointer;
  padding: 0;
  transition: color 0.15s ease;
}
.sataf-modal__dismiss:hover { color: var(--g600); }
.sataf-modal__dismiss:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ── Mobile ────────────────────────────────────────────────────────────── */
@media (max-width: 540px) {
  .sataf-modal {
    width: calc(100% - 1.5rem);
  }
  .sataf-modal__head,
  .sataf-modal__body,
  .sataf-modal__foot {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .sataf-modal__title { font-size: 1.25rem; }
  .sataf-modal__stat-val { font-size: 1rem; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   FELLOWSHIP PAGE STYLES
   ═══════════════════════════════════════════════════════════════════════════ */

/* Hero badge */
.fellowship-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #34d399;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.28);
  border-radius: 100px;
  padding: 0.35rem 1rem;
}

/* Section sub-heading */
.sec-hdr__sub {
  max-width: 640px;
  margin: 0.75rem auto 0;
  font-size: 0.97rem;
  color: var(--gray-600);
  line-height: 1.7;
  text-align: center;
}

/* Fellowship card accent line replaces icon */
.card--accent-green { border-top: 3px solid var(--green); }

/* Subsystem cards */
.fellowship-subsystem-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-top: 3px solid var(--green);
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}
.fellowship-subsystem-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.fellowship-subsystem-card__num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--green);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 0.6rem;
  letter-spacing: -0.04em;
}
.fellowship-subsystem-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.5rem;
}
.fellowship-subsystem-card__desc {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.65;
  margin: 0;
}

/* Track cards */
.fellowship-track-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  margin-bottom: 1.25rem;
  overflow: hidden;
  transition: box-shadow 0.22s ease;
}
.fellowship-track-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.07);
}
.fellowship-track-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.5rem 1.75rem;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}
.fellowship-track-card__num {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
  margin-bottom: 0.25rem;
}
.fellowship-track-card__title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
}
.fellowship-track-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}
.fellowship-track-card__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 1.5rem 1.75rem;
}
.fellowship-track-card__skills-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--gray-500);
  margin-bottom: 0.65rem;
}

/* Track pills */
.fellowship-track-pill {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  background: var(--gray-100);
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
  white-space: nowrap;
}
.fellowship-track-pill--tech    { background: rgba(59,130,246,0.08); color: #2563eb; border-color: rgba(59,130,246,0.2); }
.fellowship-track-pill--design  { background: rgba(139,92,246,0.08); color: #7c3aed; border-color: rgba(139,92,246,0.2); }
.fellowship-track-pill--domain  { background: rgba(245,158,11,0.08); color: #d97706; border-color: rgba(245,158,11,0.2); }
.fellowship-track-pill--full    { background: rgba(5,150,105,0.08);  color: var(--green); border-color: rgba(5,150,105,0.22); }
.fellowship-track-pill--stipend { background: rgba(5,150,105,0.08);  color: var(--green); border-color: rgba(5,150,105,0.22); font-weight: 700; }

/* Skills list */
.fellowship-skills-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.fellowship-skills-list li {
  font-size: 0.87rem;
  color: var(--gray-700);
  line-height: 1.5;
  padding-left: 1rem;
  position: relative;
}
.fellowship-skills-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}
.fellowship-skills-list--bonus li::before { background: var(--amber); }
.fellowship-skills-list--bonus li { color: var(--gray-600); }

/* Benefits grid */
.benefit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem 1.35rem;
  background: var(--white);
  border: 1px solid var(--g100);
  border-radius: var(--r-lg);
  transition: box-shadow 0.2s ease;
}
.benefit-item:hover { box-shadow: var(--sh); }
.benefit-item__num {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--green);
  background: var(--green-dim);
  border-radius: var(--r-sm);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}
.benefit-item__title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.2rem;
  line-height: 1.3;
}
.benefit-item__desc {
  font-size: 0.81rem;
  color: var(--g600);
  line-height: 1.55;
}

/* Programme timeline */
.fellowship-timeline {
  display: flex;
  gap: 0;
  position: relative;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}
.fellowship-timeline::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gray-200);
  z-index: 0;
}
.fellowship-timeline__item {
  flex: 1;
  min-width: 160px;
  position: relative;
  padding: 0 1rem;
}
.fellowship-timeline__dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--gray-300);
  position: relative;
  z-index: 1;
  margin: 10px auto 1.25rem;
  transition: border-color 0.2s ease;
}
.fellowship-timeline__dot--active {
  border-color: var(--green);
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.18);
}
.fellowship-timeline__content { text-align: center; }
.fellowship-timeline__period {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--green);
  margin-bottom: 0.3rem;
}
.fellowship-timeline__phase {
  font-size: 0.97rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.fellowship-timeline__desc {
  font-size: 0.8rem;
  color: var(--gray-600);
  line-height: 1.55;
  margin: 0;
}

/* Eligibility checklist */
.fellowship-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.fellowship-checklist li {
  font-size: 0.88rem;
  color: var(--gray-700);
  line-height: 1.55;
  padding-left: 1.4rem;
  position: relative;
}
.fellowship-checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 700;
  font-size: 0.85rem;
}

/* Application steps */
.application-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 780px;
  margin: 0 auto;
}
.application-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  position: relative;
}
.application-step__num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}
.application-step__connector {
  width: 2px;
  height: 2.5rem;
  background: var(--gray-200);
  margin-left: 21px;
}
.application-step__content {
  padding-top: 0.5rem;
  padding-bottom: 1.5rem;
}
.application-step__title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.application-step__desc {
  font-size: 0.87rem;
  color: var(--gray-600);
  line-height: 1.65;
  margin: 0;
}

/* Google Form embed */
.form-embed-wrapper {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  background: #fff;
}
.form-embed-wrapper iframe {
  display: block;
  min-height: 900px;
}

/* Form placeholder (shown before Google Form URL is set) */
.form-placeholder {
  text-align: center;
  padding: 3.5rem 2rem;
  background: var(--g50);
  border: 1px dashed var(--g200);
  border-radius: var(--r-xl);
}
.form-placeholder__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.6rem;
}
.form-placeholder__desc {
  font-size: 0.9rem;
  color: var(--g600);
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto;
}

/* Contact strip */
.fellowship-contact-strip {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.fellowship-contact-strip__info { flex: 1; min-width: 180px; }
.fellowship-contact-strip__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--gray-500);
  margin-bottom: 0.35rem;
}
.fellowship-contact-strip__email,
.fellowship-contact-strip__social {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green);
  text-decoration: none;
}
.fellowship-contact-strip__email:hover,
.fellowship-contact-strip__social:hover { text-decoration: underline; }
.fellowship-contact-strip__note {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 0.2rem;
}
.fellowship-contact-strip__divider {
  width: 1px;
  height: 60px;
  background: var(--gray-200);
  flex-shrink: 0;
}

/* AI page teaser */
.fellowship-teaser {
  border: 2px solid rgba(5, 150, 105, 0.3);
  border-radius: 20px;
  padding: 2.5rem;
  background: linear-gradient(135deg, rgba(5,150,105,0.04) 0%, rgba(16,185,129,0.02) 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.fellowship-teaser__badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
  background: rgba(5,150,105,0.1);
  border: 1px solid rgba(5,150,105,0.22);
  border-radius: 100px;
  padding: 0.28rem 0.75rem;
  margin-bottom: 0.75rem;
}
.fellowship-teaser__title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}
.fellowship-teaser__meta {
  font-size: 0.88rem;
  color: var(--gray-600);
}
.fellowship-teaser__meta span {
  margin-right: 1.25rem;
}

/* ─── Responsive: fellowship page ───────────────────────────────────────── */

@media (max-width: 768px) {
  .fellowship-track-card__body {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .fellowship-track-card__header {
    flex-direction: column;
  }
  .benefit-grid { grid-template-columns: 1fr; }
  .fellowship-timeline { flex-direction: column; }
  .fellowship-timeline::before { display: none; }
  .fellowship-timeline__item { padding: 0; }
  .fellowship-timeline__dot { margin: 0 0 0.75rem; }
  .fellowship-timeline__content { text-align: left; padding-left: 1rem; }
  .fellowship-contact-strip__divider { display: none; }
  .fellowship-teaser { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .fellowship-track-card__header,
  .fellowship-track-card__body { padding: 1.1rem 1.25rem; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   LOGO — HEADER & FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */

/* Real logo image */
/* ── Header brand: logomark + wordmark ───────────────────────────────── */
.site-header__brand {
  gap: 0.75rem;
}
.site-logo {
  display: block;
  height: 44px;
  width: 44px;
  object-fit: contain;
  border-radius: 10px;
  flex-shrink: 0;
}

/* Wordmark (name + sub-label beside the logo) */
.site-header__wordmark {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
  gap: 3px;
  /* A hairline left separator separates mark from wordmark */
  padding-left: 0.75rem;
  border-left: 1px solid rgba(255,255,255,0.15);
}
.site-header__wordmark-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.04em;
}
.site-header__wordmark-sub {
  font-size: 0.62rem;
  font-weight: 400;
  color: rgba(255,255,255,0.52);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

/* Placeholder mark when no logo URL is configured */
.site-logo-placeholder__mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Footer logo */
.footer-brand__logo-link { display: inline-block; margin-bottom: 0.9rem; }
.footer-logo {
  display: block;
  height: 72px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  object-position: left center;
  border-radius: var(--r-sm);
}

/* Screen-reader only utility */
.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;
}


/* ═══════════════════════════════════════════════════════════════════════════
   CLEAN ENERGY DIVISION — page-energy.php components
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── sec-hdr__tag (small pill label above section titles) ───────────────── */
.sec-hdr__tag {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green);
  background: rgba(21,107,56,0.1);
  border: 1px solid rgba(21,107,56,0.2);
  padding: 0.28rem 0.7rem;
  border-radius: var(--r-sm);
  margin-bottom: 0.75rem;
}
.sec-hdr__tag--energy { color: var(--energy); background: var(--energy-dim); border-color: rgba(196,121,0,0.2); }
.sec-hdr__body { font-size: 0.97rem; color: var(--g600); line-height: 1.7; }

/* ── Energy hero ────────────────────────────────────────────────────────── */
.div-hero--energy {
  background: linear-gradient(135deg, #0f1624 0%, #1a1200 55%, #2a1e00 100%);
  padding: 6rem 0 5rem;
}
.div-hero__inner { max-width: 760px; }
.div-hero__meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}
.div-hero__tag {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--energy);
  background: var(--energy-dim);
  padding: 0.3rem 0.7rem;
  border-radius: var(--r-sm);
}
.div-hero__divider { width: 1px; height: 14px; background: rgba(255,255,255,0.2); }
.div-hero__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.div-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 1.35rem;
}
.div-hero__title em { font-style: italic; color: var(--energy-lt); }
.div-hero__lead {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.72);
  max-width: 680px;
  margin-bottom: 2rem;
}
.div-hero__actions { display: flex; gap: 0.85rem; flex-wrap: wrap; }
.btn--outline-white {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1.5px solid rgba(255,255,255,0.45);
  color: rgba(255,255,255,0.85);
  background: transparent;
  transition: background 0.2s, border-color 0.2s;
}
.btn--outline-white:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); }

/* ── Crisis stats row ───────────────────────────────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.stat-block {
  padding: 1.5rem 1.25rem;
  border-radius: var(--r-lg);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  text-align: center;
}
.stat-block--energy { border-top: 3px solid var(--energy); }
.stat-block__num {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--energy-lt);
  margin-bottom: 0.4rem;
  line-height: 1;
}
.stat-block__label { font-size: 0.78rem; color: rgba(255,255,255,0.55); line-height: 1.45; }

/* ── Editorial cards ────────────────────────────────────────────────────── */
.editorial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.editorial-card {
  background: var(--white);
  border: 1px solid var(--g100);
  border-radius: var(--r-xl);
  padding: 2rem;
  transition: box-shadow 0.2s;
}
.editorial-card:hover { box-shadow: var(--sh-md); }
.editorial-card--lead {
  grid-column: span 2;
  border-top: 4px solid var(--energy);
  background: linear-gradient(135deg, #fffbf2 0%, #fff 60%);
}
.editorial-card__eyebrow {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--energy);
  margin-bottom: 0.45rem;
}
.editorial-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.8rem;
  line-height: 1.3;
}
.editorial-card__body {
  font-size: 0.92rem;
  color: var(--g600);
  line-height: 1.75;
  margin-bottom: 0.75rem;
}
.editorial-card__body:last-child { margin-bottom: 0; }

/* ── Approach grid (3 strategy cards) ──────────────────────────────────── */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 0.5rem;
}
.approach-card {
  border-radius: var(--r-xl);
  padding: 2rem 1.75rem;
  border: 1px solid var(--g100);
  background: var(--white);
  transition: box-shadow 0.2s, transform 0.2s;
}
.approach-card:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }
.approach-card--1 { border-top: 4px solid var(--energy); }
.approach-card--2 { border-top: 4px solid var(--green); }
.approach-card--3 { border-top: 4px solid var(--teal); }
.approach-card__num {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--energy);
  background: var(--energy-dim);
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.approach-card--2 .approach-card__num { color: var(--green); background: rgba(21,107,56,0.1); }
.approach-card--3 .approach-card__num { color: var(--teal); background: rgba(11,110,134,0.1); }
.approach-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.approach-card__body { font-size: 0.9rem; color: var(--g600); line-height: 1.72; margin-bottom: 1.15rem; }
.approach-card__list { list-style: none; padding: 0; margin: 0; }
.approach-card__list li {
  font-size: 0.83rem;
  color: var(--g700);
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--g50, #f5f6fa);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.approach-card__list li:last-child { border-bottom: none; }
.approach-card__list li::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--energy);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.45em;
}
.approach-card--2 .approach-card__list li::before { background: var(--green); }
.approach-card--3 .approach-card__list li::before { background: var(--teal); }

/* ── Editorial pull quote ────────────────────────────────────────────────── */
.section--energy-dark {
  background: linear-gradient(135deg, #0f1624 0%, #1e1200 100%);
  padding: 5rem 0;
}
.editorial-position { max-width: 820px; margin: 0 auto; text-align: center; }
.editorial-position__label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--energy);
  margin-bottom: 1.5rem;
}
.editorial-position__quote {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  font-weight: 500;
  font-style: italic;
  color: rgba(255,255,255,0.88);
  line-height: 1.7;
  margin: 0 0 1.5rem;
  padding: 0;
  border: none;
}
.editorial-position__attr { font-size: 0.84rem; color: rgba(255,255,255,0.45); line-height: 1.6; }
.editorial-position__attr span { font-size: 0.78rem; color: rgba(255,255,255,0.3); }

/* ── Policy demand cards ─────────────────────────────────────────────────── */
.demand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.demand-card {
  background: var(--white);
  border: 1px solid var(--g100);
  border-left: 4px solid var(--energy);
  border-radius: var(--r-lg);
  padding: 1.5rem 1.4rem;
  transition: box-shadow 0.2s;
}
.demand-card:hover { box-shadow: var(--sh); }
.demand-card__num {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--energy);
  margin-bottom: 0.6rem;
}
.demand-card__title { font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 0.6rem; line-height: 1.35; }
.demand-card__body { font-size: 0.86rem; color: var(--g600); line-height: 1.68; }

/* ── Related area cards ──────────────────────────────────────────────────── */
.related-area-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--g100);
  border-radius: var(--r-lg);
  padding: 1.5rem 1.4rem;
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s;
}
.related-area-card:hover { box-shadow: var(--sh-md); transform: translateY(-2px); text-decoration: none; }
.related-area-card__label {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--energy);
  margin-bottom: 0.3rem;
}
.related-area-card__title { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.related-area-card__desc { font-size: 0.84rem; color: var(--g600); line-height: 1.6; margin-bottom: 0.85rem; }
.related-area-card__arrow { font-size: 1.1rem; color: var(--energy); }

/* ── Project card energy variant ─────────────────────────────────────────── */
.project-card--energy .project-card__tag { background: var(--energy-dim); color: var(--energy); }

/* ── Status/meta pills ───────────────────────────────────────────────────── */
.programme-item__meta { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 0.75rem; }
.meta-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--r-sm);
  background: var(--g100);
  color: var(--g700);
}
.meta-pill--active   { background: rgba(21,107,56,0.12);  color: var(--green); }
.meta-pill--research { background: rgba(11,110,134,0.12); color: var(--teal); }
.meta-pill--planned  { background: var(--energy-dim);      color: var(--energy); }

/* ── Responsive: energy page ────────────────────────────────────────────── */
@media (max-width: 960px) {
  .approach-grid { grid-template-columns: 1fr; }
  .editorial-grid { grid-template-columns: 1fr; }
  .editorial-card--lead { grid-column: span 1; }
  .demand-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .div-hero--energy { padding: 4rem 0 3.5rem; }
  .demand-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stats-row > :last-child { grid-column: span 2; }
}
