/* ==========================================================
   bawumia.com — v1 static build
   Brand: red #AD0000, blue #00438D (Brand Manual 2025)
   Fonts: Red Hat Display / Red Hat Text stand in for the
   licensed brand fonts (Jano Sans Pro / Aeonik). To switch,
   add @font-face rules and change --font-display / --font-text.
   ========================================================== */

:root {
  --red: #ad0000;
  --red-bright: #d61f26;
  --blue: #00438d;
  --steel: #0e63a8;
  --navy: #062b5e;
  --navy-deep: #041d40;
  --mist: #eaf0f8;
  --mist-2: #d6e2f1;
  --ink: #13213a;
  --ink-soft: #46546b;
  --white: #ffffff;

  --freedom: var(--red);
  --order: var(--steel);
  --innovation: var(--blue);

  --font-display: "Red Hat Display", "Jano Sans Pro", system-ui, sans-serif;
  --font-text: "Red Hat Text", "Aeonik", system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius-pill: 999px;
  --radius-card: 14px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 64px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--red-bright); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; margin: 0 0 .5em; color: var(--navy); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.75rem); font-weight: 900; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; max-width: 66ch; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy); color: #dfe8f5; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.lead { font-size: 1.2rem; color: var(--ink-soft); }
.section--navy .lead { color: #c6d4e8; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  padding: .8em 1.5em; border-radius: var(--radius-pill);
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: #8f0000; color: var(--white); }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--blue:hover { background: var(--navy); color: var(--white); }
.btn--ghost { border-color: currentColor; color: var(--blue); background: transparent; }
.btn--ghost:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn--white { background: var(--white); color: var(--red); }
.btn--white:hover { background: var(--mist); color: var(--red); }

/* ---------- Header & navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--mist-2);
}
.header-bar { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { flex: 0 0 auto; }
.brand img { height: 34px; width: auto; max-width: none; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav-group { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-divider { width: 1px; height: 28px; background: var(--mist-2); margin: 0 10px; }
.nav-item { position: static; }
.nav-top {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-weight: 700; font-size: .98rem;
  color: var(--navy); background: none; border: 0; cursor: pointer;
  padding: 10px 12px; border-radius: 8px; text-decoration: none;
}
.nav-top:hover, .nav-item.open > .nav-top { background: var(--mist); color: var(--navy); }
.nav-top .chev { width: 10px; height: 10px; transition: transform .15s; }
.nav-item.open > .nav-top .chev { transform: rotate(180deg); }
.nav-top--pillar { position: relative; letter-spacing: .02em; }
.nav-top--pillar::after {
  content: ""; position: absolute; left: 12px; right: 30px; bottom: 4px; height: 3px; border-radius: 2px;
  background: var(--c);
}
.nav-top[aria-current="page"] { background: var(--mist); }
.nav-donate { margin-left: 10px; padding: .65em 1.4em; }

/* Mega panel */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white); border-bottom: 1px solid var(--mist-2);
  box-shadow: 0 24px 40px -24px rgba(6, 43, 94, .35);
  display: none;
}
.nav-item.open > .mega { display: block; }
.mega-inner { display: grid; grid-template-columns: 300px 1fr; gap: 40px; padding: 32px var(--gutter) 36px; max-width: var(--wrap); margin: 0 auto; }
.mega-intro { border-left: 4px solid var(--c); padding-left: 20px; }
.mega-intro h3 { font-size: 1.6rem; margin-bottom: .3em; color: var(--c); }
.mega-intro p { color: var(--ink-soft); font-size: .98rem; }
.mega-intro a { font-weight: 700; font-family: var(--font-display); }
.mega-links { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; list-style: none; margin: 0; padding: 0; }
.mega-links a {
  display: block; padding: 14px 16px; border-radius: 10px; text-decoration: none; color: var(--ink);
}
.mega-links a:hover { background: var(--mist); }
.mega-links strong { display: block; font-family: var(--font-display); color: var(--navy); font-size: 1.05rem; }
.mega-links span { display: block; font-size: .93rem; color: var(--ink-soft); line-height: 1.4; margin-top: 2px; }
.mega--simple .mega-inner { grid-template-columns: 300px 1fr; }
.mega--simple .mega-intro { --c: var(--navy); }

.menu-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--navy); }
.menu-toggle svg { width: 28px; height: 28px; }

/* Pillar sub-navigation bar on pillar pages (always visible) */
.subnav {
  position: sticky; top: var(--header-h); z-index: 40;
  background: var(--white); border-bottom: 1px solid var(--mist-2);
}
.subnav ul { position: relative; display: flex; gap: 4px; list-style: none; margin: 0 auto; padding: 0 var(--gutter); max-width: var(--wrap); overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
  display: block; white-space: nowrap; padding: 16px 14px 13px; text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem; color: var(--ink-soft);
  border-bottom: 3px solid transparent;
}
.subnav a:hover { color: var(--navy); }
.subnav a.active { color: var(--navy); border-bottom-color: var(--c); }
.subnav .subnav-pillar { color: var(--c); padding-right: 22px; }

