/*
Theme Name: WAIN — Water Advancement & Innovation Nexus
Theme URI: https://wain-wbmn.vercel.app/
Author: WAIN Digital & Engineering Team
Author URI: https://wain-wbmn.vercel.app/
Description: Official WordPress theme for Water Advancement & Innovation Nexus (WAIN) — a nonprofit water-sector ecosystem connecting people, institutions, knowledge, leadership, innovation and investment to advance water security, WASH, resilient infrastructure and sustainable water services.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: wain
*/

/* Fonts enqueued asynchronously via functions.php wain_enqueue_assets() */

:root {
  --ink: #10231f;
  --teal: #0e4f52;
  --teal-2: #123f42;
  --deep: #08272b;
  --gold: #c08a2e;
  --gold-soft: #e9c98a;
  --paper: #f5f1e7;
  --paper-2: #ede7d8;
  --sprout: #4c7a4a;
  --line: #10231f1f;
  --line-on-dark: #f5f1e729;
  --white: #ffffff;
  --muted: #5e726d;
  --max: 1200px;
  --chrome-h: 108px;
  --radius-btn: 8px;
  --radius-card: 12px;
  --shadow-card: 0 8px 24px rgba(8, 39, 43, 0.06);
  --shadow-hover: 0 16px 36px rgba(8, 39, 43, 0.12);
  --shadow-chrome: 0 8px 24px rgba(8, 39, 43, 0.1);
  --font-plex-sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-plex-mono: 'IBM Plex Mono', monospace;
  --font-fraunces: 'Fraunces', Georgia, serif;
  --font-ethiopic: 'Noto Sans Ethiopic', 'IBM Plex Sans', sans-serif;
}

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

html {
  font-family: var(--font-plex-sans);
  background-color: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: var(--font-plex-sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  max-width: 100vw;
}

#main {
  flex: 1 0 auto;
}

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--gold);
  color: var(--deep);
  padding: 10px 18px;
  z-index: 99999;
  font-weight: 600;
  border-radius: var(--radius-btn);
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 16px;
}

/* Containers */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
  color: var(--deep);
  font-weight: 600;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

/* Chrome Header & Navigation */
.site-chrome {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-chrome.is-scrolled {
  box-shadow: var(--shadow-chrome);
  background: rgba(245, 241, 231, 0.96);
  backdrop-filter: blur(8px);
}

.wain-announcement-bar {
  background: var(--gold);
  color: var(--deep);
  padding: 8px 16px;
  font-family: var(--font-plex-sans);
  font-size: 13px;
  border-bottom: 1px solid rgba(8, 39, 43, 0.12);
  transition: all 0.25s ease;
}
.wain-announcement-bar a {
  color: var(--deep);
  font-weight: 600;
  text-decoration: underline;
  margin-left: 6px;
  transition: opacity 0.15s;
}
.wain-announcement-bar a:hover {
  opacity: 0.8;
}

.utility {
  background: var(--deep);
  color: var(--paper-2);
  font-size: 12px;
  border-bottom: 1px solid var(--line-on-dark);
}

.utility .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 34px;
}

.utility-links,
ul.utility-links {
  display: flex;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.utility-links li {
  margin: 0;
  padding: 0;
  list-style: none;
}
.utility-links a {
  color: #b9c2bd;
  transition: color 0.2s ease;
  text-decoration: none;
  font-size: 12px;
}
.utility-links a:hover,
.utility-links li.current-menu-item > a {
  color: var(--paper);
}

.utility-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.utility-hq a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.utility-hq a:hover {
  color: var(--gold-soft);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-plex-mono);
  font-size: 11px;
}

.lang-btn {
  background: none;
  border: 1px solid rgba(245, 241, 231, 0.16);
  color: var(--paper-2);
  padding: 2px 7px;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
  font-size: 11px;
  opacity: 0.75;
  transition: all 0.15s ease;
  line-height: 1.4;
}
.lang-btn:hover {
  opacity: 1;
  border-color: var(--gold-soft);
  color: var(--gold-soft);
}
.lang-btn.is-active {
  opacity: 1;
  background: var(--gold);
  border-color: var(--gold);
  color: var(--deep);
  font-weight: 600;
}

.lang-select {
  background: rgba(245, 241, 231, 0.08);
  border: 1px solid rgba(245, 241, 231, 0.16);
  color: var(--paper-2);
  border-radius: 4px;
  padding: 2px 4px;
  font-size: 10.5px;
  font-family: var(--font-plex-mono);
  cursor: pointer;
  line-height: 1.4;
}
.lang-select:focus {
  outline: none;
  border-color: var(--gold-soft);
}
.lang-select option {
  background: var(--deep);
  color: var(--paper);
}

