/* ============================================
   Comms Arena — Site Stylesheet (single bundle)
   Ported verbatim from html/shared.css + per-page <style> blocks.
   :root design tokens are hoisted to the top so any inline var(--token)
   consumption on the page resolves correctly.
   ============================================ */

/* Editor-preview fallback for fonts — the Elementor editor sometimes
   loads this stylesheet outside the normal enqueue order. */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,300;1,9..144,400;1,9..144,600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

:root {
  --serif:     "Fraunces", Georgia, serif;
  --sans:      "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --teal:      #1A6B5A;
  --teal-mid:  #2D9B84;
  --teal-lt:   #A8D5CB;
  --teal-mist: #EAF3F1;
  --slate:     #0c0c30;
  --steel:     #3A5568;
  --warm:      #F7F4EF;
  --gold:      #C8965A;
  --gold-lt:   #F5E8D4;
  --white:     #FFFFFF;
  --text:      #1E2D3A;
  --text-mid:  #4A6070;
  --text-lt:   #8AA0AF;
  --border:    #E0EAE7;
  --r:         10px;
  /* Font-size multipliers. 1 = original design. Editable from CA Design →
     "Heading Font Size" / "Body Font Size". Every font-size in this bundle is
     wrapped in calc(NNpx * var(--fs-h|--fs-b)): elements in the heading font
     (--serif) scale with --fs-h, everything else with --fs-b. */
  --fs-h:      1;
  --fs-b:      1;
  /* Doodle paper watermark behind white sections; opacity is admin-controlled
     from CA Design → Background. 0 = off (plain white). */
  --ca-paper-img:     url(../img/ca-doodle-pattern.webp);
  --ca-paper-size:    300px;
  --ca-paper-opacity: 0.05;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--warm);
  color: var(--text);
  overflow-x: hidden;
}

/* ── SITE LOADER ──────────────────────────────────────────────────────────
   Full-screen loading screen (logo + spinner). Background defaults to the
   header/footer slate but can be overridden via the --ca-loader-bg token. */
.ca-site-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ca-loader-bg, var(--slate));
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease, visibility 0s linear 0.5s;
}
.ca-site-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}
.ca-loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}
.ca-loader-logo {
  max-width: 240px;
  max-height: 96px;
  width: auto;
  height: auto;
  animation: ca-loader-pulse 1.6s ease-in-out infinite;
}
.ca-loader-spinner {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--teal-mid);
  animation: ca-loader-spin 0.8s linear infinite;
}
@keyframes ca-loader-spin { to { transform: rotate(360deg); } }
@keyframes ca-loader-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
@media (prefers-reduced-motion: reduce) {
  .ca-loader-logo, .ca-loader-spinner { animation: none; }
}

/* Force the Body Font (--sans) as the base for every CA widget, so body text,
   lists, labels and buttons render in --sans even when the active theme tries
   to impose its own font inside Elementor. Set on the widget wrapper so all
   text inherits it; headings/titles set var(--serif) on themselves, so their
   own text (and anything nested inside them) still inherits serif and wins.
   Form controls are listed explicitly because they don't inherit font-family. */
[class*="elementor-widget-ca-"],
[class*="elementor-widget-ca-"] input,
[class*="elementor-widget-ca-"] select,
[class*="elementor-widget-ca-"] textarea,
[class*="elementor-widget-ca-"] button {
  font-family: var(--sans);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideRight {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%      { transform: translateY(-8px); }
}
@keyframes pulse-ring {
  0%   { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.4); opacity: 0; }
}
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.animate { animation: fadeUp 0.7s ease both; }
.a1 { animation-delay: 0.1s; }
.a2 { animation-delay: 0.25s; }
.a3 { animation-delay: 0.4s; }
.a4 { animation-delay: 0.55s; }
.a5 { animation-delay: 0.7s; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--slate) 96%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 0 48px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-icon {
  width: 32px; height: 32px;
  background: var(--teal);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
}
.nav-logo-icon svg { width: 17px; height: 17px; }
.nav-logo-text {
  font-family: var(--serif);
  font-size: calc(19px * var(--fs-h));
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.3px;
}
.nav-logo-text span { color: var(--teal-mid); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: calc(13px * var(--fs-b));
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.2px;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-cta {
  background: var(--teal);
  color: var(--white) !important;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--teal-mid) !important; }

/* Hamburger toggle — hidden on desktop, revealed in the mobile media query.
   Styled as a teal tile to match the logo icon (brand palette). The `nav `
   prefix + explicit hover/focus/active states beat the hello-elementor theme
   reset, which paints every <button> raspberry (#c36) on hover/focus. */
nav .nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 8px;
  background: var(--teal);
  color: var(--white);
  cursor: pointer;
  transition: background 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
  z-index: 110; /* above the slide-in panel so it stays tappable */
}
nav .nav-toggle:hover,
nav .nav-toggle:focus,
nav .nav-toggle:active {
  background: var(--teal-mid);
  color: var(--white);
  border: 0;
}
nav .nav-toggle:focus-visible { outline: 2px solid var(--teal-lt); outline-offset: 2px; }
.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
/* Collapse the three bars into an X while the panel is open. */
nav.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
nav.nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Prevent background scroll while the mobile panel is open. */
body.ca-nav-locked { overflow: hidden; }

/* Shift the fixed nav down when the WP admin bar is visible (logged-in users). */
.admin-bar nav          { top: 32px; }
.admin-bar .ticker-bar  { top: calc(32px + 64px); }
@media screen and (max-width: 782px) {
  .admin-bar nav         { top: 46px; }
  .admin-bar .ticker-bar { top: calc(46px + 64px); }
}

/* ── TICKER ── */
.ticker-bar {
  position: fixed; top: 64px; left: 0; right: 0;
  z-index: 99;
  /* Matches the "Partner With Us" (c3 / Gold tint) community card:
     gold-tint surface, gold-tint border, slate text, gold accent dot. */
  background: var(--ticker-bg, var(--gold-lt));
  border-top: 1px solid rgba(200,150,90,0.3);
  border-bottom: 1px solid rgba(200,150,90,0.3);
  padding: 7px 0;
  overflow: hidden;
}
.ticker-inner {
  display: flex;
  white-space: nowrap;
  animation: ticker 40s linear infinite;
  width: max-content;
}
.ticker-item {
  font-size: calc(11px * var(--fs-b));
  font-weight: 700;
  color: var(--slate);
  letter-spacing: 0.5px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ticker-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.7;
  flex-shrink: 0;
}

/* ── BUTTONS ── */
.btn-primary {
  background: var(--teal);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 8px;
  font-size: calc(14px * var(--fs-b));
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  letter-spacing: 0.2px;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
}
.btn-primary:hover { background: var(--teal-mid); transform: translateY(-1px); }
.btn-secondary {
  color: rgba(255,255,255,0.7);
  padding: 14px 28px;
  border-radius: 8px;
  font-size: calc(14px * var(--fs-b));
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.15);
  transition: all 0.2s;
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.35); color: var(--white); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: var(--slate);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 160px 80px 100px;
  position: relative;
  overflow: hidden;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(45,155,132,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45,155,132,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-bg-glow-1 {
  position: absolute;
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,107,90,0.22) 0%, transparent 65%);
  top: -200px; right: -200px;
  pointer-events: none;
}
.hero-bg-glow-2 {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,150,90,0.09) 0%, transparent 65%);
  bottom: -100px; left: -100px;
  pointer-events: none;
}
.hero-continent {
  position: absolute;
  right: 60px; top: 50%;
  /* Vertical centering. The float animation lives on the inner image so it
     can't clobber this translate (which would drop the map to the bottom). */
  transform: translateY(-50%);
  opacity: 0.9;
  pointer-events: none;
}
/* Accurate Africa map (SVG asset, recoloured to brand teal) on the right. */
.hero-map-img {
  display: block;
  width: 520px;
  max-width: 42vw;
  height: auto;
  object-fit: contain;
  animation: float 8s ease-in-out infinite;
}
.hero-inner { position: relative; z-index: 1; max-width: 760px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(45,155,132,0.15);
  border: 1px solid rgba(45,155,132,0.3);
  border-radius: 100px;
  padding: 6px 14px;
  margin-bottom: 32px;
  animation: fadeUp 0.6s ease both;
}
.hero-eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal-mid);
  position: relative;
}
.hero-eyebrow-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid var(--teal-mid);
  animation: pulse-ring 2s ease-out infinite;
}
.hero-eyebrow span {
  font-size: calc(12px * var(--fs-b));
  font-weight: 500;
  color: var(--teal-lt);
  letter-spacing: 0.5px;
}
.hero-headline {
  font-family: var(--serif);
  font-size: calc(clamp(48px, 6.5vw, 82px) * var(--fs-h));
  font-weight: 700;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 28px;
}
.hero-headline em {
  font-style: italic;
  font-weight: 300;
  color: var(--teal-mid);
}
.hero-sub {
  font-size: calc(18px * var(--fs-b));
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 48px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 72px;
}
.hero-stats {
  display: flex;
  gap: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-stat-num {
  font-family: var(--serif);
  font-size: calc(32px * var(--fs-h));
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-label {
  font-size: calc(12px * var(--fs-b));
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.5px;
}

/* ── SECTION SHARED ── */
.section {
  padding: 96px 80px;
  max-width: 1280px;
  margin: 0 auto;
}
.section-eyebrow {
  font-size: calc(11px * var(--fs-b));
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-eyebrow::before {
  content: '';
  width: 24px; height: 2px;
  background: var(--teal);
  border-radius: 2px;
}
.section-title {
  font-family: var(--serif);
  font-size: calc(clamp(28px, 3.5vw, 42px) * var(--fs-h));
  font-weight: 600;
  color: var(--slate);
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.section-subtitle {
  font-size: calc(16px * var(--fs-b));
  color: var(--text-mid);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 56px;
}
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
}
.section-header-left { flex: 1; }
.section-header-left .section-subtitle { margin-bottom: 0; }

/* ── VIEW ALL ── */
.view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: calc(13px * var(--fs-b));
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  padding: 10px 20px;
  border: 1.5px solid var(--teal);
  border-radius: 7px;
  transition: all 0.2s;
}
.view-all:hover { background: var(--teal); color: var(--white); }

/* ── TAGS ── */
.featured-tag {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  font-size: calc(10px * var(--fs-b));
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 4px;
}
.featured-tag.gold { background: var(--gold); }
.news-card-tag {
  font-size: calc(10px * var(--fs-b));
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}

/* ── FEATURED STORY (index) ── */
.featured-wrap { background: var(--white); padding: 96px 80px; }
.featured-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}
.featured-main {
  background: var(--slate);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.featured-main:hover { transform: translateY(-4px); }
.featured-main-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0F1E28 0%, #0c0c30 100%);
}
.featured-main-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,20,28,0.95) 0%, rgba(10,20,28,0.3) 60%, transparent 100%);
}
.featured-main-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(45,155,132,0.12) 1px, transparent 1px);
  background-size: 24px 24px;
}
.featured-main .featured-tag { margin-bottom: 16px; position: relative; z-index: 1; }
.featured-main-title {
  font-family: var(--serif);
  font-size: calc(clamp(22px, 2.5vw, 30px) * var(--fs-h));
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 16px;
  position: relative; z-index: 1;
}
.featured-main-meta {
  font-size: calc(12px * var(--fs-b));
  color: rgba(255,255,255,0.5);
  position: relative; z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}
