/* WA Foundation — site styles. Palette taken from the logo. */
:root {
  --purple: #4733ad;
  --purple-600: #3c2a9a;
  --purple-800: #2a1c74;
  --purple-900: #1c1250;
  --lavender: #b9b6ff;
  --lavender-100: #ecebff;
  --lavender-50: #f6f5ff;
  --green: #3aaf25;
  --green-600: #2a9a2c;
  --green-800: #157a36;
  --lime: #7ed321;
  --sun: #ffe273;
  --ink: #1b1640;
  --body: #3d3a57;
  --muted: #6b6886;
  --line: #e4e2f1;
  --white: #ffffff;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(28, 18, 80, .06), 0 8px 24px rgba(28, 18, 80, .07);
  --shadow-lg: 0 2px 4px rgba(28, 18, 80, .06), 0 18px 48px rgba(28, 18, 80, .12);
  --max: 1180px;
  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--purple); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--purple-800); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.bg-soft { background: var(--lavender-50); }
.bg-purple { background: var(--purple); color: #e7e5ff; }
.bg-purple h2, .bg-purple h3 { color: #fff; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .78rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--green-800);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--green); }
.bg-purple .eyebrow { color: var(--lime); }
.bg-purple .eyebrow::before { background: var(--lime); }
.lead { font-size: 1.2rem; color: var(--body); max-width: 720px; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.muted { color: var(--muted); }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: 13px 24px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  line-height: 1.2;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; display: inline-block; }
.btn { white-space: nowrap; }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 6px 18px rgba(58, 175, 37, .3); }
.btn-primary:hover { background: var(--green-600); color: #fff; }
.btn-purple { background: var(--purple); color: #fff; }
.btn-purple:hover { background: var(--purple-800); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.btn-outline { border-color: var(--purple); color: var(--purple); background: transparent; }
.btn-outline:hover { background: var(--purple); color: #fff; }
.btn-sm { padding: 9px 16px; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 48px; height: 48px; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--purple); letter-spacing: .02em; line-height: 1.05; }
.brand-name small { display: block; font-weight: 500; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--green-800); }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 8px 12px; border-radius: 10px;
  font-family: var(--font-head); font-weight: 500; font-size: .95rem; color: var(--ink); text-decoration: none;
}
.nav-links a:hover { background: var(--lavender-50); color: var(--purple); }
.nav-links a.active { color: var(--purple); background: var(--lavender-100); }
.nav-cta { margin-left: 8px; }
.nav-toggle {
  display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--ink);
  border-radius: 10px;
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed; inset: 76px 0 0 0; background: #fff; padding: 20px;
    display: none; overflow-y: auto; border-top: 1px solid var(--line);
  }
  .nav-menu.open { display: block; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-links a { padding: 14px 12px; font-size: 1.1rem; }
  .nav-cta { margin: 16px 0 0; }
  .nav-cta .btn { width: 100%; }
}

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--purple) 0%, #5340bd 100%);
  color: #e9e7ff;
}
.hero-inner { position: relative; z-index: 2; padding: 96px 0 330px; max-width: 760px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--sun); }
.hero .lead { color: #e2dfff; font-size: 1.25rem; }
.hero .btn-row { margin-top: 32px; }
.hero-art { position: absolute; inset: auto 0 0 0; z-index: 1; pointer-events: none; }
.hero-art svg { width: 100%; height: auto; }
.hero-sun { position: absolute; right: 9%; top: 70px; width: 120px; z-index: 1; animation: spin 60s linear infinite; }
.hero-cloud { position: absolute; z-index: 1; opacity: .95; }
.hero-cloud.c1 { right: 22%; top: 150px; width: 170px; animation: drift 18s ease-in-out infinite alternate; }
.hero-cloud.c2 { right: 4%; top: 230px; width: 120px; animation: drift 22s ease-in-out infinite alternate-reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift { from { transform: translateX(-14px); } to { transform: translateX(14px); } }
@media (prefers-reduced-motion: reduce) { .hero-sun, .hero-cloud { animation: none; } }
@media (max-width: 760px) {
  .hero-inner { padding: 72px 0 190px; }
  .hero-sun { width: 52px; right: 18px; top: 14px; }
  .hero-cloud { display: none; }
  .hero-art svg { height: 190px; width: 100%; }
}

/* Page hero (inner pages) */
.page-hero {
  position: relative; overflow: hidden;
  background: var(--purple); color: #e2dfff; padding: 72px 0 110px;
}
.page-hero h1 { color: #fff; max-width: 820px; }
.page-hero .lead { color: #e2dfff; }
.page-hero .eyebrow { color: var(--lime); }
.page-hero .eyebrow::before { background: var(--lime); }
.page-hero .hills { position: absolute; left: 0; right: 0; bottom: -1px; }
.page-hero .hills svg { width: 100%; height: 70px; }
.breadcrumb { font-size: .88rem; margin-bottom: 18px; color: #c9c5ff; }
.breadcrumb a { color: #fff; }

/* Stats / facts strip */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: -64px; position: relative; z-index: 3; }
.fact { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 22px 24px; }
.fact strong { display: block; font-family: var(--font-head); font-size: 1.05rem; color: var(--ink); margin-bottom: 4px; }
.fact span { font-size: .93rem; color: var(--muted); }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; margin-top: -40px; } }

/* Grids and cards */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: var(--shadow); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--lavender-100); color: var(--purple); margin-bottom: 18px;
}
.icon svg { width: 26px; height: 26px; }
.icon.green { background: #e5f6e1; color: var(--green-800); }
.icon.sun { background: #fff6d1; color: #8a6a00; }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } .split.reverse > :first-child { order: 0; } }

.panel {
  background: var(--lavender-50); border-radius: var(--radius-lg); padding: 36px;
  border: 1px solid var(--lavender-100);
}
.panel-purple { background: var(--purple); color: #e7e5ff; border: 0; }
.panel-purple h3 { color: #fff; }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 34px; margin-bottom: 14px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/14px no-repeat;
}
.num-list { counter-reset: n; list-style: none; padding: 0; margin: 0; }
.num-list li { counter-increment: n; position: relative; padding-left: 52px; margin-bottom: 22px; }
.num-list li::before {
  content: counter(n); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--purple); color: #fff; font-family: var(--font-head); font-weight: 600;
  display: grid; place-items: center; font-size: .95rem;
}
.num-list strong { color: var(--ink); }

/* Roadmap */
.roadmap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.phase {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 24px 24px;
}
.phase.current { border: 2px solid var(--green); box-shadow: 0 10px 30px rgba(58, 175, 37, .15); }
.phase-tag {
  display: inline-block; font-family: var(--font-head); font-size: .75rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--purple); background: var(--lavender-100);
  padding: 4px 10px; border-radius: 999px; margin-bottom: 14px;
}
.phase.current .phase-tag { background: var(--green); color: #fff; }
.phase h3 { font-size: 1.15rem; }
.phase ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: .95rem; }
.phase ul li { margin-bottom: 4px; }
.roadmap-base {
  margin-top: 18px; padding: 16px 20px; text-align: center; border-radius: var(--radius);
  background: var(--lavender-100); font-family: var(--font-head); font-weight: 500; color: var(--purple-800);
}
@media (max-width: 960px) { .roadmap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .roadmap { grid-template-columns: 1fr; } }

/* SDGs */
.sdg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.sdg {
  display: flex; gap: 14px; align-items: flex-start; background: #fff; border-radius: var(--radius);
  padding: 18px; border: 1px solid var(--line);
}
.sdg-num {
  flex: 0 0 auto; width: 48px; height: 48px; border-radius: 10px; color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; display: grid; place-items: center;
}
.sdg strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: .98rem; line-height: 1.3; }
.sdg span { font-size: .88rem; color: var(--muted); line-height: 1.45; display: block; margin-top: 4px; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.data { width: 100%; border-collapse: collapse; font-size: .96rem; }
table.data th, table.data td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { font-family: var(--font-head); font-weight: 600; color: var(--ink); background: var(--lavender-50); font-size: .9rem; }
table.data tr:last-child td { border-bottom: 0; }

/* Posts */
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s; }
.post-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); color: inherit; }
.post-cover { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--purple), #6a57d1); position: relative; overflow: hidden; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-cover .ph { position: absolute; inset: 0; display: grid; place-items: center; }
.post-cover .ph img { width: 72px; height: 72px; opacity: .95; }
.post-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; gap: 10px; align-items: center; font-size: .82rem; color: var(--muted); margin-bottom: 10px; }
.badge {
  display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .72rem; letter-spacing: .05em;
  text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: var(--lavender-100); color: var(--purple);
}
.badge.green { background: #e5f6e1; color: var(--green-800); }
.badge.grey { background: #eeedf3; color: var(--muted); }
.post-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.post-card p { font-size: .95rem; color: var(--muted); margin: 0; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.filters a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-family: var(--font-head); font-size: .9rem; font-weight: 500; }
.filters a.active, .filters a:hover { background: var(--purple); border-color: var(--purple); color: #fff; }

.empty {
  text-align: center; padding: 64px 24px; border: 2px dashed var(--line); border-radius: var(--radius-lg); background: var(--lavender-50);
}
.empty img { width: 80px; margin: 0 auto 18px; }

.prose { font-size: 1.08rem; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.4em; }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.prose blockquote { margin: 1.5em 0; padding: 4px 22px; border-left: 4px solid var(--green); color: var(--ink); background: var(--lavender-50); border-radius: 0 10px 10px 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose table { border-collapse: collapse; width: 100%; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; }
.article-cover { border-radius: var(--radius-lg); overflow: hidden; margin: -80px 0 40px; position: relative; z-index: 3; box-shadow: var(--shadow-lg); }
.download {
  display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: var(--radius);
  background: var(--lavender-50); border: 1px solid var(--lavender-100); margin: 32px 0; text-decoration: none;
}
.download svg { width: 34px; height: 34px; color: var(--purple); flex: 0 0 auto; }
.download strong { display: block; color: var(--ink); font-family: var(--font-head); }

.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 40px; height: 40px; padding: 0 12px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.pagination .current { background: var(--purple); color: #fff; border-color: var(--purple); }
.pagination .disabled { color: #b8b6c8; }

/* Forms */
.form-card { scroll-margin-top: 100px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 22px; } }
.field label { display: block; font-family: var(--font-head); font-weight: 500; font-size: .92rem; color: var(--ink); margin-bottom: 6px; }
.field .req { color: #c0392b; }
.input, select.input, textarea.input {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: border-color .15s, box-shadow .15s;
}
textarea.input { min-height: 140px; resize: vertical; }
.input:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px rgba(71, 51, 173, .12); }
.input.is-invalid { border-color: #d64545; }
.error { color: #c0392b; font-size: .88rem; margin-top: 6px; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; }
.checkbox input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--purple); flex: 0 0 auto; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 16px 18px; border-radius: 12px; margin-bottom: 20px; font-size: .97rem; }
.alert-success { background: #e8f7e4; color: #1d5e20; border: 1px solid #c6eabd; }
.alert-error { background: #fdecec; color: #8f2626; border: 1px solid #f6caca; }
.alert-info { background: var(--lavender-50); color: var(--purple-800); border: 1px solid var(--lavender-100); }

.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.tab-btn {
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; padding: 10px 18px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; text-decoration: none;
}
.tab-btn[aria-selected="true"], .tab-btn:hover { border-color: var(--purple); background: var(--purple); color: #fff; }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; border-radius: 28px; padding: 56px;
  background: linear-gradient(120deg, var(--purple) 0%, #5a46c4 60%, #3e2ea3 100%); color: #e7e5ff;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center;
}
.cta-band h2 { color: #fff; }
.cta-band .btn-row { justify-content: flex-end; }
.cta-band::after {
  content: ""; position: absolute; right: -60px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(126, 211, 33, .35), transparent 70%);
}
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; padding: 36px 24px; } .cta-band .btn-row { justify-content: flex-start; } }

/* Notice */
.notice {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius);
  background: #fff8db; border: 1px solid #f3e3a1; color: #5c4a00; font-size: .97rem;
}
.notice svg { width: 22px; height: 22px; flex: 0 0 auto; margin-top: 2px; }

/* Footer */
.site-footer { background: var(--purple-900); color: #bdb8e8; padding: 72px 0 0; font-size: .95rem; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.site-footer a { color: #d9d6ff; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-brand { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.footer-brand img { width: 56px; height: 56px; }
.footer-brand span { font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 1.25rem; }
.footer-bottom {
  margin-top: 56px; border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0 28px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: #9a95c9;
}
.footer-hills svg { width: 100%; height: 56px; display: block; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: rgba(255, 255, 255, .08); }
.social svg { width: 18px; height: 18px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Utilities */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

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


/* SDG cards: official UN SDG icons (shown unaltered, per UN SDG icon guidelines) */
.sdg-num {
  width: 64px; height: 64px; border-radius: 0; color: transparent; font-size: 0;
  background-position: center !important; background-size: cover !important; background-repeat: no-repeat !important;
}
.sdg-num[style*="fd9d24"] { background-image: url("../images/sdg/goal-11.svg") !important; }
.sdg-num[style*="3f7e44"] { background-image: url("../images/sdg/goal-13.svg") !important; }
.sdg-num[style*="bf8b2e"] { background-image: url("../images/sdg/goal-12.svg") !important; }
.sdg-num[style*="fd6925"] { background-image: url("../images/sdg/goal-9.svg") !important; }
.sdg-num[style*="19486a"] { background-image: url("../images/sdg/goal-17.svg") !important; }

/* Footer social icons */
.social a { color: #d9d6ff; transition: background .15s ease, color .15s ease, transform .15s ease; }
.social a:hover, .social a:focus-visible { background: var(--lime); color: var(--purple-900); transform: translateY(-1px); text-decoration: none; }
.social svg { width: 20px; height: 20px; }

/* SDG alignment map (Our work page) */
.sdg-map { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sdg-map-card {
  position: relative; display: grid; grid-template-columns: 104px 1fr; gap: 22px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px;
  overflow: hidden; transition: box-shadow .2s ease, transform .2s ease;
}
.sdg-map-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--sdg); }
.sdg-map-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.sdg-map-card.is-core { grid-column: 1 / -1; }
.sdg-map-card:not(.is-core) { grid-template-columns: 72px 1fr; gap: 18px; padding: 22px 20px; }
.sdg-map-card:not(.is-core) .sdg-map-icon { width: 72px; height: 72px; }
.sdg-map-card:not(.is-core) { align-items: center; row-gap: 16px; }
.sdg-map-card:not(.is-core) .sdg-map-body { display: contents; }
.sdg-map-card:not(.is-core) .sdg-map-head { margin: 0; }
.sdg-map-card:not(.is-core) .sdg-map-head h3 { font-size: 1.05rem; }
.sdg-map-card:not(.is-core) .sdg-map-targets { grid-column: 1 / -1; align-self: start; }
.sdg-map-icon { width: 104px; height: 104px; border-radius: 0; box-shadow: 0 6px 16px rgba(28, 18, 80, .12); }
.sdg-map-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 14px; }
.sdg-map-head h3 { flex-basis: 100%; margin: 0; font-size: 1.22rem; }
.sdg-map-goal {
  font-family: var(--font-head); font-weight: 700; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase;
  color: #fff; background: var(--sdg); padding: 4px 10px; border-radius: 999px;
}
.sdg-map-core {
  font-family: var(--font-head); font-weight: 600; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--green-800); background: #e5f6e1; padding: 4px 10px; border-radius: 999px;
}
.sdg-map-targets { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sdg-map-card.is-core .sdg-map-targets { grid-template-columns: repeat(2, 1fr); gap: 12px 24px; }
.sdg-map-targets li { display: flex; gap: 12px; align-items: flex-start; }
.sdg-map-tnum {
  flex: 0 0 auto; min-width: 52px; text-align: center; font-family: var(--font-head); font-weight: 700; font-size: .85rem;
  padding: 5px 8px; border-radius: 8px; color: var(--sdg);
  background: color-mix(in srgb, var(--sdg) 13%, #fff);
  color: color-mix(in srgb, var(--sdg) 72%, #000);
}
.sdg-map-targets strong { display: block; color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: .98rem; line-height: 1.35; }
.sdg-map-targets p { margin: 2px 0 0; font-size: .93rem; color: var(--muted); line-height: 1.5; }
@media (max-width: 1000px) { .sdg-map { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) {
  .sdg-map { grid-template-columns: 1fr; }
  .sdg-map-card.is-core { grid-column: auto; }
  .sdg-map-card.is-core .sdg-map-targets { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .sdg-map-card, .sdg-map-card:not(.is-core) { grid-template-columns: 64px 1fr; gap: 14px 16px; padding: 20px 18px; align-items: center; }
  .sdg-map-icon, .sdg-map-card:not(.is-core) .sdg-map-icon { width: 64px; height: 64px; }
  .sdg-map-card .sdg-map-body { display: contents; }
  .sdg-map-card .sdg-map-head { margin: 0; }
  .sdg-map-card .sdg-map-head h3 { font-size: 1.05rem; }
  .sdg-map-card .sdg-map-targets { grid-column: 1 / -1; }
}

/* Mobile overflow fixes (2026-11-14) */
.split > *, .grid > *, .cw-feat > *, .cw-grid > * { min-width: 0; }
.card, .post-card, .cw-card, .cw-big, .cw-sm { overflow-wrap: anywhere; }
main img, main iframe, main video { max-width: 100%; }
.sr-form { flex-wrap: wrap; }
.sr-form input { min-width: 0; }
@media (max-width: 640px) { .cw-bar form { flex-wrap: wrap; } .cw-bar select { max-width: 100%; } .cw-sm .cw-media { flex-basis: 96px; height: 72px; } }

/* Mobile menu fix: backdrop-filter made the header the containing block for the fixed menu, squashing it to 76px */
@media (max-width: 1000px) { .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; } }

/* Keep menu labels on one line on mid-size screens */
@media (min-width: 1001px) { .nav-links a { white-space: nowrap; } }
@media (min-width: 1001px) and (max-width: 1280px) { .nav { gap: 12px; } .nav-links a { padding: 8px 8px; font-size: .88rem; } .nav-cta { margin-left: 4px; } .brand-name small { white-space: nowrap; } }
@media (max-width: 420px) { .brand-name { font-size: 1rem; } .brand-name small { font-size: .55rem; } .brand img { width: 40px; height: 40px; } }

/* Keep WA FOUNDATION on one line */
.brand-name, .footer-brand span { white-space: nowrap; }
.brand-name small { white-space: normal; }
@media (max-width: 420px) { .brand-name { font-size: .95rem; letter-spacing: 0; } .brand { gap: 8px; } }
@media (max-width: 1000px) { .nav { gap: 10px; } .nav-toggle, .site-search { flex: none; } .brand { min-width: 0; } }
@media (max-width: 360px) { .brand-name { font-size: .82rem; } .brand-name small { font-size: .5rem; } .brand img { width: 34px; height: 34px; } .search-toggle { width: 36px; height: 36px; } .nav-toggle { padding: 6px; } }