/* Amharic Typography Enhancements */
html[lang="am"],
html[lang="ti"],
.translated-amharic,
.translated-amharic body {
  font-family: var(--font-ethiopic) !important;
}
html[lang="am"] h1, html[lang="am"] h2, html[lang="am"] h3, html[lang="am"] h4, html[lang="am"] h5,
.translated-amharic h1, .translated-amharic h2, .translated-amharic h3, .translated-amharic h4, .translated-amharic h5 {
  font-family: var(--font-ethiopic) !important;
  font-weight: 700;
  letter-spacing: normal;
  line-height: 1.35;
}

/* Google Translate Suppression of Default Obtrusive Frames */
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame {
  display: none !important;
}
body {
  top: 0px !important;
}
#goog-gt-tt, .goog-te-balloon-frame {
  display: none !important;
}
.goog-text-highlight {
  background: none !important;
  box-shadow: none !important;
}
.skiptranslate:not(.lang-switch) {
  display: none !important;
}
font {
  background-color: transparent !important;
  box-shadow: none !important;
}

.utility-hq {
  font-family: var(--font-plex-mono);
  color: var(--gold-soft);
  font-size: 11.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

header.main {
  padding: 16px 0;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.logo-word {
  display: flex;
  flex-direction: column;
  font-family: var(--font-fraunces);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--deep);
  line-height: 1;
}

.logo-word small {
  font-family: var(--font-plex-mono);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.8px;
  color: var(--teal);
  margin-top: 3px;
}

.custom-brand-logo {
  max-height: 48px;
  width: auto;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}

.logo-footer {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.logo-footer .logo-word {
  color: var(--paper);
}
.logo-footer .logo-word small {
  color: var(--gold-soft);
}

nav.primary {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 500;
  font-size: 14.5px;
}

nav.primary ul.primary-nav-links,
nav.primary ul {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav.primary ul li,
nav.primary li {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

nav.primary a,
nav.primary ul li a {
  color: var(--ink);
  padding: 6px 0;
  position: relative;
  text-decoration: none;
  display: inline-block;
  font-weight: 500;
  font-size: 14.5px;
  transition: color 0.15s ease;
}
nav.primary a:hover,
nav.primary ul li a:hover {
  color: var(--teal);
}

nav.primary ul li.current-menu-item > a,
nav.primary ul li.current_page_item > a {
  color: var(--teal);
  font-weight: 600;
}

nav.primary ul.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(8, 39, 43, 0.12);
  border-radius: var(--radius-card);
  padding: 12px 16px;
  min-width: 200px;
  flex-direction: column;
  gap: 8px;
  z-index: 1002;
  margin-top: 8px;
}

nav.primary ul li:hover > ul.sub-menu,
nav.primary ul li:focus-within > ul.sub-menu {
  display: flex;
}

nav.primary ul.sub-menu li a {
  font-size: 13.5px;
  padding: 4px 0;
  white-space: nowrap;
}

/* Mega Menu Dropdown */
.has-mega {
  position: relative;
}

.mega-trigger {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 0;
}
.mega-trigger:hover {
  color: var(--teal);
}

.mega {
  display: none;
  position: absolute;
  top: 100%;
  left: -120px;
  width: 620px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 14px 40px rgba(8, 39, 43, 0.15);
  border-radius: var(--radius-card);
  padding: 24px;
  margin-top: 14px;
  z-index: 1001;
}

.has-mega:hover .mega,
.has-mega:focus-within .mega,
.has-mega.is-open .mega {
  display: block;
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 20px;
}

.mega-grid a {
  display: flex;
  flex-direction: column;
  padding: 10px 14px;
  border-radius: var(--radius-btn);
  background: rgba(16, 35, 31, 0.02);
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.mega-grid a:hover {
  background: var(--white);
  border-color: var(--line);
  transform: translateY(-1px);
}

.mega-grid a b {
  font-size: 14px;
  color: var(--deep);
  margin-bottom: 2px;
}

.mega-grid a span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

/* Buttons & CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-sm {
  padding: 7px 16px;
  font-size: 13px;
}

.btn-gold {
  background: var(--gold);
  color: var(--deep);
  box-shadow: 0 4px 12px rgba(192, 138, 46, 0.25);
}
.btn-gold:hover {
  background: #d49a37;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(192, 138, 46, 0.35);
}

.btn-primary {
  background: var(--teal);
  color: var(--paper);
}
.btn-primary:hover {
  background: var(--teal-2);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--deep);
  border-color: var(--deep);
}
.btn-ghost:hover {
  background: var(--deep);
  color: var(--paper);
}

.btn-on-dark {
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--paper-2);
}
.btn-on-dark:hover {
  background: var(--paper);
  color: var(--deep);
}

.cta-join {
  background: var(--gold);
  color: var(--deep);
  font-weight: 600;
  font-size: 13.5px;
  padding: 8px 18px;
  border-radius: var(--radius-btn);
  transition: all 0.2s ease;
}
.cta-join:hover {
  background: #d49a37;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--deep);
  margin: 5px 0;
  transition: 0.3s;
}

/* HERO SECTION */
.hero {
  position: relative;
  background: radial-gradient(ellipse at 80% 35%, #0f3f46 0%, #08272b 50%, var(--deep) 100%);
  color: var(--paper);
  padding: 80px 0 88px;
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-plex-mono);
  font-size: 12px;
  color: var(--gold-soft);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 22px;
}

.hero-eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sprout);
  box-shadow: 0 0 10px var(--sprout);
  display: inline-block;
  animation: pulseDot 2.2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.25); opacity: 1; }
}