.featured-main-meta span { display: flex; align-items: center; gap: 5px; }
.featured-list { display: flex; flex-direction: column; gap: 0; }
.featured-item {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  align-items: start;
}
.featured-item:first-child { padding-top: 0; }
.featured-item:last-child { border-bottom: none; }
.featured-item:hover .featured-item-title { color: var(--teal); }
.featured-item-thumb {
  width: 80px; height: 64px;
  border-radius: 6px;
  background: var(--teal-mist);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.featured-item-thumb-inner {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--teal-mist), var(--teal-lt));
  display: flex; align-items: center; justify-content: center;
  font-size: calc(22px * var(--fs-b));
}
.featured-item-tag {
  font-size: calc(10px * var(--fs-b));
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 6px;
}
.featured-item-tag.gold { color: var(--gold); }
.featured-item-title {
  font-family: var(--serif);
  font-size: calc(15px * var(--fs-h));
  font-weight: 500;
  color: var(--slate);
  line-height: 1.4;
  margin-bottom: 6px;
  transition: color 0.2s;
}
.featured-item-meta { font-size: calc(11px * var(--fs-b)); color: var(--text-lt); }

/* ── NEWS GRID (index + news.html) ── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.news-card {
  background: var(--white);
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
}
.news-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(26,107,90,0.1); border-color: var(--teal-lt); }
.news-card-thumb {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: calc(36px * var(--fs-b));
  position: relative;
  overflow: hidden;
  color: var(--white);
}
.news-card.with-excerpt .news-card-thumb { height: 180px; font-size: calc(42px * var(--fs-b)); }
.news-card-thumb.t1 { background: linear-gradient(135deg, #1E2D3A, #0c0c30); }
.news-card-thumb.t2 { background: linear-gradient(135deg, #0c0c30, #4FB0B0); }
.news-card-thumb.t3 { background: linear-gradient(135deg, #C8965A, #1E2D3A); }
.news-card-thumb.t4 { background: linear-gradient(135deg, #4FB0B0, #1E2D3A); }
.news-card-thumb.t5 { background: linear-gradient(135deg, #1E2D3A, #C8965A); }
.news-card-thumb.t6 { background: linear-gradient(135deg, #0c0c30, #1E2D3A); }
.news-card-thumb.t7 { background: linear-gradient(135deg, #0F2030, #4FB0B0); }
.news-card-thumb.t8 { background: linear-gradient(135deg, #C8965A, #4FB0B0); }
.news-card-thumb.t9 { background: linear-gradient(135deg, #4FB0B0, #C8965A); }
.news-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.news-card.with-excerpt .news-card-body { padding: 22px; }
.news-card-title {
  font-family: var(--serif);
  font-size: calc(16px * var(--fs-h));
  font-weight: 500;
  color: var(--slate);
  line-height: 1.45;
  margin-bottom: 12px;
  flex: 1;
}
.news-card.with-excerpt .news-card-title { font-size: calc(17px * var(--fs-h)); margin-bottom: 14px; flex: 0; }
.news-card-excerpt {
  font-size: calc(13px * var(--fs-b));
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 16px;
  flex: 1;
}
.news-card-meta {
  font-size: calc(11px * var(--fs-b));
  color: var(--text-lt);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

/* ── PEOPLE GRID (index dark) ── */
.people-wrap {
  background: var(--slate);
  padding: 96px 80px;
  position: relative;
  overflow: hidden;
}
.people-wrap::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45,155,132,0.1) 0%, transparent 65%);
  top: -200px; right: -100px;
}
.people-inner { max-width: 1280px; margin: 0 auto; position: relative; z-index: 1; }
.people-inner .section-title { color: var(--white); }
.people-inner .section-subtitle { color: rgba(255,255,255,0.5); }
.people-inner .section-eyebrow { color: var(--teal-lt); }
.people-inner .section-eyebrow::before { background: var(--teal-lt); }
.people-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.people-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r);
  padding: 28px 24px;
  transition: all 0.25s;
  cursor: pointer;
}
.people-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(45,155,132,0.3);
  transform: translateY(-3px);
}
.people-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: calc(22px * var(--fs-h));
  margin-bottom: 16px;
  font-weight: 700;
  font-family: var(--serif);
  color: var(--white);
}
.av1 { background: linear-gradient(135deg, #0c0c30, #4FB0B0); }
.av2 { background: linear-gradient(135deg, #C8965A, #1E2D3A); }
.av3 { background: linear-gradient(135deg, #4FB0B0, #0c0c30); }
.av4 { background: linear-gradient(135deg, #1E2D3A, #0c0c30); }
.people-name {
  font-family: var(--serif);
  font-size: calc(16px * var(--fs-h));
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}
.people-role {
  font-size: calc(12px * var(--fs-b));
  color: rgba(255,255,255,0.45);
  margin-bottom: 4px;
}
.people-country {
  font-size: calc(11px * var(--fs-b));
  color: var(--teal-lt);
  font-weight: 500;
}
.people-quote {
  font-size: calc(13px * var(--fs-b));
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  margin-top: 16px;
  font-style: italic;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ── JOBS GRID (index — 2-col on mint) ── */
.jobs-wrap { background: var(--teal-mist); padding: 96px 80px; }
.jobs-inner { max-width: 1280px; margin: 0 auto; }
.jobs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
}
.job-card {
  background: var(--white);
  border-radius: var(--r);
  padding: 24px 28px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.job-card:hover { border-color: var(--teal); transform: translateX(4px); }
.job-logo {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: var(--teal-mist);
  display: flex; align-items: center; justify-content: center;
  font-size: calc(20px * var(--fs-b));
  flex-shrink: 0;
}
.job-content { flex: 1; min-width: 0; }
.job-title {
  font-family: var(--serif);
  font-size: calc(15px * var(--fs-h));
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.job-company { font-size: calc(13px * var(--fs-b)); color: var(--text-mid); margin-bottom: 6px; }
.job-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.job-tag {
  font-size: calc(10px * var(--fs-b));
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--teal-mist);
  color: var(--teal);
}
.job-tag.gold { background: var(--gold-lt); color: var(--gold); }
.job-arrow {
  color: var(--text-lt);
  font-size: calc(18px * var(--fs-b));
  flex-shrink: 0;
  transition: all 0.2s;
}
.job-card:hover .job-arrow { color: var(--teal); transform: translateX(3px); }

/* ── EVENTS GRID (index — 1 main + 2 small) ── */
.events-wrap { background: var(--white); padding: 96px 80px; }
.events-inner { max-width: 1280px; margin: 0 auto; }
.events-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 20px;
}
.event-card-main {
  background: linear-gradient(145deg, var(--slate) 0%, #0F2030 100%);
  border-radius: 14px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
  transition: transform 0.3s;
}
.event-card-main:hover { transform: translateY(-4px); }
.event-card-main::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45,155,132,0.2) 0%, transparent 65%);
  top: -80px; right: -60px;
}
.event-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal);
  color: var(--white);
  font-size: calc(11px * var(--fs-b));
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 6px;
  margin-bottom: 20px;
  width: fit-content;
  position: relative; z-index: 1;
}
.event-main-title {
  font-family: var(--serif);
  font-size: calc(24px * var(--fs-h));
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 12px;
  position: relative; z-index: 1;
}
.event-main-detail {
  font-size: calc(13px * var(--fs-b));
  color: rgba(255,255,255,0.5);
  position: relative; z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
}
.event-card-small {
  background: var(--teal-mist);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px 24px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.event-card-small:hover { border-color: var(--teal); background: var(--white); }
.event-small-date {
  font-size: calc(11px * var(--fs-b));
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
}
.event-small-title {
  font-family: var(--serif);
  font-size: calc(16px * var(--fs-h));
  font-weight: 600;
  color: var(--slate);
  line-height: 1.4;
}
.event-small-loc {
  font-size: calc(12px * var(--fs-b));
  color: var(--text-lt);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
}

/* ── NEWSLETTER ── */
.newsletter-wrap {
  background: var(--teal);
  padding: 96px 80px;
  position: relative;
  overflow: hidden;
}
.newsletter-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 28px 28px;
}
.newsletter-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative; z-index: 1;
}
.newsletter-heading {
  font-family: var(--serif);
  font-size: calc(clamp(28px, 3.5vw, 44px) * var(--fs-h));
  font-weight: 700;
  color: var(--slate);
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.newsletter-heading em { font-style: italic; font-weight: 300; color: var(--steel); }
.newsletter-sub {
  font-size: calc(15px * var(--fs-b));
  color: var(--steel);
  line-height: 1.7;
  margin-bottom: 32px;
}
.newsletter-perks { display: flex; flex-direction: column; gap: 10px; }
.newsletter-perk {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: calc(13px * var(--fs-b));
  color: var(--slate);
}
.perk-check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--slate);
  display: flex; align-items: center; justify-content: center;
  font-size: calc(11px * var(--fs-b));
  color: var(--white);
  flex-shrink: 0;
}
.newsletter-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-size: calc(12px * var(--fs-b));
  font-weight: 600;
  color: var(--slate);
  letter-spacing: 0.5px;
}
.form-input {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 18px;
  font-size: calc(14px * var(--fs-b));
  color: var(--slate);
  font-family: var(--sans);
  outline: none;
  transition: all 0.2s;
  width: 100%;
}
.form-input::placeholder { color: var(--text-lt); }
.form-input:focus { border-color: var(--slate); background: var(--white); }
.form-btn {
  background: var(--slate) !important;
  color: var(--white) !important;
  border: 2px solid var(--white) !important;
  border-radius: 8px;
  padding: 15px 28px;
  font-size: calc(14px * var(--fs-b));
  font-weight: 700;
  font-family: var(--sans);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}
.form-btn:hover { background: var(--steel) !important; transform: translateY(-1px); }
.form-note { font-size: calc(11px * var(--fs-b)); color: var(--steel); text-align: center; }

/* ── COMMUNITY CARDS (index 3 CTA) ── */
.community-wrap { padding: 96px 80px; background: var(--warm); }
.community-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.community-card {
  border-radius: 14px;
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s;
  cursor: pointer;
  text-decoration: none;
}
.community-card:hover { transform: translateY(-5px); }
.community-card.c1 { background: var(--slate); }
.community-card.c2 { background: var(--teal); }
.community-card.c3 { background: var(--gold-lt); border: 1px solid rgba(200,150,90,0.3); }
.community-card-icon { font-size: calc(32px * var(--fs-b)); margin-bottom: 20px; display: block; }
.community-card-title {
  font-family: var(--serif);
  font-size: calc(22px * var(--fs-h));
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
}
.c1 .community-card-title { color: var(--white); }
.c2 .community-card-title { color: var(--white); }
.c3 .community-card-title { color: var(--slate); }
.community-card-desc { font-size: calc(14px * var(--fs-b)); line-height: 1.7; margin-bottom: 28px; }
.c1 .community-card-desc { color: rgba(255,255,255,0.55); }
.c2 .community-card-desc { color: rgba(255,255,255,0.65); }
.c3 .community-card-desc { color: var(--text-mid); }
.community-card-link {
  font-size: calc(13px * var(--fs-b));
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}
.c1 .community-card-link { color: var(--teal-lt); }
.c2 .community-card-link { color: rgba(255,255,255,0.8); }
.c3 .community-card-link { color: var(--gold); }

/* ── FOOTER ── */
footer { background: var(--slate); padding: 32px 80px 0; }
/* Repeating strip of "comms in Africa" artifact icons across the footer top. */
.ca-footer-icons {
  height: 64px;
  margin: 0 -80px 32px;   /* full-bleed sides; bottom matches footer's 32px top padding */
  background: var(--slate) url(../img/motifs/comms-footer-strip.webp) repeat-x center / auto 64px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  opacity: .92;
}
@media (max-width: 600px) {
  .ca-footer-icons { height: 50px; background-size: auto 50px; margin: 0 -80px 32px; }
}
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand-name {
  font-family: var(--serif);
  font-size: calc(24px * var(--fs-h));
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}
.footer-brand-name span { color: var(--teal-mid); }
.footer-brand-logo { margin-bottom: 16px; max-width: 100%; }
.footer-brand-tagline {
  font-size: calc(12px * var(--fs-b));
  color: var(--teal-lt);
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.footer-brand-desc {
  font-size: calc(13px * var(--fs-b));
  color: rgba(255,255,255,0.4);
  line-height: 1.75;
  margin-bottom: 24px;
  max-width: 280px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social-btn {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: calc(14px * var(--fs-b));
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  color: white;
}
.footer-social-btn:hover { background: var(--teal); border-color: var(--teal); }
.footer-col-title {
  font-size: calc(12px * var(--fs-b));
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: calc(13px * var(--fs-b));
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--teal-lt); }
.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copy { font-size: calc(12px * var(--fs-b)); color: rgba(255,255,255,0.25); }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a {
  font-size: calc(12px * var(--fs-b));
  color: rgba(255,255,255,0.25);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bottom-links a:hover { color: rgba(255,255,255,0.5); }

/* ============================================
   PAGE HERO (news / people / jobs / events / academy / community)
   ============================================ */
.page-hero {
  background: var(--slate);
  padding: 160px 80px 80px;
  position: relative;
  overflow: hidden;
}
.page-hero.variant-community { min-height: 80vh; display: flex; align-items: center; padding: 160px 80px 100px; }
.page-hero-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(45,155,132,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45,155,132,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-glow {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,107,90,0.22) 0%, transparent 65%);
  top: -250px; right: -150px;
  pointer-events: none;
}
.page-hero.variant-jobs .page-hero-glow {
  background: radial-gradient(circle, rgba(200,150,90,0.15) 0%, transparent 65%);
}
.page-hero.variant-community .page-hero-glow { width: 800px; height: 800px; }
.page-hero-glow-2 {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,150,90,0.09) 0%, transparent 65%);
  bottom: -100px; left: -100px;
}
.page-hero-inner { max-width: 1280px; margin: 0 auto; position: relative; z-index: 1; }
.page-hero.variant-academy .page-hero-inner,
.page-hero.variant-community .page-hero-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: center;
  width: 100%;
}
.page-hero.variant-academy .page-hero-inner { grid-template-columns: 1.4fr 1fr; align-items: end; gap: 56px; }
.page-hero h1 {
  font-family: var(--serif);
  font-size: calc(clamp(40px, 5vw, 64px) * var(--fs-h));
  font-weight: 700;
  color: var(--white);
  letter-spacing: -1.2px;
  line-height: 1.05;
  margin: 20px 0 20px;
  max-width: 780px;
}
.page-hero.variant-community h1 {
  font-size: calc(clamp(44px, 6vw, 78px) * var(--fs-h));
  letter-spacing: -1.6px;
  line-height: 1.02;
  margin: 22px 0 24px;
}
.page-hero h1 em { font-style: italic; font-weight: 300; color: var(--teal-mid); }
.page-hero-sub {
  font-size: calc(17px * var(--fs-b));
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 0;
}
.page-hero.variant-jobs .page-hero-sub,
.page-hero.variant-community .page-hero-sub { margin-bottom: 36px; }

