/* ===========================================================
   EHC Africa West — homepage styles
   Built on the "Every Home" design system (Open Sans, earth tones)
   with a warm regional layer (clay + gold) for West-African character.
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* ---------- Tokens ---------- */
:root {
  /* neutrals / surfaces (from design system) */
  --sand:            #f6eedf;
  --sand-bright:     #faf8f3;
  --sand-dim:        #e4d1b1;
  --surface-lowest:  #fbf6ec;
  --surface-low:     #f0ede8;
  --surface:         #ece4d4;
  --surface-high:    #e2d8c4;

  --ink:             #2b282a;
  --ink-soft:        #5a5559;
  --ink-faint:       #8a847f;
  --inverse:         #1a1719;
  --on-inverse:      #f9f7f4;

  --outline:         #cdbfa6;
  --outline-soft:    #ded2bd;

  /* brand greens */
  --sage:            #315449;
  --sage-deep:       #28433a;
  --sage-light:      #b6e0da;
  --green-cta:       #50c099;
  --green-cta-deep:  #3fa87f;

  /* warm regional accents (harmonised, shared chroma) */
  --clay:            #c0573a;
  --clay-deep:       #a4452c;
  --clay-soft:       #e7c4b3;
  --gold:            #d39b3c;
  --gold-soft:       #f0dcb0;

  /* semantic — overridden per palette below */
  --brand:           var(--sage);
  --brand-deep:      var(--sage-deep);
  --on-brand:        var(--sand);
  --accent:          var(--clay);
  --accent-2:        var(--gold);
  --cta:             var(--sage);
  --cta-deep:        var(--sage-deep);
  --on-cta:          var(--sand);

  /* map state colors (stable across palettes for legibility) */
  --map-land:        #e8ddc6;
  --map-land-stroke: #d3c4a6;
  --map-hosted:      var(--sage);
  --map-federated:   var(--gold);
  --map-coming:      #c4bcae;
  --map-active-ring: rgba(49, 84, 73, 0.18);

  /* shape + space */
  --r-sm: 4px;  --r: 8px;  --r-md: 12px;  --r-lg: 16px;  --r-xl: 22px;  --r-full: 9999px;
  --sp-xs: 4px; --sp-sm: 12px; --sp-md: 24px; --sp-lg: 40px; --sp-xl: 64px;
  --container: 1200px;

  --shadow-sm: 0 1px 2px rgba(43,40,42,.06), 0 1px 1px rgba(43,40,42,.04);
  --shadow-md: 0 10px 30px rgba(43,40,42,.10), 0 2px 8px rgba(43,40,42,.06);
  --shadow-lg: 0 24px 60px rgba(43,40,42,.16), 0 6px 18px rgba(43,40,42,.08);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* palette variants (toggled by Tweaks via data-palette on <html>) */
:root[data-palette="restrained"] {
  --accent: var(--sage); --accent-2: var(--sand-dim);
  --cta: var(--sage); --cta-deep: var(--sage-deep); --on-cta: var(--sand);
  --map-federated: #9ac9c3;
}
:root[data-palette="warm"] {
  --accent: var(--clay); --accent-2: var(--gold);
  --cta: var(--sage); --cta-deep: var(--sage-deep); --on-cta: var(--sand);
  --map-federated: var(--gold);
}
:root[data-palette="energetic"] {
  --accent: var(--green-cta); --accent-2: var(--gold);
  --cta: var(--green-cta); --cta-deep: var(--green-cta-deep); --on-cta: #07271d;
  --map-hosted: var(--sage); --map-federated: var(--gold);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Open Sans', system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  letter-spacing: .01em;
  color: var(--ink);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1,h2,h3,h4 { margin: 0; font-weight: 700; letter-spacing: -.02em; line-height: 1.12; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 3px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); }
.section { padding-block: clamp(56px, 9vw, 104px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }
.section-head { max-width: 660px; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head h2 { font-size: clamp(30px, 4.4vw, 44px); margin-top: 14px; }
.section-head p { margin-top: 16px; color: var(--ink-soft); font-size: clamp(17px,1.6vw,19px); }
.center { text-align: center; margin-inline: auto; }
.center .eyebrow { display: inline-flex; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 14px 30px; border: none; border-radius: var(--r-sm);
  font-size: 14.5px; font-weight: 700; letter-spacing: .04em;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--cta); color: var(--on-cta); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--cta-deep); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--brand); border: 2px solid currentColor; padding: 12px 28px; }