.hero h1 {
  font-family: var(--font-fraunces);
  font-size: 54px;
  line-height: 1.12;
  font-weight: 600;
  color: var(--paper);
  margin-bottom: 22px;
  letter-spacing: -1.2px;
}

.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-soft);
}

.hero-sub {
  font-size: 17px;
  line-height: 1.65;
  color: #cfd8d4;
  max-width: 540px;
  margin-bottom: 34px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.hero .btn-on-dark,
.hero .btn-ghost {
  background: rgba(245, 241, 231, 0.08);
  color: var(--paper);
  border: 1px solid rgba(245, 241, 231, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-weight: 500;
  transition: all 0.2s ease;
}
.hero .btn-on-dark:hover,
.hero .btn-ghost:hover {
  background: rgba(245, 241, 231, 0.18);
  border-color: var(--gold-soft);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual svg {
  max-width: 440px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 35px rgba(0, 0, 0, 0.35));
  animation: subtleFloat 8s ease-in-out infinite alternate;
}

@keyframes subtleFloat {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-6px) rotate(0.8deg); }
}

.hero-scroll {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
}
.hero-scroll a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-plex-mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--gold-soft);
  opacity: 0.75;
  transition: opacity 0.2s ease;
}
.hero-scroll a:hover {
  opacity: 1;
}

/* QUICKBAR STRIP */
.quickbar {
  background: #062327;
  color: var(--paper);
  border-bottom: 1px solid rgba(245, 241, 231, 0.12);
  padding: 14px 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.quickbar .wrap {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.quickbar .qa {
  font-family: var(--font-plex-mono);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0.92;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(245, 241, 231, 0.04);
  border: 1px solid rgba(245, 241, 231, 0.08);
  text-decoration: none;
  transition: all 0.2s ease;
}
.quickbar .qa:hover {
  opacity: 1;
  color: var(--gold-soft);
  background: rgba(14, 79, 82, 0.4);
  border-color: rgba(233, 201, 138, 0.35);
  transform: translateY(-1px);
}
.quickbar .qa::after {
  content: "→";
  opacity: 0.7;
  transition: transform 0.2s ease;
}
.quickbar .qa:hover::after {
  transform: translateX(3px);
  opacity: 1;
}

/* SECTION UTILITIES */
section {
  padding: 80px 0;
}
.sec-head {
  margin-bottom: 44px;
}
.sec-head h2 {
  font-family: var(--font-fraunces);
  font-size: 38px;
  font-weight: 600;
  color: var(--deep);
  margin-top: 6px;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}
.sec-head p {
  color: var(--muted);
  font-size: 16.5px;
  max-width: 680px;
}

.feature-label {
  font-family: var(--font-plex-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

/* ==========================================================================
   LEADERSHIP MESSAGES SECTION ("Messages of Leadership")
   ========================================================================== */
.leadership-messages {
  background-color: #f8fafc; /* bg-slate-50 */
  padding: 88px 0;
  border-bottom: 1px solid rgba(16, 35, 31, 0.08);
  position: relative;
  overflow: hidden;
}

.leadership-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 52px;
}

.leadership-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-plex-mono), monospace;
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--teal, #0e4f52);
  background: rgba(14, 79, 82, 0.08);
  border: 1px solid rgba(14, 79, 82, 0.18);
  padding: 6px 16px;
  border-radius: 9999px;
  margin-bottom: 16px;
}

.leadership-kicker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal, #0e4f52);
  display: inline-block;
}