@media (max-width: 1120px) {
  .menu-toggle { display: block; }
  .nav {
    display: none; position: fixed; inset: var(--header-h) 0 0 0; background: var(--white);
    flex-direction: column; align-items: stretch; gap: 0; overflow-y: auto; padding: 8px 0 40px;
  }
  .nav.open { display: flex; }
  .nav-group { flex-direction: column; align-items: stretch; }
  .nav-divider { width: auto; height: 1px; margin: 10px var(--gutter); }
  .nav-top { width: 100%; justify-content: space-between; padding: 14px var(--gutter); border-radius: 0; font-size: 1.1rem; }
  .nav-top--pillar::after { left: var(--gutter); right: auto; width: 28px; bottom: 6px; }
  .mega { position: static; box-shadow: none; border: 0; }
  /* Pillar sub-navigation always shown in the mobile menu */
  .nav-item--pillar > .mega { display: block; }
  .nav-item--pillar > .nav-top .chev { display: none; }
  .mega-inner { grid-template-columns: 1fr; padding: 0 var(--gutter) 12px; gap: 0; }
  .mega-intro { display: none; }
  .mega-links { grid-template-columns: 1fr; gap: 0; border-left: 3px solid var(--c); margin-left: 4px; }
  .mega-links a { padding: 9px 16px; }
  .mega-links span { display: none; }
  .mega-links strong { font-size: 1rem; font-weight: 600; }
  .nav-donate { margin: 18px var(--gutter) 0; justify-content: center; }
}

/* ---------- Draft markers (remove class="draft" from <body> before launch) ---------- */
.tbc { }
body.draft .tbc { background: #fff3b0; box-shadow: 0 0 0 3px #fff3b0; border-radius: 3px; }
body.draft .section--navy .tbc, body.draft .site-footer .tbc, body.draft .band .tbc {
  background: transparent; box-shadow: none; outline: 2px dashed #ffd84a; outline-offset: 4px;
}
.draft-bar { display: none; }
body.draft .draft-bar {
  display: block; background: #fff3b0; color: #5a4600; font-size: .85rem; text-align: center; padding: 6px var(--gutter);
}

/* ---------- Home: hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--white); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: end; min-height: min(78vh, 720px); padding-top: 48px; }
.hero-copy { padding-bottom: clamp(48px, 7vw, 96px); }
.hero-role { font-family: var(--font-display); font-weight: 700; color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 18px; }
.hero h1 { font-size: clamp(3rem, 8.2vw, 7rem); line-height: .95; margin-bottom: .35em; }
.hero h1 span { display: block; }
.hero h1 .w-freedom { color: var(--freedom); }
.hero h1 .w-order { color: var(--order); }
.hero h1 .w-innovation { color: var(--innovation); }
.hero .lead { font-size: 1.25rem; max-width: 34ch; color: var(--ink); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-art { position: relative; align-self: stretch; display: flex; align-items: flex-end; justify-content: center; }
.hero-art .blocks {
  position: absolute; right: -8%; bottom: 0; width: 118%; max-width: none; opacity: 1;
}
.hero-art .portrait {
  position: relative; width: 78%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top;
  border-radius: 200px 200px 0 0;
}

/* ---------- Home: the pillar tree ---------- */
.tree-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.tree-head p { margin: 0; }
.tree { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.branch { --c: var(--blue); }
.branch-root {
  display: inline-block; font-family: var(--font-display); font-weight: 900; letter-spacing: .06em;
  font-size: 1.35rem; color: var(--white); text-decoration: none;
  background: var(--c); padding: 10px 22px; border-radius: 8px 8px 8px 0;
  border: 1.5px solid rgba(255, 255, 255, .35);
}
.branch-root:hover { color: var(--white); filter: brightness(1.12); }
.branch-intro { color: #c6d4e8; font-size: .98rem; margin: 14px 0 6px 22px; padding-left: 20px; border-left: 2px solid var(--red-bright); }
.branch ul { list-style: none; margin: 0 0 0 22px; padding: 6px 0 0; }
.branch li { position: relative; padding: 7px 0 7px 26px; border-left: 2px solid var(--red-bright); }
.branch li:first-child { margin-top: -6px; padding-top: 13px; }
.branch li:last-child {
  border-left: 0; padding-left: 28px;
  background: linear-gradient(var(--red-bright), var(--red-bright)) no-repeat 0 0 / 2px 50%;
}
.branch li::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 20px; height: 2px; background: var(--red-bright);
}
.branch li::after {
  content: ""; position: absolute; left: -5px; top: calc(50% - 4px); width: 8px; height: 8px; border-radius: 50%; background: var(--red-bright);
}
.branch li:last-child { border-left: 0; }
.branch li a {
  display: block; text-decoration: none; color: var(--white);
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  background: var(--c); border: 1.5px solid rgba(255, 255, 255, .3);
  padding: 11px 18px; border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
}
.branch li a:hover { border-color: var(--white); color: var(--white); }
.branch li a small { display: block; font-family: var(--font-text); font-weight: 400; font-size: .86rem; color: rgba(255,255,255,.82); margin-top: 1px; }

/* ---------- Home: meet ---------- */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--flip { grid-template-columns: 7fr 5fr; }
.photo-frame { position: relative; }
.photo-frame img.photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-card); }
.photo-frame .corner { position: absolute; width: 46%; right: -10%; bottom: -8%; }
.traits { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 28px; padding: 0; list-style: none; }
.traits li { font-family: var(--font-display); font-weight: 700; padding: 8px 18px; border-radius: var(--radius-pill); background: var(--mist); color: var(--navy); }
.traits li:nth-child(2) { background: var(--red); color: var(--white); }

