/*
Theme Name: SPARC
Theme URI: https://sparc.swaniti.com/
Author: Swaniti Initiative
Description: SPARC (Supporting Parliamentarians in Analysis and Research in the Constituency) and its new phase, the SPARC-AI Fellowship.
Version: 3.5.1
Requires at least: 6.4
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: sparc-ai
*/

/* =====================================================================
   Tokens
   ================================================================== */
:root {
	--bg: #ffffff;
	--soft: #f5f5f4;
	--soft-2: #ededeb;
	--ink: #1b1b1a;
	--ink-2: #3f3f3d;
	--muted: #7a7a77;
	--line: #e6e6e3;
	--line-2: #d6d6d2;

	/* SPARC petal colours */
	--sun: #f7b733;
	--sun-wash: #fdf1cf;
	--orange: #ee7d22;
	--orange-wash: #fde9d9;
	--coral: #d64b3c;
	--coral-wash: #fbe2de;
	--red: #c3392a;          /* Swaniti red, sampled from the Swaniti logo */
	--accent: #c3392a;

	/* Warm Swaniti tints for cards (red, orange, yellow family) */
	--lilac: #c0392b;   --lilac-wash: #fbe3e0;   /* red */
	--sky: #b07a00;     --sky-wash: #fdf3d2;     /* yellow */
	--peach: #e06f1b;   --peach-wash: #fdebdc;   /* orange */
	--lime: #a3452c;    --lime-wash: #f6e2d9;    /* rust */
	--rose: #d9553f;    --rose-wash: #fde8e3;    /* coral */
	--sand: #c98600;    --sand-wash: #fef0d2;    /* amber */

	--fact: #f3e27f;
	--night: #141413;

	--sans: "Inter Tight", "Segoe UI", system-ui, sans-serif;
	--serif: "Instrument Serif", Georgia, serif;
	--mono: "Geist Mono", ui-monospace, Consolas, monospace;

	--wrap: 1240px;
	--gutter: clamp(1rem, 4vw, 2.5rem);
	--r-sm: 12px;
	--r: 20px;
	--r-lg: 28px;
	--ease: cubic-bezier(0.16, 1, 0.3, 1);
	--shadow: 0 1px 2px rgba(20, 20, 18, 0.04), 0 12px 32px -12px rgba(20, 20, 18, 0.14);
}

/* =====================================================================
   Base
   ================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--sans); font-weight: 500; margin: 0; color: var(--ink); letter-spacing: -0.025em; }
h1 { font-size: clamp(2.6rem, 6.6vw, 6rem); line-height: 1; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.2; }
h4 { font-size: 1.05rem; line-height: 1.35; letter-spacing: -0.01em; }
h1 em, h2 em, h3 em, .serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
h1 em, h2 em { padding-right: 0.04em; }
strong, b { font-weight: 600; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 0.75rem; left: 0.75rem; z-index: 100; width: auto; height: auto; clip: auto; background: var(--ink); color: #fff; padding: 0.6rem 1rem; border-radius: 999px; }

/* =====================================================================
   Layout
   ================================================================== */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(4.5rem, 10vw, 8rem) 0; position: relative; }
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section--sheet, .section--deep { background: var(--soft); }
.rule-top { border-top: 0; }
.center { text-align: center; }
.measure { max-width: 64ch; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }

.eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin: 0 0 1.1rem; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.eyebrow--plain::before { display: none; }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.6; color: var(--muted); max-width: 60ch; }
.mark { background: linear-gradient(transparent 60%, var(--sun-wash) 60%); padding: 0 0.1em; }

.head-split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: end; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.head-center { text-align: center; max-width: 52rem; margin: 0 auto clamp(2.5rem, 5vw, 4rem); }
.head-center .lede { margin: 1.2rem auto 0; }

/* =====================================================================
   Buttons
   ================================================================== */