.leadership-header h2 {
  font-family: var(--font-fraunces), Georgia, serif;
  font-size: clamp(30px, 3.8vw, 42px);
  font-weight: 700;
  color: var(--deep, #08272b);
  letter-spacing: -0.6px;
  margin: 0 0 14px;
  line-height: 1.2;
}

.leadership-header p {
  color: #5e726d;
  font-size: 16.5px;
  line-height: 1.65;
  margin: 0;
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  align-items: stretch;
}

.leadership-card {
  background: #ffffff;
  border: 1px solid #e2e8f0; /* border-slate-200 */
  border-radius: 1.25rem;    /* rounded-2xl */
  padding: 40px 36px 32px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.leadership-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  border-color: #cbd5e1;
}

.leadership-card.founder-card {
  border-top: 4px solid var(--teal, #0e4f52);
}

.leadership-card.chair-card {
  border-top: 4px solid var(--gold, #c08a2e);
}

.leadership-quote-mark {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 60px;
  height: 60px;
  color: #f1f5f9;
  pointer-events: none;
  transition: color 0.3s ease;
  z-index: 1;
}

.leadership-card:hover .leadership-quote-mark {
  color: #e2e8f0;
}

.leadership-profile {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 26px;
  position: relative;
  z-index: 2;
}

.leadership-photo-wrap {
  width: 130px;
  height: 162px; /* 4:5 portrait aspect ratio */
  border-radius: 1.125rem;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid #ffffff;
  box-shadow: 0 8px 24px rgba(8, 39, 43, 0.14), 0 2px 6px rgba(8, 39, 43, 0.06);
  background: #f1f5f9;
}

.leadership-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.founder-card .leadership-photo {
  object-position: center 15%;
}

.chair-card .leadership-photo {
  object-position: center 20%;
}

.leadership-meta {
  flex: 1;
  min-width: 0;
  padding-right: 48px;
}

.leadership-name {
  font-family: var(--font-fraunces), Georgia, serif;
  font-size: 23px;
  font-weight: 700;
  color: #0f172a; /* text-slate-900 */
  line-height: 1.25;
  margin: 0 0 4px;
}

.leadership-role {
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 3px;
}

.founder-card .leadership-role {
  color: var(--teal, #0e4f52);
}

.chair-card .leadership-role {
  color: #b45309; /* amber-700 */
}

.leadership-org {
  font-size: 13px;
  color: #64748b; /* text-slate-500 */
  font-weight: 500;
  line-height: 1.4;
}

.leadership-msg-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-plex-mono), monospace;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.founder-card .leadership-msg-badge {
  color: var(--teal, #0e4f52);
  background: #e6f3f3;
  border: 1px solid rgba(14, 79, 82, 0.15);
}

.chair-card .leadership-msg-badge {
  color: #92400e;
  background: #fef3c7;
  border: 1px solid rgba(180, 83, 9, 0.15);
}

.leadership-msg-heading {
  font-family: var(--font-fraunces), Georgia, serif;
  font-size: 19px;
  font-weight: 700;
  color: #0f172a; /* text-slate-900 */
  margin: 0 0 16px;
  line-height: 1.35;
  position: relative;
  z-index: 2;
}

.leadership-content {
  color: #334155; /* text-slate-700 */
  font-size: 15px;
  line-height: 1.72;
  position: relative;
  z-index: 2;
  flex-grow: 1;
}

.leadership-content p {
  margin: 0 0 15px;
}

.leadership-content p:last-child {
  margin-bottom: 0;
}

.leadership-card-footer {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-plex-mono), monospace;
  font-size: 11.5px;
  color: #64748b; /* text-slate-500 */
  flex-wrap: wrap;
  gap: 10px;
  position: relative;
  z-index: 2;
}

.leadership-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

@media (max-width: 1024px) {
  .leadership-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .leadership-messages {
    padding: 56px 0;
  }
  .leadership-card {
    padding: 28px 22px 24px;
  }
  .leadership-profile {
    gap: 18px;
  }
  .leadership-photo-wrap {
    width: 96px;
    height: 120px; /* 4:5 mobile portrait */
  }
  .leadership-name {
    font-size: 20px;
  }
  .leadership-meta {
    padding-right: 0;
  }
  .leadership-quote-mark {
    display: none;
  }
  .leadership-content {
    font-size: 14.5px;
  }
}

/* WHO SECTION */
.who {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.who .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.who-loc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-plex-mono);
  font-size: 12px;
  color: var(--teal);
  margin-bottom: 12px;
}
.who h2 {
  font-family: var(--font-fraunces);
  font-size: 36px;
  color: var(--deep);
  line-height: 1.25;
  margin-bottom: 24px;
}
.who-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}
.who-stat {
  padding: 14px;
  background: var(--paper-2);
  border-radius: var(--radius-btn);
  border: 1px solid var(--line);
}
.who-stat span {
  display: block;
  font-family: var(--font-plex-mono);
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 4px;
}
.who-stat b {
  font-size: 14px;
  color: var(--deep);
  font-weight: 600;
}
.who-body p {
  font-size: 16.5px;
  color: #2c423d;
  line-height: 1.7;
}

/* IMPACT METRICS SECTION */
.impact {
  background: var(--deep);
  color: var(--paper);
}
.impact .sec-head h2 {
  color: var(--paper);
}
.impact .feature-label {
  color: var(--gold-soft);
}
.impact-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
.impact-cell {
  background: rgba(245, 241, 231, 0.04);
  border: 1px solid var(--line-on-dark);
  border-radius: var(--radius-card);
  padding: 26px 18px;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.impact-cell:hover {
  transform: translateY(-2px);
  border-color: var(--gold-soft);
}
.impact-cell b {
  display: block;
  font-family: var(--font-fraunces);
  font-size: 38px;
  color: var(--gold-soft);
  margin-bottom: 6px;
  line-height: 1;
}
.impact-cell span {
  font-size: 13px;
  color: #b9c2bd;
  font-weight: 500;
}
.impact-note {
  font-size: 13px;
  font-style: italic;
  color: #8c9c96;
  text-align: center;
}

/* ECOSYSTEM FLOW ("ONE ECOSYSTEM, FIVE OUTCOMES") */
.ecosystem {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.eco-grid {
  display: grid;
  grid-template-columns: 1.2fr 80px 1.2fr;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 40px;
  box-shadow: var(--shadow-card);
}
.eco-inputs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 20px;
  font-family: var(--font-plex-mono);
  font-size: 13px;
  color: var(--deep);
  font-weight: 500;
  transition: all 0.2s ease;
}
.chip:hover {
  background: var(--teal);
  color: var(--paper);
  border-color: var(--teal);
}
.eco-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
}
.eco-outputs {
  background: var(--deep);
  color: var(--paper);
  border-radius: var(--radius-btn);
  padding: 24px 30px;
}
.eco-outputs h3 {
  font-family: var(--font-plex-mono);
  font-size: 11px;
  letter-spacing: 1.2px;
  color: var(--gold-soft);
  margin-bottom: 12px;
}
.eco-outputs ul {
  list-style: none;
}
.eco-outputs li {
  font-family: var(--font-fraunces);
  font-size: 17px;
  padding: 5px 0;
  border-bottom: 1px solid var(--line-on-dark);
}
.eco-outputs li:last-child {
  border-bottom: none;
}

/* BENTO DIGITAL GATEWAYS */
.gateways {
  background: var(--paper);
}
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}
.bento a {
  grid-column: span 2;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
  position: relative;
}
.bento a:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--teal);
}
.bento a.big {
  grid-column: span 3;
  background: linear-gradient(145deg, #ffffff 0%, #f4eee2 100%);
  border-color: var(--gold-soft);
}
.bento-icon {
  width: 32px;
  height: 32px;
  stroke: var(--teal);
  margin-bottom: 20px;
}
.bento h4 {
  font-family: var(--font-fraunces);
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--deep);
}
.bento p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
.bento-tag {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--font-plex-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
}