/* ---------- Record ---------- */
.record-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px 40px; margin-top: 36px; }
.record-group h3 { font-size: 1.1rem; padding-bottom: 10px; border-bottom: 3px solid var(--red); display: inline-block; }
.record-group ul { list-style: none; margin: 8px 0 0; padding: 0; }
.record-group li { padding: 9px 0; border-bottom: 1px solid var(--mist-2); }
.section--navy .record-group li { border-color: rgba(255,255,255,.14); }

/* ---------- News ---------- */
.news-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 32px; }
.news-item { border-top: 3px solid var(--blue); padding-top: 16px; }
.news-item time { font-size: .9rem; color: var(--ink-soft); }
.news-item h3 { font-size: 1.15rem; margin: 6px 0 10px; }
.news-item h3 a { color: var(--navy); text-decoration: none; }
.news-item h3 a:hover { color: var(--red); }
.section-foot { margin-top: 36px; }

/* ---------- Get involved band ---------- */
.band { background: var(--red); color: var(--white); position: relative; overflow: hidden; }
.band h2 { color: var(--white); }
.band .lead { color: #ffe1e1; }
.band-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; position: relative; }
.band-card { background: rgba(0, 0, 0, .14); border-radius: var(--radius-card); padding: 26px; display: flex; flex-direction: column; }
.band-card h3 { color: var(--white); margin-bottom: .3em; }
.band-card p { color: #ffe9e9; flex: 1; }
.band-card .btn { align-self: flex-start; }
.band-card .figure { font-family: var(--font-display); font-weight: 900; font-size: 2.2rem; line-height: 1; margin-bottom: 10px; }
.ussd { font-family: var(--font-display); font-weight: 900; letter-spacing: .02em; }

/* ---------- Pillar pages ---------- */
.pillar-hero { background: var(--c); color: var(--white); position: relative; overflow: hidden; }
.pillar-hero .wrap { position: relative; padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px); }
.pillar-hero h1 { color: var(--white); letter-spacing: .02em; }
.pillar-hero .lead { color: rgba(255,255,255,.9); font-size: 1.3rem; max-width: 46ch; }
.pillar-hero .waves { position: absolute; right: 0; top: 0; bottom: 0; width: 34%; object-fit: cover; opacity: .9;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); mask-image: linear-gradient(90deg, transparent, #000 40%); }
.pillar-hero .crumb { font-family: var(--font-display); font-weight: 700; color: rgba(255,255,255,.75); margin-bottom: 14px; }
.pillar-hero .crumb a { color: inherit; }

.theme { padding: clamp(48px, 7vw, 88px) 0; border-bottom: 1px solid var(--mist-2); }
.theme:nth-of-type(even) { background: var(--mist); border-bottom: 0; }
.theme-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
.theme h2 { color: var(--navy); }
.theme h2::before { content: ""; display: block; width: 48px; height: 5px; border-radius: 3px; background: var(--c); margin-bottom: 18px; }
.commitments { list-style: none; margin: 0; padding: 0; }
.commitments li { position: relative; padding: 18px 0 18px 44px; border-top: 1px solid var(--mist-2); }
.theme:nth-of-type(even) .commitments li { border-color: #cbd8ea; }
.commitments li:first-child { border-top: 0; padding-top: 4px; }
.commitments li:first-child::before { top: 6px; }
.commitments li::before {
  content: ""; position: absolute; left: 0; top: 20px; width: 26px; height: 22px;
  background: var(--c);
  -webkit-mask: url("../images/icon-signal.svg") no-repeat center / contain; mask: url("../images/icon-signal.svg") no-repeat center / contain;
}
.commitments strong { display: block; font-family: var(--font-display); font-size: 1.12rem; color: var(--navy); margin-bottom: 4px; }
.commitments span { color: var(--ink-soft); }

.pillar-next { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pillar-next a {
  display: block; padding: 28px 30px; border-radius: var(--radius-card); background: var(--c); color: var(--white); text-decoration: none;
}
.pillar-next a:hover { filter: brightness(1.1); color: var(--white); }
.pillar-next small { display: block; opacity: .8; font-size: .95rem; }
.pillar-next strong { font-family: var(--font-display); font-size: 1.8rem; font-weight: 900; letter-spacing: .03em; }

/* ---------- Generic page hero ---------- */
.page-hero { background: var(--mist); }
.page-hero .wrap { padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(40px, 6vw, 72px); }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); }

/* ---------- Cards / lists used on inner pages ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; margin-top: 28px; }
.card { background: var(--white); border: 1px solid var(--mist-2); border-radius: var(--radius-card); padding: 26px; display: flex; flex-direction: column; }
.card p { flex: 1; color: var(--ink-soft); }
.card .btn { align-self: flex-start; }
.card .amount { font-family: var(--font-display); font-weight: 900; font-size: 1.6rem; color: var(--red); margin-bottom: 6px; }
.card--feature { border: 2px solid var(--red); }

.ways { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--mist-2); border-radius: var(--radius-card); overflow: hidden; margin-top: 28px; background: var(--white); }
.ways > div { padding: 24px; border-right: 1px solid var(--mist-2); }
.ways > div:last-child { border-right: 0; }
.ways h3 { font-size: 1.05rem; }
.ways .big { font-family: var(--font-display); font-weight: 900; font-size: 1.9rem; color: var(--blue); line-height: 1.1; margin-bottom: 6px; }
.ways p { font-size: .95rem; color: var(--ink-soft); margin: 0; }

.checklist { list-style: none; padding: 0; margin: 16px 0 0; }
.checklist li { padding: 8px 0 8px 32px; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 14px; width: 14px; height: 8px; border-left: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(-45deg); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.gallery img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; width: 100%; }
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 28px; }
.videos a { text-decoration: none; color: var(--navy); font-family: var(--font-display); font-weight: 700; }
.videos img { aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; margin-bottom: 10px; width: 100%; }

.timeline { list-style: none; margin: 24px 0 0; padding: 0 0 0 24px; border-left: 3px solid var(--mist-2); }
.timeline li { position: relative; padding: 0 0 22px 18px; }
.timeline li::before { content: ""; position: absolute; left: -32px; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: var(--white); border: 3px solid var(--red); }
.timeline .yr { font-family: var(--font-display); font-weight: 800; color: var(--red); display: block; }

form.simple { display: grid; gap: 14px; max-width: 560px; margin-top: 20px; }
form.simple label { font-weight: 600; font-size: .95rem; display: grid; gap: 6px; }
form.simple input, form.simple textarea, form.simple select {
  font: inherit; padding: 12px 14px; border: 1.5px solid #b9c8dd; border-radius: 10px; background: var(--white); color: var(--ink);
}
form.simple input:focus, form.simple textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(0,67,141,.18); }
.form-note { font-size: .9rem; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #b8c7dd; padding: 64px 0 28px; font-size: .95rem; }
.site-footer a { color: #e3ebf6; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.footer-top h4 { color: var(--white); font-size: 1rem; margin-bottom: 12px; }
.footer-top ul { list-style: none; margin: 0; padding: 0; }
.footer-top li { padding: 4px 0; }
.footer-brand img { height: 30px; width: auto; margin-bottom: 18px; }
.footer-brand .slogan { font-family: var(--font-display); font-weight: 900; color: var(--white); font-size: 1.5rem; line-height: 1.15; margin-bottom: 14px; }
.footer-handle { font-family: var(--font-display); font-weight: 700; color: var(--white); }
.socials { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .88rem; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 8px; }
  .hero-copy { padding-bottom: 8px; }
  .hero-art { max-width: 460px; margin: 0 auto; width: 100%; }
  .tree { grid-template-columns: 1fr; gap: 40px; }
  .split, .split--flip, .theme-grid { grid-template-columns: 1fr; }
  .split--flip .photo-frame { order: -1; }
  .news-list, .band-grid, .videos { grid-template-columns: 1fr; }
  .ways { grid-template-columns: 1fr 1fr; }
  .ways > div:nth-child(2) { border-right: 0; }
  .ways > div:nth-child(-n+2) { border-bottom: 1px solid var(--mist-2); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .pillar-hero .waves { width: 40%; opacity: .5; }
  .photo-frame { max-width: 420px; }
}
@media (max-width: 560px) {
  .ways { grid-template-columns: 1fr; }
  .ways > div { border-right: 0; border-bottom: 1px solid var(--mist-2); }
  .gallery { grid-template-columns: 1fr 1fr; }
  .pillar-next { grid-template-columns: 1fr; }
  .pillar-hero .waves { display: none; }
  .photo-frame .corner { right: -4%; }
}

.cards--5 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.cards--5 .card { padding: 22px; }

/* Campaign slogan in the home hero */
.hero h1.slogan-h1 { color: var(--blue); font-size: clamp(3.4rem, 9vw, 7.6rem); line-height: .92; letter-spacing: -0.035em; max-width: 7.5ch; }
.hero h1.slogan-h1 .dot { color: var(--red); }
.hero h1.slogan-h1 .nw { white-space: nowrap; }
.hero h1.slogan-h1 { max-width: none; }
.hero h1.slogan-h1 span { display: inline; }

/* ---------- Adopt a polling station ---------- */
.adopt-hero { background: var(--navy); position: relative; overflow: hidden; }
.adopt-hero h1 { color: var(--white); }
.adopt-hero .lead { color: #c6d4e8; max-width: 52ch; }
.adopt-hero::after {
  content: ""; position: absolute; right: -40px; bottom: -30px; width: 340px; height: 215px;
  background: url("../images/elephant.png") no-repeat right bottom / contain; opacity: .14; pointer-events: none;
}
.adopt { padding: 40px 0 96px; background: var(--mist); }
.adopt-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
.finder { background: var(--white); border-radius: var(--radius-card); padding: 24px; border: 1px solid var(--mist-2); min-width: 0; }
.finder-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--navy); }
.field--search { grid-column: 1 / -1; }
.field input, .field select {
  font: inherit; font-weight: 400; color: var(--ink); padding: 12px 14px; border: 1.5px solid #b9c8dd; border-radius: 10px; background: var(--white); width: 100%;
}
.field--search input { font-size: 1.1rem; padding: 14px 16px; }
.field input:focus, .field select:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(0,67,141,.18); }
.finder-status { margin: 18px 0 8px; color: var(--ink-soft); font-size: .95rem; max-width: none; }
.results { list-style: none; margin: 0; padding: 0; }
.result { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--mist-2); }
.result-main { flex: 1; min-width: 0; }
.result-name { display: block; color: var(--navy); font-family: var(--font-display); font-size: 1rem; line-height: 1.3; overflow-wrap: anywhere; }
.result-meta { display: block; font-size: .88rem; color: var(--ink-soft); margin-top: 2px; }
.result-add { flex: none; padding: .55em 1.2em; background: var(--white); color: var(--red); border-color: var(--red); min-width: 92px; justify-content: center; }
.result-add:hover { background: var(--red); color: var(--white); }
.result-add.is-on { background: var(--red); color: var(--white); }
.results-more { margin-top: 14px; }