.btn-ghost:hover { background: rgba(49,84,73,.07); }
.btn-clay { background: var(--clay); color: #fff; box-shadow: var(--shadow-sm); }
.btn-clay:hover { background: var(--clay-deep); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-lg { min-height: 56px; padding: 16px 36px; font-size: 15.5px; }
.btn .ext { width: 15px; height: 15px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--sand) 86%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--outline-soft);
}
.nav { display: flex; align-items: center; gap: 18px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand .mark {
  width: 42px; height: 42px; border-radius: 11px; flex: none;
  background: var(--sage); color: var(--sand);
  display: grid; place-items: center; font-weight: 800; font-size: 18px; letter-spacing: -.03em;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.12);
}
.brand .mark span { transform: translateY(-.5px); }
.brand .wordmark { display: flex; flex-direction: column; line-height: 1.05; }
.brand .wordmark b { font-size: 16px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.brand .wordmark small { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.brand-logo { margin-right: auto; display: flex; align-items: center; }
.brand-img { height: 42px; width: auto; max-width: 220px; display: block; }
@media (max-width: 600px){ .brand-img { height: 34px; max-width: 160px; } }
.nav-links { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; }
.nav-links a {
  padding: 9px 10px; border-radius: var(--r); font-size: 14px; font-weight: 600; color: var(--ink-soft); white-space: nowrap;
  transition: color .18s var(--ease), background-color .18s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--brand); background: rgba(49,84,73,.06); }
.nav-actions { display: flex; align-items: center; gap: 12px; }

/* language toggle */
.lang {
  display: inline-flex; align-items: center; background: var(--surface); border: 1px solid var(--outline-soft);
  border-radius: var(--r-full); padding: 3px; gap: 2px;
}
.lang button {
  border: none; background: transparent; color: var(--ink-soft);
  font-size: 12.5px; font-weight: 700; letter-spacing: .06em; padding: 6px 12px; border-radius: var(--r-full);
  transition: all .18s var(--ease); min-width: 38px;
}
.lang button[aria-pressed="true"] { background: var(--brand); color: var(--on-brand); box-shadow: var(--shadow-sm); }

.menu-btn { display: none; background: transparent; border: none; padding: 8px; color: var(--ink); }
.menu-btn svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 70% at 88% 18%, color-mix(in srgb, var(--accent-2) 22%, transparent), transparent 70%),
    radial-gradient(50% 60% at 6% 92%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%);
}
.hero-inner {
  position: relative; display: grid; gap: clamp(28px, 4vw, 56px); align-items: center;
  grid-template-columns: 1.05fr 1fr;
  padding-block: clamp(40px, 6vw, 80px) clamp(48px, 7vw, 90px);
}
.hero-copy { max-width: 560px; }
.hero h1 { font-size: clamp(38px, 5.6vw, 50px); letter-spacing: -.035em; }
.hero h1 .hl { color: var(--brand); position: relative; white-space: nowrap; }
.hero .lede { margin-top: 22px; font-size: clamp(17px, 1.8vw, 20px); color: var(--ink-soft); max-width: 50ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-meta { display: flex; gap: 26px; margin-top: 34px; flex-wrap: wrap; }
.hero-meta .m { display: flex; flex-direction: column; }
.hero-meta .m b { font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.hero-meta .m span { font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: var(--ink-soft); }

/* hero layout variants */
:root[data-hero="overlay"] .hero-inner { grid-template-columns: 1fr; }
:root[data-hero="overlay"] .hero-copy {
  position: relative; z-index: 3; max-width: 620px;
  background: color-mix(in srgb, var(--sand) 70%, transparent); backdrop-filter: blur(2px);
}
:root[data-hero="overlay"] .map-wrap { position: absolute; inset: 0 -6% -6% auto; width: 62%; opacity: .9; }
@media (max-width: 900px){ :root[data-hero="overlay"] .map-wrap { position: relative; inset: auto; width: auto; opacity: 1; } }
:root[data-hero="centered"] .hero-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
:root[data-hero="centered"] .hero-copy { max-width: 720px; }
:root[data-hero="centered"] .hero-cta, :root[data-hero="centered"] .hero-meta { justify-content: center; }
:root[data-hero="centered"] .map-wrap { width: min(760px, 100%); }

/* ---------- Map ---------- */
.map-wrap { position: relative; }
.map-card {
  position: relative; background: var(--surface-lowest);
  border: 1px solid var(--outline-soft); border-radius: var(--r-xl);
  padding: 18px 18px 14px; box-shadow: var(--shadow-md);
}
.map-card .map-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.map-card .map-title b { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.map-card .map-title .hint { font-size: 12px; color: var(--ink-faint); }
.wa-map { width: 100%; height: auto; display: block; overflow: visible; }

.wa-map .country { fill: var(--map-land); stroke: var(--map-land-stroke); stroke-width: .35; transition: fill .2s var(--ease), transform .25s var(--ease), filter .2s var(--ease); }
.wa-map .country.context { pointer-events: none; opacity: .85; }
.wa-map .member { cursor: pointer; stroke: var(--sand-bright); stroke-width: .5; transform-box: fill-box; transform-origin: center; }
.wa-map .member.hosted    { fill: var(--map-hosted); }
.wa-map .member.federated { fill: var(--map-federated); }
.wa-map .member.coming    { fill: var(--map-coming); }
.wa-map .member:hover, .wa-map .member:focus-visible { transform: translateY(-1.2px) scale(1.035); filter: drop-shadow(0 4px 7px rgba(43,40,42,.28)); outline: none; }
.wa-map .member.is-active { filter: drop-shadow(0 5px 10px rgba(43,40,42,.32)); }
.wa-map .dot-fed { fill: var(--sand-bright); pointer-events: none; }

/* legend */
.map-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--outline-soft); }
.map-legend .lg { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--ink-soft); white-space: nowrap; }
.map-legend .sw { width: 14px; height: 14px; border-radius: 4px; flex: none; }
.sw.hosted { background: var(--map-hosted); }
.sw.federated { background: var(--map-federated); }
.sw.coming { background: var(--map-coming); }

/* tooltip / country card */
.map-tip {
  position: absolute; z-index: 20; min-width: 200px; max-width: 250px;
  background: var(--inverse); color: var(--on-inverse);
  border-radius: var(--r-md); padding: 13px 15px; box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(6px) scale(.97); transform-origin: bottom left;
  transition: opacity .16s var(--ease), transform .16s var(--ease); pointer-events: none;
}
.map-tip.show { opacity: 1; transform: translateY(0) scale(1); }
.map-tip .tip-flag { font-size: 22px; line-height: 1; }
.map-tip .tip-top { display: flex; align-items: center; gap: 10px; }
.map-tip h4 { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.map-tip .tip-status { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 2px 8px; border-radius: var(--r-full); margin-top: 2px; display: inline-block; }
.tip-status.hosted { background: var(--sage-light); color: #11332e; }
.tip-status.federated { background: var(--gold-soft); color: #5b4310; }
.tip-status.coming { background: #4a4749; color: #d9d4cd; }
.map-tip p { font-size: 13px; margin-top: 8px; color: #d6d1cb; line-height: 1.45; }

/* ---------- Intro band ---------- */
.intro { background: var(--sand-bright); border-block: 1px solid var(--outline-soft); }
.intro-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
.intro blockquote { margin: 0; font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; line-height: 1.34; letter-spacing: -.015em; }
.intro blockquote .mark { color: var(--accent); }
.intro .by { margin-top: 22px; font-size: 14px; font-weight: 600; color: var(--ink-soft); letter-spacing: .02em; }
.intro-points { display: grid; gap: 18px; }
.intro-points .pt { display: flex; gap: 15px; }
.intro-points .pt .ic { width: 44px; height: 44px; flex: none; border-radius: 12px; background: color-mix(in srgb, var(--accent) 14%, var(--sand-bright)); color: var(--accent); display: grid; place-items: center; }
.intro-points .pt .ic svg { width: 22px; height: 22px; }
.intro-points .pt h4 { font-size: 17px; }
.intro-points .pt p { font-size: 15px; color: var(--ink-soft); margin-top: 4px; }

/* ---------- Metrics band ---------- */
.metrics { background: var(--sage-deep); color: var(--on-inverse); position: relative; overflow: hidden; }
.metrics::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 120% at 85% 0%, rgba(211,155,60,.16), transparent 60%); pointer-events: none; }
.metrics .section-head h2 { color: #fff; }
.metrics .section-head p { color: rgba(249,247,244,.75); }
.metrics .eyebrow { color: var(--gold); } .metrics .eyebrow::before { background: var(--gold); }
.metric-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(18px,3vw,30px); position: relative; z-index: 2; }
.metric { border-top: 2px solid rgba(255,255,255,.16); padding-top: 18px; }
.metric .num { font-size: clamp(32px, 4vw, 46px); font-weight: 800; letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums; }
.metric .num .suf { color: var(--gold); }
.metric .lbl { margin-top: 6px; font-size: 13.5px; font-weight: 600; color: rgba(249,247,244,.8); letter-spacing: .01em; }
.metrics .foot { margin-top: 30px; font-size: 13px; color: rgba(249,247,244,.55); position: relative; z-index: 2; }

/* ---------- Country grid ---------- */
.country-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-md); }
.c-card {
  position: relative; display: flex; flex-direction: column; background: var(--surface-lowest);
  border: 1px solid var(--outline-soft); border-radius: var(--r-md); overflow: hidden;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.c-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--outline); }