/* PROJECTS & IMPACT SECTION */
.feature.stack {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.proj-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}
.proj-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.proj-img {
  height: 180px;
  background: linear-gradient(135deg, #0e4f52 0%, #165b5f 50%, #c08a2e 100%);
  position: relative;
  overflow: hidden;
}
.proj-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.proj-card:hover .proj-img img {
  transform: scale(1.05);
}
.proj-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.badge {
  display: inline-block;
  font-family: var(--font-plex-mono);
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 12px;
  width: fit-content;
}
.badge.status {
  background: #e2f0d9;
  color: var(--sprout);
}
.badge.open {
  background: #fdf3d8;
  color: var(--gold);
}
.badge.soon {
  background: #e9ecef;
  color: #6c757d;
}
.proj-body h4 {
  font-size: 17px;
  margin-bottom: 10px;
  color: var(--deep);
}
.proj-body p {
  font-size: 13.5px;
  color: #3f554f;
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}
.proj-foot {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-plex-mono);
  font-size: 11.5px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

/* THIS WEEK SPOTLIGHTS */
.this-week {
  background: var(--paper);
}
.this-week .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.spotlight-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-card);
}
.spotlight-card h3 {
  font-family: var(--font-fraunces);
  font-size: 22px;
  margin: 10px 0 8px;
  color: var(--deep);
}
.spotlight-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
.spotlight-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.spotlight-meta div {
  color: var(--muted);
}
.spotlight-meta b {
  display: block;
  color: var(--deep);
  font-weight: 600;
  margin-top: 2px;
}