/* page-hero stat row (jobs) */
.hero-stat-row {
  display: flex;
  gap: 48px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hs-num {
  font-family: var(--serif);
  font-size: calc(32px * var(--fs-h)); font-weight: 700;
  color: var(--white);
  line-height: 1; margin-bottom: 4px;
}
.hs-label { font-size: calc(12px * var(--fs-b)); color: rgba(255,255,255,0.4); letter-spacing: 0.5px; }

/* page-hero stats card (academy) */
.hero-stats-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 32px;
}
.hsc-label {
  font-size: calc(11px * var(--fs-b));
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal-lt);
  margin-bottom: 18px;
}
.hsc-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hsc-row:last-child { border-bottom: none; }
.hsc-num {
  font-family: var(--serif);
  font-size: calc(28px * var(--fs-h));
  font-weight: 700;
  color: var(--white);
}
.hsc-text { font-size: calc(13px * var(--fs-b)); color: rgba(255,255,255,0.5); }

/* page-hero trust row (community) */
.hero-trust {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.trust-avatars { display: flex; }
.trust-av {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--slate);
  margin-left: -10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-weight: 700;
  color: var(--white);
  font-size: calc(13px * var(--fs-h));
}
.trust-av:first-child { margin-left: 0; }
.trust-av.a { background: linear-gradient(135deg, #0c0c30, #4FB0B0); }
.trust-av.b { background: linear-gradient(135deg, #C8965A, #1E2D3A); }
.trust-av.c { background: linear-gradient(135deg, #4FB0B0, #0c0c30); }
.trust-av.d { background: linear-gradient(135deg, #1E2D3A, #0c0c30); }
.trust-av.e { background: var(--teal); color: var(--white); font-size: calc(11px * var(--fs-h)); }
.trust-text { font-size: calc(13px * var(--fs-b)); color: rgba(255,255,255,0.55); }
.trust-text strong { color: var(--white); font-weight: 600; }

/* page-hero join card (community) */
.join-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  padding: 36px;
  backdrop-filter: blur(10px);
}
.join-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,150,90,0.18);
  border: 1px solid rgba(200,150,90,0.35);
  border-radius: 100px;
  padding: 5px 12px;
  margin-bottom: 18px;
}
.join-card-badge span {
  font-size: calc(11px * var(--fs-b));
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
}
.join-card h3 {
  font-family: var(--serif);
  font-size: calc(24px * var(--fs-h));
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}
.join-card-sub { font-size: calc(13px * var(--fs-b)); color: rgba(255,255,255,0.55); margin-bottom: 24px; }
.join-form { display: flex; flex-direction: column; gap: 14px; }
.join-form .form-group { gap: 5px; }
.join-form .form-label { font-size: calc(11px * var(--fs-b)); }
.join-form .form-input { padding: 12px 16px; font-size: calc(13px * var(--fs-b)); }
.join-form .form-btn { margin-top: 6px; }
.join-card-note { font-size: calc(11px * var(--fs-b)); color: rgba(255,255,255,0.4); text-align: center; margin-top: 8px; }

/* ============================================
   STICKY BARS — filter / search / job-search / event-tabs
   ============================================ */
.filter-bar, .search-bar, .job-search {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 18px 80px;
  position: sticky;
  top: 64px;
  z-index: 50;
}
.search-bar { padding: 22px 80px; }
.job-search { padding: 22px 80px; }
.filter-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.filter-label {
  font-size: calc(11px * var(--fs-b));
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-lt);
  margin-right: 6px;
}
.filter-pill {
  font-size: calc(13px * var(--fs-b));
  font-weight: 500;
  color: var(--text-mid);
  background: var(--teal-mist);
  padding: 7px 14px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
  text-decoration: none;
}
.filter-pill:hover { background: var(--teal-lt); color: var(--slate); }
.filter-pill.active { background: var(--teal); color: var(--white); }
.search-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}
.search-input-wrap { position: relative; }
/* Scoped to .search-input-wrap so these beat hello-elementor reset.css's
   `input[type=text] { padding: .5rem 1rem }` (specificity 0,1,1) which would
   otherwise wipe out the 46px left padding that clears the search icon. */
.search-input-wrap .search-input,
.search-input-wrap .search-field {
  width: 100%;
  background: var(--warm);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px 14px 46px;
  font-size: calc(14px * var(--fs-b));
  font-family: var(--sans);
  outline: none;
  transition: all 0.2s;
}
.search-input-wrap .search-input:focus,
.search-input-wrap .search-field:focus { border-color: var(--teal); background: var(--white); }
.search-icon, .search-icon-l {
  position: absolute;
  left: 16px; top: 50%; transform: translateY(-50%);
  font-size: calc(16px * var(--fs-b));
  color: var(--text-lt);
}
.search-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.job-search-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr auto;
  gap: 12px;
}
.search-select {
  background: var(--warm);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: calc(14px * var(--fs-b));
  font-family: var(--sans);
  outline: none;
  color: var(--text-mid);
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1L6 6L11 1' stroke='%238AA0AF' stroke-width='2'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}
.search-btn {
  background: var(--teal);
  color: var(--white);
  border: none;
  border-radius: 10px;
  padding: 0 28px;
  font-size: calc(14px * var(--fs-b));
  font-weight: 600;
  font-family: var(--sans);
  cursor: pointer;
  transition: all 0.2s;
}
.search-btn:hover { background: var(--teal-mid); }

/* event-tabs */
.event-tabs {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 80px;
  position: sticky;
  top: 64px;
  z-index: 50;
}
.event-tabs-inner { max-width: 1280px; margin: 0 auto; display: flex; gap: 0; }
.event-tab {
  padding: 18px 0;
  margin-right: 40px;
  font-size: calc(13px * var(--fs-b));
  font-weight: 600;
  color: var(--text-mid);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
.event-tab:hover { color: var(--teal); }
.event-tab.active { color: var(--teal); border-bottom-color: var(--teal); }
.event-tab .count {
  display: inline-block;
  background: var(--teal-mist);
  color: var(--teal);
  font-size: calc(11px * var(--fs-b));
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: 6px;
}

/* ============================================
   NEWS PAGE — feature-block + topics-grid
   ============================================ */
.feature-block { background: var(--white); padding: 80px; }
.feature-block-inner { max-width: 1280px; margin: 0 auto; }
.feature-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.feature-visual {
  background: linear-gradient(135deg, #1E2D3A 0%, #0c0c30 100%);
  border-radius: 14px;
  min-height: 420px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 36px;
}
.feature-visual::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(45,155,132,0.15) 1px, transparent 1px);
  background-size: 22px 22px;
}
.feature-visual-emoji {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -60%);
  font-size: calc(120px * var(--fs-b));
  opacity: 0.18;
}
.feature-tag-row { display: flex; gap: 8px; position: relative; z-index: 1; }
.feature-content h2 {
  font-family: var(--serif);
  font-size: calc(clamp(28px, 3vw, 38px) * var(--fs-h));
  font-weight: 600;
  color: var(--slate);
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin: 18px 0 16px;
}
.feature-excerpt {
  font-size: calc(16px * var(--fs-b));
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 24px;
}
.feature-byline {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: calc(13px * var(--fs-b));
  color: var(--text-lt);
  margin-bottom: 28px;
}
.byline-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-mid));
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-family: var(--serif);
  font-weight: 600;
  font-size: calc(14px * var(--fs-h));
}