.c-card .c-flag { height: 8px; width: 100%; }
.c-card .c-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.c-card .c-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.c-card .c-name { display: flex; align-items: center; gap: 11px; }
.c-card .c-name .em { font-size: 26px; line-height: 1; }
.c-card .c-name b { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.c-card .c-name small { display: block; font-size: 12px; font-weight: 600; color: var(--ink-faint); letter-spacing: .04em; }
.c-card .c-desc { font-size: 14.5px; color: var(--ink-soft); }
.c-card .c-link { margin-top: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; color: var(--brand); padding-top: 6px; }
.c-card .c-link svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.c-card:hover .c-link svg { transform: translateX(3px); }
.c-card.is-coming { opacity: .82; }
.c-card.is-coming .c-link { color: var(--ink-faint); }

.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; padding: 5px 11px; border-radius: var(--r-full); white-space: nowrap; }
.badge.hosted { background: var(--sage-light); color: #11332e; }
.badge.federated { background: var(--gold-soft); color: #5b4310; }
.badge.coming { background: var(--surface-high); color: var(--ink-soft); }
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------- Stories ---------- */
.stories { background: var(--sand-bright); border-block: 1px solid var(--outline-soft); }
.story-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--sp-md); }
.story {
  display: flex; flex-direction: column; background: var(--surface-lowest); border: 1px solid var(--outline-soft);
  border-radius: var(--r-md); overflow: hidden; transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.story:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.story image-slot { width: 100%; height: 210px; display: block; }
.story .s-body { padding: 22px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.story .s-loc { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.story h3 { font-size: 20px; }
.story p { font-size: 14.5px; color: var(--ink-soft); }
.story .s-link { margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 700; color: var(--brand); display: inline-flex; gap: 7px; align-items: center; }
.story .s-link svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.story:hover .s-link svg { transform: translateX(3px); }

/* ---------- Events ---------- */
.event-list { display: grid; gap: 14px; }
.event {
  display: grid; grid-template-columns: auto 1fr auto; gap: clamp(16px,3vw,32px); align-items: center;
  background: var(--surface-lowest); border: 1px solid var(--outline-soft); border-radius: var(--r-md);
  padding: 20px clamp(20px,3vw,30px); transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.event:hover { border-color: var(--outline); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.event .date { text-align: center; min-width: 64px; }
.event .date .mo { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.event .date .day { font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.event .e-main h3 { font-size: 19px; }
.event .e-main .e-meta { margin-top: 6px; font-size: 13.5px; color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: 6px 16px; }
.event .e-main .e-meta span { display: inline-flex; align-items: center; gap: 6px; }
.event .e-main .e-meta svg { width: 14px; height: 14px; color: var(--ink-faint); }
.event .e-go { color: var(--brand); display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14px; }
.event .e-go svg { width: 16px; height: 16px; }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--sage); color: var(--on-inverse); position: relative; overflow: hidden; }
.testimonials::before { content: "\201C"; position: absolute; top: -40px; left: 4%; font-size: 280px; font-weight: 800; color: rgba(255,255,255,.06); line-height: 1; }
.testimonials .eyebrow { color: var(--gold); } .testimonials .eyebrow::before { background: var(--gold); }
.testimonials .section-head h2 { color: #fff; }
.t-track { display: flex; gap: var(--sp-md); position: relative; z-index: 2; }
.t-card { flex: 1; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-md); padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.t-card blockquote { margin: 0; font-size: 17px; line-height: 1.5; font-weight: 500; }
.t-card .t-by { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.t-card .t-av { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.16); display: grid; place-items: center; font-weight: 700; color: #fff; flex: none; }
.t-card .t-by b { display: block; font-size: 15px; font-weight: 700; }
.t-card .t-by small { font-size: 12.5px; color: rgba(249,247,244,.7); }

/* ---------- Give ---------- */
.give-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,4vw,56px); align-items: start; }
.give-copy h2 { font-size: clamp(30px,4.2vw,44px); margin-top: 14px; }
.give-copy p { margin-top: 18px; color: var(--ink-soft); font-size: 18px; }
.give-causes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.cause-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--surface-lowest); border: 1px solid var(--outline-soft); border-radius: var(--r-full); padding: 9px 16px; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); }
.cause-chip .em { font-size: 16px; }
.give-note { margin-top: 26px; display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); background: color-mix(in srgb, var(--accent) 9%, var(--sand-bright)); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); border-radius: var(--r); padding: 14px 16px; }
.give-note svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 1px; }

