/* Layout concept: the campaign poster leads, sitting on its own royal blue,
   then stacked colour bands: black, sky, white, deep blue, white, black, royal.
   Kiswahili leads every heading; English sits beneath it.
   Single deliberate look (campaign brand colours), so no dark-mode variant. */
:root {
  --royal: #277BF5;      /* sampled from the poster background */
  --royal-deep: #1A5BC8; /* bands that carry body text (passes contrast with white) */
  --sky: #97DFFF;        /* poster headline blue */
  --cyan: #2FB2F6;       /* LINDA badge / stencil portrait mid-tone */
  --ink: #0B0D12;        /* brush strip, buttons */
  --paper: #FFFFFF;
  --mist: #EEF8FF;       /* sky-tinted neutral for form fields */
  --line: #C9DDF5;

  --f-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-brush: "Permanent Marker", "Marker Felt", "Comic Sans MS", cursive;

  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --step-3: clamp(2.4rem, 1.6rem + 3.6vw, 4.5rem);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--royal);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.about :focus-visible, .footer :focus-visible, .countdown :focus-visible, .hero :focus-visible, .a-hero :focus-visible, .m-hero :focus-visible, .invite :focus-visible, .menu-panel :focus-visible, .m-cta :focus-visible, .share :focus-visible { outline-color: var(--paper); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* ---------- Type helpers ---------- */
.eyebrow {
  margin: 0 0 .75rem;
  font-family: var(--f-brush);
  font-size: 1.35rem;
  line-height: 1.1;
  color: var(--sky);
}
.eyebrow-royal { color: var(--royal-deep); }

.display {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 900;
  font-stretch: 68%;
  font-size: var(--step-3);
  line-height: .92;
  letter-spacing: -.005em;
  text-transform: uppercase;
  text-wrap: balance;
}
.display-light { color: var(--sky); }
/* ---------- Language switching ----------
   <html data-lang="sw|en">. .l-sw / .l-en: only the active language shows.
   .bi (headings) and .duo (buttons, chips, labels): both show, the active one leads. */
:root[data-lang="en"] .l-sw, :root:not([data-lang="en"]) .l-en { display: none; }
:root[data-lang="en"] .bi .en, :root[data-lang="en"] .duo .en { order: -1; }

.bi {
  margin: 0; display: flex; flex-direction: column; gap: .55rem;
  --main-size: var(--step-3); --main-color: var(--ink);
  --sub-size: var(--step-1); --sub-color: #3B4A66; --sub-weight: 600;
}
:root:not([data-lang="en"]) .bi .sw, :root[data-lang="en"] .bi .en {
  font-family: var(--f-display); font-weight: 900; font-stretch: 68%;
  font-size: var(--main-size); color: var(--main-color); line-height: .92; letter-spacing: -.005em;
  text-transform: uppercase; text-wrap: balance;
}
:root:not([data-lang="en"]) .bi .en, :root[data-lang="en"] .bi .sw {
  font-family: var(--f-body); font-weight: var(--sub-weight); font-stretch: 100%;
  font-size: var(--sub-size); color: var(--sub-color); line-height: 1.3; text-wrap: balance;
}
.bi-light { --main-color: var(--sky); --sub-color: #D5E3F7; }
.bi-hero { --main-size: clamp(2.6rem, 1.5rem + 4.4vw, 5.25rem); --main-color: var(--paper); --sub-color: var(--sky); --sub-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); }
.bi-card { gap: .3rem; --main-size: clamp(1.9rem, 1.5rem + 1.2vw, 2.5rem); --main-color: var(--royal); --sub-size: 1.05rem; --sub-color: var(--ink); --sub-weight: 700; }

.duo { display: inline-flex; flex-direction: column; }
:root:not([data-lang="en"]) .duo .en, :root[data-lang="en"] .duo .sw {
  margin-top: .2rem; font-family: var(--f-body); font-stretch: 100%; font-size: .74rem;
  font-weight: 600; letter-spacing: .03em; text-transform: none; opacity: .85;
}
.duo-row { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: .4rem; }

:root:not([data-lang="en"]) .duo-row .en, :root[data-lang="en"] .duo-row .sw { margin-top: 0; font-size: .95rem; letter-spacing: 0; }
:root:not([data-lang="en"]) .duo-row .en::before, :root[data-lang="en"] .duo-row .sw::before { content: "· "; }

.lang { display: inline-flex; border: 2px solid var(--paper); }
.lang button {
  min-width: 2.6rem; min-height: 36px; padding: 0 .55rem; border: 0; background: transparent;
  color: var(--paper); font: 800 .85rem/1 var(--f-body); letter-spacing: .08em; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--paper); color: var(--royal-deep); }
.lang button:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }

.lede { font-size: var(--step-1); line-height: 1.5; max-width: 34ch; margin: 1.25rem 0 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: .75rem 1.5rem;
  font-family: var(--f-display); font-weight: 800; font-stretch: 85%;
  font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; border: 3px solid transparent; border-radius: 0;
  cursor: pointer; transition: transform .15s ease, background-color .15s ease, color .15s ease;
  flex-direction: column; line-height: 1.1; text-align: center;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #000; color: var(--sky); }
.btn-ghost { background: transparent; color: var(--paper); border-color: var(--paper); }
.btn-ghost:hover { background: var(--paper); color: var(--royal-deep); }
.btn-royal { background: var(--royal-deep); color: var(--paper); }
.btn-royal:hover { background: var(--ink); }
.btn-sm { min-height: 40px; padding: .4rem 1rem; font-size: .9rem; }
.btn-block { width: 100%; }

/* ---------- Top bar ---------- */
.topbar { background: var(--royal); color: var(--paper); }
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-block: 1rem;
}
.mark {
  display: inline-flex; align-items: baseline; gap: .4rem; margin: 0;
  text-decoration: none; line-height: 1;
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
}
.mark img { display: block; height: 40px; width: auto; }
.mark-footer img { height: 64px; }
.mark-name { font-stretch: 62%; font-size: 2rem; color: var(--sky); letter-spacing: .01em; }
.mark-year { font-stretch: 90%; font-size: 1.1rem; color: var(--paper); font-style: italic; }
.nav { display: flex; align-items: center; gap: 1.25rem; }
.nav .nav-link {
  text-decoration: none; font-weight: 700; font-size: .95rem;
  letter-spacing: .06em; text-transform: uppercase;
}
.nav .nav-link:hover { color: var(--sky); }
@media (max-width: 1040px) {
  .nav .nav-link { display: none; }
  .nav { gap: .6rem; }
  .topbar-inner { gap: .5rem; }
}
@media (max-width: 720px) { .btn-sm { padding-inline: .8rem; } }

/* Menu (shown when the nav links are hidden) */
.topbar { position: relative; z-index: 30; }
.menu { display: none; }
@media (max-width: 1040px) { .menu { display: block; } }
.menu summary {
  list-style: none; display: grid; place-items: center; width: 42px; height: 40px; cursor: pointer;
  border: 2px solid var(--paper); color: var(--paper);
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 22px; height: 22px; fill: currentColor; }
.menu[open] summary { background: var(--paper); color: var(--royal-deep); }
.menu-panel {
  position: absolute; left: 0; right: 0; top: 100%; background: var(--royal-deep);
  display: flex; flex-direction: column; padding: .5rem max(20px, env(safe-area-inset-left, 0px)) 1.25rem;
  box-shadow: 0 18px 30px rgba(11, 13, 18, .25);
}
.menu-panel a {
  display: flex; flex-direction: column; padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.2);
  text-decoration: none; font-family: var(--f-display); font-weight: 900; font-stretch: 70%; font-size: 1.6rem;
  line-height: 1; text-transform: uppercase; color: var(--paper);
}
.menu-panel a[aria-current="page"] { color: var(--sky); }
@media (max-width: 400px) { .mark img { height: 32px; } }