.basket { position: sticky; top: calc(var(--header-h) + 20px); background: var(--white); border-radius: var(--radius-card);
  border: 2px solid var(--red); padding: 24px; }
.basket h2 { font-size: 1.4rem; margin-bottom: 12px; }
.basket-empty { color: var(--ink-soft); font-size: .95rem; }
.basket-list { list-style: none; margin: 0; padding: 0; }
.basket-item { padding: 12px 0; border-top: 1px solid var(--mist-2); }
.basket-item:first-child { border-top: 0; padding-top: 0; }
.basket-head { display: flex; gap: 10px; align-items: flex-start; justify-content: space-between; }
.basket-head strong { display: block; font-family: var(--font-display); color: var(--navy); font-size: .95rem; line-height: 1.3; overflow-wrap: anywhere; }
.basket-remove { background: none; border: 0; color: var(--ink-soft); text-decoration: underline; font: inherit; font-size: .85rem; cursor: pointer; padding: 2px 0; flex: none; }
.basket-remove:hover { color: var(--red); }
.basket-amount { display: flex; gap: 8px; margin-top: 8px; }
.basket-amount select, .basket-amount input { font: inherit; font-size: .95rem; padding: 8px 10px; border: 1.5px solid #b9c8dd; border-radius: 8px; background: var(--white); min-width: 0; }
.basket-amount select { flex: 1; }
.basket-amount input { width: 120px; }
.basket-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px solid var(--navy); margin-top: 12px; padding-top: 12px; font-family: var(--font-display); }
.basket-total strong { font-size: 1.6rem; color: var(--red); font-weight: 900; }
.basket-form { display: grid; gap: 12px; margin-top: 18px; }
.declare { border: 0; padding: 0; margin: 4px 0 0; display: grid; gap: 8px; font-size: .9rem; }
.declare legend { font-weight: 700; color: var(--navy); margin-bottom: 6px; padding: 0; }
.declare label { display: flex; gap: 10px; align-items: flex-start; line-height: 1.4; }
.declare input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--red); flex: none; }
.form-error { color: var(--red); font-weight: 600; font-size: .92rem; margin: 0; }
.btn--block { width: 100%; justify-content: center; font-size: 1.1rem; padding: .9em 1.5em; }
.basket-ussd { margin: 18px 0 0; font-size: .9rem; color: var(--ink-soft); }