.bank-card { background: var(--inverse); color: var(--on-inverse); border-radius: var(--r-lg); padding: clamp(24px,3vw,34px); box-shadow: var(--shadow-lg); }
.bank-card h3 { font-size: 21px; color: #fff; display: flex; align-items: center; gap: 12px; }
.bank-card h3 svg { width: 24px; height: 24px; color: var(--gold); }
.bank-card .b-sub { margin-top: 8px; font-size: 14px; color: rgba(249,247,244,.6); }
.bank-rows { margin-top: 22px; display: grid; gap: 2px; border-radius: var(--r); overflow: hidden; }
.bank-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; background: rgba(255,255,255,.05); padding: 14px 16px; }
.bank-row .k { font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(249,247,244,.55); }
.bank-row .v { font-size: 15px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.bank-row .copy { background: rgba(255,255,255,.1); border: none; color: #fff; border-radius: var(--r-sm); padding: 6px 10px; font-size: 11px; font-weight: 700; letter-spacing: .04em; transition: background .18s var(--ease); }
.bank-row .copy:hover { background: var(--gold); color: #3a2a06; }
.bank-pick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.bank-pick button { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: rgba(249,247,244,.85); border-radius: var(--r-full); padding: 7px 14px; font-size: 12.5px; font-weight: 600; transition: all .18s var(--ease); }
.bank-pick button[aria-pressed="true"] { background: var(--gold); color: #3a2a06; border-color: var(--gold); }
.bank-card .b-foot { margin-top: 18px; font-size: 12px; color: rgba(249,247,244,.5); }

/* ---------- Newsletter ---------- */
.news { background: var(--sand-bright); border-top: 1px solid var(--outline-soft); }
.news-card { background: var(--surface-lowest); border: 1px solid var(--outline-soft); border-radius: var(--r-lg); padding: clamp(28px,4vw,48px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,4vw,52px); align-items: center; box-shadow: var(--shadow-sm); }
.news-card h2 { font-size: clamp(26px,3.4vw,38px); }
.news-card p { margin-top: 14px; color: var(--ink-soft); }
.news-form { display: grid; gap: 14px; }
.news-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: var(--ink-soft); }
.field input { height: 50px; border: 1px solid var(--outline); border-radius: var(--r); background: rgba(43,40,42,.03); padding: 0 15px; font-family: inherit; font-size: 15px; color: var(--ink); transition: border-color .18s var(--ease), box-shadow .18s var(--ease); }
.field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(49,84,73,.12); }
.news-form .consent { font-size: 12.5px; color: var(--ink-faint); }

/* ---------- Footer ---------- */
.site-footer { background: var(--inverse); color: var(--on-inverse); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(28px,4vw,48px); padding-block: clamp(48px,6vw,72px); }
.footer-brand .brand .wordmark b { color: #fff; }
.footer-brand .brand-img { filter: brightness(0) invert(1); }
.footer-brand p { margin-top: 18px; font-size: 14px; color: rgba(249,247,244,.6); max-width: 34ch; }
.footer-brand .mission { margin-top: 18px; font-size: 14.5px; font-style: italic; color: rgba(249,247,244,.85); border-left: 2px solid var(--gold); padding-left: 14px; }
.f-col h4 { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(249,247,244,.5); margin-bottom: 16px; }
.f-col a, .f-col p { display: block; font-size: 14px; color: rgba(249,247,244,.78); padding: 5px 0; transition: color .18s var(--ease); }
.f-col a:hover { color: var(--gold); }
.socials { display: flex; gap: 10px; margin-top: 4px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.07); display: grid; place-items: center; color: rgba(249,247,244,.8); transition: background .18s var(--ease), color .18s var(--ease); }
.socials a:hover { background: var(--gold); color: #3a2a06; }
.socials svg { width: 19px; height: 19px; }
.accountability { display: flex; gap: 13px; align-items: flex-start; margin-top: 18px; background: rgba(255,255,255,.05); border-radius: var(--r); padding: 14px; font-size: 12.5px; color: rgba(249,247,244,.65); }
.accountability svg { width: 22px; height: 22px; color: var(--green-cta); flex: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer-bottom p { font-size: 13px; color: rgba(249,247,244,.55); }
.footer-bottom .lang { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.footer-bottom .lang button { color: rgba(249,247,244,.7); }
.footer-bottom .lang button[aria-pressed="true"] { background: var(--gold); color: #3a2a06; }

/* placeholder note for map */
.ph-note { font-size: 11.5px; color: var(--ink-faint); font-style: italic; margin-top: 10px; }

/* map style variants (Tweaks: data-map on <html>) */
:root[data-map="outlined"] .wa-map .member { fill: var(--map-land); stroke-width: 1.3; }
:root[data-map="outlined"] .wa-map .member.hosted    { stroke: var(--map-hosted); fill: color-mix(in srgb, var(--map-hosted) 18%, var(--map-land)); }
:root[data-map="outlined"] .wa-map .member.federated { stroke: var(--map-federated); fill: color-mix(in srgb, var(--map-federated) 20%, var(--map-land)); }
:root[data-map="outlined"] .wa-map .member.coming    { stroke: var(--map-coming); fill: var(--map-land); }
:root[data-map="outlined"] .wa-map .dot-fed { display: none; }
:root[data-map="minimal"] .wa-map .country.context { display: none; }
:root[data-no-context="true"] .wa-map .country.context { display: none; }

/* mobile country list (mirrors map states) */
.map-mobile-list { display: none; }

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px){
  .nav-links { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 1080px){
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px){
  .hero-inner { grid-template-columns: 1fr; }
  .intro-grid { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: repeat(3,1fr); }
  .country-grid, .story-grid { grid-template-columns: repeat(2,1fr); }
  .t-track { flex-direction: column; }
  .give-grid, .news-card { grid-template-columns: 1fr; }
}
@media (max-width: 600px){
  body { font-size: 17px; }
  .nav { height: 64px; }
  .brand .wordmark small { display: none; }
  .metric-grid { grid-template-columns: repeat(2,1fr); gap: 22px 18px; }
  .country-grid, .story-grid { grid-template-columns: 1fr; }
  .event { grid-template-columns: auto 1fr; }
  .event .e-go { grid-column: 2; justify-self: start; }
  .news-form .row { grid-template-columns: 1fr; }
  .hero-meta { gap: 18px; }
  /* show mobile country list under the map for easy tapping */
  .map-mobile-list { display: grid; gap: 10px; margin-top: 16px; }
}

/* ===========================================================
   Mobile drawer (shared chrome)
   =========================================================== */
.mobile-drawer { display: none; border-top: 1px solid var(--outline-soft); background: var(--sand-bright); }
.mobile-drawer nav { display: flex; flex-direction: column; gap: 2px; padding: 14px clamp(20px,5vw,40px) 22px; }
.mobile-drawer a { padding: 12px 10px; border-radius: var(--r); font-size: 16px; font-weight: 600; color: var(--ink-soft); }
.mobile-drawer a:hover { background: rgba(49,84,73,.06); color: var(--brand); }
.mobile-drawer .btn { margin-top: 8px; }
@media (max-width: 1180px){ .mobile-drawer:not([hidden]) { display: block; } }

/* ===========================================================
   Interior page header (About / Mission Stations)
   =========================================================== */
.page-hero { position: relative; overflow: hidden; background: var(--sage-deep); color: var(--on-inverse); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(55% 90% at 90% 8%, color-mix(in srgb, var(--accent-2) 26%, transparent), transparent 62%),
    radial-gradient(50% 80% at 2% 100%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 60%);
}
.page-hero .container { position: relative; z-index: 2; padding-block: clamp(56px, 8vw, 104px); }
.page-hero .crumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: rgba(249,247,244,.6); margin-bottom: 20px; }
.page-hero .crumbs a { color: rgba(249,247,244,.8); } .page-hero .crumbs a:hover { color: var(--gold); }
.page-hero .crumbs svg { width: 14px; height: 14px; opacity: .5; }
.page-hero .eyebrow { color: var(--gold); } .page-hero .eyebrow::before { background: var(--gold); }
.page-hero h1 { font-size: clamp(38px, 6vw, 62px); letter-spacing: -.035em; color: #fff; max-width: 16ch; }
.page-hero .lede { margin-top: 22px; font-size: clamp(17px, 1.9vw, 21px); color: rgba(249,247,244,.82); max-width: 56ch; }
.page-hero .page-stats { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 38px; }
.page-hero .page-stats .m b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.03em; color: #fff; }
.page-hero .page-stats .m span { font-size: 13px; font-weight: 600; color: rgba(249,247,244,.7); }

/* ---- About: mission / story ---- */
.about-lead { background: var(--sand-bright); border-bottom: 1px solid var(--outline-soft); }
.about-lead .container { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,70px); align-items: center; }
.about-lead h2 { font-size: clamp(28px,3.6vw,40px); }
.about-lead p { margin-top: 18px; color: var(--ink-soft); font-size: 18px; }
.about-lead p + p { margin-top: 14px; }
.about-lead image-slot { width: 100%; height: 380px; display: block; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-md); }
.pillar { background: var(--surface-lowest); border: 1px solid var(--outline-soft); border-radius: var(--r-md); padding: 30px 26px; }
.pillar .p-ic { width: 52px; height: 52px; border-radius: 14px; background: color-mix(in srgb, var(--accent) 14%, var(--sand-bright)); color: var(--accent); display: grid; place-items: center; margin-bottom: 20px; }
.pillar .p-ic svg { width: 26px; height: 26px; }
.pillar h3 { font-size: 20px; }
.pillar p { margin-top: 10px; font-size: 15px; color: var(--ink-soft); }

/* timeline */
.timeline { background: var(--sand-bright); border-block: 1px solid var(--outline-soft); }
.tl { position: relative; margin-top: 10px; }
.tl::before { content: ""; position: absolute; left: 15px; top: 6px; bottom: 6px; width: 2px; background: var(--outline); }
.tl-item { position: relative; padding: 0 0 34px 52px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item .dot { position: absolute; left: 8px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent); }
.tl-item .yr { font-size: 13px; font-weight: 800; letter-spacing: .08em; color: var(--accent); }
.tl-item h3 { font-size: 19px; margin-top: 4px; }
.tl-item p { margin-top: 6px; font-size: 15px; color: var(--ink-soft); max-width: 60ch; }

/* leadership */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-md); }
.member-card { background: var(--surface-lowest); border: 1px solid var(--outline-soft); border-radius: var(--r-md); overflow: hidden; transition: transform .22s var(--ease), box-shadow .22s var(--ease); }
.member-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.member-card image-slot { width: 100%; height: 220px; display: block; }
.member-card .m-body { padding: 18px 20px 22px; }
.member-card .m-body b { font-size: 17px; font-weight: 700; }
.member-card .m-body .role { font-size: 13px; font-weight: 600; color: var(--accent); margin-top: 3px; }
.member-card .m-body p { font-size: 13.5px; color: var(--ink-soft); margin-top: 10px; }

/* values band (reuse metrics look) */
.value-band { background: var(--sage); color: var(--on-inverse); }
.value-band .eyebrow { color: var(--gold); } .value-band .eyebrow::before { background: var(--gold); }
.value-band .section-head h2 { color: #fff; }
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; border-radius: var(--r-md); overflow: hidden; }
.value-cell { background: rgba(255,255,255,.05); padding: 26px 28px; }
.value-cell .n { font-size: 13px; font-weight: 800; color: var(--gold); letter-spacing: .1em; }
.value-cell h3 { font-size: 20px; margin-top: 8px; color: #fff; }
.value-cell p { font-size: 14.5px; color: rgba(249,247,244,.78); margin-top: 8px; }

/* CTA strip */
.cta-strip { background: var(--sand-bright); border-top: 1px solid var(--outline-soft); }
.cta-strip .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-strip h2 { font-size: clamp(24px,3vw,34px); max-width: 20ch; }
.cta-strip .cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---- Mission Stations page ---- */
.stations-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 30px; }
.filter-group { display: inline-flex; background: var(--surface); border: 1px solid var(--outline-soft); border-radius: var(--r-full); padding: 3px; gap: 2px; }
.filter-group button { border: none; background: transparent; color: var(--ink-soft); font-size: 13px; font-weight: 700; letter-spacing: .02em; padding: 8px 16px; border-radius: var(--r-full); transition: all .18s var(--ease); }
.filter-group button[aria-pressed="true"] { background: var(--brand); color: var(--on-brand); box-shadow: var(--shadow-sm); }
.stations-count { font-size: 14px; color: var(--ink-soft); margin-left: auto; }

.station-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-md); }
.station { display: flex; flex-direction: column; background: var(--surface-lowest); border: 1px solid var(--outline-soft); border-radius: var(--r-md); overflow: hidden; transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease); }
.station:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--outline); }
.station .st-flag { height: 8px; width: 100%; }
.station .st-body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.station .st-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.station .st-name { display: flex; align-items: center; gap: 12px; }
.station .st-name .em { font-size: 30px; line-height: 1; }
.station .st-name b { font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.station .st-name small { display: block; font-size: 12px; font-weight: 600; color: var(--ink-faint); letter-spacing: .04em; }
.station .st-desc { font-size: 14.5px; color: var(--ink-soft); }
.station .st-meta { display: grid; gap: 8px; margin-top: 2px; }
.station .st-meta .r { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--ink-soft); }
.station .st-meta svg { width: 15px; height: 15px; color: var(--accent); flex: none; }
.station .st-foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.station .st-link { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; color: var(--brand); }
.station .st-link svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.station:hover .st-link svg { transform: translateX(3px); }
.station.is-coming { opacity: .82; }
.station.is-coming .st-link { color: var(--ink-faint); pointer-events: none; }
.station.is-hidden { display: none; }