.stories-wrap { padding: 96px 80px; background: var(--white); }
.stories-inner { max-width: 1280px; margin: 0 auto; }

.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 24px; }
.page-btn {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: calc(13px * var(--fs-b));
  font-weight: 600;
  color: var(--text-mid);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.page-btn:hover { border-color: var(--teal); color: var(--teal); }
.page-btn.active { background: var(--teal); color: var(--white); border-color: var(--teal); }

.topics-wrap { background: var(--white); padding: 96px 80px; }
.topics-inner { max-width: 1280px; margin: 0 auto; }
.topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.topic-card {
  padding: 32px 28px;
  border-radius: var(--r);
  border: 1px solid var(--border);
  background: var(--warm);
  transition: all 0.25s;
  cursor: pointer;
  text-decoration: none;
  display: block;
}
.topic-card:hover { border-color: var(--teal); background: var(--white); transform: translateY(-3px); }
.topic-icon { font-size: calc(28px * var(--fs-b)); margin-bottom: 16px; display: block; }
.topic-name {
  font-family: var(--serif);
  font-size: calc(19px * var(--fs-h));
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 8px;
}
.topic-count {
  font-size: calc(12px * var(--fs-b));
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.topic-desc { font-size: calc(13px * var(--fs-b)); color: var(--text-mid); line-height: 1.65; }

/* ============================================
   PEOPLE PAGE — spotlight + directory
   ============================================ */
.spotlight-wrap { background: var(--white); padding: 80px; }
.spotlight-inner { max-width: 1280px; margin: 0 auto; }
.spotlight {
  background: linear-gradient(135deg, var(--slate) 0%, #0F2030 100%);
  border-radius: 18px;
  padding: 56px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: center;
}
.spotlight::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45,155,132,0.2) 0%, transparent 65%);
  top: -150px; right: -100px;
}
.spotlight-avatar {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--teal), var(--teal-mid));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-weight: 700;
  color: var(--white);
  font-size: calc(120px * var(--fs-h));
  position: relative; z-index: 1;
}
.spotlight-content { position: relative; z-index: 1; color: var(--white); }
.spotlight-label {
  font-size: calc(11px * var(--fs-b));
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--teal-lt);
  margin-bottom: 16px;
}
.spotlight-name {
  font-family: var(--serif);
  font-size: calc(clamp(32px, 4vw, 48px) * var(--fs-h));
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 12px;
}
.spotlight-role { font-size: calc(16px * var(--fs-b)); color: rgba(255,255,255,0.65); margin-bottom: 8px; }
.spotlight-country { font-size: calc(13px * var(--fs-b)); color: var(--teal-lt); font-weight: 600; margin-bottom: 28px; }
.spotlight-quote {
  font-family: var(--serif);
  font-size: calc(20px * var(--fs-h));
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
  padding-left: 20px;
  border-left: 3px solid var(--teal-mid);
}