.btn {
	display: inline-flex; align-items: center; gap: 0.9rem;
	padding: 0.45rem 0.45rem 0.45rem 1.35rem; min-height: 3rem;
	border-radius: 999px; background: var(--ink); color: #fff;
	font-family: var(--sans); font-size: 0.95rem; font-weight: 500; text-decoration: none;
	border: 1px solid var(--ink); cursor: pointer; white-space: nowrap;
	transition: transform 0.35s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn svg { width: 2.1rem; height: 2.1rem; padding: 0.6rem; border-radius: 50%; background: #fff; color: var(--ink); transition: transform 0.45s var(--ease); flex: none; }
.btn:hover { color: #fff; background: #000; }
.btn:hover svg { transform: rotate(-45deg); }
.btn:active { transform: scale(0.97); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost svg { background: var(--ink); color: #fff; }
.btn--ghost:hover { background: var(--soft); color: var(--ink); border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light svg { background: var(--ink); color: #fff; }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn--outline-light:hover { background: rgba(255,255,255,0.08); color: #fff; border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.pill-btn { display: inline-flex; align-items: center; padding: 0.6rem 1.15rem; border-radius: 999px; border: 1px solid var(--ink); font-size: 0.92rem; font-weight: 500; text-decoration: none; color: var(--ink); transition: background-color 0.25s var(--ease); }
.pill-btn:hover { background: var(--soft); color: var(--ink); }

.text-link { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 500; text-decoration: none; color: var(--ink); border-bottom: 1px solid currentColor; padding-bottom: 0.15rem; }
.text-link svg { width: 1rem; height: 1rem; transition: transform 0.35s var(--ease); }
.text-link:hover { color: var(--accent); }
.text-link:hover svg { transform: translateX(3px); }

.tba { display: inline-block; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--coral); background: var(--coral-wash); padding: 0.2rem 0.6rem; border-radius: 999px; white-space: nowrap; }

/* =====================================================================
   Notice bar + header
   ================================================================== */
.notice-bar { background: var(--ink); color: #e9e9e6; font-size: 0.85rem; }
.notice-bar__inner { display: flex; justify-content: center; align-items: center; gap: 0.9rem; min-height: 40px; padding-top: 0.4rem; padding-bottom: 0.4rem; text-align: center; }
.notice-bar b { color: var(--sun); font-weight: 500; }
.notice-bar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 500; white-space: nowrap; border-bottom: 1px solid rgba(255,255,255,0.4); }
.notice-bar a svg { width: 0.85rem; height: 0.85rem; }
.notice-bar a:hover { color: var(--sun); }

.site-header { position: sticky; top: 0; z-index: 50; padding: 0.75rem 0; transition: padding 0.4s var(--ease); }
.site-header__inner {
	display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
	height: 64px; border-radius: 22px; transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
}
.site-header.is-scrolled .site-header__inner { background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow); padding-left: 1.1rem; padding-right: 0.7rem; }
.brand { display: flex; align-items: center; text-decoration: none; flex: none; }
.brand img { height: 42px; width: auto; }
.nav { display: flex; align-items: center; gap: 0.75rem; }
.nav-pill { display: flex; align-items: center; gap: 0.15rem; background: var(--soft); border-radius: 999px; padding: 0.3rem; }
.nav-actions { display: flex; align-items: center; gap: 0.5rem; }
.nav-actions .btn { min-height: 2.6rem; padding: 0.3rem 0.3rem 0.3rem 1.1rem; font-size: 0.9rem; }
.nav-actions .btn svg { width: 1.9rem; height: 1.9rem; padding: 0.55rem; }
.nav-toggle { display: none; background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: 0.7rem 1.1rem; font-family: var(--sans); font-size: 0.88rem; font-weight: 500; cursor: pointer; }

.nav-group { position: relative; }
.nav-group__btn { display: inline-flex; align-items: center; gap: 0.45rem; background: none; border: 0; cursor: pointer; font-family: var(--sans); font-size: 0.95rem; color: var(--ink-2); padding: 0.55rem 1rem; border-radius: 999px; transition: background-color 0.25s var(--ease), color 0.25s var(--ease); }
.nav-group__btn:hover, .nav-group.is-open .nav-group__btn { background: #fff; color: var(--ink); }
.nav-group.is-current .nav-group__btn { color: var(--ink); font-weight: 500; }
.nav-caret { width: 0.42rem; height: 0.42rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform 0.3s var(--ease); }
.nav-group.is-open .nav-caret { transform: rotate(-135deg) translateY(-1px); }
.nav-panel { position: absolute; top: calc(100% + 0.7rem); left: 50%; min-width: 15.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 0.45rem; display: grid; opacity: 0; transform: translate(-50%, -6px) scale(0.98); transform-origin: top center; pointer-events: none; transition: opacity 0.25s var(--ease), transform 0.3s var(--ease); }
.nav-group.is-open .nav-panel { opacity: 1; transform: translate(-50%, 0) scale(1); pointer-events: auto; }
.nav-panel a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.65rem 0.85rem; border-radius: var(--r-sm); text-decoration: none; color: var(--ink-2); font-size: 0.95rem; transition: background-color 0.2s var(--ease); }
.nav-panel a:hover { background: var(--soft); color: var(--ink); }
.nav-panel a[aria-current="page"] { background: var(--soft); color: var(--ink); font-weight: 500; }
.nav-new { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; background: var(--sun-wash); color: #8a5a00; padding: 0.15rem 0.45rem; border-radius: 999px; }

/* =====================================================================
   Hero (homepage)
   ================================================================== */
.hero { position: relative; padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(2rem, 4vw, 3rem); text-align: center; }
.blooms { position: absolute; inset: -12rem 0 0 0; pointer-events: none; z-index: -1; overflow: hidden; }
.blooms span { position: absolute; border-radius: 50%; opacity: 0.6; animation: drift 18s ease-in-out infinite alternate; will-change: transform; }
.blooms span:nth-child(1) { width: 42vw; height: 42vw; left: -10vw; top: 6rem; background: radial-gradient(circle, #ffd7a8 0%, rgba(255, 215, 168, 0) 70%); }
.blooms span:nth-child(2) { width: 46vw; height: 46vw; right: -12vw; top: 2rem; background: radial-gradient(circle, #fff0b3 0%, rgba(255, 240, 179, 0) 70%); animation-duration: 22s; }
.blooms span:nth-child(3) { width: 30vw; height: 30vw; left: 35vw; top: 22rem; background: radial-gradient(circle, #ffd2cc 0%, rgba(255, 210, 204, 0) 70%); animation-duration: 26s; opacity: 0.4; }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(3vw, 2vw, 0) scale(1.08); } }

.announce { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.3rem 0.35rem 0.3rem 0.35rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 18px -10px rgba(0,0,0,0.25); text-decoration: none; font-size: 0.88rem; color: var(--ink-2); margin-bottom: 2rem; transition: border-color 0.3s var(--ease); }
.announce:hover { border-color: var(--ink); color: var(--ink); }
.announce__tag { background: var(--ink); color: #fff; border-radius: 999px; padding: 0.25rem 0.7rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.announce svg { width: 1rem; height: 1rem; margin-right: 0.45rem; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.75rem); line-height: 1.02; max-width: 19ch; margin: 0 auto; }
.admin-bar .site-header { top: 32px; }
.admin-bar .page-nav { top: 120px; }
.task-card { align-self: start; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.hero .lede { margin: 1.6rem auto 0; max-width: 56ch; color: var(--muted); }
.hero__actions { display: flex; justify-content: center; align-items: center; gap: 1.6rem; flex-wrap: wrap; margin-top: 2.2rem; }
.avatars { display: flex; align-items: center; gap: 0.9rem; text-align: left; }
.avatars__stack { display: flex; }
.avatars__stack img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; margin-left: -10px; filter: grayscale(0.2); }
.avatars__stack img:first-child { margin-left: 0; }
.avatars__text { font-size: 0.85rem; color: var(--muted); line-height: 1.35; }
.avatars__text b { display: block; color: var(--ink); font-size: 0.95rem; font-weight: 600; }

/* Logo marquee */
.marquee-wrap { margin-top: clamp(3.5rem, 7vw, 5.5rem); }
.marquee-title { display: flex; align-items: center; justify-content: center; gap: 1rem; font-size: 0.9rem; color: var(--muted); margin-bottom: 1.6rem; }
.marquee-title::before, .marquee-title::after { content: ""; width: min(9rem, 15vw); height: 1px; background: linear-gradient(90deg, transparent, var(--line-2)); }
.marquee-title::after { transform: scaleX(-1); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; align-items: center; gap: clamp(2.5rem, 5vw, 4.5rem); width: max-content; animation: marquee 36s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track img { height: 34px; width: auto; max-width: 170px; object-fit: contain; filter: grayscale(1); opacity: 0.7; transition: filter 0.3s var(--ease), opacity 0.3s var(--ease); }
.marquee__track img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =====================================================================
   Statement + counters
   ================================================================== */
.statement { font-size: clamp(1.7rem, 3.6vw, 3rem); line-height: 1.15; font-weight: 500; letter-spacing: -0.03em; text-align: center; max-width: 24ch; margin: 0 auto; }
.tag-pills { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; }
.tag-pill { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.45rem 1.1rem 0.5rem; border-radius: 999px; font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.1; }
.tag-pill svg { width: 1.4rem; height: 1.4rem; }
.tag-pill--sun { background: var(--sun-wash); color: #a86d00; }
.tag-pill--orange { background: var(--orange-wash); color: var(--peach); }
.tag-pill--coral { background: var(--coral-wash); color: var(--coral); }

.counters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(3rem, 6vw, 5rem); }
.counter { text-align: center; padding: 0 1rem; border-left: 1px solid var(--line); }
.counter:first-child { border-left: 0; }
.counter strong { display: inline-flex; align-items: flex-start; font-size: clamp(3.5rem, 9vw, 7.5rem); line-height: 1; font-weight: 500; letter-spacing: -0.05em; }
.counter strong sup { font-size: 0.42em; line-height: 1; margin-right: 0.08em; margin-top: 0.08em; font-weight: 500; }
.counter > span { display: block; color: var(--muted); margin-top: 0.6rem; }
.counter strong span { color: var(--ink); font-variant-numeric: tabular-nums; }

/* =====================================================================
   Pastel cards
   ================================================================== */
.pastels { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.pastel { border-radius: var(--r); padding: 1.6rem 1.4rem; min-height: 11rem; display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; transition: transform 0.45s var(--ease); }
.pastel:hover { transform: translateY(-5px); }
.pastel svg { width: 2.1rem; height: 2.1rem; }
.pastel h3 { font-size: 1.3rem; line-height: 1.15; color: inherit; }
.pastel--lilac { background: var(--lilac-wash); color: var(--lilac); }
.pastel--sky { background: var(--sky-wash); color: var(--sky); }
.pastel--peach { background: var(--peach-wash); color: var(--peach); }
.pastel--lime { background: var(--lime-wash); color: var(--lime); }
.pastel--rose { background: var(--rose-wash); color: var(--rose); }
.pastel--sand { background: var(--sand-wash); color: var(--sand); }

/* Black call-to-action strip */
.cta-strip { background: var(--night); color: #fff; border-radius: var(--r-lg); padding: clamp(1.6rem, 4vw, 2.6rem) clamp(1.6rem, 4vw, 3rem); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-top: 1.5rem; }
.cta-strip p { margin: 0; font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.35; font-weight: 500; letter-spacing: -0.015em; max-width: 34ch; }
.cta-strip p span { color: #a9a9a4; }

/* =====================================================================
   Work / project cards
   ================================================================== */
.work { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.2rem 1.6rem; }
.work-card { text-decoration: none; color: inherit; display: block; }
.work-card__media { border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 11; background: var(--soft); position: relative; }
.work-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.work-card:hover .work-card__media img { transform: scale(1.04); }
.work-card__badge { position: absolute; top: 1rem; left: 1rem; background: #fff; border-radius: 999px; padding: 0.3rem 0.75rem; font-size: 0.78rem; font-weight: 500; }
.work-card__badge--now { background: var(--ink); color: #fff; }
.work-card h3 { margin: 1.1rem 0 0.8rem; font-size: clamp(1.35rem, 2vw, 1.7rem); }
.work-card:hover h3 { color: var(--accent); }
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0; }
.tags li { border: 1px solid var(--line-2); border-radius: 999px; padding: 0.35rem 0.85rem; font-size: 0.85rem; color: var(--ink-2); }

/* =====================================================================
   Testimonials bento
   ================================================================== */
.bento { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 1.25rem; }
.bento__card { border-radius: var(--r); padding: clamp(1.5rem, 3vw, 2.25rem); display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; position: relative; overflow: hidden; min-height: 22rem; }
.bento__label { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.75; }
.bento__card blockquote { margin: 0; font-size: clamp(1.35rem, 2.4vw, 2.2rem); line-height: 1.15; font-weight: 500; letter-spacing: -0.02em; }
.bento__who { font-size: 0.92rem; }
.bento__who b { display: block; font-weight: 600; }
.bento__card--photo { color: #fff; background: var(--night); }
.bento__card--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.42; }
.bento__card--photo > *:not(img) { position: relative; }
.bento__card--fact { background: var(--fact); color: var(--ink); }
.bento__card--fact strong { font-size: clamp(3.5rem, 7vw, 5.5rem); line-height: 1; font-weight: 500; letter-spacing: -0.05em; display: block; }
.bento__card--fact p { font-size: 1.15rem; line-height: 1.3; margin: 0.6rem 0 0; font-weight: 500; }
.bento__card--dark { background: var(--night); color: #fff; }
.bento__card--dark blockquote { font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.3; }
.bento__card--grey { background: var(--soft); }
.bento + .bento { margin-top: 1.25rem; }
.bento--flip { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }

/* =====================================================================
   Inner page heads
   ================================================================== */
.page-head { position: relative; padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem); text-align: center; overflow: hidden; }
.page-head::before, .page-head::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; opacity: 0.6; pointer-events: none; }
.page-head::before { width: 34rem; height: 34rem; left: -10rem; top: -10rem; background: radial-gradient(circle, #ffe0bd, rgba(255,224,189,0) 70%); }
.page-head::after { width: 30rem; height: 30rem; right: -8rem; top: -6rem; background: radial-gradient(circle, #fff1bd, rgba(255,241,189,0) 70%); }
.page-head__grid { display: flex; flex-direction: column; align-items: center; gap: 1.4rem; }
.page-head h1 { font-size: clamp(2.5rem, 6vw, 5rem); max-width: 18ch; margin: 0 auto; }
.page-head .lede { margin: 0 auto; text-align: center; }
.page-head .eyebrow { justify-content: center; }
.page-head .era { margin: 0 auto 0.6rem; }

.page-nav { position: sticky; top: 88px; z-index: 30; margin-bottom: 0; }
.page-nav ol { list-style: none; margin: 0 auto; padding: 0.3rem; display: flex; gap: 0.15rem; overflow-x: auto; scrollbar-width: none; background: var(--soft); border-radius: 999px; width: max-content; max-width: 100%; box-shadow: 0 6px 20px -14px rgba(0,0,0,0.3); }
.page-nav ol::-webkit-scrollbar { display: none; }
.page-nav a { display: block; padding: 0.5rem 0.95rem; font-size: 0.86rem; color: var(--ink-2); text-decoration: none; white-space: nowrap; border-radius: 999px; transition: background-color 0.25s var(--ease); }
.page-nav a:hover { background: #fff; color: var(--ink); }
.page-nav a.is-active { background: var(--ink); color: #fff; }

.divider { padding: clamp(4rem, 8vw, 6rem) 0; }
.divider__grid { background: var(--night); color: #fff; border-radius: var(--r-lg); padding: clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 1rem clamp(2rem, 5vw, 4rem); align-items: end; max-width: calc(var(--wrap) - 2 * var(--gutter)); }
.divider .eyebrow { grid-column: 1 / -1; color: #a9a9a4; }
.divider h2 { color: #fff; }
.divider .lede { color: #c8c8c3; margin: 0; }

/* Era labels */
.era { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; font-weight: 500; margin: 0 0 1.1rem; padding: 0.35rem 0.85rem; border-radius: 999px; }
.era::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.era--now { background: var(--coral-wash); color: var(--coral); }
.era--now::before { animation: pulse 2.2s var(--ease) infinite; }
.era--past { background: var(--soft); color: var(--muted); border: 1px solid var(--line); }
.night .era--past { background: rgba(255,255,255,0.06); color: #b5b5b0; border-color: rgba(255,255,255,0.12); }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.35; transform: scale(0.75); } }

/* =====================================================================
   Content components (inner pages)
   ================================================================== */
.photo { position: relative; overflow: hidden; border-radius: var(--r); background: var(--soft); margin: 0; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.photo:hover img { transform: scale(1.03); }
.caption, .photo + .caption { font-size: 0.82rem; color: var(--muted); margin-top: 0.75rem; line-height: 1.5; }
figure { margin: 0; }

.story-intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: start; }
.pull { font-size: clamp(1.45rem, 2.5vw, 2.1rem); line-height: 1.22; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); margin: 0; }
blockquote.pull { margin: 0; }
.cols { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 5vw, 5rem); }
.cols__aside h2 { position: sticky; top: 9rem; }
.cols--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols + .cols { margin-top: clamp(3rem, 6vw, 5rem); }
.entry { max-width: 70ch; margin: 0 auto; }
.entry h2 { margin: 2.5rem 0 1rem; }
.entry img { margin: 1.5rem 0; border-radius: var(--r); }

.note { background: var(--sun-wash); border-radius: var(--r-sm); padding: 1.1rem 1.3rem; color: var(--ink-2); margin: 1.5rem 0; }
.note p:last-child { margin: 0; }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.checklist li { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); gap: 0.8rem; color: var(--ink-2); padding: 0.9rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); }
.checklist li::before { content: ""; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--soft-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%231b1b1a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 0.85rem no-repeat; }
.checklist--accent li::before { background-color: var(--sun-wash); }
.section--sheet .checklist li, .section--deep .checklist li { background: #fff; }

.numbered { list-style: none; padding: 0; margin: 0; counter-reset: n; display: grid; gap: 0.75rem; }
.numbered li { counter-increment: n; display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: 1rem; padding: 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r); align-items: start; }
.numbered li::before { content: counter(n); width: 2.3rem; height: 2.3rem; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 0.9rem; font-weight: 600; }
.numbered h4 { margin-bottom: 0.25rem; }
.numbered p { margin: 0; color: var(--muted); }

/* Ledger strip (at a glance) */
.ledger { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.ledger__cell { background: var(--soft); border-radius: var(--r); padding: 1.4rem; }
.ledger__label { display: block; font-size: 0.8rem; color: var(--muted); margin-bottom: 0.4rem; }
.ledger__value { font-size: clamp(1.2rem, 1.8vw, 1.5rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }

/* Gap chart */
.gap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.gap__chart { background: var(--soft); border-radius: var(--r); padding: clamp(1.5rem, 3vw, 2.25rem); }
.bar-row { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr) 4.5rem; gap: 1rem; align-items: center; padding: 1rem 0; }
.bar-row__label { font-size: 0.95rem; color: var(--ink-2); }
.bar-row__track { height: 14px; background: #fff; border-radius: 999px; position: relative; overflow: hidden; }
.bar-row__fill { position: absolute; inset: 0; border-radius: 999px; transform-origin: left center; transform: scaleX(0); background: var(--ink); transition: transform 1.6s var(--ease); }
.bar-row--south .bar-row__fill { background: var(--orange); }
.is-visible .bar-row__fill { transform: scaleX(var(--v)); }
.bar-row__value { font-size: 1.4rem; font-weight: 500; letter-spacing: -0.03em; text-align: right; }
.gap__source { font-size: 0.8rem; color: var(--muted); margin: 0.8rem 0 0; }

/* Year / phases */
.year-ruler { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; margin-bottom: 4px; }
.year-ruler span { font-size: 0.72rem; color: var(--muted); padding: 0.4rem 0 0.4rem 0.5rem; background: var(--soft); border-radius: 6px; }
.phase-band { display: grid; grid-template-columns: 3fr 4fr 5fr; gap: 4px; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.phase-band div { padding: 0.7rem 0.9rem; font-size: 0.8rem; font-weight: 500; border-radius: 8px; }
.phase-band div:nth-child(1) { background: var(--ink); color: #fff; }
.phase-band div:nth-child(2) { background: var(--orange); color: #fff; }
.phase-band div:nth-child(3) { background: var(--sun-wash); color: #8a5a00; }
.phases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.phase { display: flex; flex-direction: column; gap: 0.8rem; background: var(--soft); border-radius: var(--r); padding: 0.8rem 0.8rem 1.5rem; }
.phase .photo { aspect-ratio: 4 / 3; border-radius: calc(var(--r) - 6px); }
.phase > :not(figure) { padding: 0 0.7rem; }
.phase__months { font-size: 0.8rem; color: var(--orange); font-weight: 500; margin-top: 0.4rem; }
.phase p { color: var(--muted); margin: 0; }

/* Task cards */
.task-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.7rem; position: relative; box-shadow: var(--shadow); }
.task-card__no { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--muted); margin-bottom: 1rem; }
.task-card__no span:first-child { background: var(--ink); color: #fff; border-radius: 999px; padding: 0.15rem 0.65rem; }
.task-card h3 { margin-bottom: 0.6rem; }
.task-card p { color: var(--muted); }
.task-card__foot { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px dashed var(--line-2); font-size: 0.85rem; color: var(--ink-2); }

/* Tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.ledger-table { width: 100%; border-collapse: collapse; font-size: 0.96rem; }
.ledger-table caption { text-align: left; font-size: 0.82rem; font-weight: 500; color: var(--muted); padding: 1.1rem 1.25rem 0.2rem; }
.ledger-table th { font-size: 0.78rem; font-weight: 500; color: var(--muted); text-align: left; padding: 1rem 1.25rem; background: var(--soft); vertical-align: bottom; }
.ledger-table td { padding: 1rem 1.25rem; border-top: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.ledger-table td:first-child { color: var(--ink); font-weight: 500; }
.ledger-table .num { white-space: nowrap; font-weight: 500; color: var(--ink); }
.ledger-table .pts { text-align: right; font-weight: 600; color: var(--ink); }
.ledger-table tfoot td { background: var(--soft); font-weight: 600; color: var(--ink); }
.chip { display: inline-block; font-size: 0.75rem; font-weight: 500; padding: 0.2rem 0.65rem; border-radius: 999px; background: var(--soft); white-space: nowrap; }
.chip--1 { background: var(--ink); color: #fff; }
.chip--2 { background: var(--orange-wash); color: var(--peach); }
.chip--3 { background: var(--sun-wash); color: #8a5a00; }

/* Constituencies */
.seats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.seat { background: #fff; border: 1px dashed var(--line-2); border-radius: var(--r); padding: 1.3rem; min-height: 10rem; display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; }
.seats--six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.seat__no { font-size: 0.8rem; font-weight: 500; color: var(--muted); }
.seat__rows { font-size: 0.85rem; color: #b0b0ab; line-height: 1.9; }
.seat__rows span { display: block; border-bottom: 1px dotted var(--line-2); }

/* Outcomes */
.steps { display: grid; gap: 1rem; }
.step { display: grid; grid-template-columns: 10rem minmax(0, 1fr) minmax(0, 1.3fr); gap: 2rem; padding: 1.5rem; background: #fff; border-radius: var(--r); align-items: start; }
.step__group { font-size: 0.8rem; font-weight: 500; color: var(--muted); padding-top: 0.3rem; }
.step__meter { height: 8px; background: var(--soft); margin-top: 0.9rem; border-radius: 999px; position: relative; overflow: hidden; }
.step__meter i { position: absolute; inset: 0; border-radius: 999px; background: linear-gradient(90deg, var(--sun), var(--orange), var(--coral)); transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease); }
.is-visible .step__meter i { transform: scaleX(var(--v)); }
.step p { margin: 0; color: var(--muted); }

/* Dark band */
.night { background: var(--night); color: #e7e7e3; }
.night h2, .night h3 { color: #fff; }
.night .eyebrow { color: #a9a9a4; }
.night .lede, .night p { color: #b9b9b4; }
.night .text-link { color: #fff; }
.figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.figure { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--r); padding: 1.6rem; }
.figure strong { display: block; font-size: clamp(2.4rem, 4.5vw, 3.8rem); line-height: 1; font-weight: 500; letter-spacing: -0.04em; color: #fff; margin-bottom: 0.7rem; }
.figure span { font-size: 0.92rem; color: #b9b9b4; }

/* Audience split */
.audiences { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1.25rem; }
.audience { background: var(--soft); border-radius: var(--r); padding: clamp(1.6rem, 3.5vw, 2.5rem); display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.audience--primary { background: var(--night); color: #fff; grid-row: span 2; justify-content: space-between; min-height: 24rem; }
.audience--primary h2 { color: #fff; }
.audience p { margin: 0; color: var(--muted); }

/* Paper sample (CV) */
.paper-sheet { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow); font-size: 0.95rem; color: var(--ink-2); }
.paper-sheet h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 500; margin: 1.4rem 0 0.4rem; }
.paper-sheet .fill { background: var(--sun-wash); color: #8a5a00; padding: 0.05em 0.35em; border-radius: 5px; font-size: 0.9em; }

/* Video questions */
.vq { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.vq div { background: #fff; border-radius: var(--r); padding: 1.5rem; border: 1px solid var(--line); }
.vq span { font-size: 0.8rem; color: var(--orange); font-weight: 500; display: block; margin-bottom: 0.7rem; }
.vq p { font-size: 1.2rem; line-height: 1.3; font-weight: 500; letter-spacing: -0.015em; color: var(--ink); margin: 0; }

/* Score calculator */
.calc { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1.25rem; }
.calc__inputs { background: var(--soft); border-radius: var(--r); padding: clamp(1.5rem, 3vw, 2.25rem); }
.calc__row { display: grid; grid-template-columns: minmax(0, 1fr) 6rem 4.5rem; gap: 1rem; align-items: center; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
.calc__row label small { display: block; font-size: 0.78rem; color: var(--muted); }
.calc__row input { width: 100%; font-family: var(--sans); font-size: 1.15rem; font-weight: 500; padding: 0.6rem 0.75rem; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: #fff; color: var(--ink); }
.calc__row input:focus { border-color: var(--ink); outline: none; }
.calc__row input[aria-invalid="true"] { border-color: var(--coral); background: var(--coral-wash); }
.calc__contrib { text-align: right; color: var(--ink-2); font-weight: 500; }
.calc__error { font-size: 0.85rem; color: var(--coral); min-height: 1.3rem; margin: 0.8rem 0 0; }
.calc__result { background: var(--fact); border-radius: var(--r); padding: clamp(1.5rem, 3vw, 2.25rem); display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; }
.calc__result .eyebrow { color: var(--ink-2); }
.calc__score { font-size: clamp(4rem, 9vw, 6.5rem); line-height: 1; font-weight: 500; letter-spacing: -0.05em; }
.calc__status { font-size: 0.95rem; color: var(--ink-2); margin: 0; }

/* Interactive checklist */
.apply-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.apply-list label { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); gap: 0.9rem; padding: 1rem 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); cursor: pointer; align-items: start; transition: border-color 0.2s var(--ease); }
.apply-list label:hover { border-color: var(--ink); }
.apply-list input { appearance: none; -webkit-appearance: none; width: 1.35rem; height: 1.35rem; border: 1.5px solid var(--line-2); border-radius: 50%; margin: 0.1rem 0 0; display: grid; place-content: center; background: #fff; cursor: pointer; transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease); }
.apply-list input::after { content: ""; width: 0.55rem; height: 0.3rem; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform 0.3s var(--ease); }
.apply-list input:checked { background: var(--ink); border-color: var(--ink); }
.apply-list input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.apply-list input:checked + span { color: var(--muted); text-decoration: line-through; }
.apply-progress { font-size: 0.9rem; color: var(--muted); margin-top: 1rem; }

/* FAQ */
.faq-group + .faq-group { margin-top: clamp(2rem, 4vw, 3rem); }
.faq-group > h3 { font-size: 0.82rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.8rem; }
.faq { background: var(--soft); border-radius: var(--r-sm); margin-bottom: 0.6rem; transition: background-color 0.3s var(--ease); }
.faq[open] { background: #fff; box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 2.2rem; gap: 1rem; align-items: center; padding: 1.15rem 1.3rem; font-size: clamp(1.02rem, 1.4vw, 1.15rem); font-weight: 500; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 1.2rem; font-weight: 400; transition: transform 0.35s var(--ease), background-color 0.3s var(--ease); }
.faq[open] summary::after { transform: rotate(45deg); background: var(--ink); color: #fff; }
.faq__body { padding: 0 1.3rem 1.3rem; color: var(--ink-2); max-width: 72ch; }
.faq__body ul { margin: 0.5rem 0 0; }
.section--sheet .faq { background: #fff; }

/* Interventions */
.interventions { display: grid; gap: 1rem; }
.intervention { display: grid; grid-template-columns: 3rem minmax(0, 4fr) minmax(0, 7fr); gap: clamp(1rem, 3vw, 2.5rem); padding: clamp(1.4rem, 3vw, 2rem); background: var(--soft); border-radius: var(--r); }
.intervention__no { width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 0.85rem; font-weight: 600; }
.intervention h3 { margin: 0.35rem 0; }
.intervention__meta { font-size: 0.82rem; color: var(--muted); margin: 0; }
.intervention__meta:first-child { color: var(--orange); font-weight: 500; }
.intervention p { margin: 0; color: var(--ink-2); }
.intervention .photo { aspect-ratio: 16 / 9; }

/* Stakeholders */
.stakeholders { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.stakeholders div { border-radius: var(--r); padding: 1.6rem; min-height: 12rem; display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; }
.stakeholders div:nth-child(1) { background: var(--sun-wash); }
.stakeholders div:nth-child(2) { background: var(--orange-wash); }
.stakeholders div:nth-child(3) { background: var(--coral-wash); }
.stakeholders div:nth-child(4) { background: var(--sand-wash); }
.stakeholders span { font-size: 0.8rem; font-weight: 500; color: var(--ink-2); }
.stakeholders p { margin: 0; font-size: 1.2rem; line-height: 1.3; font-weight: 500; letter-spacing: -0.015em; }

/* Theory of change */
.toc { display: grid; gap: 1rem; }
.toc__level { display: grid; grid-template-columns: 10rem minmax(0, 1fr); gap: 1.5rem; align-items: start; position: relative; }
.toc__label { font-size: 0.82rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding-top: 1rem; }
.toc__items { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.toc__items li { padding: 0.85rem 1.05rem; font-size: 0.95rem; line-height: 1.4; border-radius: var(--r-sm); background: var(--soft); flex: 1 1 12rem; max-width: 22rem; }
.toc__level--1 .toc__items li { background: var(--ink); color: #fff; font-size: clamp(1.3rem, 2.4vw, 2rem); font-weight: 500; letter-spacing: -0.02em; max-width: none; text-align: center; padding: 1.4rem; border-radius: var(--r); }
.toc__level--2 .toc__items li { background: var(--fact); font-weight: 500; }
.toc__level--3 .toc__items li { background: var(--orange-wash); }
.toc__level + .toc__level::before { content: ""; position: absolute; left: calc(10rem + 1.5rem + 1.2rem); top: -0.75rem; width: 1px; height: 0.6rem; background: var(--line-2); }

/* Partners */
.partner-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(1.5rem, 4vw, 4rem); padding: clamp(1.75rem, 4vw, 2.75rem); background: var(--soft); border-radius: var(--r); margin-bottom: 1rem; align-items: start; }
.partner-row img { max-width: 210px; max-height: 100px; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.partner-row .photo--portrait { max-width: 180px; aspect-ratio: 1; border-radius: 50%; }
.partner-row h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 0.9rem; }
.partner-row p { color: var(--ink-2); max-width: 68ch; }
.partner-row--now { background: var(--fact); }
.partners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.logo-plain { mix-blend-mode: multiply; height: auto; }

/* People */
.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem 1.25rem; }
.people--team { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.person img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); filter: grayscale(1); transition: filter 0.6s var(--ease), transform 0.6s var(--ease); background: var(--soft); }
.person:hover img { filter: none; transform: translateY(-4px); }
.person h3 { font-size: 1.15rem; margin: 0.9rem 0 0.3rem; }
.person__role { font-size: 0.88rem; color: var(--ink-2); margin: 0 0 0.3rem; line-height: 1.45; }
.person__bio { font-size: 0.82rem; color: var(--muted); margin: 0; line-height: 1.5; }

/* Impact */
.impact-big { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.impact-big__fig { background: var(--soft); border-radius: var(--r-lg); padding: clamp(1.8rem, 4vw, 3rem); }
.impact-big__fig:first-child { background: var(--fact); }
.impact-big__fig strong { display: block; font-size: clamp(4.5rem, 11vw, 8.5rem); line-height: 0.95; font-weight: 500; letter-spacing: -0.05em; }
.impact-big__fig small { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 0.4em; letter-spacing: 0; }
.impact-big__fig p { font-size: 1.15rem; color: var(--ink-2); margin: 1.2rem 0 0; max-width: 28ch; }

/* Stories */
.stories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.story { background: var(--soft); border-radius: var(--r); padding: clamp(1.5rem, 3vw, 2.25rem); display: flex; flex-direction: column; gap: 0.75rem; align-items: flex-start; }
.story--lead { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: clamp(1.5rem, 4vw, 3rem); align-content: start; }
.story--lead .photo { grid-row: 1 / span 6; aspect-ratio: 16 / 10; }
.story__date { font-size: 0.8rem; color: var(--muted); margin: 0; }
.story__title { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.story__title a { text-decoration: none; }
.story__title a:hover { color: var(--accent); }
.story__by { font-size: 0.9rem; color: var(--ink-2); margin: 0; }
.story__excerpt { color: var(--muted); margin: 0 0 0.5rem; }
.entry--story { font-size: 1.12rem; line-height: 1.75; }
.entry--story .byline { display: inline-block; font-size: 0.88rem; background: var(--soft); border-radius: 999px; padding: 0.4rem 0.9rem; margin-bottom: 2rem; }
.entry--story p:nth-child(2)::first-letter { font-family: var(--serif); font-size: 3.8em; float: left; line-height: 0.85; padding: 0.06em 0.12em 0 0; color: var(--orange); }
.empty { background: var(--soft); border-radius: var(--r); padding: clamp(2rem, 5vw, 3.5rem); }

/* Press */
.logo-wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.logo-wall__item { display: grid; place-items: center; padding: clamp(1.5rem, 4vw, 3rem); border-radius: var(--r); min-height: 11rem; background: var(--soft); transition: background-color 0.3s var(--ease); }
.logo-wall__item:hover { background: var(--soft-2); }
.logo-wall__item img { max-height: 70px; max-width: 80%; width: auto; mix-blend-mode: multiply; filter: grayscale(1); opacity: 0.8; transition: filter 0.4s var(--ease), opacity 0.4s var(--ease); }
.logo-wall__item:hover img { filter: none; opacity: 1; }

/* Engagements, sectors */
.engagements { display: grid; gap: 1.25rem; }
.engagement { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1rem, 2vw, 1.25rem); }
.engagement:nth-child(even) .engagement__photo { order: 2; }
.engagement__photo .photo { aspect-ratio: 4 / 3; }
.engagement__body { padding: clamp(0.25rem, 1.5vw, 1rem) clamp(0.25rem, 1.5vw, 1rem) clamp(0.25rem, 1.5vw, 1rem) 0; }
.engagement:nth-child(even) .engagement__body { padding-left: clamp(0.25rem, 1.5vw, 1rem); }
.engagement h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); margin: 0 0 1rem; max-width: 26ch; }
.engagement__text { color: var(--ink-2); font-size: 0.98rem; margin-bottom: 1.5rem; }
.engagement__text ul { margin: 0; padding-left: 1.1rem; display: grid; gap: 0.6rem; }
.engagement__text li::marker { color: var(--red); }
.btn__meta { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.04em; color: var(--muted); text-transform: uppercase; }
@media (max-width: 860px) {
	.engagement { grid-template-columns: 1fr; }
	.engagement:nth-child(even) .engagement__photo { order: 0; }
	.engagement__body, .engagement:nth-child(even) .engagement__body { padding: 0.25rem; }
}
.entry__figure { margin: 2.5rem 0 0; }
.entry__figure img { width: 100%; margin: 0; }
.entry--story ul { padding-left: 1.2rem; }
.sectors { list-style: none; padding: 0; margin: 0.8rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.sectors li { border: 1px solid var(--line-2); border-radius: 999px; padding: 0.35rem 0.9rem; font-size: 0.9rem; color: var(--ink-2); }

/* Apply page */
.apply-meta { font-size: 0.9rem; color: var(--muted); margin: 0; }
.apply-facts { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-top: 0.5rem; }
.apply-facts div { background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0.8rem 1.2rem; text-align: left; box-shadow: 0 6px 18px -12px rgba(0,0,0,0.25); }
.apply-facts span { display: block; font-size: 0.78rem; color: var(--muted); margin-bottom: 0.2rem; }
.apply-facts b { font-size: 1.15rem; font-weight: 500; letter-spacing: -0.015em; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); }
.contact-big { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 500; letter-spacing: -0.02em; text-decoration: none; border-bottom: 2px solid var(--sun); }
.contact-form { display: grid; gap: 1.1rem; background: var(--soft); border-radius: var(--r-lg); padding: clamp(1.5rem, 4vw, 2.5rem); }
.field { display: grid; gap: 0.45rem; }
.field label { font-size: 0.9rem; font-weight: 500; }
.field input, .field textarea { font: inherit; font-size: 1rem; padding: 0.85rem 1rem; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; color: var(--ink); width: 100%; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(27,27,26,0.06); }
.field__help { font-size: 0.8rem; color: var(--muted); margin: 0; }
.field__error { font-size: 0.82rem; color: var(--coral); margin: 0; display: none; }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--coral); background: #fffafa; }
.field.is-invalid .field__error { display: block; }
.contact-form .btn { justify-self: start; }
.form-msg { padding: 1rem 1.2rem; margin-bottom: 1.25rem; border-radius: var(--r-sm); }
.form-msg--ok { background: var(--sun-wash); }
.form-msg--err { background: var(--coral-wash); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* =====================================================================
   Footer
   ================================================================== */
.site-footer { padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem; }
.footer-card { background: var(--night); color: #c9c9c4; border-radius: var(--r-lg); padding: clamp(2rem, 5vw, 3.5rem); }
.footer-cta { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; padding-bottom: clamp(2rem, 4vw, 3rem); border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-cta h2 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.6rem); max-width: 16ch; }
.footer-top { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.5fr)); gap: clamp(1.5rem, 4vw, 3rem); padding: clamp(2rem, 4vw, 3rem) 0; }
.footer-statement { color: #9d9d98; margin: 1.2rem 0 0; max-width: 30ch; font-size: 0.95rem; }
.footer-title { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.site-footer a { text-decoration: none; color: #c9c9c4; transition: color 0.2s var(--ease); }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.85rem; color: #8c8c87; }
.footer-logos { display: flex; align-items: center; gap: 1rem; }
.footer-logos img { height: 38px; width: auto; }
.footer-logos .footer-logos__swaniti { height: 44px; }
.footer-logos__sep { width: 1px; height: 34px; background: rgba(255, 255, 255, 0.18); }
.logo-pair { display: flex; align-items: center; gap: 1rem; }
.logo-pair img:first-child { width: 96px; height: 96px; border-radius: 50%; }
.logo-pair span { font-size: 1.4rem; color: var(--muted); }

.to-top { position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 45; width: 46px; height: 46px; border-radius: 14px; border: 0; background: var(--orange); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 24px -10px rgba(238,125,34,0.7); opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), background-color 0.25s var(--ease); }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--coral); }
.to-top svg { width: 1.1rem; height: 1.1rem; }

/* =====================================================================
   Motion
   ================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.reveal.is-visible { opacity: 1; transform: none; }
.split .w { display: inline-block; opacity: 0; filter: blur(8px); transform: translateY(0.35em); transition: opacity 0.75s var(--ease), filter 0.75s var(--ease), transform 0.75s var(--ease); transition-delay: calc(var(--wi) * 50ms); }
.split.is-visible .w { opacity: 1; filter: blur(0); transform: none; }
.split.is-done .w { filter: none; transition: none; }
.no-js .reveal, .no-js .split .w { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) {
	.reveal, .split .w, .bar-row__fill, .step__meter i, .photo img, .btn, .btn svg { transition: none !important; }
	.reveal, .split .w { opacity: 1; transform: none; filter: none; }
	.marquee__track, .blooms span, .era--now::before { animation: none; }
}

/* =====================================================================
   Hero wedges: angled light bands, after the Swaniti landing-page hero
   ================================================================== */
.wedges { position: absolute; inset: -6rem 0 0 0; z-index: -1; pointer-events: none; overflow: hidden; }
.wedges span { position: absolute; top: 0; right: 0; height: 100%; opacity: 0; transition: opacity 1.4s var(--ease), transform 1.6s var(--ease); transform: translateX(4%); }
.wedges.is-visible span, .no-js .wedges span { opacity: 1; transform: none; }
/* Main wedge: warm wash fading towards the page */
.wedges span:nth-child(1) { width: 46%; background: linear-gradient(135deg, rgba(238, 125, 34, 0.2), rgba(195, 57, 42, 0.07) 60%, transparent 85%); clip-path: polygon(34% 0%, 100% 0%, 100% 100%, 74% 100%); }
/* Thin band along its leading edge */
.wedges span:nth-child(2) { width: 46%; background: linear-gradient(180deg, rgba(195, 57, 42, 0.18), rgba(195, 57, 42, 0) 85%); clip-path: polygon(34% 0%, 38% 0%, 78% 100%, 74% 100%); transition-delay: 0.15s; }
/* Small echo on the lower left */
.wedges span:nth-child(3) { left: 0; right: auto; width: 34%; background: linear-gradient(315deg, rgba(247, 183, 51, 0.16), transparent 70%); clip-path: polygon(0% 45%, 55% 100%, 0% 100%); transition-delay: 0.3s; }
@media (max-width: 860px) {
	.wedges span:nth-child(1), .wedges span:nth-child(2) { width: 100%; opacity: 0.7; }
	.wedges span:nth-child(3) { display: none; }
}

/* =====================================================================
   Theory of change scroll story
   ================================================================== */
.toc-story { padding-top: clamp(2rem, 4vw, 3rem); }
.toc-story__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.toc-story__steps { list-style: none; margin: 0; padding: 0 0 30vh; }
.toc-story__step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; gap: 0.8rem; opacity: 0.28; transition: opacity 0.5s var(--ease); }
.toc-story__step:first-child { min-height: 52vh; justify-content: flex-start; padding-top: 4vh; }
.toc-story__step.is-active { opacity: 1; }
.toc-story__kicker { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--red); }
.toc-story__step h2 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
.toc-story__step p { color: var(--ink-2); margin: 0; max-width: 42ch; }
.toc-story__stage { position: sticky; top: 108px; height: calc(100dvh - 130px); display: flex; flex-direction: column; justify-content: center; }
.admin-bar .toc-story__stage { top: 140px; height: calc(100dvh - 162px); }
.toc-story__caption { text-align: center; margin-top: 0.8rem; padding: 0 3.5rem; }

.toc-map { position: relative; display: grid; gap: clamp(1.3rem, 3.4vh, 2.4rem); background: var(--soft); border-radius: var(--r-lg); padding: clamp(1rem, 2.4vw, 1.75rem); }
.toc-map__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.toc-map__lines path { fill: none; stroke: #c4b8b0; stroke-width: 1.4; stroke-linecap: round; transition: stroke-dashoffset 1s var(--ease), stroke 0.4s var(--ease), opacity 0.4s var(--ease); opacity: 0; }
.toc-map__lines path.is-on { opacity: 1; stroke-dashoffset: 0 !important; }
.toc-map__lines path.is-now { stroke: var(--red); stroke-width: 1.8; }
.toc-map__row { position: relative; z-index: 1; display: grid; grid-template-columns: 4.6rem minmax(0, 1fr); align-items: center; gap: 0.75rem; }
.toc-map__row--base { grid-template-columns: minmax(0, 1fr); padding-left: calc(4.6rem + 0.75rem); }
.toc-map__label { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.toc-map__nodes { display: flex; flex-wrap: wrap; gap: 0.45rem; justify-content: center; }
.toc-node { flex: 1 1 7.5rem; max-width: 13rem; font-size: 0.72rem; line-height: 1.3; padding: 0.55rem 0.65rem; border-radius: 10px; background: #fff; border: 1px solid var(--line); color: var(--muted); text-align: center; opacity: 0.35; filter: grayscale(1); transform: translateY(6px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), filter 0.5s var(--ease), box-shadow 0.4s var(--ease), background-color 0.4s var(--ease); }
.toc-node.is-on { opacity: 1; filter: none; transform: none; color: var(--ink); }
.toc-node.is-now { box-shadow: 0 0 0 2px var(--red), 0 10px 22px -12px rgba(195, 57, 42, 0.6); }
.toc-node--impact { max-width: none; font-size: clamp(0.95rem, 1.6vw, 1.2rem); font-weight: 600; padding: 0.9rem 1rem; }
.toc-node--impact.is-on { background: var(--red); border-color: var(--red); color: #fff; }
.toc-map__row:nth-child(3) .toc-node.is-on { background: var(--fact); border-color: transparent; }
.toc-map__row:nth-child(4) .toc-node.is-on { background: var(--orange-wash); border-color: transparent; }
.toc-map__row:nth-child(5) .toc-node.is-on { background: #fff; border-color: var(--line-2); }
.toc-map__row--base .toc-node { max-width: none; flex-basis: 100%; }
.toc-map__row--base .toc-node.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }

@media (max-width: 960px) {
	.toc-story__grid { grid-template-columns: minmax(0, 1fr); }
	.toc-story__steps { padding-bottom: 0; }
	.toc-story__step, .toc-story__step:first-child { min-height: 0; opacity: 1; padding: 0 0 2.2rem; }
	.toc-story__stage { position: static; height: auto; }
	.toc-map__row { grid-template-columns: minmax(0, 1fr); }
	.toc-map__row--base { padding-left: 0; }
	.toc-map__label { text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .toc-node, .toc-map__lines path, .toc-story__step { transition: none; } }

/* =====================================================================
   Charts
   ================================================================== */
.gapchart { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.4rem, 3vw, 2rem); }
.gapchart__head { display: grid; gap: 0.2rem; margin-bottom: 1.4rem; }
.gapchart__title { font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.gapchart__sub { font-size: 0.85rem; color: var(--muted); }
.gapchart__plot { position: relative; --label: 7.5rem; padding-bottom: 3.2rem; }
.gapchart__grid { position: absolute; top: 0; height: 6.4rem; left: var(--label); right: 3.5rem; }
.gapchart__grid span { position: absolute; top: 0; height: 100%; left: calc(var(--x) * 100%); border-left: 1px dashed var(--line-2); font-size: 0.72rem; line-height: 1; color: var(--muted); }
.gapchart__grid span { display: flex; align-items: flex-end; padding: 0 0 0 0.3rem; margin-bottom: -1.1rem; height: calc(100% + 1.1rem); }
.gapchart__row { position: relative; display: grid; grid-template-columns: var(--label) minmax(0, 1fr); align-items: center; height: 3.2rem; }
.gapchart__label { font-size: 0.92rem; font-weight: 500; color: var(--ink); }
.gapchart__track { position: relative; height: 1.75rem; margin-right: 3.5rem; }
.gapchart__bar { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--v) * 100%); border-radius: 0 4px 4px 0; transform-origin: left center; transform: scaleX(0); transition: transform 1.4s var(--ease); cursor: default; }
.gapchart__row--north .gapchart__bar { background: #b98114; }
.gapchart__row--south .gapchart__bar { background: #c3392a; }
.gapchart__row--south .gapchart__bar { transition-delay: 0.15s; }
.is-visible .gapchart__bar { transform: scaleX(1); }
.gapchart__bar:hover, .gapchart__bar:focus-visible { filter: brightness(0.92); outline: none; }
.gapchart__value { position: absolute; top: 50%; left: calc(var(--v) * 100% + 0.5rem); transform: translateY(-50%); font-size: 1.15rem; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; opacity: 0; transition: opacity 0.6s var(--ease) 0.9s; }
.is-visible .gapchart__value { opacity: 1; }
.gapchart__gap { position: absolute; left: calc(var(--label) + (100% - var(--label) - 3.5rem) * var(--a)); width: calc((100% - var(--label) - 3.5rem) * (var(--b) - var(--a))); bottom: 0.4rem; height: 1.6rem; border: 1.5px solid var(--ink-2); border-top: 0; border-radius: 0 0 6px 6px; opacity: 0; transition: opacity 0.6s var(--ease) 1.2s; }
.is-visible .gapchart__gap { opacity: 1; }
.gapchart__gap span { position: absolute; top: calc(100% + 0.35rem); left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 0.8rem; font-weight: 500; color: var(--ink); background: #fff; padding: 0 0.35rem; }
.gapchart__tip { position: absolute; z-index: 5; pointer-events: none; background: var(--ink); color: #fff; font-size: 0.8rem; padding: 0.4rem 0.65rem; border-radius: 8px; white-space: nowrap; transform: translate(-50%, calc(-100% - 10px)); box-shadow: var(--shadow); }
.gapchart__note { font-size: 0.8rem; color: var(--muted); margin: 2.2rem 0 0; }

/* Outcome ladder: an ordered progression, not a measurement */
.ladder { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: end; }
.ladder__step { border-radius: var(--r); padding: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; position: relative; }
.ladder__step--1 { background: #fff; border: 1px solid var(--line); min-height: 15rem; }
.ladder__step--2 { background: var(--orange-wash); min-height: 18rem; }
.ladder__step--3 { background: var(--red); color: #fff; min-height: 21rem; }
.ladder__step p { margin: 0; color: var(--ink-2); font-size: 0.95rem; }
.ladder__step--3 h3, .ladder__step--3 p { color: #fff; } /* after the rule above, so white wins on red (5.3:1) */
.ladder__tag { align-self: flex-start; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; padding: 0.25rem 0.65rem; border-radius: 999px; background: var(--soft); color: var(--ink-2); margin-bottom: auto; }
.ladder__step--2 .ladder__tag { background: #fff; }
.ladder__step--3 .ladder__tag { background: rgba(0, 0, 0, 0.18); color: #fff; } /* darker pill: white text 7.2:1 */
.ladder__step::after { content: ""; position: absolute; right: -0.85rem; top: 50%; width: 0.7rem; height: 0.7rem; border-top: 1.5px solid var(--muted); border-right: 1.5px solid var(--muted); transform: translateY(-50%) rotate(45deg); z-index: 1; }
.ladder__step:last-child::after { display: none; }
@media (max-width: 860px) {
	.ladder { grid-template-columns: minmax(0, 1fr); }
	.ladder__step { min-height: 0 !important; }
	.ladder__step::after { display: none; }
	.gapchart__plot { --label: 6.2rem; }
}
@media (prefers-reduced-motion: reduce) { .gapchart__bar, .gapchart__value, .gapchart__gap { transition: none; } }

/* =====================================================================
   Tabs (Apply Here)
   ================================================================== */
.tabs__bar { position: sticky; top: 88px; z-index: 30; padding: 0.5rem 0 0; }
.admin-bar .tabs__bar { top: 120px; }
.tabs__list { display: flex; gap: 0.2rem; margin: 0 auto; padding: 0.3rem; width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; background: var(--soft); border-radius: 999px; box-shadow: 0 6px 20px -14px rgba(0, 0, 0, 0.3); }
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__tab { flex: none; padding: 0.6rem 1.1rem; border-radius: 999px; font-size: 0.92rem; font-weight: 500; color: var(--ink-2); text-decoration: none; white-space: nowrap; transition: background-color 0.25s var(--ease), color 0.25s var(--ease); }
.tabs__tab:hover { background: #fff; color: var(--ink); }
.tabs__tab[aria-selected="true"] { background: var(--red); color: #fff; }
.tabs__panel { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
.js .tabs__panel[hidden] { display: none; }
.js .tabs__panel.is-entering { animation: tab-in 0.55s var(--ease) both; }
@keyframes tab-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.tabs__pager { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0 clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--line); }
.no-js .tabs__pager { display: none; }
.tabs__pager [hidden] { visibility: hidden; display: inline-flex; }
.phase-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 860px) {
	.phase-cards { grid-template-columns: minmax(0, 1fr); }
	.tabs__list { width: auto; border-radius: 18px; }
	.tabs__bar { top: 84px; }
}
@media (prefers-reduced-motion: reduce) { .js .tabs__panel.is-entering { animation: none; } }

/* =====================================================================
   Swaniti red buttons (primary actions)
   ================================================================== */
.btn { background: var(--red); border-color: var(--red); color: #fff; }
.btn svg { color: var(--red); }
.btn:hover { background: #a32e22; border-color: #a32e22; color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost svg { background: var(--red); color: #fff; }
.btn--ghost:hover { background: var(--coral-wash); color: var(--red); border-color: var(--red); }
.btn--light { background: #fff; color: var(--red); border-color: #fff; }
.btn--light svg { background: var(--red); color: #fff; }
.btn--light:hover { background: #fff3f1; color: #a32e22; border-color: #fff3f1; }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.btn--outline-light svg { background: #fff; color: var(--red); }
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: #fff; }
.nav-toggle { background: var(--red); }

/* =====================================================================
   Footer: full width, Swaniti red
   ================================================================== */
.site-footer { background: var(--red); color: #fde9e5; padding: clamp(3.5rem, 7vw, 5.5rem) 0 1.5rem; margin-top: clamp(2rem, 5vw, 4rem); }
.site-footer .footer-card { background: none; border-radius: 0; padding: 0; color: #fde9e5; }
.footer-cta { border-bottom-color: rgba(255, 255, 255, 0.22); }
.footer-cta h2 { color: #fff; }
.footer-cta h2 em, .footer-cta h2 em .w { color: #ffd9a8; }
.footer-statement { color: #fbd5cf; }
.footer-title { color: #fff; }
.site-footer a { color: #fde9e5; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top-color: rgba(255, 255, 255, 0.22); color: #f7c7bf; }
.footer-logos__sep { background: rgba(255, 255, 255, 0.35); }
.site-footer .btn--light, .site-footer .btn--light:hover { color: var(--red); text-decoration: none; }
.footer-social { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.site-footer .footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.55); color: #fff; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.site-footer .footer-social a:hover, .site-footer .footer-social a:focus-visible { background: #fff; border-color: #fff; color: var(--red); text-decoration: none; }
.site-footer .btn--outline-light, .site-footer .btn--outline-light:hover { color: #fff; text-decoration: none; }
.to-top { box-shadow: 0 0 0 2px #fff, 0 10px 24px -10px rgba(195, 57, 42, 0.7) !important; }
.footer-logos__badge { display: inline-flex; background: #fff; border-radius: 14px; padding: 0.45rem 0.75rem; }
.footer-logos__badge img { height: 34px; width: auto; }

/* Management team: two people, shown larger */
.people--team { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 44rem; gap: 1.5rem 2rem; }

/* =====================================================================
   Swaniti red: key numbers and title accents
   ================================================================== */
h1 em, h2 em, .statement em, .footer-cta h2 em { color: var(--red); }
.footer-cta h2 em { color: #ffd9a8; }
.counter strong, .counter strong span, .counter strong sup { color: var(--red); }
.impact-big__fig strong { color: var(--red); }
.figure strong { color: #f0a08f; }
.bento__card--fact strong, .calc__score { color: var(--red); }
.bar-row__value { color: var(--red); }
.ledger__value { color: var(--red); }
.apply-facts b { color: var(--red); }
.avatars__text b { color: var(--red); }
.phase-card__title em, .announce__tag { background: var(--red); }
.intervention__no, .numbered li::before { background: var(--red); }
.phase__months, .vq span, .intervention__meta:first-child { color: var(--red); }
.ledger-table .pts, .ledger-table .num { color: var(--red); }
.eyebrow::before { background: var(--red); }
.to-top { background: var(--red); box-shadow: 0 10px 24px -10px rgba(195, 57, 42, 0.7); }
.to-top:hover { background: #a32e22; }

/* =====================================================================
   Responsive
   ================================================================== */
@media (max-width: 1100px) {
	.pastels { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.nav-group__btn { padding: 0.55rem 0.75rem; font-size: 0.9rem; }
}
@media (max-width: 1000px) {
	.nav-toggle { display: inline-flex; }
	.nav { position: absolute; top: calc(100% + 0.5rem); left: var(--gutter); right: var(--gutter); flex-direction: column; align-items: stretch; gap: 0.75rem; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); border: 1px solid var(--line); padding: 1rem; opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); max-height: calc(100dvh - 120px); overflow-y: auto; }
	.nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
	.nav-pill { flex-direction: column; align-items: stretch; background: none; padding: 0; gap: 0; }
	.nav-group__btn { width: 100%; justify-content: space-between; padding: 0.95rem 0.5rem; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; background: none !important; }
	.nav-panel { position: static; opacity: 1; transform: none; pointer-events: auto; box-shadow: none; border: 0; padding: 0.25rem 0 0.5rem 0.5rem; display: none; min-width: 0; }
	.nav-group.is-open .nav-panel { display: grid; transform: none; }
	.nav-actions { justify-content: stretch; }
	.nav-actions > * { flex: 1; justify-content: center; }
	.site-header .site-header__inner { position: relative; }
	.page-nav { top: 84px; }
}
@media (max-width: 860px) {
	.head-split, .gap, .cols, .cols--even, .story-intro, .contact-grid, .calc, .audiences, .bento, .bento--flip, .divider__grid, .partner-row, .impact-big, .stories, .story--lead { grid-template-columns: minmax(0, 1fr); }
	.footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-top > :first-child { grid-column: 1 / -1; }
	.ledger, .figures, .seats, .stakeholders { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.phases, .vq, .work { grid-template-columns: minmax(0, 1fr); }
	.people, .people--team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pastels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.counters { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
	.counter { border-left: 0; }
	.year-ruler, .phase-band { display: none; }
	.step { grid-template-columns: minmax(0, 1fr); gap: 0.6rem; }
	.intervention { grid-template-columns: 2.6rem minmax(0, 1fr); }
	.intervention > div:last-child { grid-column: 1 / -1; }
	.toc__level { grid-template-columns: minmax(0, 1fr); gap: 0.6rem; }
	.toc__label { padding-top: 0; }
	.toc__level + .toc__level::before { display: none; }
	.toc__items li { max-width: none; }
	.cols__aside h2 { position: static; }
	.audience--primary { min-height: 0; grid-row: auto; }
	.calc__row { grid-template-columns: minmax(0, 1fr) 5rem; }
	.calc__contrib { grid-column: 2; }
	.bar-row { grid-template-columns: minmax(0, 1fr) 4rem; }
	.bar-row__track { grid-column: 1 / -1; grid-row: 2; }
	.story--lead .photo { grid-row: auto; }
	.logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bento__card { min-height: 0; }
	.hero__actions { flex-direction: column; gap: 1.2rem; }
}
@media (max-width: 520px) {
	body { font-size: 1rem; }
	.ledger, .figures, .seats, .stakeholders, .pastels { grid-template-columns: minmax(0, 1fr); }
	.footer-top { grid-template-columns: minmax(0, 1fr); }
	.notice-bar__inner span { display: none; }
	.btn { justify-content: space-between; }
	.cta-strip .btn-row, .cta-strip .btn { width: 100%; }
	.to-top { right: 1rem; bottom: 1rem; }
}

/* ---------------------------------------------------------------------
 * Homepage (v3.4.0, RB feedback): SPARC-AI first, track record last
 * ------------------------------------------------------------------ */
.hero .hero__actions .btn--ghost { background: rgba(255, 255, 255, 0.7); }
.hero-facts { list-style: none; padding: 0; margin: 2.6rem auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; max-width: 62rem; }
.hero-facts li { background: rgba(255, 255, 255, 0.75); border: 1px solid var(--line); border-radius: 999px; padding: 0.55rem 1.1rem; font-size: 0.92rem; color: var(--ink-2); }
.hero-facts b { color: var(--red); font-weight: 600; }

.legacy .lede { margin-bottom: 1.2rem; }
.legacy__stats { display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem; margin: 0; color: var(--ink-2); font-size: 0.98rem; }
.legacy__stats b { color: var(--red); font-weight: 600; }
.legacy__quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2.2rem; }
.legacy__quote { margin: 0; background: #fff; border-radius: var(--r); padding: 1.5rem 1.6rem; display: flex; flex-direction: column; justify-content: space-between; gap: 1.2rem; }
.legacy__quote blockquote { margin: 0; font-size: 1rem; line-height: 1.55; color: var(--ink); }
.legacy__quote figcaption { font-size: 0.85rem; color: var(--muted); }
.legacy__quote figcaption b { display: block; color: var(--ink); font-weight: 600; }
.legacy .marquee-wrap { margin-top: 2.5rem; }
@media (max-width: 860px) {
	.legacy__quotes { grid-template-columns: 1fr; }
	.hero-facts li { font-size: 0.85rem; }
}

/* Founding constituencies filled from WordPress (Constituencies menu) */
.seat--announced { border: 1px solid var(--line); box-shadow: 0 10px 28px -20px rgba(0, 0, 0, 0.35); justify-content: flex-start; }
.seat--announced .seat__no { color: var(--red); }
.seat__img { width: calc(100% + 2.6rem); margin: -1.3rem -1.3rem 0; height: 8.5rem; object-fit: cover; border-radius: var(--r) var(--r) 0 0; }
.seat__name { font-size: 1.3rem; margin: 0; letter-spacing: -0.02em; }
.seat__mp { margin: 0.5rem 0 0; font-size: 0.92rem; color: var(--ink-2); }
.seat__mp span { display: block; font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.seat__note { margin-top: auto; align-self: flex-start; font-size: 0.75rem; color: var(--red); background: var(--coral-wash); border-radius: 999px; padding: 0.25rem 0.7rem; }
/* Homepage: three equally spaced identities and icon navigation. */
.home .site-header__inner { position: relative; height: 76px; }
.balanced-logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; width: 100%; padding: 0 3rem; }
.balanced-logos > * { display: flex; align-items: center; justify-content: center; }
.balanced-logos__ccoi img { width: 155px; height: 62px; object-fit: contain; }
.balanced-logos__sparc img { width: 165px; height: 54px; object-fit: contain; }
.balanced-logos__swaniti img { width: 64px; height: 64px; object-fit: contain; }
.home .balanced-menu { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 8px; background: transparent; color: var(--red); border: 1px solid var(--line); border-radius: 50%; }
.home .balanced-menu[aria-expanded="true"] { background: var(--coral-wash); }
.home .site-header .nav { position: absolute; top: calc(100% + .5rem); left: auto; right: 0; width: min(440px, 100%); flex-direction: column; align-items: stretch; gap: .75rem; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); border: 1px solid var(--line); padding: 1rem; visibility: hidden; opacity: 0; transform: translateY(-8px); pointer-events: none; max-height: calc(100dvh - 140px); overflow-y: auto; }
.home .site-header .nav.is-open { visibility: visible; opacity: 1; transform: none; pointer-events: auto; }
.home .nav-pill { flex-direction: column; align-items: stretch; background: none; padding: 0; gap: 0; }
.home .nav-group__btn { width: 100%; justify-content: space-between; padding: .95rem .5rem; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; background: none !important; }
.home .nav-panel { position: static; opacity: 1; transform: none; pointer-events: auto; box-shadow: none; border: 0; padding: .25rem 0 .5rem .5rem; display: none; min-width: 0; }
.home .nav-group.is-open .nav-panel { display: grid; transform: none; }
.home .nav-actions { justify-content: stretch; }
.home .nav-actions > * { flex: 1; justify-content: center; }
@media (max-width: 600px) {
 .balanced-logos { padding: 0 2.7rem 0 0; }
 .balanced-logos__ccoi img { width: min(100px, 100%); height: 48px; }
 .balanced-logos__sparc img { width: min(105px, 100%); height: 42px; }
 .balanced-logos__swaniti img { width: 48px; height: 48px; }
}
