/* ===================================================================
   Pewa Change Party — pewachange.org
   Palette: crimson #AE1E4E · green #1E7A4B · cream #EAD7C0 · ink #1A1512
   =================================================================== */

:root {
  --crimson: #AE1E4E;
  --crimson-deep: #7E1338;
  --green: #1E7A4B;
  --green-bright: #2FA968;
  --cream: #F3E9D9;
  --cream-deep: #EAD7C0;
  --paper: #FFFDF8;
  --ink: #1A1512;
  --ink-soft: #5c5344;
  --line: #e2d6c1;
  --shadow: 6px 6px 0 var(--ink);
  --radius: 18px;
  --maxw: 1080px;
  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-text: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --crimson: #F0567F;
    --crimson-deep: #C43A63;
    --green: #52BE8C;
    --green-bright: #6BD3A3;
    --cream: #17120F;
    --cream-deep: #211A15;
    --paper: #241C17;
    --ink: #F4ECDD;
    --ink-soft: #b3a794;
    --line: #3a2f27;
    --shadow: 6px 6px 0 #000;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font-text);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, .u { font-family: var(--font-display); font-weight: 700; line-height: 1.05; }
h2 { font-size: clamp(1.9rem, 5vw, 3.1rem); letter-spacing: -0.02em; margin-bottom: .4em; }
h3 { font-size: 1.3rem; margin-bottom: .6em; }
a { color: var(--crimson); text-underline-offset: 3px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 200; border-radius: 8px; }

/* ---------------------------------------------------------- election bar */
.electionbar {
  background: var(--crimson); color: #fff;
  font-family: var(--font-text); font-size: .78rem; font-weight: 600; letter-spacing: .01em;
  display: flex; align-items: center; justify-content: center; gap: .5em; flex-wrap: wrap;
  padding: .5em .8em; text-align: center;
}
.electionbar__time { font-variant-numeric: tabular-nums; }
@media print { .electionbar { display: none; } }

/* ---------------------------------------------------------------- nav */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 12px 20px;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--ink);
  transition: padding .2s ease;
}
.nav.scrolled { padding-top: 8px; padding-bottom: 8px; }
.nav__brand {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  color: var(--ink); text-decoration: none; letter-spacing: -0.01em;
}
.brandmark { width: 34px; height: 34px; object-fit: contain; border-radius: 6px; flex: none; }
.nav__links { display: flex; align-items: center; gap: 18px; font-weight: 500; flex-wrap: wrap; justify-content: flex-end; }
.nav__links a { color: var(--ink); text-decoration: none; white-space: nowrap; }
.nav__links a:hover { color: var(--crimson); }
.nav__links a.on { color: var(--crimson); text-decoration: underline; text-underline-offset: 5px; }
.nav__links a.btn { color: #fff; }
.nav__burger { display: none; }
@media (min-width: 1001px) {
  .nav__links .nav-secondary { display: none; }   /* drawer-only links */
}
@media (max-width: 1180px) and (min-width: 1001px) {
  .nav__links { gap: 13px; font-size: .9rem; }
}
@media (max-width: 1000px) {
  .nav { flex-wrap: nowrap; }
  .nav__burger {
    display: flex; flex-direction: column; gap: 5px; width: 44px; height: 44px;
    align-items: center; justify-content: center; border: 2px solid var(--ink);
    border-radius: 12px; background: var(--crimson); cursor: pointer; flex: none;
    box-shadow: 3px 3px 0 var(--ink);
  }
  .nav__burger span { display: block; width: 20px; height: 2.5px; background: #fff; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
  .nav__checkbox:checked ~ .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__checkbox:checked ~ .nav__burger span:nth-child(2) { opacity: 0; }
  .nav__checkbox:checked ~ .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
    justify-content: flex-start; gap: 0; background: var(--cream); border-bottom: 2px solid var(--ink);
    padding: 8px 20px 20px; max-height: calc(100dvh - 64px); overflow-y: auto;
    transform: translateY(-10px); opacity: 0; visibility: hidden; font-size: 1.05rem;
    box-shadow: 0 20px 40px -20px rgba(0,0,0,.4);
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
  }
  .nav__checkbox:checked ~ .nav__links { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav__links a { padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .nav__links a.btn { text-align: center; margin-top: 12px; border-bottom: 0; }
  .nav__links a.btn--sm { padding: 12px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .nav__links, .nav__burger span { transition: none; }
}

/* -------------------------------------------------------------- buttons */
.btn {
  --btn-bg: var(--crimson);
  display: inline-block; font-family: var(--font-display); font-weight: 600;
  background: var(--btn-bg); color: #fff; text-decoration: none;
  padding: 13px 22px; border: 2px solid var(--ink); border-radius: 999px;
  box-shadow: var(--shadow); cursor: pointer; font-size: 1rem;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }
.btn--lg { padding: 15px 28px; font-size: 1.05rem; }
.btn--sm { padding: 8px 16px; font-size: .9rem; box-shadow: 3px 3px 0 var(--ink); }
.btn--ghost { --btn-bg: var(--paper); color: var(--ink); }
.btn--green { --btn-bg: var(--green); }

/* --------------------------------------------------------------- hero */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(48px, 9vw, 110px) 0 0;
  background:
    radial-gradient(120% 120% at 88% 8%, color-mix(in srgb, var(--crimson) 16%, transparent), transparent 55%),
    var(--cream);
}
.hero__inner { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; position: relative; z-index: 2; }
.eyebrow {
  display: inline-block; font-family: var(--font-display); font-weight: 600;
  text-transform: uppercase; letter-spacing: .16em; font-size: .78rem;
  color: var(--crimson-deep); background: color-mix(in srgb, var(--crimson) 14%, transparent);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero__title {
  font-size: clamp(2.1rem, 7.4vw, 5.6rem); letter-spacing: -0.03em; max-width: 15ch;
}
.hero__title .u {
  position: relative; color: var(--crimson);
}
.hero__title .u::after {
  content: ""; position: absolute; left: -2px; right: -2px; bottom: .06em; height: .18em;
  background: var(--green-bright); z-index: -1; transform: skewX(-12deg);
}
.hero__lead { font-size: clamp(1.05rem, 2.4vw, 1.35rem); max-width: 46ch; margin: 26px 0 30px; color: var(--ink-soft); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__tag {
  margin-top: 34px; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.1rem, 3vw, 1.6rem); color: var(--crimson);
}

.snap {
  position: absolute; right: clamp(-10px, 3vw, 70px); top: clamp(24px, 6vw, 64px);
  width: clamp(180px, 27vw, 360px); z-index: 1; opacity: 1;
}
@media (max-width: 900px) {
  .snap { position: static; margin: 34px auto 0; width: min(240px, 60%); opacity: 1; }
}
.snap__img {
  width: 100%; height: auto; display: block; position: relative; z-index: 2;
  border-radius: 50%;
  transform-box: view-box; transform-origin: 48% 34%;
  animation: snap-shake 3.2s ease-in-out infinite;
}
.snap__burst {
  position: absolute; left: 46%; top: 20%; width: 34%; aspect-ratio: 1;
  transform: translate(-50%, -50%) scale(.4);
  border-radius: 50%; z-index: 1; pointer-events: none;
  background: radial-gradient(circle, var(--crimson) 0%, transparent 70%);
  opacity: 0;
  animation: snap-burst 3.2s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .snap__img, .snap__burst { animation: none; }
}
@keyframes snap-shake {
  0%, 20%, 100% { transform: rotate(0deg) scale(1); }
  6%            { transform: rotate(-6deg) scale(1.05); }
  9%            { transform: rotate(4deg) scale(.97); }
  12%           { transform: rotate(-2deg) scale(1.03); }
  15%           { transform: rotate(0deg) scale(1); }
}
@keyframes snap-burst {
  0%, 5%, 100% { opacity: 0;  transform: translate(-50%, -50%) scale(.3); }
  8%           { opacity: .9; transform: translate(-50%, -50%) scale(1.2); }
  16%          { opacity: 0;  transform: translate(-50%, -50%) scale(1.9); }
}

.ticker {
  margin-top: clamp(40px, 7vw, 80px);
  display: flex; gap: 0; list-style: none; white-space: nowrap;
  border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  background: var(--ink); overflow: hidden;
}
.ticker li {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem, 3.6vw, 2.4rem);
  color: var(--cream); padding: 14px 30px; flex: none;
  animation: slide 22s linear infinite;
}
.ticker li:nth-child(even) { color: var(--green-bright); }
@keyframes slide { to { transform: translateX(-100%); } }

/* --------------------------------------------------------------- bands */
.band { padding: clamp(56px, 10vw, 110px) 0; background: var(--paper); border-bottom: 2px solid var(--ink); }
.band--green { background: var(--green); color: #fff; }
.band--green h2, .band--green a { color: #fff; }
.band--green .section-lead { color: rgba(255,255,255,.85); }
.big { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.3rem, 3.4vw, 2.1rem); line-height: 1.35; max-width: 24ch; }
.band .big { max-width: 30ch; }

.section-lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 52ch; margin-bottom: 34px; }

/* -------------------------------------------------------------- pillars */
.pillars { padding: clamp(56px, 10vw, 110px) 20px; }
.pillar-list { display: flex; flex-direction: column; gap: 14px; }
.pillar {
  background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.pillar__head {
  list-style: none; display: grid; grid-template-columns: auto 1fr auto auto; align-items: baseline;
  gap: 16px; padding: 22px 24px; cursor: pointer;
  font-family: var(--font-display); color: var(--ink);
}
.pillar__head::-webkit-details-marker { display: none; }
.pillar__head:focus-visible { outline: 3px solid var(--crimson); outline-offset: -3px; }
.pillar__num { font-size: .9rem; color: var(--crimson); font-weight: 700; }
.pillar__word { font-size: clamp(1.5rem, 4vw, 2.4rem); font-weight: 700; letter-spacing: -0.02em; }
.pillar__gloss { font-family: var(--font-text); font-weight: 500; color: var(--ink-soft); font-size: .95rem; }
.pillar__toggle { font-size: 1.6rem; color: var(--crimson); transition: transform .2s ease; justify-self: end; }
.pillar[open] .pillar__toggle { transform: rotate(45deg); }
.pillar__body { padding-bottom: 6px; }
.pillar[open] .pillar__body { animation: fade-in .3s ease; }
.pillar__body p { padding: 0 24px 16px; max-width: 62ch; color: var(--ink-soft); }
.pillar__body p:first-child { padding-top: 6px; }
.pillar__promise { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--ink) !important; }
@keyframes fade-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 620px) {
  .pillar__head { grid-template-columns: auto 1fr auto; padding: 18px; gap: 10px; }
  .pillar__gloss { grid-column: 2 / -1; }
}

/* --------------------------------------------------------------- sauti */
.sauti-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
@media (max-width: 860px) { .sauti-grid { grid-template-columns: 1fr; } }

.wall { display: flex; flex-direction: column; gap: 12px; max-height: 620px; overflow-y: auto; padding-right: 4px; }
.wall__empty { color: rgba(255,255,255,.8); font-style: italic; }
.voice {
  background: var(--paper); color: var(--ink); border: 2px solid var(--ink);
  border-radius: 14px; padding: 16px 18px; box-shadow: 4px 4px 0 var(--ink);
}
.voice__meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px; font-size: .82rem; }
.voice__tag { background: var(--crimson); color: #fff; font-weight: 600; padding: 2px 10px; border-radius: 999px; font-family: var(--font-display); }
.voice__who { font-weight: 600; }
.voice__where { color: var(--ink-soft); }
.voice p { white-space: pre-wrap; }

/* ---------------------------------------------------------------- forms */
.card {
  background: var(--paper); color: var(--ink); border: 2px solid var(--ink);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(20px, 4vw, 32px);
}
.form__row { margin-bottom: 16px; }
.form__row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form__row--3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
@media (max-width: 620px) { .form__row--2, .form__row--3 { grid-template-columns: 1fr; } }
.form label { display: block; font-weight: 600; font-size: .9rem; }
.form fieldset { border: 0; }
.form legend { font-weight: 600; font-size: .9rem; margin-bottom: 8px; }
.req { color: var(--crimson); }
.opt { color: var(--ink-soft); font-weight: 400; }

.form input[type=text], .form input[type=tel], .form input[type=email],
.form input[type=date], .form select, .form textarea {
  width: 100%; margin-top: 6px; padding: 11px 13px; font: inherit;
  background: var(--cream); color: var(--ink);
  border: 2px solid var(--line); border-radius: 11px;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: 0; border-color: var(--crimson); box-shadow: 0 0 0 3px color-mix(in srgb, var(--crimson) 25%, transparent);
}
.form textarea { resize: vertical; }
.counter { font-size: .8rem; color: var(--ink-soft); text-align: right; margin-top: 4px; }
.band--green .counter { color: rgba(255,255,255,.75); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; }
.chip span {
  display: inline-block; padding: 8px 14px; border: 2px solid var(--line); border-radius: 999px;
  font-weight: 500; font-size: .88rem; cursor: pointer; background: var(--cream); user-select: none;
}
.chip input:checked + span { background: var(--crimson); color: #fff; border-color: var(--ink); }
.chip input:focus-visible + span { box-shadow: 0 0 0 3px color-mix(in srgb, var(--crimson) 30%, transparent); }

.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: .88rem; margin: 6px 0 18px; }
.check input { margin-top: 4px; flex: none; width: 17px; height: 17px; accent-color: var(--crimson); }
.check a { color: inherit; }

.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.form__msg { margin-top: 14px; font-weight: 600; font-size: .95rem; min-height: 1.2em; }
.form__msg.ok { color: var(--green); }
.form__msg.err { color: var(--crimson); }
.band--green .form__msg.ok { color: #063; background: #d6ffe9; padding: 8px 12px; border-radius: 8px; }

.join { padding: clamp(56px, 10vw, 110px) 20px; }

/* -------------------------------------------------------- notice */
.notice {
  background: var(--paper); color: var(--ink);
  border: 2px solid var(--ink); border-left: 8px solid var(--crimson);
  border-radius: 14px; box-shadow: 4px 4px 0 var(--ink);
  padding: 18px 20px; margin-bottom: 26px; max-width: 62ch;
}
.notice h3 {
  font-family: var(--font-display); font-weight: 700; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .1em; color: var(--crimson-deep);
  margin-bottom: 6px;
}
.notice p { color: var(--ink-soft); font-size: .95rem; }
.notice p + p { margin-top: 8px; }

/* --------------------------------------------------------- documents */
.hero--lite { padding-bottom: clamp(40px, 7vw, 72px); }
.hero--lite .hero__title { font-size: clamp(2.4rem, 7vw, 4.4rem); }
.hero--lite .snap { display: none; }

.docs { padding: clamp(48px, 8vw, 90px) 20px; }
.doc-section { margin-bottom: clamp(40px, 7vw, 72px); scroll-margin-top: 90px; }
.doc-section h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
.doc-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.doc-card {
  background: var(--paper); border: 2px solid var(--ink); border-radius: 14px;
  box-shadow: 4px 4px 0 var(--ink); transition: transform .12s ease, box-shadow .12s ease;
}
.doc-card:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.doc-card a { display: flex; flex-direction: column; gap: 6px; padding: 18px; text-decoration: none; color: var(--ink); height: 100%; }
.doc-card__icon { font-size: 1.6rem; }
.doc-card__name { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.doc-card__meta { font-size: .78rem; color: var(--ink-soft); margin-top: auto; }
.doc-empty {
  background: var(--paper); border: 2px dashed var(--line); border-radius: 14px; padding: 20px 22px; color: var(--ink-soft);
}
.doc-empty ul { margin: 10px 0 0 18px; }
.doc-empty li { margin: 3px 0; }
.docs__foot { margin-top: 10px; }

/* ---------------------------------------------------------------- foot */
.foot { background: var(--ink); color: var(--cream); padding: 56px 0 30px; }
.foot a { color: var(--cream); }
.foot__inner { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.nav__brand--foot { color: var(--cream); font-size: 1.25rem; }
.foot__tag { color: var(--crimson); font-family: var(--font-display); font-weight: 700; margin-top: 10px; font-size: 1.2rem; }
.foot__cols { display: flex; flex-wrap: wrap; gap: 40px; }
.foot__cols h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-soft); margin-bottom: 8px; }
.foot__cols a { text-decoration: none; }
.foot__cols a:hover { text-decoration: underline; }
.foot__legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid #3a2f27; font-size: .82rem; color: var(--ink-soft); }
.foot__legal p { margin-bottom: 6px; }
.foot__legal a { color: var(--ink-soft); }

/* --------------------------------------------------------- viongozi */
.leaders { padding: clamp(48px, 8vw, 90px) 20px; }
.leaders-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px;
}
.leader {
  background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column;
}
.leader__photo {
  aspect-ratio: 4 / 5; width: 100%; object-fit: cover; object-position: 50% 12%;
  background: var(--cream-deep); border-bottom: 2px solid var(--ink); display: block;
}
.leader__body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.leader__name { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; letter-spacing: -0.01em; }
.leader__role {
  font-family: var(--font-display); font-weight: 600; font-size: .82rem; text-transform: uppercase;
  letter-spacing: .08em; color: var(--crimson-deep);
}
.leader__bio { color: var(--ink-soft); font-size: .95rem; }
.leader__links { margin-top: auto; padding-top: 10px; display: flex; gap: 10px; align-items: center; }
.leader__links a {
  display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 600;
  font-size: .85rem; border: 2px solid var(--ink); border-radius: 999px; padding: 6px 12px; color: var(--ink);
}
.leader__links a:hover { background: var(--ink); color: var(--paper); }
.leader__links svg { width: 15px; height: 15px; }
.leaders__note { margin-top: 28px; }

/* ---------------------------------------------- the loading zone */
.zone { padding: clamp(48px, 8vw, 90px) 20px; }
.event-group { margin-bottom: 40px; }
.event-group h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); }
.event-list { display: flex; flex-direction: column; gap: 14px; }
.event {
  display: grid; grid-template-columns: 92px 1fr; gap: 18px;
  background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px 20px; align-items: start;
}
.event__date {
  text-align: center; font-family: var(--font-display); line-height: 1;
  border-right: 2px solid var(--line); padding-right: 14px;
}
.event__day { font-size: 2rem; font-weight: 700; display: block; }
.event__mon { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--crimson); }
.event__yr  { font-size: .72rem; color: var(--ink-soft); display: block; margin-top: 2px; }
.event__title { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; }
.event__meta { font-size: .88rem; color: var(--ink-soft); margin: 4px 0 6px; display: flex; flex-wrap: wrap; gap: 6px 12px; }
.event__tag {
  font-family: var(--font-display); font-weight: 600; font-size: .72rem; text-transform: uppercase;
  letter-spacing: .05em; padding: 2px 9px; border-radius: 999px; border: 1.5px solid var(--ink);
}
.event__tag--online { background: var(--green); color: #fff; border-color: var(--ink); }
.event__tag--physical { background: var(--crimson); color: #fff; }
.event__tag--hybrid { background: var(--ink); color: var(--cream); }
.event.is-past { opacity: .6; box-shadow: 3px 3px 0 var(--ink); }
@media (max-width: 560px) {
  .event { grid-template-columns: 64px 1fr; gap: 12px; padding: 16px; }
  .event__day { font-size: 1.5rem; }
}

/* ------------------------------------------------ change / fundraise */
.fund { padding: clamp(48px, 8vw, 90px) 20px; }
.fund__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 26px; align-items: start; }
@media (max-width: 820px) { .fund__grid { grid-template-columns: 1fr; } }
.paybill {
  background: var(--ink); color: var(--cream); border: 2px solid var(--ink);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
}
.paybill h3 { color: #fff; }
.paybill__row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid #3a2f27; font-size: 1.05rem; }
.paybill__row:last-child { border-bottom: 0; }
.paybill__row b { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: .02em; }
.paybill__note { font-size: .85rem; color: var(--ink-soft); margin-top: 14px; }
.steps { counter-reset: s; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.steps li { position: relative; padding-left: 44px; }
.steps li::before {
  counter-increment: s; content: counter(s); position: absolute; left: 0; top: -2px;
  width: 30px; height: 30px; border-radius: 999px; background: var(--crimson); color: #fff;
  font-family: var(--font-display); font-weight: 700; display: grid; place-items: center;
}
.thermo { margin: 20px 0; }
.thermo__track { height: 22px; border: 2px solid var(--ink); border-radius: 999px; background: var(--cream-deep); overflow: hidden; }
.thermo__fill { height: 100%; background: var(--green); border-right: 2px solid var(--ink); }
.thermo__labels { display: flex; justify-content: space-between; font-family: var(--font-display); font-weight: 600; margin-top: 8px; font-size: .95rem; }

/* -------------------------------------------------- accountability */
.ledger { padding: clamp(48px, 8vw, 90px) 20px; }
.ledger__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 32px; }
.stat {
  background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px 22px;
}
.stat__label { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }
.stat__value { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 4vw, 2.4rem); margin-top: 4px; }
.stat--in .stat__value { color: var(--green); }
.stat--out .stat__value { color: var(--crimson); }
.table-wrap { overflow-x: auto; border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); }
.ledger table { width: 100%; border-collapse: collapse; background: var(--paper); min-width: 560px; }
.ledger th, .ledger td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.ledger th { background: var(--cream-deep); font-family: var(--font-display); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; }
.ledger td.num, .ledger th.num { text-align: right; font-variant-numeric: tabular-nums; }
.ledger tr:last-child td { border-bottom: 0; }
.ledger tfoot td { font-weight: 700; background: var(--cream-deep); font-family: var(--font-display); }
.ledger__empty { padding: 30px; text-align: center; color: var(--ink-soft); background: var(--paper); }