/* map + list split on stations page */
.stations-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px,4vw,56px); align-items: start; }
.stations-split .map-card { position: sticky; top: 96px; }
.stations-split .station-grid { grid-template-columns: 1fr; }

@media (max-width: 980px){
  .about-lead .container { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .value-grid { grid-template-columns: 1fr; }
  .station-grid { grid-template-columns: repeat(2,1fr); }
  .stations-split { grid-template-columns: 1fr; }
  .stations-split .map-card { position: relative; top: 0; }
}
@media (max-width: 600px){
  .team-grid, .station-grid { grid-template-columns: 1fr; }
  .page-hero .page-stats { gap: 14px 28px; }
}

/* ===========================================================
   Programs & Events — index
   =========================================================== */
.ev-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 22px 32px; margin-bottom: clamp(30px,4vw,44px); padding-bottom: 26px; border-bottom: 1px solid var(--outline-soft); }
.ev-filter-block { display: flex; flex-direction: column; gap: 10px; }
.ev-filter-label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); }
.chip-bar { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-bar button {
  display: inline-flex; align-items: center; gap: 8px; background: var(--surface-lowest);
  border: 1px solid var(--outline-soft); border-radius: var(--r-full); padding: 8px 15px 8px 8px;
  font-size: 13.5px; font-weight: 600; color: var(--ink-soft); transition: all .16s var(--ease);
}
.chip-bar.chip-bar-type button { padding: 8px 15px; }
.chip-bar button:hover { border-color: var(--outline); color: var(--ink); }
.chip-bar button[aria-pressed="true"] { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.chip-bar .chip-flag { width: 22px; height: 22px; border-radius: 50%; flex: none; }
.chip-bar .chip-em { font-size: 18px; line-height: 1; }
.chip-bar .type-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.chip-bar button[aria-pressed="true"] .type-dot { box-shadow: 0 0 0 2px rgba(255,255,255,.5); }

/* country group */
.ev-group { margin-bottom: clamp(36px,5vw,56px); }
.ev-group:last-child { margin-bottom: 0; }
.ev-group-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 2px solid var(--outline-soft); }
.ev-group-flag { width: 46px; height: 46px; border-radius: 12px; flex: none; display: grid; place-items: center; box-shadow: inset 0 0 0 2px rgba(255,255,255,.35), var(--shadow-sm); }
.ev-group-flag span { font-size: 24px; line-height: 1; filter: drop-shadow(0 1px 1px rgba(0,0,0,.25)); }
.ev-group-title { margin-right: auto; }
.ev-group-title h2 { font-size: clamp(22px,2.6vw,28px); }
.ev-group-title small { font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: var(--ink-faint); }
.ev-group-count { font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--sand-bright)); padding: 6px 13px; border-radius: var(--r-full); }

