@import url('fonts.css');

/* ---------- Brand tokens (CDKL5 Alliance identity) ---------- */
:root {
  --navy: #184880;
  --navy-deep: #0e2d55;
  --navy-ink: #0b2240;
  --lime: #c0d058;
  --lime-text: #5c6b0e;
  --burgundy: #882048;
  --sky: #90c0e0;
  --pink: #c888a8;
  --yellow: #f0eca0;
  --gold: #f2c94c;

  --bg: #fbfaf6;
  --surface: #ffffff;
  --tint: #f2f5ea;
  --ink: #0b2240;
  --muted: #4d5b70;
  --line: #e4e8ee;
  --map-empty: #c3cbd6;

  --shadow: 0 1px 2px rgba(11, 34, 64, .05), 0 14px 40px -16px rgba(11, 34, 64, .22);
  --shadow-lg: 0 34px 80px -34px rgba(11, 34, 64, .45);
  --radius: 26px;
  --page: 1220px;
  --head: 'Montserrat', system-ui, sans-serif;
  --body: 'Open Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.7 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); margin: 0; line-height: 1.08; letter-spacing: -.02em; font-weight: 800; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--burgundy); outline-offset: 3px; border-radius: 6px; }
.container { width: min(var(--page), calc(100% - 40px)); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 100; background: #fff; padding: 10px 16px; border-radius: 10px; box-shadow: var(--shadow); }
.skip:focus { top: 16px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(18px); -webkit-backdrop-filter: saturate(1.4) blur(18px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.is-scrolled .site-header { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(11,34,64,.4); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 80px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 50px; height: 50px; }
.brand-name { font: 900 15px/1 var(--head); letter-spacing: .01em; text-transform: uppercase; color: var(--lime-text); }
.brand-name b { display: block; color: var(--navy); font-weight: 900; font-size: 17px; margin-top: 2px; letter-spacing: .04em; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav > a:not(.btn) { text-decoration: none; font: 700 13px/1 var(--head); text-transform: uppercase; letter-spacing: .06em; padding: 12px 13px; border-radius: 999px; color: var(--muted); transition: color .2s, background .2s; }
.nav > a:not(.btn):hover, .nav > a.is-active { color: var(--navy); background: var(--tint); }
.nav .btn { margin-left: 10px; }
.menu-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; border-radius: 14px; background: var(--tint); cursor: pointer; place-items: center; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .3s, opacity .3s; }
.menu-toggle span + span { margin-top: 4px; }
.menu-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: 999px; border: 0; cursor: pointer; font: 800 13px/1.2 var(--head); text-transform: uppercase; letter-spacing: .07em; text-decoration: none; transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s; }
.btn svg { width: 17px; height: 17px; flex: none; transition: transform .25s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 12px 28px -12px rgba(24,72,128,.8); }
.btn-primary:hover { background: var(--navy-deep); transform: translateY(-2px); }
.btn-lime { background: var(--lime); color: var(--navy-ink); }
.btn-lime:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -12px rgba(120,140,20,.8); }
.btn-ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-sm { padding: 12px 20px; font-size: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font: 800 13px var(--head); text-transform: uppercase; letter-spacing: .07em; color: var(--navy); text-decoration: none; }
.link-arrow svg { width: 17px; height: 17px; transition: transform .25s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Shared ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 800 12px/1 var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--burgundy); }
.eyebrow::before { content: ''; width: 34px; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--navy) 0 25%, var(--lime) 25% 50%, var(--burgundy) 50% 75%, var(--sky) 75%); }
.section { padding: clamp(80px, 10vw, 130px) 0; position: relative; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px 40px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head > div { max-width: 700px; }
.section-head.center { justify-content: center; text-align: center; }
.section-head.center > div { margin-inline: auto; }
.section-title { font-size: clamp(32px, 4.4vw, 54px); text-transform: uppercase; letter-spacing: -.01em; margin: 16px 0 16px; color: var(--navy); }
.section-title span { color: var(--lime-text); }
.copy { font-size: clamp(17px, 1.3vw, 19px); color: var(--muted); }
.icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; flex: none; }
.icon svg { width: 26px; height: 26px; }
.t-navy { background: #e3ecf6; color: var(--navy); }
.t-lime { background: #f1f5d6; color: #56650a; }
.t-burgundy { background: #f6e3ea; color: var(--burgundy); }
.t-sky { background: #e3f0f9; color: #1f6a99; }

/* ---------- Ribbons (brand motif) ---------- */
.ribbons { position: absolute; pointer-events: none; z-index: -1; }
.ribbons path { fill: none; stroke-linecap: round; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(50px, 7vw, 90px) 0 clamp(70px, 8vw, 110px); }
.hero .ribbons { right: -160px; top: -60px; width: min(900px, 80vw); opacity: .95; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
h1 { font-size: clamp(44px, 6.6vw, 88px); font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; line-height: .98; color: var(--navy); margin: 22px 0 26px; }
h1 .lime { color: var(--lime-text); display: block; }
h1 .tilde { color: var(--burgundy); font-weight: 600; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 600px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-card { position: relative; background: var(--surface); border-radius: 36px; padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow-lg); text-align: center; }
.hero-card img.mark { width: min(280px, 70%); margin: 0 auto; }
.hero-card .who { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 26px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font: 700 12px/1 var(--head); text-transform: uppercase; letter-spacing: .06em; background: var(--tint); color: var(--navy); }
.chip i { width: 9px; height: 9px; border-radius: 50%; }
.float { position: absolute; display: flex; align-items: center; gap: 12px; background: var(--navy); color: #fff; border-radius: 20px; padding: 14px 18px; box-shadow: var(--shadow-lg); text-align: left; font-size: 13px; line-height: 1.3; }
.float strong { display: block; font: 900 26px/1 var(--head); color: var(--lime); }
.float.one { left: -36px; bottom: -28px; }
.float.two { right: -24px; top: -22px; background: var(--burgundy); }
.float.two strong { color: var(--yellow); }

/* ---------- Updates ---------- */
.updates { padding-top: 0; }
.news-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; }
.news-list { display: grid; gap: 20px; align-content: start; }
.news-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; transition: transform .5s cubic-bezier(.22,.61,.36,1), box-shadow .5s, background .5s; }
a.news-card:hover { transform: translateY(-5px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lg); }
.news-card .media { aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, var(--navy), var(--burgundy)); }
.news-card .media img { width: 100%; height: 100%; object-fit: cover; transform: translateZ(0); backface-visibility: hidden; transition: transform .9s cubic-bezier(.22,.61,.36,1); will-change: transform; }
a.news-card:hover .media img { transform: scale(1.03) translateZ(0); }
.news-card .body { padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font: 700 12px/1 var(--head); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.tag { padding: 6px 10px; border-radius: 999px; background: #e3ecf6; color: var(--navy); }
.tag[data-tag='Research'] { background: #e3f0f9; color: #1f6a99; }
.tag[data-tag='Event'] { background: #f6e3ea; color: var(--burgundy); }
.tag[data-tag='Awareness'] { background: #fbf6cf; color: #6d5d00; }
.tag[data-tag='Members'] { background: #f5e6ee; color: #8a3a62; }
.news-card h3 { font-size: 21px; line-height: 1.25; color: var(--navy); }
.news-card.featured h3 { font-size: clamp(24px, 2.4vw, 32px); }
.news-card p { color: var(--muted); font-size: 16px; }
.news-card .more { margin-top: auto; padding-top: 6px; }
.news-card.compact .body { padding: 22px 24px; }
.news-empty { padding: 40px; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); text-align: center; }
.news-page-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ---------- Vision / Mission ---------- */
.vm { background: var(--navy); color: #fff; border-radius: clamp(28px, 4vw, 48px); margin-inline: clamp(8px, 1.5vw, 20px); overflow: hidden; isolation: isolate; }
.vm .ribbons { left: -220px; bottom: -260px; width: 620px; opacity: .14; }
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); }
.vm .eyebrow { color: var(--lime); }
.vm .eyebrow::before { background: var(--lime); }
.vm h2 { font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; line-height: 1.3; letter-spacing: -.01em; margin-top: 20px; text-transform: none; }
.vm h2 em { font-style: normal; color: var(--lime); }
.vm-item + .vm-item { border-left: 1px solid rgba(255,255,255,.18); padding-left: clamp(30px, 6vw, 90px); }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar { position: relative; overflow: hidden; backface-visibility: hidden; will-change: transform; background: var(--surface); border-radius: var(--radius); padding: 36px 32px 34px; box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s cubic-bezier(.22,.61,.36,1), box-shadow .5s, background .5s; }
.pillar::before { content: ''; position: absolute; inset: 0 0 auto; height: 8px; background: var(--c); }
.pillar:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lg); }
.pillar .icon { margin-bottom: 30px; }
.pillar h3 { font-size: 22px; text-transform: uppercase; letter-spacing: .02em; color: var(--navy); margin-bottom: 12px; }
.pillar p { color: var(--muted); }
.pillar .num { position: absolute; right: 26px; top: 26px; font: 900 56px/1 var(--head); color: var(--tint); }

/* ---------- CDKL5 teaser ---------- */
.cdkl5-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fact { background: var(--surface); border-radius: 22px; padding: 24px; box-shadow: inset 0 0 0 1px var(--line); }
.fact b { display: block; font: 900 30px/1 var(--head); color: var(--navy); margin-bottom: 8px; letter-spacing: -.02em; }
.fact p { font-size: 15px; color: var(--muted); }
.fact.hl { background: var(--lime); box-shadow: none; }
.fact.hl b, .fact.hl p { color: var(--navy-ink); }
.fact.hl2 { background: var(--burgundy); box-shadow: none; }
.fact.hl2 b, .fact.hl2 p { color: #fff; }
.note { font-size: 14px; color: var(--muted); margin-top: 18px; }

/* ---------- Members ---------- */
.members-wrap { background: var(--tint); border-radius: clamp(28px, 4vw, 48px); margin-inline: clamp(8px, 1.5vw, 20px); }
.members { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.member { display: flex; align-items: center; gap: 14px; background: var(--surface); border-radius: 20px; padding: 18px 20px; box-shadow: var(--shadow); }
.member .cc { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none; font: 900 14px var(--head); color: #fff; letter-spacing: .04em; }
.member strong { display: block; font: 800 15px/1.25 var(--head); color: var(--navy); }
.member small { color: var(--muted); font-size: 13px; }
.member.join { background: var(--navy); color: #fff; text-decoration: none; box-shadow: none; transition: transform .25s; }
.member.join:hover { transform: translateY(-3px); }
.member.join strong { color: #fff; }
.member.join small { color: rgba(255,255,255,.75); }
.member.join .cc { background: var(--lime); color: var(--navy); font-size: 22px; }

/* ---------- Board ---------- */
.board { display: grid; grid-template-columns: repeat(7, 1fr); gap: 16px; }
.person { text-align: center; }
.person .ph { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--tint); margin-bottom: 14px; box-shadow: var(--shadow); }
.person .ph img { width: 100%; height: 100%; object-fit: cover; transform: translateZ(0); backface-visibility: hidden; transition: transform .9s cubic-bezier(.22,.61,.36,1); will-change: transform; }
.person:hover .ph img { transform: scale(1.03) translateZ(0); }
.person .role { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); white-space: nowrap; padding: 5px 10px; border-radius: 999px; background: var(--navy); color: #fff; font: 800 10px/1 var(--head); letter-spacing: .08em; text-transform: uppercase; }
.person h3 { font-size: 15px; color: var(--navy-ink); line-height: 1.25; }
.person p { font: 700 11px/1.35 var(--head); color: var(--navy); text-transform: uppercase; letter-spacing: .05em; margin-top: 6px; opacity: .8; }
.board-note { margin-top: 36px; max-width: 760px; }

/* ---------- Connect ---------- */
.connect { position: relative; overflow: hidden; isolation: isolate; border-radius: clamp(28px, 4vw, 48px); padding: clamp(40px, 7vw, 90px); background: var(--navy-deep); color: #fff; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.connect .ribbons { right: -140px; top: -120px; width: 640px; opacity: .3; }
.connect h2 { font-size: clamp(34px, 4.6vw, 58px); text-transform: uppercase; margin: 16px 0 18px; }
.connect h2 span { color: var(--lime); }
.connect .eyebrow { color: var(--yellow); }
.connect p { color: rgba(255,255,255,.8); font-size: 18px; max-width: 480px; }
.connect-list { display: grid; gap: 12px; }
.connect-item { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 20px; text-decoration: none; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); transition: background .25s, transform .25s; }
.connect-item:hover { background: rgba(255,255,255,.14); transform: translateX(4px); }
.connect-item .icon { width: 48px; height: 48px; border-radius: 14px; background: rgba(255,255,255,.1); }
.connect-item .icon svg { width: 22px; height: 22px; }
.connect-item strong { display: block; font: 800 15px/1.2 var(--head); text-transform: uppercase; letter-spacing: .05em; }
.connect-item small { display: block; color: rgba(255,255,255,.72); font-size: 14px; word-break: break-all; }
.connect-item .chev { margin-left: auto; width: 20px; height: 20px; opacity: .6; flex: none; }

/* ---------- Article page (What is CDKL5) ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(50px, 7vw, 90px) 0 clamp(40px, 5vw, 60px); }
.page-hero .ribbons { right: -200px; top: -100px; width: 760px; opacity: .55; }
.page-hero h1 { font-size: clamp(38px, 5.4vw, 72px); max-width: 900px; }
.crumbs { font: 700 12px var(--head); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.crumbs a { color: var(--navy); text-decoration: none; }
.article { display: grid; grid-template-columns: 260px 1fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.toc { position: sticky; top: 110px; display: grid; gap: 4px; }
.toc a { text-decoration: none; padding: 10px 14px; border-radius: 12px; font: 700 14px/1.3 var(--head); color: var(--muted); border-left: 3px solid transparent; }
.toc a:hover, .toc a.is-active { background: var(--surface); color: var(--navy); border-left-color: var(--lime); }
.prose { max-width: 760px; }
.prose section + section { margin-top: 64px; }
.prose h2 { font-size: clamp(26px, 3vw, 36px); color: var(--navy); text-transform: uppercase; margin-bottom: 20px; }
.prose p { color: #33435a; font-size: 18px; }
.prose p + p { margin-top: 16px; }
.callout { margin-top: 28px; display: flex; gap: 18px; padding: 24px 26px; border-radius: 22px; background: #fbf6cf; color: #4b4200; }
.callout svg { width: 26px; height: 26px; flex: none; margin-top: 2px; }
.callout p { color: inherit; font-size: 16px; }
.sym-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.sym { background: var(--surface); border-radius: 22px; padding: 24px 24px 22px; box-shadow: inset 0 0 0 1px var(--line); }
.sym h3 { display: flex; align-items: center; gap: 12px; font-size: 16px; text-transform: uppercase; letter-spacing: .04em; color: var(--navy); margin-bottom: 14px; }
.sym h3 .icon { width: 40px; height: 40px; border-radius: 12px; }
.sym h3 .icon svg { width: 20px; height: 20px; }
.sym ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.sym li { position: relative; padding-left: 20px; font-size: 15.5px; color: #33435a; line-height: 1.5; }
.sym li::before { content: ''; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--lime)); }

/* ---------- Footer ---------- */
.footer { padding: 70px 0 36px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.footer-nav a { text-decoration: none; font: 700 13px var(--head); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.footer-nav a:hover { color: var(--navy); }
.socials { display: flex; gap: 8px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--navy); transition: background .2s, color .2s; }
.socials a:hover { background: var(--navy); color: #fff; }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: 14px; color: var(--muted); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}


/* =========================================================
   v2 — multi-page site
   ========================================================= */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.note.center { text-align: center; margin-top: 28px; }
.note a, .copy a, .steps a { color: var(--navy); font-weight: 600; }
.tint-wrap { background: var(--tint); border-radius: clamp(28px, 4vw, 48px); margin-inline: clamp(8px, 1.5vw, 20px); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split.top { align-items: start; }
.sticky { position: sticky; top: 120px; }
.narrow { width: min(820px, calc(100% - 40px)); }
.sub-title { font-size: 20px; text-transform: uppercase; color: var(--navy); letter-spacing: .02em; }
.empty { grid-column: 1 / -1; padding: 40px; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); text-align: center; }
.empty h2 { color: var(--navy); margin-bottom: 10px; }
.empty .btn { margin-top: 16px; }
.draft { padding: 5px 9px; border-radius: 999px; background: #fbf6cf; color: #6d5d00; font: 800 10px/1 var(--head); letter-spacing: .08em; text-transform: uppercase; }
.page-hero.compact { padding-bottom: 30px; }
.page-hero .hero-actions { margin-top: 28px; }

/* Skeletons */
.skeleton { border-radius: var(--radius); min-height: 380px; background: linear-gradient(100deg, #eef1f5 30%, #f7f8fa 50%, #eef1f5 70%) 0 0 / 200% 100%; animation: shimmer 1.4s linear infinite; }
.skeleton.sm { min-height: 150px; }
.skeleton.line { min-height: 16px; width: 40%; border-radius: 8px; margin: 14px 0; }
.skeleton.title { min-height: 60px; width: 80%; border-radius: 12px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Tags per category */
.tag[data-cat='news'] { background: #e3ecf6; color: var(--navy); }
.tag[data-cat='event'] { background: #f6e3ea; color: var(--burgundy); }
.tag[data-cat='research'] { background: #e3f0f9; color: #1f6a99; }
.tag[data-cat='story'] { background: #f5e6ee; color: #8a3a62; }
.tag[data-cat='members'] { background: #f1f5d6; color: #4b580a; }

/* News cards v2 */
.news-card .media { position: relative; }
.news-card .media-blank { display: grid; place-items: center; aspect-ratio: 16 / 7; }
.media-blank svg { width: 64px; height: 64px; color: rgba(255,255,255,.85); }
.news-card .media.c-news { background: linear-gradient(135deg, #184880, #2f78a8); }
.news-card .media.c-event { background: linear-gradient(135deg, #882048, #c888a8); }
.news-card .media.c-research { background: linear-gradient(135deg, #1f6a99, #90c0e0); }
.news-card .media.c-story { background: linear-gradient(135deg, #a65a80, #f0c8d8); }
.news-card .media.c-members { background: linear-gradient(135deg, #5c6b0e, #c0d058); }
.date-badge { position: absolute; left: 16px; top: 16px; width: 58px; padding: 8px 0; border-radius: 14px; background: #fff; text-align: center; box-shadow: var(--shadow); color: var(--burgundy); }
.date-badge b { display: block; font: 900 22px/1 var(--head); }
.date-badge span { font: 800 11px var(--head); text-transform: uppercase; letter-spacing: .08em; }
.meta-event { display: inline-flex; align-items: center; gap: 8px; font: 700 13px var(--head); color: var(--burgundy); }
.meta-event svg { width: 16px; height: 16px; }
.news-card .more { align-self: flex-start; }

/* Events */
.events-strip { margin-top: 20px; padding: 22px 24px; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: center; }
.events-strip-head { display: grid; gap: 6px; }
.events-strip-head svg { width: 26px; height: 26px; color: var(--burgundy); }
.events-strip-head strong { font: 800 16px var(--head); text-transform: uppercase; color: var(--navy); letter-spacing: .04em; }
.events-strip .events-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.events-list { display: grid; gap: 10px; }
.event-row { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 18px; background: var(--bg); text-decoration: none; transition: background .2s, transform .2s; }
.event-row:hover { background: var(--tint); transform: translateX(3px); }
.event-row .cal { width: 56px; flex: none; text-align: center; border-radius: 14px; background: var(--burgundy); color: #fff; padding: 7px 0; }
.event-row .cal b { display: block; font: 900 20px/1 var(--head); }
.event-row .cal span { display: block; font: 800 10px/1.4 var(--head); text-transform: uppercase; letter-spacing: .08em; }
.event-row .cal small { display: block; font-size: 10px; opacity: .8; }
.event-row .txt strong { display: block; font: 700 15px/1.3 var(--head); color: var(--navy); }
.event-row .txt small { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 13px; }
.event-row .txt small svg { width: 13px; height: 13px; }
.event-row .chev { width: 18px; height: 18px; margin-left: auto; color: var(--muted); flex: none; }

/* News page */
.news-layout { display: grid; grid-template-columns: 1fr 320px; gap: 36px; align-items: start; }
.news-toolbar { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn { border: 0; cursor: pointer; padding: 10px 16px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line); font: 700 13px/1 var(--head); color: var(--muted); transition: all .2s; }
.chip-btn span { opacity: .6; margin-left: 4px; }
.chip-btn:hover { color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.chip-btn[aria-pressed='true'] { background: var(--navy); color: #fff; box-shadow: none; }
.search { display: flex; align-items: center; gap: 10px; padding: 0 16px; height: 46px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line); min-width: 240px; }
.search:focus-within { box-shadow: inset 0 0 0 2px var(--navy); }
.search svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.search input { border: 0; outline: 0; background: none; font: inherit; font-size: 15px; width: 100%; color: var(--ink); }
.news-layout .news-page-grid { grid-template-columns: repeat(2, 1fr); }
.center-row { display: flex; justify-content: center; margin-top: 30px; }
.news-aside { position: sticky; top: 110px; display: grid; gap: 18px; }
.aside-box { padding: 24px; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.aside-box h2 { display: flex; align-items: center; gap: 10px; font-size: 16px; text-transform: uppercase; letter-spacing: .04em; color: var(--navy); margin-bottom: 16px; }
.aside-box h2 svg { width: 20px; height: 20px; color: var(--burgundy); }
.aside-box.navy { background: var(--navy); color: #fff; box-shadow: none; }
.aside-box.navy h2 { color: #fff; margin-bottom: 8px; }
.aside-box.navy p { color: rgba(255,255,255,.8); font-size: 15px; margin-bottom: 16px; }
.feed-status { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--muted); }
.feed-status svg { width: 15px; height: 15px; flex: none; margin-top: 2px; color: var(--lime-text); }

/* Post page */
.post-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(40px, 6vw, 70px) 0 30px; }
.post-hero .ribbons { right: -260px; top: -120px; width: 700px; opacity: .45; }
.post-hero .back { margin-bottom: 26px; }
.post-hero .back svg { width: 17px; height: 17px; }
.post-title { font-size: clamp(32px, 4.6vw, 56px); text-transform: none; letter-spacing: -.02em; line-height: 1.1; margin: 18px 0 18px; }
.event-box { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 34px; padding: 20px 24px; border-radius: 22px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 28px; }
.event-box > div { display: flex; align-items: center; gap: 12px; }
.event-box > div svg { width: 24px; height: 24px; color: var(--burgundy); }
.event-box small { display: block; font: 700 11px var(--head); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.event-box strong { font: 700 16px var(--head); color: var(--navy); }
.event-box .btn { margin-left: auto; }
.post-image { margin: 0 0 34px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.post-image img { width: 100%; }
.post-body { max-width: none; }
.post-body img { border-radius: 18px; height: auto; margin: 20px 0; }
.post-body h2, .post-body h3 { color: var(--navy); margin: 34px 0 14px; text-transform: none; }
.post-body ul, .post-body ol { color: #33435a; font-size: 18px; }
.post-body a { color: var(--navy); font-weight: 600; }
.post-body figure { margin: 24px 0; }
.post-body iframe { max-width: 100%; border-radius: 18px; }
.post-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 40px 0 10px; padding-top: 28px; border-top: 1px solid var(--line); }
.post-actions svg { width: 16px; height: 16px; }

/* Map */
.map-card { position: relative; background: var(--surface); border-radius: clamp(24px, 3vw, 40px); padding: clamp(16px, 2.5vw, 30px); box-shadow: var(--shadow); overflow: hidden; }
.map { position: relative; }
.world { width: 100%; height: auto; }
.country { fill: var(--map-empty); stroke: #fff; stroke-width: .6; transition: fill .2s; }
.country.is-member { fill: var(--sky); cursor: pointer; }
.country.is-member:hover { fill: var(--navy); }
.country.is-active { fill: var(--navy) !important; }
.pin { cursor: pointer; }
.pin .dot { fill: var(--burgundy); stroke: #fff; stroke-width: 2; }
.pin .pulse { fill: var(--burgundy); opacity: .35; transform-box: fill-box; transform-origin: center; animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { from { transform: scale(.6); opacity: .5; } to { transform: scale(2.2); opacity: 0; } }
.map-tip { position: absolute; pointer-events: none; transform: translate(-50%, calc(-100% - 14px)); background: var(--navy-ink); color: #fff; padding: 9px 13px; border-radius: 12px; font-size: 13px; line-height: 1.35; white-space: nowrap; opacity: 0; transition: opacity .15s; z-index: 3; }
.map-tip.show { opacity: 1; }
.map-tip strong { display: block; font: 700 13px var(--head); }
.map-tip small { opacity: .75; }
.map-fallback { padding: 60px 20px; text-align: center; }
.map-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.map-stats div { padding: 16px 20px; border-radius: 18px; background: var(--tint); }
.map-stats b { display: block; font: 900 34px/1 var(--head); color: var(--navy); }
.map-stats span { font: 700 12px var(--head); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.map-panel { position: absolute; top: 20px; right: 20px; bottom: 60px; width: min(360px, calc(100% - 40px)); overflow: auto; padding: 18px; border-radius: 24px; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); box-shadow: var(--shadow-lg); transform: translateX(calc(100% + 40px)); transition: transform .4s cubic-bezier(.2,.8,.2,1); display: grid; gap: 12px; align-content: start; }
.map-panel.is-open { transform: none; }
.panel-head { display: flex; justify-content: space-between; align-items: center; }
.panel-close { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--tint); font-size: 20px; cursor: pointer; color: var(--navy); }
.map-panel .org { box-shadow: inset 0 0 0 1px var(--line); }
.map-legend { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 10px; font-size: 13px; color: var(--muted); }
.map-legend span { display: inline-flex; align-items: center; gap: 8px; }
.map-legend i { width: 14px; height: 14px; border-radius: 4px; }
.lg-member { background: var(--sky); }
.lg-other { background: var(--map-empty); }
.map-legend a { color: var(--navy); font-weight: 600; }

/* Organizations */
.orgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.org { background: var(--surface); border-radius: 22px; padding: 22px; box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 12px; align-content: start; cursor: pointer; transition: box-shadow .25s, transform .25s; }
.orgs .org:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.org-head { display: flex; gap: 14px; align-items: center; }
.org .cc { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none; background: var(--navy); color: #fff; font: 900 14px var(--head); }
.org h3 { font-size: 17px; line-height: 1.25; color: var(--navy); }
.org small { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 13px; }
.org small svg { width: 13px; height: 13px; }
.org p { font-size: 15px; color: var(--muted); }
.org-links { display: flex; flex-wrap: wrap; gap: 8px; }
.org-links a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; background: var(--tint); font: 700 12px var(--head); color: var(--navy); text-decoration: none; }
.org-links a:hover { background: var(--navy); color: #fff; }
.org-links svg { width: 14px; height: 14px; }
.cta-band { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; padding: clamp(26px, 4vw, 40px); border-radius: var(--radius); background: var(--navy); color: #fff; }
.cta-band > div:not(.big-date) { flex: 1 1 360px; }
.cta-band h3 { font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,.8); }
.cta-band.awareness { background: linear-gradient(120deg, var(--burgundy), #a3456f); margin-top: 0; }
.big-date { text-align: center; flex: none; width: 120px; padding: 14px 0; border-radius: 22px; background: rgba(255,255,255,.12); }
.big-date b { display: block; font: 900 56px/1 var(--head); color: var(--yellow); }
.big-date span { font: 800 12px var(--head); text-transform: uppercase; letter-spacing: .1em; }

/* Home: community / vm intro / milestones / stories */
.vm-intro { max-width: 860px; margin-bottom: 50px; }
.vm-intro h2 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; line-height: 1.2; margin-top: 18px; }
.vm-intro h2 em { font-style: normal; color: var(--lime); }
.vm-intro .eyebrow { color: var(--lime); }
.vm-intro .eyebrow::before { background: var(--lime); }
.pillars.dark .pillar { background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); color: #fff; text-decoration: none; }
.pillars.dark .pillar:hover { background: rgba(255,255,255,.12); }
.pillars.dark .pillar h3 { color: #fff; }
.pillars.dark .pillar p { color: rgba(255,255,255,.78); }
.milestones { display: grid; gap: 12px; }
.milestone { display: flex; align-items: center; gap: 20px; padding: 18px 22px; border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.milestone span { font: 900 24px/1 var(--head); color: var(--navy); width: 80px; flex: none; }
.milestone p { color: var(--muted); }
.milestone.now { background: var(--lime); box-shadow: none; }
.milestone.now span, .milestone.now p { color: var(--navy-ink); }
.stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.story { background: var(--surface); border-radius: var(--radius); padding: 18px 18px 24px; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 14px; }
.story-photo { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; display: grid; place-items: center; }
.story-photo img { width: 100%; height: 100%; object-fit: cover; }
.story-photo > svg { width: 54px; height: 54px; color: rgba(255,255,255,.8); }
.story-photo .draft { position: absolute; left: 12px; top: 12px; }
.c-navy { background: linear-gradient(135deg, #184880, #90c0e0); }
.c-burgundy { background: linear-gradient(135deg, #882048, #c888a8); }
.c-lime { background: linear-gradient(135deg, #8a9a26, #f0eca0); }
.c-sky { background: linear-gradient(135deg, #2f78a8, #c9e2f2); }
.story blockquote { margin: 0 6px; font: 700 19px/1.35 var(--head); color: var(--navy); letter-spacing: -.01em; }
.story p { margin: 0 6px; color: var(--muted); font-size: 15px; }
.story footer { margin: auto 6px 0; padding-top: 12px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--muted); }
.story footer strong { color: var(--ink); font-family: var(--head); }
.story footer span { display: inline-flex; align-items: center; gap: 5px; }
.story footer svg { width: 13px; height: 13px; }

/* Timeline, steps, areas, resources */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 47px; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: linear-gradient(var(--navy), var(--lime), var(--burgundy)); }
.timeline li { display: grid; grid-template-columns: 96px 1fr; gap: 18px; padding: 14px 0; position: relative; }
.timeline li > span { justify-self: center; align-self: start; z-index: 1; padding: 6px 10px; border-radius: 999px; background: var(--navy); color: #fff; font: 800 13px var(--head); }
.timeline strong { display: block; font: 800 18px/1.3 var(--head); color: var(--navy); margin-bottom: 4px; }
.timeline p { color: var(--muted); }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding: 22px 24px 22px 80px; border-radius: 22px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.steps li::before { content: counter(s); position: absolute; left: 22px; top: 20px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--lime); color: var(--navy-ink); font: 900 18px var(--head); }
.steps strong { display: block; font: 800 18px/1.3 var(--head); color: var(--navy); margin-bottom: 4px; }
.steps p { color: var(--muted); }
.areas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.areas.two { grid-template-columns: 1fr 1fr; }
.area { background: var(--surface); border-radius: var(--radius); padding: 26px; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 12px; }
.area h3 { font-size: 18px; color: var(--navy); line-height: 1.25; }
.area p { color: var(--muted); font-size: 15.5px; }
.area .icon { width: 48px; height: 48px; border-radius: 15px; }
.area .icon svg { width: 22px; height: 22px; }
.stage { margin-top: auto; align-self: flex-start; padding: 6px 11px; border-radius: 999px; font: 800 11px/1 var(--head); text-transform: uppercase; letter-spacing: .06em; }
.stage.approved { background: #f1f5d6; color: #4b580a; }
.stage.dev { background: #e3f0f9; color: #1f6a99; }
.stage.open { background: #f6e3ea; color: var(--burgundy); }
a.stage { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
a.stage svg { width: 13px; height: 13px; }
a.stage:hover { background: #efd0dc; }
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.resource { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: 22px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; transition: transform .25s, box-shadow .25s; }
.resource:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.resource .icon { width: 48px; height: 48px; border-radius: 15px; }
.resource .icon svg { width: 22px; height: 22px; }
.resource strong { display: block; font: 800 16px/1.3 var(--head); color: var(--navy); margin-bottom: 4px; }
.resource small { color: var(--muted); font-size: 14px; line-height: 1.45; }
.resource .ext { width: 18px; height: 18px; margin-left: auto; color: var(--muted); flex: none; }
.offer { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.offer li { display: flex; gap: 14px; align-items: flex-start; }
.offer li > svg { width: 22px; height: 22px; color: var(--lime); flex: none; margin-top: 3px; }
.offer strong { display: block; font: 800 16px var(--head); }
.offer span { color: rgba(255,255,255,.8); }
.offer .btn { margin-top: 8px; }

/* Get involved */
.ways { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ways.three { grid-template-columns: repeat(3, 1fr); }
.way { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px; padding: 28px 26px; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; transition: transform .3s, box-shadow .3s; }
.way::before { content: ''; position: absolute; inset: 0 0 auto; height: 6px; background: var(--c); }
.way:hover { transform: translateY(-5px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lg); }
.way h3 { font-size: 20px; color: var(--navy); }
.way p { color: var(--muted); font-size: 15.5px; }
.way .link-arrow { margin-top: auto; padding-top: 8px; }
.member-path { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 30px; }
.benefits { padding: 30px; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.benefits h3 { font-size: 17px; text-transform: uppercase; letter-spacing: .04em; color: var(--navy); margin-bottom: 14px; }
.benefits h3 + p { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: #33435a; }
.ticks svg { width: 20px; height: 20px; color: var(--lime-text); flex: none; margin-top: 3px; }
.path { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.path li { display: flex; gap: 18px; align-items: flex-start; padding: 22px; border-radius: 22px; background: var(--navy); color: #fff; }
.path li > span { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--lime); color: var(--navy-ink); font: 900 18px var(--head); }
.path strong { display: block; font: 800 17px var(--head); margin-bottom: 2px; }
.path p { color: rgba(255,255,255,.78); font-size: 15.5px; }

/* Forms */
.form-card { padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.form-card h3 { font-size: 22px; color: var(--navy); margin-bottom: 20px; text-transform: uppercase; letter-spacing: .02em; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid label { display: grid; gap: 7px; font: 700 13px var(--head); color: var(--navy); }
.form-grid label.full { grid-column: 1 / -1; }
.form-grid input, .form-grid select, .form-grid textarea { font: 400 16px var(--body); color: var(--ink); padding: 13px 15px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg); outline: 0; transition: border-color .2s, box-shadow .2s; width: 100%; }
.form-grid textarea { resize: vertical; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(24,72,128,.12); background: #fff; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 22px; }
.form-foot small { color: var(--muted); }
.req { color: var(--burgundy); margin-left: 2px; }
.form-hint { font: 400 13px/1.5 var(--body); color: var(--muted); }
.form-hint a { color: var(--navy); font-weight: 600; }
.form-ok { margin-top: 16px; padding: 14px 18px; border-radius: 14px; background: #f1f5d6; color: #3d4a07; font-weight: 600; }
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: start; }
.connect-list.light .connect-item { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); }
.connect-list.light .connect-item:hover { background: var(--tint); }
.connect-list.light .icon { background: var(--tint); color: var(--navy); }
.connect-list.light small { color: var(--muted); }
.connect-list.light strong { color: var(--navy); }

/* Footer v2 */
.footer { margin-top: 40px; background: var(--navy-ink); color: rgba(255,255,255,.75); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand .brand img { background: #fff; border-radius: 12px; padding: 4px; }
.footer .brand-name { color: var(--lime); }
.footer .brand-name b { color: #fff; }
.footer-brand p { font-size: 15px; max-width: 320px; margin-bottom: 18px; }
.footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--lime); margin-bottom: 14px; }
.footer-grid > div:not(.footer-brand) { display: grid; gap: 9px; align-content: start; }
.footer-grid a:not(.brand):not(.socials a) { color: rgba(255,255,255,.8); text-decoration: none; font-size: 15px; }
.footer-grid a:hover { color: #fff; }
.footer .socials a { background: rgba(255,255,255,.1); color: #fff; }
.footer .socials a:hover { background: var(--lime); color: var(--navy-ink); }
.footer-bottom { color: rgba(255,255,255,.6); }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .menu-toggle { display: grid; }
  .header-inner { flex-wrap: wrap; min-height: 72px; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding: 4px 0 18px; }
  .nav.is-open { display: flex; }
  .nav > a:not(.btn) { font-size: 15px; padding: 15px 14px; border-radius: 14px; }
  .nav .btn { margin: 10px 0 0; }
  .board { grid-template-columns: repeat(4, 1fr); }
  .areas, .ways, .ways.three { grid-template-columns: repeat(2, 1fr); }
  .news-layout { grid-template-columns: 1fr; }
  .news-aside { position: static; grid-template-columns: 1fr 1fr; }
  .events-strip { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .hero-grid, .vm-grid, .cdkl5-grid, .connect, .news-grid, .article, .split, .member-path, .contact-grid { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .hero-card { max-width: 520px; width: 100%; margin: 20px auto 0; }
  .vm-item + .vm-item { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,.18); padding-top: 40px; }
  .pillars, .news-page-grid, .stories, .orgs, .resource-grid { grid-template-columns: 1fr 1fr; }
  .events-strip .events-list { grid-template-columns: 1fr; }
  .toc { position: static; display: flex; flex-wrap: wrap; }
  .toc a { border-left: 0; background: var(--surface); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .map-panel { position: static; width: auto; transform: none; display: none; margin-top: 14px; box-shadow: inset 0 0 0 1px var(--line); }
  .map-panel.is-open { display: grid; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container, .narrow { width: calc(100% - 32px); }
  .brand img { width: 42px; height: 42px; }
  .hero-card { padding-bottom: 70px; }
  .float.one { left: 8px; bottom: -22px; }
  .float.two { right: 8px; top: -26px; }
  .pillars, .news-page-grid, .news-layout .news-page-grid, .facts, .members, .sym-groups, .stories, .orgs, .resource-grid, .areas, .areas.two, .ways, .ways.three, .form-grid, .news-aside, .map-stats { grid-template-columns: 1fr; }
  .board { grid-template-columns: repeat(2, 1fr); }
  .news-card .body { padding: 22px; }
  .connect { padding: 36px 22px; }
  .hero .ribbons { right: -260px; opacity: .5; }
  .search { min-width: 0; width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 76px 1fr; }
  .timeline::before { left: 37px; }
  .event-box .btn { margin-left: 0; }
  .steps li { padding-left: 74px; }
}

.org-logo { width: 46px; height: 46px; border-radius: 14px; object-fit: contain; background: #fff; box-shadow: inset 0 0 0 1px var(--line); flex: none; }
.more-ways { text-align: center; margin-top: 26px; color: var(--muted); }
.more-ways a { color: var(--navy); font-weight: 700; }
[hidden] { display: none !important; }

/* Partner organizations (members.html#partners, homepage map card): clearly not members */
.org--partner { cursor: default; background: var(--tint); }
.orgs .org--partner:hover { transform: none; box-shadow: inset 0 0 0 1px var(--line); }
.org--partner .cc { background: var(--surface); color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.partner-badge { padding: 3px 10px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font: 700 11px var(--head); text-transform: uppercase; letter-spacing: .04em; }
.map-partners { margin: 18px 0 0; font-size: 14px; color: var(--muted); }
.map-partners strong { color: var(--navy); }
.map-partners a { margin-left: 6px; color: var(--navy); font-weight: 700; white-space: nowrap; }

/* Directory grouped by region */
.org-region { grid-column: 1 / -1; margin: 26px 0 0; font-size: 1.05rem; color: var(--burgundy, #882048); display: flex; align-items: baseline; gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.org-region:first-child { margin-top: 0; }
.org-region span { font-size: .8rem; font-weight: 600; color: var(--muted, #667); }