.basket-bar { display: none; }
.basket-bar.is-away { transform: translateY(110%); }
.basket-bar { transition: transform .2s; }
.confirm { border: 0; border-radius: var(--radius-card); padding: 28px; max-width: 520px; width: calc(100% - 32px); }
.confirm::backdrop { background: rgba(4, 29, 64, .55); }
.confirm-list { padding-left: 18px; font-size: .95rem; }

@media (max-width: 999px) {
  .adopt-grid { grid-template-columns: 1fr; }
  .basket { position: static; scroll-margin-top: calc(var(--header-h) + 12px); }
  .basket-bar:not([hidden]) {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; align-items: center; justify-content: space-between; gap: 12px;
    background: var(--red); color: var(--white); padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    font-family: var(--font-display); font-weight: 700; box-shadow: 0 -8px 24px rgba(4, 29, 64, .2);
  }
  .basket-bar .btn { padding: .6em 1.1em; }
  .adopt { padding-bottom: 120px; }
}
@media (max-width: 560px) {
  .finder { padding: 16px; }
  .finder-controls { grid-template-columns: 1fr; }
  .result { align-items: flex-start; }
  .result-add { min-width: 78px; padding: .5em .9em; }
}

/* ---------- Videos (YouTube feed) ---------- */
.video-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 22px; margin-top: 28px; }
.video { min-width: 0; }
.video-play, .video iframe { position: relative; display: block; aspect-ratio: 16 / 9; width: 100%; border-radius: 12px; overflow: hidden; background: var(--navy-deep); border: 0; }
.video-play img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.video-play:hover img { transform: scale(1.03); }
.video-btn { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--red); box-shadow: 0 6px 20px rgba(0,0,0,.35); }
.video-btn::after { content: ""; position: absolute; left: 26px; top: 20px; border-style: solid; border-width: 12px 0 12px 19px; border-color: transparent transparent transparent #fff; }
.video h3 { font-size: 1.02rem; margin: 12px 0 4px; line-height: 1.3; }
.video time { font-size: .88rem; color: var(--ink-soft); }
.section--navy .video h3 { color: var(--white); }
.section--navy .video time { color: #a9bcd8; }
.btn--white-ghost { border-color: rgba(255,255,255,.7); color: var(--white); background: transparent; }
.btn--white-ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

/* ---------- Social posts ---------- */
.post-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 28px; }
.post-list:empty { display: none; }
.post a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--ink); background: var(--white); border: 1px solid var(--mist-2); border-radius: var(--radius-card); overflow: hidden; }
.post a:hover { border-color: var(--blue); color: var(--ink); }
.post img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.post-body { padding: 16px 18px 18px; }
.post-src { display: block; font-family: var(--font-display); font-weight: 700; font-size: .88rem; color: var(--blue); margin-bottom: 6px; }
.post--instagram .post-src { color: var(--red); }
.post-body p { margin: 0; font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.post-empty { color: var(--ink-soft); }

/* ---------- Speeches ---------- */
.speech-search { max-width: 520px; margin-top: 22px; }
.speeches-wrap { max-width: 880px; }
.speech-year h2 { font-size: 1.5rem; padding-bottom: 8px; border-bottom: 3px solid var(--red); display: inline-block; margin: 8px 0 6px; }
.speech-year + .speech-year { margin-top: 36px; }
.speech-list { list-style: none; margin: 0; padding: 0; }
.speech-list li { border-bottom: 1px solid var(--mist-2); }
.speech-list a { display: block; padding: 16px 0; text-decoration: none; color: var(--ink); }
.speech-list a:hover strong { color: var(--red); }
.speech-list time { display: block; font-size: .88rem; color: var(--ink-soft); }
.speech-list strong { display: block; font-family: var(--font-display); color: var(--navy); font-size: 1.12rem; line-height: 1.3; margin: 2px 0 4px; }
.speech-list span { display: block; color: var(--ink-soft); font-size: .95rem; max-width: 70ch; }
.speech-books { margin-top: 56px; padding: 28px; background: var(--mist); border-radius: var(--radius-card); }
.book-list { margin: 8px 0 0; padding-left: 20px; }
.book-list li { padding: 5px 0; font-family: var(--font-display); font-weight: 700; color: var(--navy); }

.speech .page-hero h1 { font-size: clamp(1.9rem, 4vw, 3rem); max-width: 26ch; }
.speech .crumb { font-family: var(--font-display); font-weight: 700; margin-bottom: 10px; }
.speech-meta { color: var(--ink-soft); margin: 0; }
.prose { max-width: 68ch; padding: 40px 0 24px; font-size: 1.08rem; line-height: 1.75; }
.prose p { margin: 0 0 1.1em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .35em; }
.prose h2, .prose h3, .prose h4 { margin: 1.6em 0 .6em; }
.prose table { border-collapse: collapse; width: 100%; margin: 0 0 1.4em; font-size: .95rem; display: block; overflow-x: auto; }
.prose td, .prose th { border: 1px solid var(--mist-2); padding: 8px 10px; vertical-align: top; }
.prose tr:first-child td { background: var(--mist); font-weight: 600; }
.speech-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 24px 0 72px; border-top: 1px solid var(--mist-2); max-width: 68ch; }
.speech-nav a { display: block; padding: 16px 18px; border-radius: 12px; background: var(--mist); text-decoration: none; color: var(--navy); font-family: var(--font-display); font-weight: 700; line-height: 1.3; }
.speech-nav a:hover { background: var(--mist-2); color: var(--navy); }
.speech-nav small { display: block; font-weight: 500; color: var(--ink-soft); margin-bottom: 4px; }
.speech-nav-next { grid-column: 2; text-align: right; }