.ev-list { display: grid; gap: 14px; }
.ev-card {
  display: grid; grid-template-columns: auto 1fr auto; gap: clamp(16px,2.5vw,26px); align-items: center;
  background: var(--surface-lowest); border: 1px solid var(--outline-soft); border-radius: var(--r-md);
  padding: 20px clamp(20px,3vw,28px); transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.ev-card:hover { border-color: var(--outline); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.ev-date { position: relative; text-align: center; min-width: 62px; padding-left: 14px; }
.ev-date::before { content: ""; position: absolute; left: 0; top: 2px; bottom: 2px; width: 4px; border-radius: 4px; background: var(--tag, var(--accent)); }
.ev-date .mo { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--tag, var(--accent)); }
.ev-date .day { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--ink); }
.ev-type {
  display: inline-flex; align-items: center; font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--tag, var(--accent)); background: color-mix(in srgb, var(--tag, var(--accent)) 14%, var(--sand-bright));
  padding: 4px 10px; border-radius: var(--r-full);
}
.ev-main h3 { font-size: 19px; margin-top: 9px; }
.ev-meta { display: flex; flex-wrap: wrap; gap: 5px 18px; margin-top: 8px; font-size: 13.5px; color: var(--ink-soft); }
.ev-meta span { display: inline-flex; align-items: center; gap: 7px; }
.ev-meta svg { width: 14px; height: 14px; color: var(--ink-faint); }
.ev-meta .ev-when { font-weight: 600; color: var(--ink); }
.ev-sum { margin-top: 10px; font-size: 14.5px; color: var(--ink-soft); max-width: 62ch; }
.ev-go { width: 40px; height: 40px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; color: var(--brand); flex: none; transition: background .18s var(--ease), transform .18s var(--ease); }
.ev-go svg { width: 18px; height: 18px; }
.ev-card:hover .ev-go { background: var(--brand); color: var(--on-brand); transform: translateX(3px); }
.ev-empty { font-size: 16px; color: var(--ink-soft); padding: 40px 0; text-align: center; }

/* ===========================================================
   Event detail
   =========================================================== */
.event-hero .ev-type.on-dark { background: color-mix(in srgb, var(--tag) 30%, transparent); color: #fff; }
.event-hero-meta { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 26px; }
.event-hero-meta span { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 600; color: rgba(249,247,244,.9); }
.event-hero-meta svg { width: 18px; height: 18px; color: var(--gold); }

.event-body-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px,4vw,60px); align-items: start; }
.event-body .ev-lead { font-size: clamp(19px,2vw,22px); font-weight: 600; line-height: 1.45; color: var(--ink); letter-spacing: -.01em; }
.event-body p { margin-top: 18px; font-size: 17px; color: var(--ink-soft); line-height: 1.6; }
.event-body .ev-expect-h { font-size: 22px; margin-top: 36px; }
.ev-expect { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.ev-expect li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--ink); }
.ev-expect svg { width: 22px; height: 22px; color: var(--green-cta-deep); flex: none; margin-top: 1px; }
.ev-ext-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 30px; background: color-mix(in srgb, var(--accent) 9%, var(--sand-bright)); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); border-radius: var(--r); padding: 15px 17px; font-size: 14.5px; color: var(--ink-soft); }
.ev-ext-note svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 1px; }

.event-aside { display: grid; gap: 20px; position: sticky; top: 96px; }
.ev-info-card { background: var(--surface-lowest); border: 1px solid var(--outline-soft); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-sm); }
.ev-info-card h3 { font-size: 18px; }
.ev-info-rows { display: grid; gap: 16px; margin: 20px 0 24px; }
.ev-info-rows .r { display: flex; gap: 13px; align-items: flex-start; }
.ev-info-rows .r > svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 2px; }
.ev-info-rows .k { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); }
.ev-info-rows .v { display: flex; align-items: center; gap: 8px; font-size: 15.5px; font-weight: 600; color: var(--ink); margin-top: 2px; }
.ev-info-rows .v .type-dot { width: 10px; height: 10px; border-radius: 50%; }
.ev-reg { width: 100%; }
.ev-info-foot { margin-top: 12px; font-size: 12px; color: var(--ink-faint); text-align: center; }
.event-aside image-slot { width: 100%; height: 220px; display: block; border-radius: var(--r-lg); overflow: hidden; }