/* CAREERS ROW */
.card-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}
.card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  padding: 18px 22px;
  box-shadow: var(--shadow-card);
  transition: all 0.2s ease;
}
.card-row:hover {
  transform: translateX(4px);
  border-color: var(--teal);
}
.card-row-main b {
  display: block;
  font-size: 15px;
  color: var(--deep);
  margin-bottom: 3px;
}
.card-row-main span {
  font-size: 13px;
  color: var(--muted);
}

/* KNOWLEDGE CARDS */
.kn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.kn-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: all 0.2s ease;
}
.kn-card:hover {
  transform: translateY(-3px);
  border-color: var(--teal);
  box-shadow: var(--shadow-hover);
}
.kn-type {
  font-family: var(--font-plex-mono);
  font-size: 11px;
  color: var(--teal);
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.kn-card h5 {
  font-family: var(--font-fraunces);
  font-size: 18px;
  color: var(--deep);
  margin-bottom: 10px;
  line-height: 1.35;
}
.kn-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}

/* GLOBAL NETWORK */
.network {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.network .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.legend {
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.legend-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.legend-row div b {
  display: block;
  font-size: 14px;
  color: var(--deep);
}
.legend-row div span {
  font-size: 12px;
  color: var(--muted);
}
.map-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 16px;
  box-shadow: var(--shadow-card);
}
.map-box svg {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* DUAL CONVERSION BANNERS */
.dual {
  background: var(--paper);
}
.dual .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.dual-panel {
  background: var(--deep);
  color: var(--paper);
  border-radius: var(--radius-card);
  padding: 44px;
  box-shadow: 0 10px 30px rgba(8, 39, 43, 0.25);
}
.dual-panel h3 {
  font-family: var(--font-fraunces);
  font-size: 28px;
  color: var(--paper);
  margin-bottom: 10px;
}
.dual-panel p {
  font-size: 15px;
  color: #b9c2bd;
  margin-bottom: 22px;
}
.dual-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.dual-tags span {
  background: rgba(245, 241, 231, 0.08);
  border: 1px solid var(--line-on-dark);
  padding: 5px 12px;
  border-radius: 16px;
  font-family: var(--font-plex-mono);
  font-size: 11.5px;
  color: var(--gold-soft);
}

/* NEWSLETTER */
.foot-newsletter {
  background: #061e21;
  color: var(--paper);
  padding: 44px 0;
  border-top: 1px solid var(--line-on-dark);
}
.foot-newsletter .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}
.foot-newsletter h4 {
  font-family: var(--font-fraunces);
  font-size: 24px;
  color: var(--paper);
}
.foot-newsletter p {
  font-size: 13.5px;
  color: #8c9c96;
}
.nl-form {
  display: flex;
  gap: 10px;
}
.nl-form input {
  background: rgba(245, 241, 231, 0.08);
  border: 1px solid var(--line-on-dark);
  padding: 10px 18px;
  border-radius: var(--radius-btn);
  color: var(--paper);
  font-size: 14px;
  min-width: 260px;
}
.nl-form input:focus {
  outline: none;
  border-color: var(--gold);
}
.nl-form button {
  background: var(--gold);
  color: var(--deep);
  border: none;
  padding: 10px 22px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  cursor: pointer;
}
.nl-form button:hover {
  background: #d49a37;
}

/* FOOTER */
footer {
  background: var(--deep);
  color: var(--paper);
  padding: 60px 0 30px;
  border-top: 1px solid var(--line-on-dark);
}
.foot-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-on-dark);
}
.foot-brand p {
  font-size: 13.5px;
  color: #8c9c96;
  margin-top: 14px;
  max-width: 280px;
  line-height: 1.6;
}
.foot-brand .logo-word {
  color: var(--paper);
}
.foot-brand .logo-word small {
  color: var(--gold-soft);
}
.foot-col h5 {
  font-family: var(--font-plex-mono);
  font-size: 11px;
  letter-spacing: 1.2px;
  color: var(--gold-soft);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.foot-col a {
  display: block;
  font-size: 13.5px;
  color: #b9c2bd;
  margin-bottom: 10px;
}
.foot-col a:hover {
  color: var(--paper);
}
.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 12.5px;
  color: #7b8f88;
}
.foot-legal a {
  color: #7b8f88;
}
.foot-legal a:hover {
  color: var(--paper);
}