/* -------------------------------------------------------- prose pages */
.prose { padding: clamp(40px, 7vw, 80px) 20px; max-width: 820px; }
.prose h2 { font-size: clamp(1.3rem, 3.4vw, 1.8rem); margin: 34px 0 10px; }
.prose h2:first-of-type { margin-top: 8px; }
.prose p, .prose li { color: var(--ink); font-size: 1rem; }
.prose ul, .prose ol { margin: 8px 0 8px 22px; }
.prose li { margin: 5px 0; }
.prose code { background: color-mix(in srgb, var(--ink) 10%, transparent); padding: 1px 6px; border-radius: 5px; font-size: .9em; }
.prose .table-wrap-inline {
  display: block; overflow-x: auto; width: 100%; margin: 14px 0;
  border: 2px solid var(--ink); border-radius: 14px;
}
.prose table.table-wrap-inline { border-collapse: collapse; background: var(--paper); }
.prose .table-wrap-inline tr { border-bottom: 1px solid var(--line); }
.prose .table-wrap-inline tr:last-child { border-bottom: 0; }
.prose .table-wrap-inline th, .prose .table-wrap-inline td {
  text-align: left; padding: 10px 13px; vertical-align: top; font-size: .92rem; min-width: 120px;
}
.prose .table-wrap-inline th { background: var(--cream-deep); font-family: var(--font-display); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }

/* --------------------------------------------------- whatsapp float */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 999;
  display: flex; align-items: center; gap: 10px;
  background: #25D366; color: #06331b; text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  padding: 13px 18px; border: 2px solid var(--ink); border-radius: 999px;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .12s ease, box-shadow .12s ease;
  animation: wa-pulse 2.6s ease-out infinite;
}
.wa-float:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); animation: none; }
.wa-float svg { width: 24px; height: 24px; flex: none; }
.wa-float__label { white-space: nowrap; }
@keyframes wa-pulse {
  0%   { box-shadow: 4px 4px 0 var(--ink), 0 0 0 0 rgba(37, 211, 102, .6); }
  70%  { box-shadow: 4px 4px 0 var(--ink), 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 4px 4px 0 var(--ink), 0 0 0 0 rgba(37, 211, 102, 0); }
}
@media (max-width: 560px) {
  .wa-float { right: 14px; bottom: 14px; padding: 13px; }
  .wa-float__label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-float { transition: none; animation: none; }
}

/* -------------------------------------------------------------- motion */
/* Reveal only hides when JS is present (html.js set by an inline head script),
   so no-JS visitors always see the content. */
.reveal { opacity: 1; transform: none; }
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
html.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; }
  .ticker li { animation: none; }
}