@media (max-width: 960px) {
  .video-list, .post-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .video-list, .post-list { grid-template-columns: 1fr; }
  .speech-nav { grid-template-columns: 1fr; }
  .speech-nav-next { grid-column: 1; text-align: left; }
}

/* ---------- Pledge ---------- */
.pledge-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.pledge-form, .pledge-done { background: var(--white); border: 1px solid var(--mist-2); border-radius: var(--radius-card); padding: 28px; display: grid; gap: 18px; }
.pledge-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 14px; }
.pledge-form legend { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--navy); margin-bottom: 10px; padding: 0; }
.pledge-form fieldset + fieldset { border-top: 1px solid var(--mist-2); padding-top: 20px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.money-input { display: flex; gap: 0; }
.money-input select { width: 92px; flex: none; border-radius: 10px 0 0 10px; border-right: 0; }
.money-input input { border-radius: 0 10px 10px 0; min-width: 0; }
.pledge-sum { margin: 0; font-family: var(--font-display); font-weight: 700; color: var(--red); min-height: 1.4em; }
.pledge-done h2 { margin: 0; }
.pledge-aside { position: sticky; top: calc(var(--header-h) + 20px); }
.pledge-aside h2 { font-size: 1.3rem; }
.steps { padding-left: 22px; margin: 0 0 16px; }
.steps li { padding: 6px 0; color: var(--ink-soft); }
.steps strong { color: var(--navy); }
@media (max-width: 960px) {
  .pledge-grid { grid-template-columns: 1fr; }
  .pledge-aside { position: static; order: -1; }
}
@media (max-width: 560px) {
  .row-2 { grid-template-columns: 1fr; }
  .pledge-form, .pledge-done { padding: 18px; }
}

/* ---------- Video cards (no thumbnails: brand face) + large player ---------- */
.video-play {
  background: var(--navy) url("../images/pattern-blocks.jpg") center / cover;
  box-shadow: inset 0 0 0 2000px rgba(6, 43, 94, .78);
}
.video-play:hover { box-shadow: inset 0 0 0 2000px rgba(173, 0, 0, .55); }
.section--navy .video-play { box-shadow: inset 0 0 0 2000px rgba(4, 29, 64, .7), 0 0 0 1px rgba(255,255,255,.15); }
.video-btn { transition: transform .15s; }
.video-play:hover .video-btn { transform: scale(1.08); }
html.player-open { overflow: hidden; }
.player { border: 0; padding: 0; background: transparent; width: min(1200px, 94vw); max-width: none; max-height: 96vh; overflow: visible; }
.player::backdrop { background: rgba(2, 14, 33, .88); }
.player-inner { display: grid; gap: 10px; }
.player-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.player-title { color: var(--white); font-size: clamp(1rem, 2vw, 1.3rem); margin: 0; line-height: 1.3; }
.player-close { flex: none; background: var(--white); color: var(--navy); border: 0; border-radius: var(--radius-pill); padding: 10px 18px; font: 700 1rem var(--font-display); cursor: pointer; }
.player-close:hover { background: var(--red); color: var(--white); }
.player-close span { font-size: 1.3em; line-height: 0; vertical-align: -2px; margin-right: 2px; }
.player-frame { aspect-ratio: 16 / 9; width: 100%; max-height: calc(96vh - 110px); background: #000; border-radius: 10px; overflow: hidden; margin: 0 auto; }
.player-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.player-foot { margin: 0; text-align: right; font-size: .9rem; }
.player-foot a { color: #c6d4e8; }
@media (max-width: 560px) {
  .player { width: 100vw; }
  .player-inner { padding: 0 8px; }
  .player-frame { border-radius: 0; margin: 0 -8px; }
}

/* ---------- His story: chapters ---------- */
.chapters { margin-top: clamp(40px, 6vw, 72px); max-width: 980px; }
.chapters-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 12px; }
.chapters-head h3 { font-size: 1.5rem; margin: 0; }
.chapter { border-top: 1px solid var(--mist-2); }
.chapter:last-child { border-bottom: 1px solid var(--mist-2); }
.chapter summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 0; position: relative; display: grid; grid-template-columns: 170px 1fr; column-gap: 24px; }
.chapter summary::-webkit-details-marker { display: none; }
.chapter summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%;
  background: var(--mist) no-repeat center / 14px 14px;
  background-image: linear-gradient(var(--navy), var(--navy)), linear-gradient(var(--navy), var(--navy));
  background-size: 14px 2.5px, 2.5px 14px; transition: transform .2s, background-color .2s;
}
.chapter[open] summary::after { transform: rotate(45deg); background-color: var(--red); background-image: linear-gradient(#fff, #fff), linear-gradient(#fff, #fff); }
.chapter summary:hover .ch-title { color: var(--red); }
.ch-years { grid-row: span 2; font-family: var(--font-display); font-weight: 800; color: var(--red); padding-top: 4px; }
.ch-title { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; color: var(--navy); line-height: 1.25; }
.ch-sub { color: var(--ink-soft); font-size: .98rem; }
.ch-body { display: grid; grid-template-columns: 170px 1fr; column-gap: 24px; padding: 0 0 28px; }
.ch-text { grid-column: 2; max-width: 66ch; }
.ch-photo { grid-column: 2; margin: 0 0 18px; }
.ch-photo img { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius-card); }
.ch-quote { margin: 20px 0 4px; padding: 18px 22px; border-left: 5px solid var(--red); background: var(--mist); border-radius: 0 12px 12px 0; }
.ch-quote p { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--navy); line-height: 1.45; margin: 0 0 8px; }
.ch-quote cite { font-style: normal; font-size: .9rem; color: var(--ink-soft); }
@media (max-width: 700px) {
  .chapter summary, .ch-body { grid-template-columns: 1fr; }
  .ch-years { grid-row: auto; padding: 0 0 2px; font-size: .92rem; }
  .ch-text, .ch-photo { grid-column: 1; }
}