/* SUBPAGE TEMPLATE STYLES */
.page-hero {
  background: radial-gradient(circle at 80% 30%, #0d383e 0%, var(--deep) 75%);
  color: var(--paper);
  padding: 60px 0 50px;
  border-bottom: 1px solid var(--line-on-dark);
}
.page-hero h1 {
  font-family: var(--font-fraunces);
  font-size: 42px;
  color: var(--paper);
  margin: 8px 0 14px;
}
.page-hero p.lead {
  font-size: 17px;
  color: #cfd8d4;
  max-width: 680px;
  line-height: 1.6;
}

.content-area {
  padding: 60px 0;
}

.page-grid-sidebar {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 48px;
}

.card-white {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-card);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--deep);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  font-family: inherit;
  font-size: 14px;
  background: var(--white);
}
.form-control:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(14, 79, 82, 0.15);
}

/* Responsive Grid Helper Utilities */
.wain-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.wain-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* ==========================================================================
   Responsive Breakpoints: Desktop, Tablet (769px - 1024px), Mobile (< 768px)
   ========================================================================== */

/* Tablet & Smaller Desktops (max-width: 1024px) */
@media (max-width: 1024px) {
  .wrap {
    padding: 0 20px;
  }
  .bento {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .bento a, .bento a.big {
    grid-column: span 1;
  }
}

/* Tablets Landscape & Portrait (max-width: 992px) */
@media (max-width: 992px) {
  .hero .wrap,
  .who .wrap,
  .network .wrap,
  .dual .wrap,
  .page-grid-sidebar {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  /* Unstick sidebars on tablet & mobile to prevent viewport clipping */
  .page-grid-sidebar aside,
  .page-grid-sidebar aside > div {
    position: static !important;
    top: auto !important;
    width: 100%;
  }

  /* Navigation Drawer for Tablets */
  .menu-toggle {
    display: block;
    z-index: 1002;
  }
  nav.primary {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    padding: 24px 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 36px rgba(8, 39, 43, 0.16);
    z-index: 1000;
    gap: 12px;
    align-items: flex-start;
  }
  nav.primary.is-active {
    display: flex;
    animation: slideDownNav 0.25s ease-out;
  }
  @keyframes slideDownNav {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }
  nav.primary ul.primary-nav-links,
  nav.primary ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }
  nav.primary ul li,
  nav.primary li {
    width: 100%;
  }
  nav.primary a,
  nav.primary ul li a {
    width: 100%;
    padding: 10px 0;
    font-size: 15.5px;
    border-bottom: 1px solid rgba(16, 35, 31, 0.05);
  }
  .has-mega {
    width: 100%;
  }
  .mega-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 15.5px;
  }
  .mega {
    position: static;
    width: 100%;
    margin-top: 8px;
    box-shadow: none;
    border: 1px solid var(--line);
    background: var(--paper-2);
    padding: 14px;
    border-radius: var(--radius-btn);
  }
  .mega-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  nav.primary ul.sub-menu {
    position: static;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 0 16px;
    margin: 0;
    min-width: 100%;
  }
  nav.primary li.menu-item-has-children.is-open > ul.sub-menu {
    display: flex;
  }

  .quickbar .wrap {
    display: flex;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 10px 16px;
    gap: 12px;
    scrollbar-width: none;
  }
  .quickbar .wrap::-webkit-scrollbar {
    display: none;
  }
  .quickbar .qa {
    white-space: nowrap;
    flex-shrink: 0;
    scroll-snap-align: start;
    background: rgba(245, 241, 231, 0.1);
    padding: 6px 14px;
    border-radius: 16px;
  }

  .impact-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  .eco-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 30px 24px;
  }
  .eco-arrow {
    transform: rotate(90deg);
    margin: 8px 0;
  }
  .proj-grid, .kn-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .foot-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
  .utility .wrap {
    flex-direction: column;
    height: auto;
    padding: 8px 16px;
    gap: 6px;
  }
  .utility-links {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 11px;
  }
  .utility-right {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    border-top: 1px solid rgba(245, 241, 231, 0.1);
    padding-top: 6px;
    gap: 8px;
  }
  .utility-hq {
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
  }

  .nav-row {
    padding: 6px 0;
    gap: 10px;
  }
  .logo {
    gap: 8px;
  }
  .logo-word {
    font-size: 21px;
  }
  .logo-word small {
    font-size: 7.5px;
    letter-spacing: 0.5px;
  }
  .cta-join {
    padding: 6px 14px;
    font-size: 12.5px;
  }

  .hero {
    padding: 48px 0 60px;
  }
  .hero h1 {
    font-size: clamp(28px, 7vw, 42px);
    line-height: 1.15;
    margin-bottom: 16px;
  }
  .hero-sub {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 22px;
  }
  .hero-ctas {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
  .hero-ctas .btn {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
  }
  .hero-visual {
    margin-top: 20px;
    width: 100%;
    overflow: hidden;
  }
  .hero-visual svg {
    max-width: 320px;
  }

  .who-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .impact-cell:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
  .impact-cell {
    padding: 18px 12px;
  }
  .impact-cell b {
    font-size: 28px;
  }
  .impact-cell span {
    font-size: 11.5px;
  }

  .bento {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .proj-grid, .kn-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
  .wain-grid-2,
  .wain-grid-3 {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .dual .wrap {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .dual-panel {
    padding: 28px 20px;
  }
  .card-white {
    padding: 22px 18px;
  }

  .page-hero {
    padding: 44px 0 36px;
  }
  .page-hero h1 {
    font-size: clamp(28px, 6vw, 36px);
  }
  .page-hero .lead {
    font-size: 15px;
    line-height: 1.6;
  }

  .foot-newsletter .wrap {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .nl-form {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }
  .nl-form input {
    width: 100%;
    min-width: 0;
  }
  .nl-form button {
    width: 100%;
    padding: 12px;
  }

  .foot-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .foot-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* Extra Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .utility-hq {
    display: none;
  }
  .utility-right {
    justify-content: center;
  }
  .cta-join {
    display: none;
  }
  .logo-word small {
    display: none;
  }
  .hero-visual svg {
    max-width: 220px;
  }
  .impact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==========================================================================
   Page Editor Content & Gutenberg Blocks Styling
   ========================================================================== */
.page-editor-content {
  color: #2c423d;
  font-size: 16px;
  line-height: 1.8;
}
.page-editor-content h1,
.page-editor-content h2,
.page-editor-content h3,
.page-editor-content h4 {
  font-family: var(--font-fraunces);
  color: var(--deep);
  line-height: 1.3;
}
.page-editor-content h2 {
  font-size: 26px;
  margin: 32px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.page-editor-content h2:first-child {
  margin-top: 0;
}
.page-editor-content h3 {
  font-size: 20px;
  margin: 24px 0 12px;
}
.page-editor-content h4 {
  font-size: 17px;
  margin: 18px 0 8px;
}
.page-editor-content p {
  margin-bottom: 18px;
  color: #2c423d;
}
.page-editor-content p:last-child {
  margin-bottom: 0;
}
.page-editor-content p.has-large-font-size {
  font-size: 18px;
  line-height: 1.7;
  color: var(--deep);
  font-weight: 500;
}
.page-editor-content ul,
.page-editor-content ol {
  padding-left: 24px;
  margin-bottom: 22px;
  color: #3f554f;
}
.page-editor-content li {
  margin-bottom: 8px;
  line-height: 1.6;
}
.page-editor-content blockquote,
.page-editor-content .wp-block-quote {
  padding: 16px 22px;
  margin: 24px 0;
  border-left: 4px solid var(--gold);
  background: var(--paper-2);
  border-radius: 0 var(--radius-btn) var(--radius-btn) 0;
  font-style: italic;
  color: #3f554f;
}
.page-editor-content blockquote p,
.page-editor-content .wp-block-quote p {
  margin-bottom: 0;
  font-size: 15.5px;
  line-height: 1.7;
}
.page-editor-content hr,
.page-editor-content .wp-block-separator {
  border: none;
  border-top: 1px solid var(--line);
  margin: 32px 0;
}
.page-editor-content table,
.page-editor-content .wp-block-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}
.page-editor-content th,
.page-editor-content td {
  padding: 12px 14px;
  border: 1px solid var(--line);
  text-align: left;
}
.page-editor-content th {
  background: var(--paper-2);
  font-family: var(--font-plex-mono);
  font-size: 12px;
  color: var(--teal);
  text-transform: uppercase;
}
.page-editor-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* ==========================================================================
   Latest News Showcase Grid & Cards
   ========================================================================== */
.wain-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.wain-news-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  border-radius: var(--radius-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}
.wain-news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
@media (max-width: 992px) {
  .wain-news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}
@media (max-width: 640px) {
  .wain-news-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}