.ev-related { background: var(--sand-bright); border-top: 1px solid var(--outline-soft); }
.rel-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--sp-md); }
.rel-card { display: flex; flex-direction: column; gap: 10px; background: var(--surface-lowest); border: 1px solid var(--outline-soft); border-radius: var(--r-md); padding: 22px; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.rel-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.rel-card h3 { font-size: 18px; }
.rel-card .rel-when { font-size: 13.5px; font-weight: 600; color: var(--ink-soft); margin-top: auto; }

.ev-backstrip { padding-block: clamp(32px,4vw,48px); }
.ev-back { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 700; color: var(--brand); }
.ev-back svg { width: 18px; height: 18px; }

@media (max-width: 900px){
  .event-body-grid { grid-template-columns: 1fr; }
  .event-aside { position: relative; top: 0; }
  .rel-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px){
  .ev-card { grid-template-columns: auto 1fr; }
  .ev-go { grid-column: 2; justify-self: start; margin-top: 4px; }
}

/* ===========================================================
   Mission Stations — editorial dossier layout
   =========================================================== */
.stn-dossier-layout { display: grid; grid-template-columns: 320px 1fr; gap: clamp(28px, 4vw, 48px); align-items: start; }
.stn-rail { position: sticky; top: 96px; display: grid; gap: 18px; }
.stn-rail-nav { background: var(--surface-lowest); border: 1px solid var(--outline-soft); border-radius: var(--r-lg); padding: 8px; display: grid; gap: 2px; max-height: calc(100vh - 420px); overflow: auto; }
.stn-rail-hint { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); padding: 10px 12px 6px; }
.stn-rail-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r); font-size: 14px; font-weight: 600; color: var(--ink-soft); transition: background .16s var(--ease), color .16s var(--ease); }
.stn-rail-nav a .em { font-size: 18px; line-height: 1; }
.stn-rail-nav a span:nth-child(2) { flex: 1; }
.stn-rail-nav a .dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.dot-hosted { background: var(--map-hosted); }
.dot-federated { background: var(--map-federated); }
.dot-coming { background: var(--map-coming); }
.stn-rail-nav a:hover { background: rgba(49,84,73,.07); color: var(--brand); }
.stn-rail-nav a.is-active { background: var(--brand); color: var(--on-brand); }
.stn-rail-nav a.is-active .dot { box-shadow: 0 0 0 2px rgba(255,255,255,.5); }
.wa-map .member.is-current { stroke: var(--ink); stroke-width: 1.3; }

.stn-main { display: grid; gap: clamp(32px, 4vw, 48px); }
.stn-dossier { display: grid; grid-template-columns: 340px 1fr; gap: clamp(24px, 3vw, 36px); background: var(--surface-lowest); border: 1px solid var(--outline-soft); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow-sm); scroll-margin-top: 100px; }
.stn-dossier.is-coming { opacity: .92; }
.stn-media { position: relative; }
.stn-media image-slot { width: 100%; height: 100%; min-height: 300px; display: block; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.stn-flag-chip { position: absolute; top: 14px; left: 14px; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; box-shadow: inset 0 0 0 2px rgba(255,255,255,.35), var(--shadow-sm); }
.stn-flag-chip span { font-size: 22px; filter: drop-shadow(0 1px 1px rgba(0,0,0,.25)); }
.stn-copy { display: flex; flex-direction: column; gap: 16px; }
.stn-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.stn-name { font-size: 24px; font-weight: 700; letter-spacing: -.01em; display: block; }
.stn-top small { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-faint); letter-spacing: .04em; margin-top: 2px; }
.stn-quote { margin: 0; padding-left: 16px; border-left: 3px solid var(--accent); font-size: 16.5px; font-weight: 600; line-height: 1.5; color: var(--ink); }
.stn-quote cite { display: block; margin-top: 8px; font-size: 13px; font-weight: 600; font-style: normal; color: var(--ink-soft); }
.stn-stats { display: flex; gap: clamp(18px, 3vw, 32px); flex-wrap: wrap; padding: 14px 0; border-block: 1px solid var(--outline-soft); }
.stn-stats .ss b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.stn-stats .ss span { font-size: 12px; font-weight: 600; color: var(--ink-soft); }
.stn-launch-banner { display: flex; align-items: center; gap: 10px; background: color-mix(in srgb, var(--gold) 14%, var(--sand-bright)); border: 1px solid color-mix(in srgb, var(--gold) 30%, transparent); border-radius: var(--r); padding: 12px 16px; font-size: 14px; font-weight: 700; color: #5b4310; }
.stn-launch-banner svg { width: 18px; height: 18px; }
.stn-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.stn-meta .r { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--ink-soft); }
.stn-meta .r a { display: flex; align-items: center; gap: 9px; color: var(--ink-soft); transition: color .16s var(--ease); }
.stn-meta .r a:hover { color: var(--brand); }
.stn-meta svg { width: 15px; height: 15px; color: var(--accent); flex: none; }
.stn-actions { margin-top: 4px; }

/* ---- tabbed variation (alt page) ---- */
.stn-tab-bar { display: flex; gap: clamp(20px, 3vw, 32px); align-items: flex-start; margin-bottom: 30px; flex-wrap: wrap; }
.stn-tabs { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 240px; background: var(--surface-lowest); border: 1px solid var(--outline-soft); border-radius: var(--r-lg); padding: 8px; }
.stn-tabs button { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: none; background: transparent; border-radius: var(--r); font-size: 14.5px; font-weight: 700; color: var(--ink-soft); text-align: left; transition: all .16s var(--ease); }
.stn-tabs button .em { font-size: 19px; }
.stn-tabs button span:nth-child(2) { flex: 1; }
.stn-tabs button .dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.stn-tabs button[aria-selected="true"] { background: var(--brand); color: var(--on-brand); }
.stn-tab-map-card { width: 300px; flex: none; }