/* ---------- Header: Log in link ---------- */
.nav-login { font-family: var(--font-display); font-weight: 700; font-size: .98rem; color: var(--navy); text-decoration: none; padding: 10px 12px; border-radius: 8px; margin-left: 4px; }
.nav-login:hover { background: var(--mist); color: var(--navy); }
@media (max-width: 1120px) {
  .nav-login { padding: 14px var(--gutter); font-size: 1.1rem; border-radius: 0; margin: 0; }
}

/* ---------- Donate: latest donors wall ---------- */
.donor-wall { background: var(--navy-deep); color: var(--white); padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.donor-wall::before { content: ""; position: absolute; inset: 0 0 auto auto; width: 42%; height: 100%; background: url("../images/pattern-waves.jpg") right center / cover; opacity: .18;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); pointer-events: none; }
.donor-wall .wrap { position: relative; }
.donor-wall h1 { color: var(--white); font-size: clamp(2.1rem, 5vw, 3.8rem); max-width: 18ch; line-height: 1.02; margin-bottom: 32px; }
.donor-wall h1 span { display: block; color: #ff6b6b; }
.wall-panel { background: var(--navy); border-radius: var(--radius-card); padding: clamp(16px, 3vw, 28px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.wall-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
.wall-head h2 { color: var(--white); font-size: 1.5rem; margin: 0; }
.wall-table { background: var(--white); color: var(--ink); border-radius: 10px; max-height: 470px; overflow-y: auto; overscroll-behavior: contain; }
.wall-row { display: grid; grid-template-columns: 1.4fr .8fr 1.1fr 1fr; gap: 16px; align-items: center; padding: 16px 24px; border-top: 1px solid var(--mist-2); }
.wall-row--head { position: sticky; top: 0; z-index: 1; background: #f2f5f9; border-top: 0; font-family: var(--font-display); font-weight: 800; color: var(--navy); }
.wall-date small { display: block; color: #7a8aa3; font-size: .9rem; }
.wall-amount { font-family: var(--font-display); font-weight: 700; color: var(--navy); }
.wall-empty, .wall-sample { margin: 0; padding: 22px 24px; color: var(--ink-soft); max-width: none; }
.wall-sample { padding: 10px 24px; background: #fff3b0; color: #5a4600; font-size: .9rem; border-top: 1px solid #f0de8a; }
.wall-note { margin: 14px 0 0; font-size: .9rem; color: #a9bcd8; }
@media (max-width: 700px) {
  .wall-head { flex-direction: column; align-items: flex-start; }
  .wall-row { grid-template-columns: 1fr auto; gap: 2px 12px; padding: 14px 16px; }
  .wall-row--head { display: none; }
  .wall-date { grid-column: 1; }
  .wall-amount { grid-column: 2; grid-row: 1; text-align: right; }
  .wall-name { display: none; }
  .wall-phone { grid-column: 1 / -1; font-size: .92rem; color: var(--ink-soft); }
  .wall-table { max-height: 420px; }
}

/* ---------- Log in ---------- */
.login-section { min-height: 60vh; }
.login-card { max-width: 480px; margin: 0 auto; background: var(--white); border: 1px solid var(--mist-2); border-radius: var(--radius-card); padding: clamp(24px, 4vw, 40px); }
.login-card h1 { font-size: clamp(2rem, 4vw, 2.6rem); }
.login-card .lead { font-size: 1.05rem; }
.login-form { display: grid; gap: 14px; margin-top: 12px; }
.login-sent { margin: 0; font-weight: 600; color: var(--navy); }
.login-new { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--mist-2); font-size: .95rem; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--blue); text-decoration: underline; cursor: pointer; }

/* ---------- My account ---------- */
.page-hero .btn { margin-top: 6px; }
.acct-wrap { max-width: 900px; }
.acct-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-bottom: 28px; }
.acct-tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 18px 10px; text-align: center; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: .95rem; line-height: 1.25; color: var(--navy); background: var(--white); border: 1px solid var(--mist-2); border-radius: var(--radius-card); transition: border-color .15s, box-shadow .15s; }
.acct-tab i { font-size: 26px; color: var(--blue); }
.acct-tab:hover { border-color: var(--blue); color: var(--navy); box-shadow: 0 6px 18px -10px rgba(6,43,94,.45); }
.acct-tab.is-active { border: 2px solid var(--red); padding: 17px 9px; }
.acct-tab.is-active i { color: var(--red); }
.acct-panel { background: var(--white); border: 1px solid var(--mist-2); border-radius: var(--radius-card); padding: clamp(18px, 3vw, 32px); min-height: 260px; }
.acct-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.acct-head h2 { margin: 0; font-size: 1.5rem; }
.acct-note { margin: 16px 0 0; color: var(--ink-soft); max-width: none; }
.acct-list { list-style: none; margin: 12px 0 0; padding: 0; }
.acct-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 16px 0; border-top: 1px solid var(--mist-2); }
.acct-row:first-child { border-top: 0; }
.acct-main { display: block; font-family: var(--font-display); font-weight: 800; color: var(--navy); overflow-wrap: anywhere; }
.acct-main--plain { font-weight: 600; }
.acct-sub { display: block; color: var(--ink-soft); font-size: .95rem; }
.acct-side { text-align: right; flex-shrink: 0; }
.acct-status { display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; color: #1d7a46; font-size: .92rem; font-weight: 600; }
.acct-total { border-top: 2px solid var(--navy); margin-top: 4px; align-items: center; }
.acct-empty { text-align: center; padding: 32px 0 8px; }
.acct-empty i { display: block; margin-bottom: 10px; font-size: 48px; color: var(--mist-2); }
.acct-empty p { margin: 0 auto 18px; }
@media (max-width: 560px) {
  .acct-row { flex-direction: column; gap: 6px; }
  .acct-side { text-align: left; }
  .acct-total { flex-direction: row; }
}

/* Keep every top-level menu label on one line */
.nav-top, .nav-login, .nav-donate { white-space: nowrap; }
@media (min-width: 1121px) and (max-width: 1320px) {
  .nav-top { padding: 10px 8px; font-size: .94rem; }
  .nav-divider { margin: 0 6px; }
  .nav-login { padding: 10px 8px; font-size: .94rem; }
  .nav-donate { margin-left: 6px; padding: .6em 1.15em; }
  .brand img { height: 30px; }
  .header-bar { gap: 14px; }
}