/* ---------- Hero ---------- */
.hero { background: var(--royal); color: var(--paper); padding-block: .5rem clamp(3rem, 6vw, 5rem); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero-poster { margin: 0; max-width: 520px; width: 100%; }
.hero-poster img { width: 100%; }
.hero-copy { min-width: 0; }
.hero-lede { font-size: var(--step-1); line-height: 1.5; max-width: 40ch; margin: 1.5rem 0 0; color: #EAF3FF; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-poster { max-width: 480px; margin-inline: auto; }
}

/* ---------- Countdown ---------- */
.countdown { background: var(--ink); color: var(--paper); }
.countdown-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
  gap: 2rem 3rem; padding-block: 3rem;
}
.countdown .bi { --main-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.6rem); --sub-size: 1rem; }
.cd-note { margin: .9rem 0 0; color: #C7D3E6; max-width: 40ch; }
.cd-note a { color: var(--sky); }
.cd-clock { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: clamp(.9rem, 3vw, 2.5rem); }
.cd-unit { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.cd-num {
  font-family: var(--f-display); font-weight: 900; font-stretch: 62%;
  font-size: clamp(3.6rem, 2rem + 6vw, 6.5rem); line-height: .9; color: var(--sky);
  font-variant-numeric: tabular-nums;
}
.cd-label { margin-top: .35rem; font-weight: 700; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 760px) {
  .countdown-inner { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Agenda ---------- */
.agenda { background: var(--sky); padding-block: clamp(3.5rem, 8vw, 6rem); }
.section-head { margin-bottom: 2.75rem; }
.pillars {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem;
}
@media (max-width: 760px) { .pillars { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 1000px) { .pillars-short { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 761px) and (max-width: 999px) { .pillars-short .pillar:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.pillar {
  background: var(--paper); padding: 1.75rem 1.75rem 2rem;
  display: flex; flex-direction: column; gap: .5rem; min-width: 0;
}
.pillar .bi-card { margin-bottom: .6rem; }
.pillar ul, .principle p { color: #2A3446; }
.pillar ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.pillar li { position: relative; padding-left: 1.2rem; line-height: 1.5; }
.pillar li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: .5rem; height: .5rem; background: var(--cyan);
}

/* Headline numbers */
.stats {
  list-style: none; margin: 0 0 1.25rem; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem;
}
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 400px) { .stats { grid-template-columns: minmax(0, 1fr); } }
.stats li { min-width: 0; background: var(--ink); color: var(--paper); padding: 1.4rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; }
.stat-num {
  font-family: var(--f-display); font-weight: 900; font-stretch: 62%;
  font-size: clamp(3rem, 2.2rem + 2.6vw, 4.25rem); line-height: .9; color: var(--sky);
  font-variant-numeric: tabular-nums; text-transform: uppercase; text-wrap: balance; overflow-wrap: anywhere;
}
.stat-label { font-size: .95rem; line-height: 1.4; color: #D5DEEC; }
.agenda-more { margin-top: 2.25rem; }

/* ---------- Delivery ---------- */
.delivery { background: var(--paper); padding-block: clamp(3.5rem, 8vw, 6rem); }
.principles {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem 2.5rem;
}
@media (max-width: 820px) { .principles { grid-template-columns: minmax(0, 1fr); } }
.principle { border-top: 8px solid var(--royal); padding-top: 1rem; min-width: 0; }
.principle .bi-card { margin-bottom: .75rem; }
.principle .bi-card { --main-color: var(--royal-deep); --main-size: clamp(1.7rem, 1.4rem + 1vw, 2.2rem); }
.principle p { margin: 0; }

.roadmap {
  list-style: none; margin: 1.25rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0;
}
.roadmap li {
  position: relative; padding: 1.4rem 1.1rem 1.25rem 0; border-top: 6px solid var(--royal);
  display: flex; flex-direction: column; gap: .35rem; min-width: 0;
}
.roadmap li::before {
  content: ""; position: absolute; top: -14px; left: 0; width: 22px; height: 22px;
  background: var(--paper); border: 6px solid var(--royal); border-radius: 50%;
}
.rm-year { font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--royal-deep); }
.rm-name {
  font-family: var(--f-display); font-weight: 900; font-stretch: 66%;
  font-size: 1.9rem; line-height: .95; text-transform: uppercase;
}
:root:not([data-lang="en"]) .rm-name .en, :root[data-lang="en"] .rm-name .sw { font-size: .95rem; color: var(--ink); opacity: 1; font-weight: 700; }
.rm-what { color: #2A3446; font-size: .95rem; line-height: 1.45; }
@media (max-width: 900px) {
  .roadmap { grid-template-columns: minmax(0, 1fr); }
  .roadmap li { border-top: 0; border-left: 6px solid var(--royal); padding: 0 0 1.5rem 1.5rem; }
  .roadmap li::before { top: 0; left: -14px; }
}

/* ---------- About ---------- */
.about { background: var(--royal-deep); color: var(--paper); padding-block: clamp(3.5rem, 8vw, 6rem); }
.about-inner {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.about-portrait { margin: 0; border: 8px solid var(--paper); background: var(--paper); max-width: 440px; }
.about-copy p { max-width: 58ch; }
.about-copy strong { color: var(--sky); }
.about-copy .bi { margin-bottom: 1.5rem; }
.pull {
  margin: 2rem 0 0; padding: 1.25rem 0 0; border-top: 4px solid var(--sky);
}
.pull p { margin: 0; font-family: var(--f-brush); font-size: var(--step-2); line-height: 1.25; color: var(--paper); }
.pull footer { margin-top: .5rem; color: #CFE0FA; font-size: .95rem; }
@media (max-width: 760px) {
  .about-inner { grid-template-columns: minmax(0, 1fr); }
  .about-portrait { max-width: 340px; }
}

/* ---------- Join ---------- */
.join { background: var(--paper); padding-block: clamp(3.5rem, 8vw, 6rem); }
.join-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: start;
}
@media (max-width: 860px) { .join-inner { grid-template-columns: minmax(0, 1fr); } }
.county { margin-top: 2.5rem; }
.county-code {
  margin: 0 0 .75rem; font-family: var(--f-display); font-weight: 900; font-stretch: 62%;
  font-size: 4.5rem; line-height: .9; color: var(--royal); font-variant-numeric: tabular-nums;
}
.county-code span {
  display: block; font-family: var(--f-body); font-stretch: 100%; font-weight: 700;
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #4B5873;
}
.subcounties {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem;
}
.subcounties li {
  padding: .55rem .75rem; background: var(--sky); font-weight: 700; font-size: .95rem;
}
@media (max-width: 420px) { .subcounties { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.form {
  background: var(--royal); color: var(--paper);
  padding: clamp(1.4rem, 4vw, 2.25rem);
  display: flex; flex-direction: column; gap: 1.1rem;
}
.field { display: flex; flex-direction: column; gap: .4rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend {
  font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; padding: 0;
}
.field legend { margin-bottom: .5rem; }
.form input[type="text"], .form input[type="tel"], .form select {
  width: 100%; min-height: 50px; padding: .65rem .85rem;
  font: inherit; color: var(--ink); background: var(--mist);
  border: 2px solid transparent; border-radius: 0;
}
.form input:focus-visible, .form select:focus-visible { outline: 3px solid var(--ink); outline-offset: 0; border-color: var(--ink); }
.form [aria-invalid="true"] { border-color: var(--ink); background: #FFE9E6; }
.phone { display: flex; }
.phone-code {
  display: inline-flex; align-items: center; padding: 0 .85rem; background: var(--ink);
  color: var(--paper); font-weight: 700; font-variant-numeric: tabular-nums;
}
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
@media (max-width: 420px) { .checks { grid-template-columns: minmax(0, 1fr); } }
.field .check {
  display: flex; align-items: center; gap: .6rem; padding: .6rem .75rem;
  background: rgba(255,255,255,.12); font-weight: 600; font-size: .95rem;
  text-transform: none; letter-spacing: 0; cursor: pointer;
}
.check input { width: 20px; height: 20px; accent-color: var(--ink); flex: none; }
.form-status { margin: 0; min-height: 1.6em; font-weight: 600; }
.form-status.is-error { color: var(--paper); background: var(--ink); padding: .5rem .75rem; }
.form-status.is-ok { color: var(--ink); background: var(--sky); padding: .5rem .75rem; }

/* ---------- Share ---------- */
.share { background: var(--ink); color: var(--paper); padding-block: clamp(3.5rem, 8vw, 6rem); }
.share-inner {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 2rem clamp(2rem, 5vw, 4.5rem); align-items: end;
}
.hashtag {
  margin: 1rem 0 .5rem; font-family: var(--f-brush); font-size: clamp(1.8rem, 1.2rem + 2.6vw, 3rem);
  line-height: 1.1; color: var(--sky); overflow-wrap: anywhere;
}
.share-copy p { max-width: 48ch; }
.share-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.copy-status { flex-basis: 100%; min-height: 1.5em; margin: 0; color: var(--sky); font-weight: 600; }
@media (max-width: 760px) { .share-inner { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Footer ---------- */
.footer { background: var(--royal); color: var(--paper); }
.footer-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 2rem; padding-block: 3rem 2rem;
}
.footer-slogan { margin: .75rem 0 .25rem; font-weight: 700; }
.footer-url { margin: 0; color: #DCEBFF; letter-spacing: .02em; }
.socials { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, auto); gap: .6rem 2rem; }
.socials a { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 700; font-size: .95rem; }
.socials a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.socials svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
@media (max-width: 520px) { .socials { grid-template-columns: minmax(0, 1fr); } }
.footer-base { padding-block: 1.25rem 1.75rem; border-top: 1px solid rgba(255,255,255,.25); }
.footer-base p { margin: 0; font-size: .85rem; color: #DCEBFF; }

/* ---------- Manifesto page ---------- */
.m-hero { background: var(--royal); color: var(--paper); padding-block: 1.5rem clamp(3rem, 6vw, 4.5rem); }
.m-note {
  margin: 1.25rem 0 0; max-width: 60ch; padding: .75rem 1rem; background: rgba(0, 0, 0, .18);
  color: #EAF3FF; font-size: .95rem;
}
.toc { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.toc a {
  display: inline-flex; flex-direction: column; padding: .55rem .9rem; background: var(--paper);
  color: var(--ink); text-decoration: none; line-height: 1.1;
}
.toc a {
  font-family: var(--f-display); font-weight: 900; font-stretch: 70%; font-size: 1.2rem;
  text-transform: uppercase; color: var(--royal-deep);
}
.toc a:hover { background: var(--sky); }

.m-body { background: var(--paper); padding-block: clamp(2.5rem, 6vw, 4rem); }
.m-stack { display: flex; flex-direction: column; }
.m-pillar { padding-block: 2.75rem; border-top: 3px solid var(--ink); scroll-margin-top: 1rem; }
.m-pillar:first-child { border-top: 0; padding-top: 0; }
.m-head { margin-bottom: 1.75rem; }
.m-head .bi, .m-roadmap .bi { --main-color: var(--royal); --main-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.6rem); }
.m-roadmap .bi { --main-color: var(--ink); }
.m-cols { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 1.5rem clamp(2rem, 5vw, 4rem); }
@media (max-width: 820px) { .m-cols { grid-template-columns: minmax(0, 1fr); } }
.m-today, .m-promise { min-width: 0; }
.m-today { padding: 1.25rem 1.4rem; background: var(--mist); align-self: start; }
.m-today p { margin: 0; color: #2A3446; }
.m-label {
  margin: 0 0 .75rem; font-family: var(--f-display); font-weight: 900; font-stretch: 75%;
  font-size: 1.15rem; text-transform: uppercase; letter-spacing: .02em; color: var(--ink);
}
.m-label .en, .m-label .sw { color: inherit; }
.m-promise ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.m-promise li { position: relative; padding-left: 1.4rem; line-height: 1.5; }
.m-promise li::before { content: ""; position: absolute; left: 0; top: .5em; width: .6rem; height: .6rem; background: var(--cyan); }
.m-roadmap { padding-top: 2.75rem; border-top: 3px solid var(--ink); scroll-margin-top: 1rem; }
.m-roadmap .bi { margin-bottom: 2rem; }
.m-cta { background: var(--royal-deep); color: var(--paper); padding-block: clamp(3rem, 6vw, 4.5rem); }
.m-cta-inner { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; }
.m-cta .hero-actions { margin-top: 0; }
.nav a[aria-current="page"] { color: var(--sky); }

/* Consent + spam trap on the volunteer form */
.consent {
  display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; line-height: 1.45;
  text-transform: none; letter-spacing: 0; font-weight: 500; cursor: pointer;
}
.consent input { width: 20px; height: 20px; margin-top: .1rem; accent-color: var(--ink); flex: none; }
.form .consent[aria-invalid="true"] { outline: 3px solid var(--ink); outline-offset: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }

/* ---------- Latest posts (social feed) ---------- */
.feed { background: var(--sky); padding-block: clamp(3.5rem, 8vw, 6rem); }
.feed-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem 2rem; margin-bottom: 2rem; }
.feed-filters { display: flex; flex-wrap: wrap; gap: .4rem; }
.feed-filters button {
  min-height: 40px; padding: .4rem .85rem; border: 2px solid var(--ink); background: transparent; color: var(--ink);
  font: 800 .85rem var(--f-body); letter-spacing: .04em; text-transform: uppercase; cursor: pointer;
  display: inline-flex; align-items: center; gap: .4rem;
}
.feed-filters button svg { width: 15px; height: 15px; fill: currentColor; }
.feed-filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.feed-note { margin: -1rem 0 1.5rem; font-size: .9rem; color: #2A3446; }
.feed-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 1000px) { .feed-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .feed-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1rem; padding-bottom: .75rem; }
  .feed-grid .post { flex: 0 0 78%; scroll-snap-align: start; }
  .feed-grid .feed-empty { flex: 1 0 100%; }
}
.post {
  display: flex; flex-direction: column; background: var(--paper); color: var(--ink); text-decoration: none; min-width: 0;
  transition: transform .15s ease, box-shadow .15s ease;
}
.post:hover { transform: translateY(-3px); box-shadow: 8px 8px 0 var(--royal); }
@media (prefers-reduced-motion: reduce) { .post { transition: none; } .post:hover { transform: none; } }
.post-media { position: relative; aspect-ratio: 1 / 1; background: var(--royal); overflow: hidden; max-width: 100%; }
.post-media img { width: 100%; height: 100%; object-fit: cover; }
.post-media.is-text { display: flex; align-items: flex-end; padding: 1.25rem; background: var(--ink); }
.post-media.is-text p {
  margin: 0; color: var(--sky); font-family: var(--f-display); font-weight: 900; font-stretch: 70%;
  font-size: 1.6rem; line-height: 1.05; text-transform: uppercase;
  display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden;
}
.post-badge {
  position: absolute; top: .6rem; left: .6rem; display: inline-flex; align-items: center; gap: .35rem;
  background: var(--ink); color: var(--paper); padding: .3rem .55rem; font-size: .75rem; font-weight: 800;
}
.post-badge svg, .post-play svg { width: 14px; height: 14px; fill: currentColor; }
.post-play {
  position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: 54px; height: 54px; border-radius: 50%;
  background: rgba(11, 13, 18, .72); color: var(--paper); display: grid; place-items: center;
}
.post-play svg { width: 22px; height: 22px; margin-left: 3px; }
.post-body { padding: 1rem 1.1rem 1.15rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.post-text { margin: 0; font-size: .95rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.post-meta { margin: auto 0 0; font-size: .8rem; font-weight: 700; color: #4B5873; text-transform: uppercase; letter-spacing: .05em; }
.feed-empty { grid-column: 1 / -1; background: var(--paper); padding: 2rem; display: flex; flex-direction: column; gap: 1.25rem; align-items: flex-start; }
.feed-empty p { margin: 0; font-size: var(--step-1); max-width: 46ch; }
.feed-follow { display: flex; flex-wrap: wrap; gap: .5rem; }

/* ---------- Film: Mombasa 2032 ---------- */
.film { background: var(--royal-deep); color: var(--paper); padding-block: clamp(3rem, 7vw, 5rem); }
.film-inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2rem clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 860px) { .film-inner { grid-template-columns: minmax(0, 1fr); } }
.film-copy p { max-width: 40ch; margin: 1.25rem 0 0; color: #E3EEFF; }
.film-copy .film-note {
  display: inline-block; margin-top: 1.25rem; padding: .25rem .6rem; background: rgba(0, 0, 0, .25);
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sky);
}
.film-player { margin: 0; background: var(--ink); box-shadow: 14px 14px 0 var(--sky); max-width: 100%; }
.film-player video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--ink); }
@media (max-width: 860px) { .film-player { box-shadow: 8px 8px 0 var(--sky); } }

/* ---------- Manifesto concept photos ---------- */
.m-photos { display: grid; gap: 1rem; margin: 0 0 1.75rem; }
.m-photos-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 700px) { .m-photos-2 { grid-template-columns: minmax(0, 1fr); } }
.m-photos-1 .m-photo { max-width: 900px; }
.m-photo { margin: 0; min-width: 0; }
.m-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--mist); }
.m-photo figcaption {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem;
  padding-top: .5rem; font-size: .88rem; color: #2A3446;
}
.m-ai { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--royal-deep); }

/* Agenda card photos */
.pillar { overflow: hidden; }
.pillar-img {
  display: block; width: calc(100% + 3.5rem); max-width: none; margin: -1.75rem -1.75rem .9rem;
  aspect-ratio: 16 / 9; object-fit: cover; background: var(--mist);
}
.agenda-ai { margin: 1rem 0 0; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--royal-deep); }
.m-credit { flex-basis: 100%; font-size: .75rem; color: #4B5873; line-height: 1.4; }
.m-credit a, .agenda-credit a { color: inherit; }
.agenda-credit { margin: .35rem 0 0; font-size: .75rem; color: #2A3446; max-width: 70ch; }


/* ---------- Footer links ---------- */
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, auto); gap: .45rem 2rem; }
.footer-nav a { text-decoration: none; font-weight: 700; font-size: .95rem; }
.footer-nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-base a { color: inherit; }

/* ---------- Placeholders for facts still to supply (previews only; removed on the live site) ---------- */
.todo { outline: 2px dashed #F2A900; outline-offset: 2px; background: #FFF6DA; color: #5C4300; }
.todo-tag { display: inline-block; margin-right: .35rem; padding: .05rem .4rem; background: #F2A900; color: var(--ink); font: 800 .68rem/1.4 var(--f-body); letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Contact + press ---------- */
.contact { background: var(--sky); padding-block: clamp(3.5rem, 8vw, 6rem); }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.c-card {
  display: flex; flex-direction: column; gap: .45rem; min-width: 0; padding: 1.25rem 1.3rem 1.35rem;
  background: var(--paper); color: var(--ink); text-decoration: none; border-top: 6px solid var(--royal);
  transition: transform .15s ease, box-shadow .15s ease;
}
a.c-card:hover { transform: translateY(-3px); box-shadow: 8px 8px 0 var(--royal-deep); }
@media (prefers-reduced-motion: reduce) { .c-card { transition: none; } a.c-card:hover { transform: none; } }
.c-card-join { background: var(--ink); color: var(--paper); border-top-color: var(--sky); }
.c-label { font-family: var(--f-display); font-weight: 900; font-stretch: 70%; font-size: 1.55rem; line-height: 1; text-transform: uppercase; color: var(--royal-deep); }
.c-card-join .c-label { color: var(--sky); }
.c-desc { font-size: .95rem; line-height: 1.45; color: #2A3446; }
.c-card-join .c-desc { color: #D5DEEC; }
.c-mail { margin-top: auto; padding-top: .35rem; font-weight: 800; overflow-wrap: anywhere; }
div.c-card.todo { border-top-color: #F2A900; font-size: .95rem; }

.press {
  margin-top: 2.5rem; background: var(--paper); padding: clamp(1.4rem, 4vw, 2.25rem);
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 2rem clamp(2rem, 5vw, 3.5rem);
}
@media (max-width: 860px) { .press { grid-template-columns: minmax(0, 1fr); } }
.press-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; min-width: 0; }
.press-copy > p { margin: 0; max-width: 52ch; }
.btn-meta { margin-top: .2rem; font-family: var(--f-body); font-stretch: 100%; font-size: .72rem; font-weight: 600; letter-spacing: .04em; opacity: .8; text-transform: none; }
.boiler { border-left: 6px solid var(--sky); padding: .25rem 0 .25rem 1rem; }
.boiler p { margin: 0; color: #2A3446; font-size: .95rem; max-width: 62ch; }
.boiler-label { margin: 0 0 .4rem !important; font-size: .75rem !important; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--royal-deep) !important; }
.press-files { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; min-width: 0; }
.press-files a {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .2rem 1rem;
  padding: .8rem 0; border-bottom: 1px solid var(--line); text-decoration: none;
}
.press-files li:first-child a { padding-top: 0; }
.pf-name { font-weight: 800; }
.pf-name::after { content: " ↓"; color: var(--royal); }
.pf-meta { font-size: .82rem; color: #4B5873; font-variant-numeric: tabular-nums; }
.press-files a:hover .pf-name { color: var(--royal-deep); text-decoration: underline; text-underline-offset: 3px; }
.brand { grid-column: 1 / -1; }
.swatches { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .75rem; }
@media (max-width: 560px) { .swatches { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.swatches li { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.sw-chip { height: 52px; border: 1px solid var(--line); }
.sw-name { font-weight: 800; font-size: .9rem; }
.sw-hex { font-size: .8rem; color: #4B5873; font-variant-numeric: tabular-nums; }

/* ---------- Inner pages ---------- */
.p-hero { padding-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.bi-sec { --main-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); --main-color: var(--royal-deep); --sub-size: 1rem; gap: .35rem; }

/* About */
.a-hero { background: var(--royal); color: var(--paper); padding-block: .5rem clamp(3rem, 6vw, 4.5rem); }
.a-hero-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 820px) { .a-hero-grid { grid-template-columns: minmax(0, 1fr); } .a-hero .about-portrait { max-width: 320px; } }
.glance { margin: 1.75rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: rgba(255,255,255,.25); border: 1px solid rgba(255,255,255,.25); }
@media (max-width: 520px) { .glance { grid-template-columns: minmax(0, 1fr); } }
.g-row { background: var(--royal); padding: .7rem .9rem; min-width: 0; }
.g-row dt { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--sky); }
.g-row dd { margin: .15rem 0 0; font-weight: 700; overflow-wrap: anywhere; }
.g-row.todo { outline-offset: -4px; }
@media (min-width: 521px) { .g-row:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.g-row.todo dt { color: #5C4300; }
.about-solo .bi { margin-bottom: 1.5rem; }
.about-solo p { max-width: 62ch; }
.about-solo strong { color: var(--sky); }
.story { background: var(--paper); padding-block: clamp(3.5rem, 8vw, 6rem); }
.timeline { list-style: none; margin: 2.5rem 0 0; padding: 0; display: flex; flex-direction: column; max-width: 980px; }
.tl-item {
  position: relative; display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: .5rem 2.5rem;
  padding: 0 0 2.25rem 2rem; border-left: 4px solid var(--royal); min-width: 0;
}
.tl-item:last-child { padding-bottom: .5rem; }
.tl-item::before { content: ""; position: absolute; left: -12px; top: .1rem; width: 20px; height: 20px; border-radius: 50%; background: var(--paper); border: 5px solid var(--royal); }
.tl-item.todo { padding-top: .9rem; padding-right: .9rem; }
.tl-head { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.tl-label { font-family: var(--f-display); font-weight: 900; font-stretch: 70%; font-size: 1.8rem; line-height: 1; text-transform: uppercase; color: var(--royal-deep); }
.tl-when { font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #4B5873; }
.tl-item p { margin: 0; color: #2A3446; max-width: 62ch; font-size: 1.05rem; line-height: 1.65; }
@media (max-width: 720px) { .tl-item { grid-template-columns: minmax(0, 1fr); padding-left: 1.5rem; } }
.story + .delivery { background: var(--mist); }

/* Privacy */
.pv-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 2rem clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 860px) { .pv-layout { grid-template-columns: minmax(0, 1fr); } }
.pv-toc { position: sticky; top: 1rem; background: var(--mist); padding: 1.1rem 1.2rem; }
@media (max-width: 860px) { .pv-toc { position: static; } }
.pv-toc ol { margin: 0; padding-left: 1.2rem; display: grid; gap: .3rem; font-size: .95rem; }
.pv-toc a { text-decoration: none; font-weight: 600; }
.pv-toc a:hover { color: var(--royal-deep); text-decoration: underline; }
.pv-body { min-width: 0; max-width: 70ch; }
.pv-sec { padding-block: 0 2.25rem; scroll-margin-top: 1rem; }
.pv-sec .bi { margin-bottom: 1rem; }
.pv-sec p { margin: 0 0 .9rem; color: #2A3446; }
.pv-sec ul { margin: 0 0 .9rem; padding: 0; list-style: none; display: grid; gap: .55rem; color: #2A3446; }
.pv-sec li { position: relative; padding-left: 1.3rem; }
.pv-sec li::before { content: ""; position: absolute; left: 0; top: .55em; width: .55rem; height: .55rem; background: var(--cyan); }
.pv-sec a { color: var(--royal-deep); font-weight: 600; }
.pv-sec .todo { padding: .6rem .8rem; }

/* Events */
.ev-main { background: var(--paper); padding-block: clamp(3rem, 7vw, 5rem); }
.ev-main .feed-filters button { min-height: 40px; }
.ev-list { display: flex; flex-direction: column; gap: 1rem; }
.ev-loading { margin: 0; color: #4B5873; }
.ev-card {
  display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 1rem 1.5rem; padding: 1.25rem;
  background: var(--mist); border-left: 8px solid var(--royal); scroll-margin-top: 1rem;
}
.ev-card:target { box-shadow: 0 0 0 3px var(--ink); }
.ev-card.is-cancelled { opacity: .75; border-left-color: #8A94A6; }
.ev-date { display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--royal); color: var(--paper); padding: .7rem .3rem; text-align: center; align-self: start; }
.ev-day { font: 900 3rem/0.9 var(--f-display); font-stretch: 62%; }
.ev-mon { margin-top: .25rem; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--sky); }
.ev-wd { font-size: .72rem; font-weight: 600; color: #DCEBFF; }
.ev-body { min-width: 0; display: flex; flex-direction: column; gap: .5rem; }
.ev-kind { font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--royal-deep); }
.ev-cancel { display: inline-block; margin-left: .4rem; padding: .05rem .45rem; background: var(--ink); color: var(--paper); }
.ev-title { margin: 0; font-family: var(--f-display); font-weight: 900; font-stretch: 70%; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); line-height: 1; text-transform: uppercase; color: var(--ink); text-wrap: balance; }
.is-cancelled .ev-title { text-decoration: line-through; text-decoration-thickness: 3px; }
.ev-when, .ev-where { margin: 0; font-weight: 700; color: #2A3446; }
.ev-where { font-weight: 600; }
.ev-details { margin: 0; color: #2A3446; white-space: pre-line; max-width: 70ch; }
.ev-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .35rem; }
.ev-actions a {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: .4rem .85rem;
  border: 2px solid var(--ink); color: var(--ink); text-decoration: none; font: 800 .82rem var(--f-body); letter-spacing: .04em; text-transform: uppercase;
}
.ev-actions a:hover { background: var(--ink); color: var(--paper); }
.ev-actions svg { width: 16px; height: 16px; fill: currentColor; }
@media (max-width: 520px) {
  .ev-card { grid-template-columns: 72px minmax(0, 1fr); gap: .9rem; padding: 1rem; }
  .ev-day { font-size: 2.4rem; }
}
.ev-empty { background: var(--mist); padding: 2rem; display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; }
.ev-empty p { margin: 0; font-size: var(--step-1); max-width: 46ch; }
.ev-past { margin-top: 3rem; }
.ev-past .bi { margin-bottom: 1.25rem; }
.ev-list-past .ev-card { background: var(--paper); border: 1px solid var(--line); border-left: 8px solid #8A94A6; }
.ev-list-past .ev-date { background: #4B5873; }
.invite { background: var(--royal-deep); color: var(--paper); padding-block: clamp(3rem, 6vw, 4.5rem); }
.invite-inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1.5rem 3rem; align-items: end; }
.invite-inner p { max-width: 54ch; margin: 1.25rem 0 0; color: #E3EEFF; }
.invite .hero-actions { margin-top: 0; }
@media (max-width: 820px) { .invite-inner { grid-template-columns: minmax(0, 1fr); } }

/* Press page + link */
.press-link { margin: 1.5rem 0 0; font-weight: 700; }
.press-link a { color: var(--ink); text-underline-offset: 3px; }
.press-link a:hover { color: var(--royal-deep); }
.press-page { background: var(--mist); padding-block: clamp(2.5rem, 6vw, 4rem); }
.press-page .press { margin-top: 0; }
.p-hero .hero-lede a { color: var(--sky); }

/* ---------- Contribute ---------- */
.btn-sky { background: var(--sky); color: var(--ink); }
.btn-sky:hover { background: var(--paper); color: var(--royal-deep); }
.nav .nav-give[aria-current="page"] { color: var(--ink); background: var(--paper); }
@media (max-width: 600px) { .nav .nav-give { display: none; } }
.menu-panel .menu-give { background: var(--sky); color: var(--ink); padding-inline: .9rem; }
.give-band { background: var(--royal-deep); color: var(--paper); padding-block: clamp(2.75rem, 6vw, 4rem); }
.give-band-inner { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; }
.give-band .lede { max-width: 46ch; }
.give-band .hero-actions { margin-top: 0; }
.give-band :focus-visible { outline-color: var(--paper); }
.give-sec + .give-sec { margin-top: clamp(2.5rem, 6vw, 3.75rem); }
.give-amts { margin-top: 1.25rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 900px) { .give-amts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .give-amts { grid-template-columns: minmax(0, 1fr); } }
.give-amt { background: var(--mist); border-top: 6px solid var(--royal); padding: 1.1rem 1.2rem 1.25rem; display: flex; flex-direction: column; gap: .4rem; }
.give-amt-n { font-family: var(--f-display); font-weight: 900; font-stretch: 70%; font-size: 2rem; line-height: 1; color: var(--royal-deep); }
.give-amt-d { font-size: .95rem; line-height: 1.45; color: #2A3446; }
.give-ways { margin-top: 1.25rem; display: grid; grid-template-columns: 1.15fr 1fr .85fr; gap: 1rem; }
@media (max-width: 960px) { .give-ways { grid-template-columns: minmax(0, 1fr); } }
.give-way { min-width: 0; padding: 1.4rem 1.4rem 1.5rem; background: var(--paper); border: 2px solid var(--line); border-top: 6px solid var(--royal); color: var(--ink); text-decoration: none; display: flex; flex-direction: column; gap: .75rem; }
.give-mpesa { border-top-color: #2E9B48; }
.give-way-t { margin: 0; font-family: var(--f-display); font-weight: 900; font-stretch: 70%; font-size: 1.7rem; line-height: 1; text-transform: uppercase; color: var(--royal-deep); }
.give-steps { margin: 0; padding-left: 1.3rem; display: grid; gap: .55rem; }
.give-val { display: inline-block; margin-top: .2rem; padding: .15rem .5rem; background: var(--mist); color: var(--royal-deep); }
.give-dl { margin: 0; display: grid; gap: .6rem; }
.give-dl div { display: grid; grid-template-columns: minmax(7.5rem, auto) 1fr; gap: .75rem; border-bottom: 1px solid var(--line); padding-bottom: .5rem; }
.give-dl dt { font-weight: 700; color: #3B4A66; }
.give-dl dd { margin: 0; font-weight: 700; color: var(--royal-deep); overflow-wrap: anywhere; }
.give-time { background: var(--ink); color: var(--paper); border-color: var(--ink); border-top-color: var(--sky); transition: transform .15s ease, box-shadow .15s ease; }
.give-time .give-way-t { color: var(--sky); }
.give-time p { margin: 0; color: #D5DEEC; }
a.give-time:hover { transform: translateY(-3px); box-shadow: 8px 8px 0 var(--royal-deep); }
@media (prefers-reduced-motion: reduce) { .give-time { transition: none; } a.give-time:hover { transform: none; } }
.give-list { margin: 1.25rem 0 0; padding: 0; list-style: none; display: grid; gap: .7rem; max-width: 70ch; }
.give-list li { position: relative; padding-left: 1.6rem; }
.give-list li::before { content: ""; position: absolute; left: 0; top: .45em; width: .7rem; height: .7rem; background: var(--royal); }
.give-ask { margin-top: 1.25rem; }
.give-ask a { color: var(--royal-deep); font-weight: 700; }

/* Contribute buttons: a soft pulsing ring plus a light sweep, to draw the eye */
@keyframes give-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 255, 255, .95), 0 0 0 0 rgba(151, 223, 255, .8); }
  60%  { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0), 0 0 0 20px rgba(151, 223, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0), 0 0 0 0 rgba(151, 223, 255, 0); }
}
@keyframes give-shine {
  0%, 62% { transform: translateX(-160%) skewX(-22deg); }
  100%    { transform: translateX(260%) skewX(-22deg); }
}
@keyframes give-nudge {
  0%, 88%, 100% { transform: scale(1); }
  92% { transform: scale(1.06); }
  96% { transform: scale(.98); }
}
.btn-give { position: relative; overflow: hidden; isolation: isolate; animation: give-pulse 1.8s ease-out infinite; }
.btn-give::after {
  content: ""; position: absolute; inset: -2px auto -2px 0; width: 40%; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.75), rgba(255,255,255,0));
  animation: give-shine 3.6s ease-in-out infinite;
}
.btn.btn-give { animation: give-pulse 1.8s ease-out infinite, give-nudge 6s ease-in-out infinite; }
.btn.btn-give:hover { animation: give-pulse 1.8s ease-out infinite; transform: translateY(-2px) scale(1.04); }
.btn-give[aria-current="page"] { animation: none; }
.btn-give[aria-current="page"]::after { display: none; }
@media (prefers-reduced-motion: reduce) {
  .btn-give, .btn.btn-give { animation: none; }
  .btn-give::after { display: none; }
}

/* Election day phases of the countdown */
.countdown { transition: background-color .4s ease; }
.countdown.is-vote { background: var(--royal); }
.countdown.is-after { background: var(--royal-deep); }
.cd-kicker { margin: 0 0 .6rem; font-family: var(--f-brush); font-size: 1.35rem; color: var(--sky); }
.countdown .bi-vote { --main-size: clamp(2.4rem, 1.6rem + 3.4vw, 4.2rem); }
.countdown.is-vote .cd-note, .countdown.is-after .cd-note { color: var(--paper); max-width: 46ch; }
.countdown [data-phase] .hero-actions { margin-top: 1.25rem; }
.cd-clock-label { grid-column: 1 / -1; margin: 0; font-weight: 800; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sky); }
.countdown.is-vote .cd-clock-label { color: var(--paper); }
.cd-clock { row-gap: .6rem; }
@media (max-width: 420px) { .cd-num { font-size: clamp(2.6rem, 13vw, 3.4rem); } .cd-clock { column-gap: .8rem; } }