.stn-profile { opacity: 0; transform: translateY(10px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.stn-profile.in { opacity: 1; transform: none; }
.stn-profile .stn-dossier { scroll-margin-top: 0; }

.stn-compare-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-md); }
.stn-compare-card { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; text-align: left; background: var(--surface-lowest); border: 1px solid var(--outline-soft); border-radius: var(--r-md); padding: 20px; transition: all .18s var(--ease); }
.stn-compare-card:hover { border-color: var(--outline); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.stn-compare-card.is-active { border-color: var(--brand); box-shadow: 0 0 0 2px rgba(49,84,73,.18); }
.stn-compare-flag { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; }
.stn-compare-flag span { font-size: 18px; }
.stn-compare-name { font-size: 16px; font-weight: 700; }
.stn-compare-stat { font-size: 13px; color: var(--ink-soft); margin-top: 2px; }

@media (max-width: 980px){
  .stn-dossier-layout { grid-template-columns: 1fr; }
  .stn-rail { position: relative; top: 0; }
  .stn-dossier { grid-template-columns: 1fr; }
  .stn-meta { grid-template-columns: 1fr; }
  .stn-compare-grid { grid-template-columns: repeat(2, 1fr); }
  .stn-tab-map-card { width: 100%; }
}
@media (max-width: 600px){
  .stn-compare-grid { grid-template-columns: 1fr; }
}

/* ===========================================================
   Stories — index + detail
   =========================================================== */
.chip-em { font-size: 16px; line-height: 1; display: inline-flex; }
.s-loc .chip-em { margin-right: 4px; }
.story-media-link { display: block; }
.story h3 a { color: inherit; }
.story-pull { margin: 0 0 28px; padding: 20px 24px; background: var(--sand-bright); border-left: 3px solid var(--accent); border-radius: 0 var(--r-md) var(--r-md) 0; font-size: 19px; font-weight: 600; line-height: 1.5; color: var(--ink); }
.story-pull cite { display: block; margin-top: 10px; font-size: 13.5px; font-weight: 600; font-style: normal; color: var(--ink-soft); }

/* ===========================================================
   Gallery & Media
   =========================================================== */
.gal-photo-wall { columns: 3 260px; column-gap: var(--sp-md); }
.gal-photo { break-inside: avoid; margin-bottom: var(--sp-md); border-radius: var(--r-md); overflow: hidden; background: var(--surface-lowest); border: 1px solid var(--outline-soft); }
.gal-photo image-slot { width: 100%; height: 220px; display: block; }
.gal-photo.is-tall image-slot { height: 320px; }
.gal-photo figcaption { display: flex; align-items: center; gap: 8px; padding: 12px 14px; font-size: 13px; font-weight: 600; color: var(--ink-soft); }

.gal-video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-md); }
.gal-video { background: var(--surface-lowest); border: 1px solid var(--outline-soft); border-radius: var(--r-md); overflow: hidden; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.gal-video:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.gal-video-media { position: relative; }
.gal-video-media image-slot { width: 100%; height: 190px; display: block; }
.gal-play { position: absolute; inset: 0; margin: auto; width: 54px; height: 54px; border-radius: 50%; background: rgba(26,23,25,.6); border: none; color: #fff; display: grid; place-items: center; backdrop-filter: blur(2px); transition: background .18s var(--ease), transform .18s var(--ease); }
.gal-play svg { width: 22px; height: 22px; margin-left: 2px; }
.gal-play:hover { background: var(--accent); transform: scale(1.06); }
.gal-duration { position: absolute; right: 10px; bottom: 10px; background: rgba(26,23,25,.72); color: #fff; font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: var(--r-full); }
.gal-video-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.gal-video-body h3 { font-size: 16.5px; }

.gal-kit-section { background: var(--sand-bright); border-top: 1px solid var(--outline-soft); }
.gal-kit-list { display: grid; gap: 2px; border-radius: var(--r-md); overflow: hidden; }
.gal-kit-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--surface-lowest); border: 1px solid var(--outline-soft); padding: 16px 20px; }
.gal-kit-row b { font-size: 15px; font-weight: 700; display: block; }
.gal-kit-row div span { display: block; font-size: 12.5px; color: var(--ink-faint); margin-top: 2px; }

@media (max-width: 900px){
  .gal-video-grid { grid-template-columns: repeat(2, 1fr); }
  .gal-photo-wall { columns: 2 220px; }
}
@media (max-width: 600px){
  .gal-video-grid { grid-template-columns: 1fr; }
  .gal-photo-wall { columns: 1; }
  .gal-kit-row { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ===========================================================
   Contact
   =========================================================== */
.ct-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.ct-form-card { background: var(--surface-lowest); border: 1px solid var(--outline-soft); border-radius: var(--r-lg); padding: clamp(26px, 3vw, 36px); box-shadow: var(--shadow-sm); }
.ct-form { display: grid; gap: 16px; margin-top: 20px; }
.ct-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ct-form textarea { font-family: inherit; }
.field select, .field textarea { border: 1px solid var(--outline); border-radius: var(--r); background: rgba(43,40,42,.03); padding: 12px 15px; font-size: 15px; color: var(--ink); transition: border-color .18s var(--ease), box-shadow .18s var(--ease); resize: vertical; }
.field select { height: 50px; }
.field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(49,84,73,.12); }
.ct-sent-note { min-height: 20px; font-size: 13.5px; font-weight: 700; color: var(--green-cta-deep); opacity: 0; transition: opacity .2s var(--ease); }
.ct-sent-note.show { opacity: 1; }

.ct-side { display: grid; gap: 20px; align-content: start; }
.ct-hq-card .ct-hq-rows { display: grid; gap: 14px; margin-top: 22px; }
.ct-hq-card .r { display: flex; align-items: flex-start; gap: 12px; font-size: 14.5px; color: rgba(249,247,244,.85); }
.ct-hq-card .r a { display: flex; align-items: flex-start; gap: 12px; color: rgba(249,247,244,.85); transition: color .18s var(--ease); }
.ct-hq-card .r a:hover { color: var(--gold); }
.ct-hq-card .r svg { width: 19px; height: 19px; color: var(--gold); flex: none; margin-top: 1px; }
.ct-social-card { background: var(--surface-lowest); border: 1px solid var(--outline-soft); border-radius: var(--r-lg); padding: 24px; }
.ct-social-card h4 { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 14px; }
.ct-social-card .socials a { background: var(--surface); color: var(--ink-soft); }
.ct-social-card .socials a:hover { background: var(--accent); color: #fff; }

.ct-directory-section { background: var(--sand-bright); border-top: 1px solid var(--outline-soft); }
.ct-directory-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-md); }
.ct-dir-card { background: var(--surface-lowest); border: 1px solid var(--outline-soft); border-radius: var(--r-md); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.ct-dir-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.ct-dir-name { display: flex; align-items: center; gap: 12px; }
.ct-dir-name .em { font-size: 26px; line-height: 1; }
.ct-dir-name b { font-size: 16.5px; font-weight: 700; display: block; }
.ct-dir-name small { display: block; font-size: 11.5px; font-weight: 600; color: var(--ink-faint); }
.ct-dir-note { font-size: 13.5px; color: var(--ink-soft); }
.ct-dir-link { display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 600; color: var(--brand); }
.ct-dir-link svg { width: 15px; height: 15px; color: var(--accent); }

@media (max-width: 980px){
  .ct-grid { grid-template-columns: 1fr; }
  .ct-directory-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px){
  .ct-form .row { grid-template-columns: 1fr; }
  .ct-directory-grid { grid-template-columns: 1fr; }
}