.directory-wrap { padding: 96px 80px; background: var(--white); }
.directory-inner { max-width: 1280px; margin: 0 auto; }
.directory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.profile-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px 24px;
  transition: all 0.25s;
  cursor: pointer;
  text-decoration: none;
  display: block;
}
.profile-card:hover {
  border-color: var(--teal);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(26,107,90,0.08);
}
.profile-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-weight: 700;
  color: var(--white);
  font-size: calc(24px * var(--fs-h));
  margin-bottom: 18px;
}
.av-a { background: linear-gradient(135deg, #0c0c30, #4FB0B0); }
.av-b { background: linear-gradient(135deg, #C8965A, #1E2D3A); }
.av-c { background: linear-gradient(135deg, #4FB0B0, #0c0c30); }
.av-d { background: linear-gradient(135deg, #1E2D3A, #0c0c30); }
.av-e { background: linear-gradient(135deg, #0c0c30, #C8965A); }
.av-f { background: linear-gradient(135deg, #C8965A, #4FB0B0); }
.av-g { background: linear-gradient(135deg, #4FB0B0, #C8965A); }
.av-h { background: linear-gradient(135deg, #0F2030, #4FB0B0); }
.profile-name {
  font-family: var(--serif);
  font-size: calc(17px * var(--fs-h));
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 4px;
}
.profile-role { font-size: calc(12px * var(--fs-b)); color: var(--text-mid); margin-bottom: 12px; line-height: 1.5; }
.profile-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: calc(11px * var(--fs-b));
  color: var(--teal);
  font-weight: 600;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

/* ============================================
   JOBS PAGE — board + hiring strip
   ============================================ */
.jobs-layout { padding: 80px; background: var(--warm); }
.jobs-grid-2col {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
}
.facets-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px 24px;
  position: sticky;
  top: 150px;
  align-self: start;
}
.facet-group { margin-bottom: 28px; }
.facet-group:last-child { margin-bottom: 0; }
.facet-title {
  font-size: calc(11px * var(--fs-b));
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 14px;
}
.facet-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.facet-list label {
  display: flex; align-items: center; gap: 10px;
  font-size: calc(13px * var(--fs-b));
  color: var(--text-mid);
  cursor: pointer;
  transition: color 0.15s;
}
.facet-list label:hover { color: var(--teal); }
.facet-list input { accent-color: var(--teal); width: 14px; height: 14px; }
.facet-list .count { margin-left: auto; font-size: calc(11px * var(--fs-b)); color: var(--text-lt); }

.jobs-list { display: flex; flex-direction: column; gap: 14px; }
.jobs-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 4px;
}
.jobs-count { font-size: calc(14px * var(--fs-b)); color: var(--text-mid); }
.jobs-count strong { color: var(--slate); font-weight: 700; }
.sort-select {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: calc(13px * var(--fs-b));
  font-family: var(--sans);
  color: var(--text-mid);
  cursor: pointer;
}
.job-row {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 20px;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.job-row:hover { border-color: var(--teal); transform: translateX(4px); }
.job-row.featured { border-left: 4px solid var(--gold); }
.job-logo-lg {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: var(--teal-mist);
  display: flex; align-items: center; justify-content: center;
  font-size: calc(22px * var(--fs-b));
  flex-shrink: 0;
}
.job-title-lg {
  font-family: var(--serif);
  font-size: calc(17px * var(--fs-h));
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 4px;
}
.job-meta-lg { font-size: calc(13px * var(--fs-b)); color: var(--text-mid); margin-bottom: 10px; }
.job-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.job-chip {
  font-size: calc(10px * var(--fs-b));
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 4px 9px;
  border-radius: 4px;
  background: var(--teal-mist);
  color: var(--teal);
}
.job-chip.gold { background: var(--gold-lt); color: var(--gold); }
.job-chip.dark { background: var(--slate); color: var(--white); }
.job-right { text-align: right; }
.job-posted { font-size: calc(11px * var(--fs-b)); color: var(--text-lt); margin-bottom: 8px; }
.job-apply { font-size: calc(13px * var(--fs-b)); font-weight: 600; color: var(--teal); white-space: nowrap; }
.job-row:hover .job-apply { color: var(--teal-mid); }

.hiring-strip {
  background: linear-gradient(135deg, var(--gold-lt) 0%, var(--warm) 100%);
  padding: 80px;
  border-top: 1px solid var(--border);
}
.hiring-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: center;
}
.hiring-inner h2 {
  font-family: var(--serif);
  font-size: calc(clamp(28px, 3.5vw, 42px) * var(--fs-h));
  font-weight: 600;
  color: var(--slate);
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.hiring-inner h2 em { color: var(--gold); font-style: italic; font-weight: 300; }
.hiring-inner p { font-size: calc(16px * var(--fs-h)); color: var(--text-mid); line-height: 1.75; margin-bottom: 28px; }
.hiring-perks { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.hiring-perk { display: flex; align-items: center; gap: 12px; font-size: calc(14px * var(--fs-b)); color: var(--text-mid); }
.hiring-perk .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.hiring-visual {
  background: var(--white);
  border-radius: 14px;
  padding: 36px;
  border: 1px solid var(--border);
  box-shadow: 0 16px 48px rgba(0,0,0,0.04);
}
.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.pricing-row:last-child { border-bottom: none; }
.pricing-name {
  font-family: var(--serif);
  font-size: calc(15px * var(--fs-h));
  font-weight: 600;
  color: var(--slate);
}
.pricing-price { font-size: calc(14px * var(--fs-b)); color: var(--text-mid); }
.pricing-price strong { color: var(--teal); font-weight: 700; }

/* ============================================
   EVENTS PAGE — flagship + stack + series
   ============================================ */
.flagship-wrap { background: var(--white); padding: 80px; }
.flagship-inner { max-width: 1280px; margin: 0 auto; }
.flagship {
  background: linear-gradient(135deg, var(--slate) 0%, #0F1E28 100%);
  border-radius: 18px;
  padding: 64px;
  position: relative;
  overflow: hidden;
  color: var(--white);
}
.flagship::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45,155,132,0.22) 0%, transparent 65%);
  top: -200px; right: -150px;
}
.flagship::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(45,155,132,0.08) 1px, transparent 1px);
  background-size: 24px 24px;
}
.flagship-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 56px;
  align-items: center;
}
.flagship-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(45,155,132,0.2);
  border: 1px solid rgba(45,155,132,0.35);
  border-radius: 100px;
  padding: 6px 14px;
  margin-bottom: 24px;
}
.flagship-badge span {
  font-size: calc(11px * var(--fs-b));
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal-lt);
}
.flagship h2 {
  font-family: var(--serif);
  font-size: calc(clamp(36px, 4.5vw, 56px) * var(--fs-h));
  font-weight: 700;
  letter-spacing: -1.2px;
  line-height: 1.05;
  margin-bottom: 20px;
}
.flagship h2 em { font-style: italic; font-weight: 300; color: var(--teal-mid); }
.flagship-tagline { font-size: calc(17px * var(--fs-b)); color: rgba(255,255,255,0.6); line-height: 1.7; margin-bottom: 32px; }
.flagship-meta {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 32px;
}
.flagship-meta-item { font-size: calc(12px * var(--fs-h)); color: rgba(255,255,255,0.4); letter-spacing: 0.5px; }
.flagship-meta-item strong {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: calc(18px * var(--fs-h));
  color: var(--white);
  margin-bottom: 4px;
}
.flagship-date-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 36px;
  text-align: center;
}
.flagship-date-month {
  font-size: calc(13px * var(--fs-b));
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--teal-lt);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.flagship-date-day {
  font-family: var(--serif);
  font-size: calc(96px * var(--fs-h));
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  letter-spacing: -3px;
}
.flagship-date-year { font-size: calc(14px * var(--fs-b)); color: rgba(255,255,255,0.5); margin-top: 8px; }
.flagship-countdown {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.cd-unit { text-align: center; }
.cd-num {
  font-family: var(--serif);
  font-size: calc(22px * var(--fs-h));
  font-weight: 600;
  color: var(--teal-mid);
}
.cd-lab { font-size: calc(10px * var(--fs-b)); text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,0.4); }

.upcoming-wrap { background: var(--white); padding: 96px 80px; }
.upcoming-inner { max-width: 1280px; margin: 0 auto; }
.events-stack { display: flex; flex-direction: column; gap: 16px; }
.event-row {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 28px;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.event-row:hover { border-color: var(--teal); transform: translateX(4px); }
.event-row.featured-row { border-left: 4px solid var(--gold); }
.event-date-cell {
  text-align: center;
  padding: 12px 0;
  background: var(--teal-mist);
  border-radius: 8px;
}
.event-row.featured-row .event-date-cell { background: var(--gold-lt); }
.event-row.featured-row .event-date-cell .event-date-month { color: var(--gold); }
.event-date-month {
  font-size: calc(11px * var(--fs-b));
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
}
.event-date-day {
  font-family: var(--serif);
  font-size: calc(28px * var(--fs-h));
  font-weight: 700;
  color: var(--slate);
  line-height: 1;
  margin: 4px 0 2px;
}
.event-date-time { font-size: calc(11px * var(--fs-b)); color: var(--text-lt); }
.event-body { min-width: 0; }
.event-type-row { display: flex; gap: 8px; margin-bottom: 8px; }
.event-type-chip {
  font-size: calc(10px * var(--fs-b));
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--teal-mist);
  color: var(--teal);
}
.event-type-chip.virtual { background: var(--gold-lt); color: var(--gold); }
.event-type-chip.live { background: var(--slate); color: var(--white); }
.event-type-chip.flagship { background: var(--gold-lt); color: var(--gold); }
.event-title-lg {
  font-family: var(--serif);
  font-size: calc(18px * var(--fs-h));
  font-weight: 600;
  color: var(--slate);
  line-height: 1.3;
  margin-bottom: 6px;
}
.event-desc { font-size: calc(13px * var(--fs-b)); color: var(--text-mid); line-height: 1.6; margin-bottom: 10px; }
.event-row-meta { display: flex; align-items: center; gap: 14px; font-size: calc(12px * var(--fs-b)); color: var(--text-lt); }
.event-cta {
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.event-seats { font-size: calc(11px * var(--fs-b)); color: var(--text-lt); }
.event-seats strong { color: var(--teal); font-weight: 700; }

.series-wrap { background: var(--white); padding: 96px 80px; }
.series-inner { max-width: 1280px; margin: 0 auto; }
.series-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.series-card {
  border-radius: 14px;
  padding: 36px;
  color: var(--white);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: block;
  min-height: 280px;
  transition: transform 0.3s;
}
.series-card:hover { transform: translateY(-4px); }
.series-card.s1 { background: linear-gradient(145deg, #1E2D3A, #0c0c30); }
.series-card.s2 { background: linear-gradient(145deg, #0c0c30, #4FB0B0); }
.series-card.s3 { background: linear-gradient(145deg, #0F2030, #C8965A); }
.series-card::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 65%);
  top: -100px; right: -80px;
}
.series-emoji { font-size: calc(32px * var(--fs-b)); margin-bottom: 24px; position: relative; z-index: 1; }
.series-name {
  font-family: var(--serif);
  font-size: calc(22px * var(--fs-h));
  font-weight: 600;
  margin-bottom: 10px;
  position: relative; z-index: 1;
}
.series-desc {
  font-size: calc(13px * var(--fs-b));
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  margin-bottom: 24px;
  position: relative; z-index: 1;
}
.series-meta {
  position: relative; z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: calc(12px * var(--fs-b));
  color: rgba(255,255,255,0.5);
}

/* ============================================
   ACADEMY PAGE — paths / courses / masterclass / instructors / resources
   ============================================ */
.path-wrap { background: var(--white); padding: 96px 80px; }
.path-inner { max-width: 1280px; margin: 0 auto; }
.path-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.path-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  background: var(--warm);
  text-decoration: none;
  transition: all 0.25s;
  display: block;
}
.path-card:hover {
  background: var(--white);
  border-color: var(--teal);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(26,107,90,0.08);
}
.path-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-size: calc(22px * var(--fs-b));
  margin-bottom: 20px;
}
.path-icon.p1 { background: var(--teal); }
.path-icon.p2 { background: var(--teal-mid); }
.path-icon.p3 { background: var(--slate); }
.path-icon.p4 { background: var(--gold); }
.path-level {
  font-size: calc(10px * var(--fs-b));
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}
.path-name {
  font-family: var(--serif);
  font-size: calc(19px * var(--fs-h));
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 10px;
  line-height: 1.3;
}
.path-desc { font-size: calc(13px * var(--fs-b)); color: var(--text-mid); line-height: 1.65; margin-bottom: 16px; }
.path-meta {
  font-size: calc(12px * var(--fs-b));
  color: var(--text-lt);
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.path-meta strong { color: var(--teal); font-weight: 600; }

.courses-wrap { background: var(--warm); padding: 96px 80px; }
.courses-inner { max-width: 1280px; margin: 0 auto; }
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.course-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(26,107,90,0.1);
  border-color: var(--teal-lt);
}
.course-thumb {
  height: 180px;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.course-thumb.c1 { background: linear-gradient(135deg, #0c0c30, #4FB0B0); }
.course-thumb.c2 { background: linear-gradient(135deg, #1E2D3A, #0c0c30); }
.course-thumb.c3 { background: linear-gradient(135deg, #C8965A, #1E2D3A); }
.course-thumb.c4 { background: linear-gradient(135deg, #4FB0B0, #C8965A); }
.course-thumb.c5 { background: linear-gradient(135deg, #0F2030, #4FB0B0); }
.course-thumb.c6 { background: linear-gradient(135deg, #0c0c30, #C8965A); }
.course-thumb-emoji { font-size: calc(56px * var(--fs-b)); opacity: 0.85; color: var(--white); }
.course-duration-pill {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: calc(11px * var(--fs-b));
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 100px;
}
.course-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.course-track {
  font-size: calc(10px * var(--fs-b));
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}
.course-title {
  font-family: var(--serif);
  font-size: calc(18px * var(--fs-h));
  font-weight: 600;
  color: var(--slate);
  line-height: 1.35;
  margin-bottom: 10px;
}
.course-desc { font-size: calc(13px * var(--fs-b)); color: var(--text-mid); line-height: 1.65; margin-bottom: 18px; flex: 1; }
.course-instructor {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.instructor-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-mid));
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-family: var(--serif);
  font-weight: 600;
  font-size: calc(12px * var(--fs-h));
}
.instructor-meta { flex: 1; font-size: calc(12px * var(--fs-b)); color: var(--text-mid); }
.instructor-meta strong { color: var(--slate); font-weight: 600; display: block; margin-bottom: 1px; }
.course-price {
  font-family: var(--serif);
  font-size: calc(16px * var(--fs-h));
  font-weight: 700;
  color: var(--teal);
}
.course-price.free { color: var(--teal-mid); }

.masterclass-wrap {
  background: var(--slate);
  padding: 96px 80px;
  position: relative;
  overflow: hidden;
}
.masterclass-wrap::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45,155,132,0.12) 0%, transparent 65%);
  top: -250px; left: -150px;
}
.masterclass-inner { max-width: 1280px; margin: 0 auto; position: relative; z-index: 1; }
.masterclass-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: center;
}
.masterclass-visual {
  background: linear-gradient(135deg, #0F2030, #0c0c30);
  border-radius: 18px;
  aspect-ratio: 4/5;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 36px;
}
.masterclass-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(45,155,132,0.18) 1px, transparent 1px);
  background-size: 22px 22px;
}
.masterclass-visual-emoji {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -55%);
  font-size: calc(140px * var(--fs-b));
  opacity: 0.2;
}
.masterclass-pill {
  position: relative; z-index: 1;
  display: inline-block;
  background: var(--gold);
  color: var(--slate);
  font-size: calc(11px * var(--fs-b));
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 4px;
}
.masterclass-content { color: var(--white); }
.masterclass-content .section-eyebrow { color: var(--teal-lt); }
.masterclass-content .section-eyebrow::before { background: var(--teal-lt); }
.masterclass-content h2 {
  font-family: var(--serif);
  font-size: calc(clamp(32px, 4vw, 46px) * var(--fs-h));
  font-weight: 600;
  letter-spacing: -0.8px;
  line-height: 1.15;
  margin: 18px 0 18px;
}
.masterclass-content h2 em { font-style: italic; font-weight: 300; color: var(--teal-mid); }
.masterclass-content p { font-size: calc(16px * var(--fs-h)); color: rgba(255,255,255,0.65); line-height: 1.75; margin-bottom: 28px; }
.masterclass-modules { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
.mc-module {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mc-mod-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(45,155,132,0.18);
  color: var(--teal-mid);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-weight: 600;
  font-size: calc(13px * var(--fs-h));
  flex-shrink: 0;
}
.mc-mod-title { font-size: calc(14px * var(--fs-b)); color: rgba(255,255,255,0.85); flex: 1; }
.mc-mod-dur { font-size: calc(11px * var(--fs-b)); color: rgba(255,255,255,0.4); }

.instructors-wrap { background: var(--white); padding: 96px 80px; }
.instructors-inner { max-width: 1280px; margin: 0 auto; }
.instructors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.instructor-card {
  background: var(--warm);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px 24px;
  text-align: center;
  transition: all 0.2s;
  cursor: pointer;
}
.instructor-card:hover { border-color: var(--teal); transform: translateY(-3px); }
.inst-photo {
  width: 80px; height: 80px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-weight: 700;
  color: var(--white);
  font-size: calc(30px * var(--fs-h));
}
.inst-photo.a { background: linear-gradient(135deg, #0c0c30, #4FB0B0); }
.inst-photo.b { background: linear-gradient(135deg, #C8965A, #1E2D3A); }
.inst-photo.c { background: linear-gradient(135deg, #4FB0B0, #0c0c30); }
.inst-photo.d { background: linear-gradient(135deg, #1E2D3A, #0c0c30); }
.inst-name {
  font-family: var(--serif);
  font-size: calc(16px * var(--fs-h));
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 4px;
}
.inst-role { font-size: calc(12px * var(--fs-b)); color: var(--text-mid); margin-bottom: 14px; line-height: 1.5; }
.inst-stats {
  font-size: calc(11px * var(--fs-b));
  color: var(--teal);
  font-weight: 600;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.resources-wrap { background: var(--white); padding: 96px 80px; }
.resources-inner { max-width: 1280px; margin: 0 auto; }
.res-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.res-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px;
  text-decoration: none;
  transition: all 0.2s;
  display: block;
}
.res-card:hover { border-color: var(--teal); transform: translateY(-3px); }
.res-type {
  font-size: calc(10px * var(--fs-b));
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.res-title {
  font-family: var(--serif);
  font-size: calc(17px * var(--fs-h));
  font-weight: 600;
  color: var(--slate);
  line-height: 1.35;
  margin-bottom: 10px;
}
.res-desc { font-size: calc(13px * var(--fs-b)); color: var(--text-mid); line-height: 1.65; margin-bottom: 18px; }
.res-cta { font-size: calc(12px * var(--fs-b)); font-weight: 600; color: var(--teal); }

/* ============================================
   COMMUNITY PAGE — who / benefits / tiers / chapters / testimonials / faq
   ============================================ */
.who-wrap { background: var(--white); padding: 96px 80px; }
.who-inner { max-width: 1280px; margin: 0 auto; text-align: center; }
.who-inner .section-eyebrow { justify-content: center; }
.who-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.who-card {
  background: var(--warm);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  text-align: left;
}
.who-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--teal-mist);
  display: flex; align-items: center; justify-content: center;
  font-size: calc(20px * var(--fs-b));
  margin-bottom: 20px;
}
.who-name {
  font-family: var(--serif);
  font-size: calc(17px * var(--fs-h));
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 8px;
}
.who-desc { font-size: calc(13px * var(--fs-b)); color: var(--text-mid); line-height: 1.65; }

.benefits-wrap { background: var(--warm); padding: 96px 80px; }
.benefits-inner { max-width: 1280px; margin: 0 auto; }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.benefit {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px;
  position: relative;
  transition: all 0.25s;
}
.benefit:hover { border-color: var(--teal); transform: translateY(-4px); }
.benefit-num {
  font-family: var(--serif);
  font-size: calc(14px * var(--fs-h));
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 18px;
  letter-spacing: 1px;
}
.benefit-title {
  font-family: var(--serif);
  font-size: calc(22px * var(--fs-h));
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 12px;
  line-height: 1.25;
}
.benefit-desc { font-size: calc(14px * var(--fs-b)); color: var(--text-mid); line-height: 1.7; }

.tiers-wrap { background: var(--white); padding: 96px 80px; }
.tiers-inner { max-width: 1280px; margin: 0 auto; }
.tiers-header { text-align: center; margin-bottom: 56px; }
.tiers-header .section-eyebrow { justify-content: center; }
.tiers-header .section-subtitle { margin: 0 auto 0; }
.tiers-toggle {
  display: inline-flex;
  background: var(--warm);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px;
  margin-top: 24px;
}
.tier-pill {
  padding: 8px 20px;
  font-size: calc(13px * var(--fs-b));
  font-weight: 600;
  color: var(--text-mid);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
}
.tier-pill.active { background: var(--slate); color: var(--white); }
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.tier-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.tier-card.featured {
  background: var(--slate);
  color: var(--white);
  border-color: var(--slate);
  transform: scale(1.03);
  box-shadow: 0 20px 60px rgba(30,45,58,0.18);
}
.tier-featured-pill {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--slate);
  font-size: calc(11px * var(--fs-b));
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
}
.tier-name {
  font-family: var(--serif);
  font-size: calc(22px * var(--fs-h));
  font-weight: 600;
  margin-bottom: 6px;
}
.tier-tagline { font-size: calc(13px * var(--fs-b)); color: var(--text-mid); margin-bottom: 28px; }
.tier-card.featured .tier-tagline { color: rgba(255,255,255,0.55); }
.tier-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}
.tier-price-num {
  font-family: var(--serif);
  font-size: calc(44px * var(--fs-h));
  font-weight: 700;
}
.tier-price-cur {
  font-family: var(--serif);
  font-size: calc(18px * var(--fs-h));
  font-weight: 600;
}
.tier-price-period { font-size: calc(13px * var(--fs-b)); color: var(--text-lt); margin-bottom: 24px; }
.tier-card.featured .tier-price-period { color: rgba(255,255,255,0.4); }
.tier-cta {
  background: var(--teal);
  color: var(--white);
  padding: 13px 24px;
  border-radius: 8px;
  font-size: calc(14px * var(--fs-b));
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  margin-bottom: 28px;
  transition: all 0.2s;
}
.tier-cta:hover { background: var(--teal-mid); }
.tier-card:not(.featured) .tier-cta {
  background: var(--warm);
  color: var(--slate);
  border: 1px solid var(--border);
}
.tier-card:not(.featured) .tier-cta:hover { background: var(--slate); color: var(--white); }
.tier-features { list-style: none; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.tier-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: calc(13px * var(--fs-b));
  line-height: 1.55;
  color: var(--text-mid);
}
.tier-card.featured .tier-features li { color: rgba(255,255,255,0.75); }
.tier-features li::before {
  content: '✓';
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
}
.tier-card.featured .tier-features li::before { color: var(--teal-mid); }

.chapters-wrap { background: var(--teal-mist); padding: 96px 80px; }
.chapters-inner { max-width: 1280px; margin: 0 auto; }
.chapters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.chapter-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 22px;
  text-decoration: none;
  transition: all 0.2s;
  display: block;
}
.chapter-card:hover { border-color: var(--teal); transform: translateY(-3px); }
.chapter-flag { font-size: calc(28px * var(--fs-b)); margin-bottom: 14px; }
.chapter-city {
  font-family: var(--serif);
  font-size: calc(17px * var(--fs-h));
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 4px;
}
.chapter-meta { font-size: calc(12px * var(--fs-b)); color: var(--text-mid); margin-bottom: 12px; }
.chapter-status {
  font-size: calc(11px * var(--fs-b));
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 6px;
}
.chapter-status.soon { color: var(--gold); }
.chapter-status::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.testimonial-wrap {
  background: var(--slate);
  padding: 96px 80px;
  position: relative;
  overflow: hidden;
}
.testimonial-wrap::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45,155,132,0.1) 0%, transparent 65%);
  top: -200px; right: -100px;
}
.testimonial-inner { max-width: 1280px; margin: 0 auto; position: relative; z-index: 1; }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.testimonial-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 32px 28px;
}
.testimonial-quote {
  font-family: var(--serif);
  font-size: calc(17px * var(--fs-h));
  font-weight: 400;
  font-style: italic;
  color: rgba(255,255,255,0.85);
  line-height: 1.55;
  margin-bottom: 24px;
}
.testimonial-attrib {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.testimonial-av {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-weight: 700;
  color: var(--white);
  font-size: calc(15px * var(--fs-h));
}
.t-av-a { background: linear-gradient(135deg, #0c0c30, #4FB0B0); }
.t-av-b { background: linear-gradient(135deg, #C8965A, #1E2D3A); }
.t-av-c { background: linear-gradient(135deg, #4FB0B0, #0c0c30); }
.testimonial-meta { flex: 1; }
.testimonial-name { font-size: calc(14px * var(--fs-b)); color: var(--white); font-weight: 600; margin-bottom: 2px; }
.testimonial-role { font-size: calc(11px * var(--fs-b)); color: rgba(255,255,255,0.5); }

.faq-wrap { background: var(--white); padding: 96px 80px; }
.faq-inner { max-width: 880px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 48px; }
.faq-item {
  background: var(--warm);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 24px 28px;
  cursor: pointer;
  transition: all 0.2s;
}
.faq-item:hover { border-color: var(--teal); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--serif);
  font-size: calc(16px * var(--fs-h));
  font-weight: 600;
  color: var(--slate);
}
.faq-q-icon { font-size: calc(20px * var(--fs-b)); color: var(--teal); font-weight: 300; }
.faq-a {
  font-size: calc(13px * var(--fs-b));
  color: var(--text-mid);
  line-height: 1.7;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

/* ============================================
   CTA STRIP — reused (slate / teal variants)
   ============================================ */
.cta-strip {
  padding: 64px 80px;
  text-align: center;
}
.cta-strip.bg-slate { background: var(--slate); }
.cta-strip.bg-teal {
  background: var(--teal);
  padding: 120px 80px;
  position: relative;
  overflow: hidden;
}
.cta-strip.bg-teal::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 28px 28px;
}
.cta-strip-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative; z-index: 1;
}
.cta-strip.bg-slate .cta-strip-inner { max-width: 980px; }
.cta-strip h3 {
  font-family: var(--serif);
  font-size: calc(clamp(24px, 3vw, 38px) * var(--fs-h));
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}
.cta-strip.bg-teal h3 {
  font-size: calc(clamp(36px, 5vw, 56px) * var(--fs-h));
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 20px;
}
.cta-strip h3 em { color: var(--teal-mid); font-style: italic; font-weight: 300; }
.cta-strip.bg-teal h3 em { color: var(--teal-lt); }
.cta-strip p {
  font-size: calc(15px * var(--fs-h));
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 28px;
}
.cta-strip.bg-teal p {
  font-size: calc(17px * var(--fs-h));
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
}
.cta-strip-actions {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.cta-strip.bg-teal .btn-primary {
  background: var(--white);
  color: var(--teal);
}
.cta-strip.bg-teal .btn-primary:hover { background: var(--teal-mist); }
.cta-strip.bg-teal .btn-secondary {
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.3);
}
.cta-strip.bg-teal .btn-secondary:hover { color: var(--white); border-color: var(--white); }
.cta-strip.bg-slate .btn-primary { background: var(--teal-mid); }

/* ── MOBILE ── */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  nav .nav-toggle { display: flex; }
  /* Slide-in panel from the right. A touch lighter than the page so it reads
     as a distinct surface over the dark hero, with a teal edge + deep shadow. */
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    /* nav has `backdrop-filter`, which makes it the containing block for fixed
       children — so `bottom:0` would resolve against the 64px nav, not the
       viewport. Size with viewport height instead to fill the whole screen. */
    height: 100vh;
    height: 100dvh;
    width: min(86vw, 460px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 4px;
    padding: 88px 28px 32px;
    background: #15153c;
    border-left: 3px solid var(--teal);
    box-shadow: -28px 0 60px -20px rgba(0,0,0,0.75);
    transform: translateX(100%);
    visibility: hidden; /* keep links out of the tab order while closed */
    transition: transform 0.3s ease, visibility 0s linear 0.3s;
    overflow-y: auto;
    z-index: 105;
  }
  .admin-bar .nav-links { padding-top: 120px; height: calc(100vh - 32px); height: calc(100dvh - 32px); }
  nav.nav-open .nav-links {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.3s ease;
  }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    width: 100%;
    padding: 14px 4px;
    font-size: calc(16px * var(--fs-b));
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-cta {
    margin-top: 16px;
    text-align: center;
    border-bottom: 0 !important;
  }
  /* Dim the page behind the open panel. Sized with viewport units because the
     nav's backdrop-filter traps `inset:0` to the 64px-tall nav box. */
  nav.nav-open::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(0,0,0,0.7);
    z-index: 104;
  }
  .hero { padding: 140px 24px 80px; }
  .hero-stats { gap: 24px; }
  .hero-continent { display: none; }
  .section, .featured-wrap, .people-wrap, .jobs-wrap, .events-wrap, .newsletter-wrap, .community-wrap { padding: 64px 24px; }
  .featured-grid { grid-template-columns: 1fr; }
  .news-grid, .courses-grid, .res-grid, .topics-grid, .benefits-grid, .testimonial-grid, .tiers-grid { grid-template-columns: 1fr; }
  .people-grid, .directory-grid, .instructors-grid, .path-grid, .who-list, .chapters-grid { grid-template-columns: 1fr 1fr; }
  .jobs-grid { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: 1fr; }
  .newsletter-inner { grid-template-columns: 1fr; gap: 40px; }
  .community-inner { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .page-hero { padding: 130px 24px 60px; }
  .page-hero.variant-community { padding: 130px 24px 60px; }
  .page-hero.variant-academy .page-hero-inner,
  .page-hero.variant-community .page-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .filter-bar, .search-bar, .job-search { padding: 14px 20px; }
  .search-inner { grid-template-columns: 1fr; }
  .job-search-inner { grid-template-columns: 1fr; }
  .event-tabs { padding: 0 20px; }
  .feature-block, .stories-wrap, .topics-wrap, .spotlight-wrap, .directory-wrap, .jobs-layout, .hiring-strip,
  .flagship-wrap, .upcoming-wrap, .series-wrap, .path-wrap, .courses-wrap, .masterclass-wrap, .instructors-wrap,
  .resources-wrap, .who-wrap, .benefits-wrap, .tiers-wrap, .chapters-wrap, .testimonial-wrap, .faq-wrap, .cta-strip { padding: 56px 24px; }
  .feature-split { grid-template-columns: 1fr; }
  .spotlight { grid-template-columns: 1fr; padding: 32px; gap: 32px; }
  .spotlight-avatar { font-size: calc(80px * var(--fs-h)); max-width: 200px; margin: 0 auto; }
  .jobs-grid-2col { grid-template-columns: 1fr; }
  .facets-panel { position: static; }
  .job-row { grid-template-columns: 1fr; }
  .hiring-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-stat-row { flex-wrap: wrap; gap: 24px; }
  .flagship { padding: 36px; }
  .flagship-grid { grid-template-columns: 1fr; gap: 32px; }
  .flagship-meta { grid-template-columns: 1fr; gap: 16px; }
  .event-row { grid-template-columns: 80px 1fr; gap: 16px; }
  .event-cta { grid-column: 1 / -1; flex-direction: row; }
  .series-grid { grid-template-columns: 1fr; }
  .masterclass-grid { grid-template-columns: 1fr; }
  .tier-card.featured { transform: none; }
}

/* ── WHATSAPP CHANNEL CARD ── */
/* Full-width section behind the card; carries the doodle so the watermark sits
   on the background, not on the card itself. The card's opaque gradient covers
   the doodle, leaving it visible only in the surrounding gutters. */
.wa-channel-section {
  position: relative;
  padding: 40px 24px;
}
.wa-channel {
  /* WhatsApp green is reserved for the action buttons (+ their icon). */
  --wa-green:     #25C063;
  --wa-green-dk:  #1FAE57;
  /* Body Font for everything in the card; the title opts back into --serif. */
  font-family: var(--sans);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 44px 52px;
  background: linear-gradient(135deg, var(--white) 60%, var(--teal-mist) 100%);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: 0 20px 50px -28px rgba(12, 12, 48, 0.22);
}
.wa-channel-main { min-width: 0; }
.wa-channel-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}
.wa-channel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 10px 22px -12px rgba(12, 12, 48, 0.28);
}
.wa-channel-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Fallback when no favicon / custom image is set: branded green glyph tile. */
.wa-channel-icon.is-glyph {
  background: linear-gradient(135deg, var(--wa-green), var(--wa-green-dk));
  border-color: transparent;
}
.wa-channel-title {
  font-family: var(--serif);
  font-size: calc(30px * var(--fs-h));
  font-weight: 700;
  line-height: 1.15;
  color: var(--slate);
  white-space: nowrap;
}
.wa-channel-body {
  font-size: calc(17px * var(--fs-b));
  line-height: 1.65;
  color: var(--text-mid);
  max-width: 720px;
  margin-bottom: 0;
}
.wa-channel-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  list-style: none;
  margin-bottom: 18px;
}
.wa-channel-features li {
  position: relative;
  padding-left: 18px;
  font-size: calc(15px * var(--fs-b));
  font-weight: 500;
  color: var(--text);
}
.wa-channel-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--wa-green);
}
.wa-channel-action {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}
.wa-channel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 34px;
  border-radius: 999px;
  border: 2px solid transparent;
  background: linear-gradient(135deg, var(--wa-green), var(--wa-green-dk));
  color: var(--white) !important;
  font-size: calc(15px * var(--fs-b));
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 16px 32px -12px rgba(37, 192, 99, 0.7);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.wa-channel-btn svg { flex-shrink: 0; }
.wa-channel-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 38px -12px rgba(37, 192, 99, 0.8);
}
/* Group button reads as a secondary, outlined action. */
.wa-channel-btn.is-group {
  background: var(--white);
  color: var(--wa-green-dk) !important;
  border-color: var(--wa-green);
  box-shadow: none;
}
.wa-channel-btn.is-group:hover {
  background: var(--wa-green);
  color: var(--white) !important;
  box-shadow: 0 16px 32px -12px rgba(37, 192, 99, 0.6);
}

/* ── CENTER ALIGNMENT ── */
.wa-channel.is-center { text-align: center; }
.wa-channel.is-center .wa-channel-head {
  justify-content: center;
  /* Divider between the header and the content below. */
  padding-bottom: 26px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--border);
}
.wa-channel.is-center .wa-channel-features { justify-content: center; }
.wa-channel.is-center .wa-channel-body { margin-left: auto; margin-right: auto; }
.wa-channel.is-center .wa-channel-action { justify-content: center; }

@media (max-width: 860px) {
  .wa-channel {
    gap: 24px;
    padding: 36px 28px;
    border-radius: 22px;
  }
  .wa-channel-title { font-size: calc(25px * var(--fs-h)); white-space: normal; }
  .wa-channel-action { flex-direction: column; }
  .wa-channel-btn {
    width: 100%;
    /* Let long labels wrap instead of overflowing the pill on narrow screens. */
    white-space: normal;
    overflow-wrap: anywhere;
    padding: 16px 22px;
    line-height: 1.3;
    letter-spacing: 0.06em;
  }
}

/* ═══════════════════════════════════════════════════════════════
   CA ARCHIVE & SINGLE PAGE TEMPLATES
   Styles for PHP templates served via template_include for CPT
   archives (news, people-of-comms, jobs, events, category) and
   single posts (news, people, job, event, regular post).
   ═══════════════════════════════════════════════════════════════ */

/* ── CA PAGINATION (shared by all archive templates) ── */
.ca-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 56px;
}
.ca-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  font-size: calc(13px * var(--fs-b));
  font-weight: 600;
  color: var(--text-mid);
  text-decoration: none;
  transition: all 0.2s;
}
.ca-pagination .page-numbers:hover { border-color: var(--teal); color: var(--teal); }
.ca-pagination .page-numbers.current { background: var(--teal); color: var(--white); border-color: var(--teal); }
.ca-pagination .page-numbers.dots { border: none; background: none; cursor: default; }
.ca-pagination .prev.page-numbers,
.ca-pagination .next.page-numbers { padding: 0 18px; }

/* ── CA BACK LINK (shared by all single templates) ── */
.ca-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: calc(13px * var(--fs-b));
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  margin-bottom: 48px;
  padding: 10px 20px;
  border: 1.5px solid var(--teal);
  border-radius: 7px;
  transition: all 0.2s;
}
.ca-back-link:hover { background: var(--teal); color: var(--white); }

/* ── CA SINGLE ARTICLE (news single + regular post) ── */
.ca-single-wrap { background: var(--warm); padding: 80px; }
.ca-single-inner { max-width: 780px; margin: 0 auto; }
.ca-single-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.ca-single-meta-tag {
  background: var(--teal-mist);
  color: var(--teal);
  padding: 4px 12px;
  border-radius: 100px;
  font-weight: 700;
  font-size: calc(10px * var(--fs-b));
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.ca-single-meta-date,
.ca-single-meta-author { font-size: calc(12px * var(--fs-b)); color: var(--text-lt); }
.ca-single-title {
  font-family: var(--serif);
  font-size: calc(clamp(28px, 3.5vw, 44px) * var(--fs-h));
  font-weight: 700;
  color: var(--slate);
  line-height: 1.15;
  letter-spacing: -0.8px;
  margin-bottom: 24px;
}
.ca-single-excerpt {
  font-size: calc(18px * var(--fs-b));
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.ca-single-content {
  font-family: var(--sans);
  font-size: calc(16px * var(--fs-b));
  color: var(--text);
  line-height: 1.8;
}
.ca-single-content h2,
.ca-single-content h3,
.ca-single-content h4 {
  font-family: var(--serif);
  color: var(--slate);
  line-height: 1.2;
  margin: 40px 0 16px;
}
.ca-single-content h2 { font-size: calc(28px * var(--fs-h)); }
.ca-single-content h3 { font-size: calc(22px * var(--fs-h)); }
.ca-single-content h4 { font-size: calc(18px * var(--fs-h)); }
.ca-single-content p  { margin-bottom: 24px; }
.ca-single-content a  { color: var(--teal); }
.ca-single-content a:hover { color: var(--teal-mid); }
.ca-single-content ul,
.ca-single-content ol { padding-left: 28px; margin-bottom: 24px; }
.ca-single-content li { margin-bottom: 8px; line-height: 1.7; }
.ca-single-content blockquote {
  border-left: 3px solid var(--teal);
  margin: 36px 0;
  padding: 20px 28px;
  background: var(--teal-mist);
  border-radius: 0 8px 8px 0;
  font-family: var(--serif);
  font-size: calc(19px * var(--fs-h));
  font-style: italic;
  color: var(--slate);
}
.ca-single-content img { max-width: 100%; border-radius: var(--r); margin: 32px 0; display: block; }
.ca-single-nav {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.ca-single-nav-item {
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  text-decoration: none;
  transition: all 0.2s;
  display: block;
}
.ca-single-nav-item:hover { border-color: var(--teal); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,107,90,0.07); }
.ca-single-nav-label { font-size: calc(10px * var(--fs-b)); font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-lt); margin-bottom: 6px; }
.ca-single-nav-title { font-family: var(--serif); font-size: calc(15px * var(--fs-h)); color: var(--slate); font-weight: 600; line-height: 1.35; }
.ca-single-nav-item.is-next { text-align: right; }

/* ── CA SINGLE PERSON / PROFILE ── */
.ca-profile-wrap { background: var(--warm); padding: 80px; }
.ca-profile-inner { max-width: 900px; margin: 0 auto; }
.ca-profile-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 28px;
}
.ca-profile-card-top {
  padding: 48px;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 36px;
  align-items: start;
}
.ca-profile-avatar-lg {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 700;
  color: var(--white);
  font-size: calc(38px * var(--fs-h));
  flex-shrink: 0;
}
.ca-profile-name {
  font-family: var(--serif);
  font-size: calc(32px * var(--fs-h));
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 6px;
}
.ca-profile-role { font-size: calc(15px * var(--fs-b)); color: var(--text-mid); margin-bottom: 14px; line-height: 1.5; }
.ca-profile-country { display: inline-flex; align-items: center; gap: 6px; font-size: calc(13px * var(--fs-b)); color: var(--teal); font-weight: 600; }
.ca-profile-quote-strip { background: var(--slate); padding: 36px 48px; }
.ca-profile-quote-strip blockquote {
  font-family: var(--serif);
  font-size: calc(20px * var(--fs-h));
  font-style: italic;
  font-weight: 300;
  color: var(--white);
  line-height: 1.55;
  margin: 0;
  padding-left: 24px;
  border-left: 3px solid var(--teal-mid);
}
.ca-profile-content-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 44px 48px;
}
.ca-profile-content-label {
  font-size: calc(11px * var(--fs-b));
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ca-profile-content-label::before { content: ''; width: 24px; height: 2px; background: var(--teal); border-radius: 2px; }

/* ── CA SINGLE JOB ── */
.ca-job-detail-wrap { background: var(--warm); padding: 80px; }
.ca-job-detail-inner { max-width: 900px; margin: 0 auto; }
.ca-job-detail-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px;
  margin-bottom: 28px;
}
.ca-job-detail-head {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 28px;
  align-items: start;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.ca-job-detail-logo {
  width: 72px; height: 72px;
  border-radius: 14px;
  background: var(--teal-mist);
  display: flex; align-items: center; justify-content: center;
  font-size: calc(28px * var(--fs-b));
  flex-shrink: 0;
}
.ca-job-detail-title { font-family: var(--serif); font-size: calc(28px * var(--fs-h)); font-weight: 700; color: var(--slate); margin-bottom: 6px; }
.ca-job-detail-company { font-size: calc(14px * var(--fs-b)); color: var(--text-mid); margin-bottom: 16px; }
.ca-job-apply-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 8px;
  font-size: calc(14px * var(--fs-b));
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.ca-job-apply-btn:hover { background: var(--teal-mid); transform: translateY(-1px); }
.ca-job-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  font-size: calc(13px * var(--fs-b));
  color: var(--text-mid);
  margin-bottom: 20px;
}
.ca-job-chip { display: inline-block; padding: 4px 12px; border-radius: 100px; background: var(--teal-mist); color: var(--teal); font-size: calc(11px * var(--fs-b)); font-weight: 600; }
.ca-job-chip.featured { background: var(--gold-lt); color: var(--gold); }

/* ── CA SINGLE EVENT ── */
.ca-event-detail-wrap { background: var(--warm); padding: 80px; }
.ca-event-detail-inner { max-width: 900px; margin: 0 auto; }
.ca-event-detail-card {
  background: var(--slate);
  border-radius: 16px;
  padding: 52px 56px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}
.ca-event-detail-card::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.ca-event-detail-kind {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(45,155,132,0.18);
  border: 1px solid rgba(45,155,132,0.3);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: calc(11px * var(--fs-b));
  font-weight: 600;
  color: var(--teal-lt);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  position: relative;
}
.ca-event-detail-title {
  font-family: var(--serif);
  font-size: calc(clamp(28px, 3.5vw, 42px) * var(--fs-h));
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.15;
  position: relative;
}
.ca-event-detail-meta {
  display: flex; flex-wrap: wrap; gap: 14px 28px;
  font-size: calc(14px * var(--fs-b));
  color: rgba(255,255,255,0.65);
  margin-bottom: 28px;
  position: relative;
}
.ca-event-detail-meta span { display: flex; align-items: center; gap: 6px; }
.ca-event-register-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 8px;
  font-size: calc(14px * var(--fs-b));
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  position: relative;
}
.ca-event-register-btn:hover { background: var(--teal-mid); transform: translateY(-1px); }
.ca-event-body {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 44px 48px;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .ca-single-wrap,
  .ca-profile-wrap,
  .ca-job-detail-wrap,
  .ca-event-detail-wrap { padding: 56px 24px; }
  .ca-profile-card-top { grid-template-columns: 1fr; gap: 20px; padding: 32px; }
  .ca-profile-quote-strip { padding: 28px 32px; }
  .ca-profile-content-wrap { padding: 28px 32px; }
  .ca-job-detail-card { padding: 32px; }
  .ca-job-detail-head { grid-template-columns: 56px 1fr; gap: 20px; }
  .ca-job-apply-btn { grid-column: 1 / -1; align-self: start; }
  .ca-event-detail-card { padding: 36px 28px; }
  .ca-event-body { padding: 28px 32px; }
  .ca-single-nav { grid-template-columns: 1fr; }
}

/* ── Doodle paper watermark on white section backgrounds ──────────────────────
   A faint comms-in-Africa doodle pattern behind the large white sections so they
   read as textured "paper" instead of flat white. Strength is admin-controlled
   via --ca-paper-opacity (CA Design → Background); 0 = off. Cards/inputs stay
   opaque white and sit on top, like chat bubbles over a wallpaper. */
.featured-wrap, .events-wrap, .feature-block, .topics-wrap, .spotlight-wrap,
.flagship-wrap, .series-wrap, .path-wrap, .instructors-wrap, .who-wrap,
.tiers-wrap, .faq-wrap, .ca-profile-content-wrap,
.upcoming-wrap, .directory-wrap, .stories-wrap, .resources-wrap {
  background-color: var(--white);
  background-image:
    linear-gradient(rgba(255, 255, 255, calc(1 - var(--ca-paper-opacity, 0))),
                    rgba(255, 255, 255, calc(1 - var(--ca-paper-opacity, 0)))),
    var(--ca-paper-img);
  background-repeat: repeat;
  background-position: center top;
  background-size: auto, var(--ca-paper-size) var(--ca-paper-size);
}

/* ── Toggleable doodle overlay (per-widget) ───────────────────────────────────
   Added by widgets that expose a "Doodle Pattern" switch (News Grid, Community
   Cards, WhatsApp Channel). Unlike the block above it doesn't force a white
   background — it lays the doodle over whatever background the section already
   has, at --ca-paper-opacity. Content is lifted above the overlay. */
.ca-doodle-bg { position: relative; }
.ca-doodle-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: var(--ca-paper-img);
  background-repeat: repeat;
  background-position: center;
  background-size: var(--ca-paper-size) var(--ca-paper-size);
  opacity: var(--ca-paper-opacity, 0.05);
  pointer-events: none;
}
.ca-doodle-bg > * { position: relative; z-index: 1; }
/* The News Grid lives in a max-width:1280 .section, so its inset:0 doodle was
   boxed to 1280 and left blank gutters on wide screens. Full-bleed the doodle
   to the viewport (body has overflow-x:hidden) while content stays centred. */
.section.ca-doodle-bg::before {
  left: 50%;
  right: auto;
  width: 100vw;
  margin-left: -50vw;
}
