/* ============================================================
   Linktree pages — shared core + theme variants
   ============================================================ */

:root {
  --bg: #0b0b0d;
  --ink: #f4efe6;
  --ink-dim: rgba(244, 239, 230, 0.62);
  --line: rgba(244, 239, 230, 0.14);
  --card: rgba(255, 255, 255, 0.06);
  --card-hover: rgba(255, 255, 255, 0.10);
  --accent: #ff0a54;
  --accent-fg: #ffffff;
  --radius: 4px;
  --radius-pill: 999px;
  --serif: "Playfair Display", "Cormorant Garamond", "Didot", "Bodoni 72", "Times New Roman", serif;
  --serif-display: "Cormorant Garamond", "Playfair Display", "Didot", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.28;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
body.no-grain::after { display: none; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }

/* ============================================================
   Topbar — floating glass pills, always visible
   ============================================================ */
.topbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 60;
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px;
  background: transparent;
  pointer-events: none;
}
.topbar a, .topbar button {
  pointer-events: auto;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: #fff;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(20, 20, 24, 0.45);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
}
.topbar a:hover, .topbar button:hover {
  background: rgba(20, 20, 24, 0.7);
  border-color: rgba(255, 255, 255, 0.4);
}
.topbar a:active, .topbar button:active { transform: scale(0.97); }
.topbar svg { width: 13px; height: 13px; }

/* Push page content below the floating topbar */
.stage { padding-top: 0; }
.picker-wrap { padding-top: 80px !important; }

/* Toast */
.toast {
  position: fixed; bottom: 28px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  padding: 12px 22px;
  background: var(--ink); color: var(--bg);
  font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  border-radius: 999px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 200;
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============================================================
   Layout
   ============================================================ */
.stage { min-height: 100vh; display: flex; flex-direction: column; align-items: center; padding-bottom: 80px; }
.frame { width: 100%; max-width: 580px; padding: 0 22px; }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; width: 100%; height: 360px; overflow: hidden; margin-bottom: 28px; }
.hero-img { position: absolute; inset: 0; background-size: cover; background-position: center; filter: contrast(1.05) saturate(1.05); }
.hero-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,13,0) 30%, rgba(11,11,13,0.55) 70%, var(--bg) 100%); }
.hero-meta { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; padding: 0 22px; z-index: 2; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 10.5px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 3px;
  color: var(--ink-dim);
}
.eyebrow::before, .eyebrow::after { content: ""; width: 18px; height: 1px; background: var(--ink-dim); }

.display {
  font-family: var(--serif);
  font-weight: 400; font-style: italic;
  font-size: clamp(46px, 12vw, 72px);
  line-height: 0.95; letter-spacing: -0.01em;
  margin-top: 10px;
}
.tagline { margin: 14px auto 0; font-size: 13.5px; line-height: 1.55; color: var(--ink-dim); max-width: 380px; }

/* Avatar profile (Madonna-style) */
.avatar-profile {
  width: 128px; height: 128px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff0a54, #b800a0 60%, #4b0082);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: 64px; color: #fff;
  box-shadow: 0 20px 50px -12px rgba(0,0,0,0.55), 0 0 0 2px rgba(255,255,255,0.18);
  position: relative;
  z-index: 2;
}
.verified {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 8px;
  font-size: 12px;
  color: var(--ink-dim);
}
.verified .badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px;
  background: #d4af37;
  color: #000;
  border-radius: 50%;
  font-size: 10px; font-weight: 800;
}

/* Logo crest in hero (Raising Malawi) */
.crest {
  width: 130px; height: 130px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: #f5ede0;
  display: flex; align-items: center; justify-content: center;
  padding: 12px;
  box-shadow: 0 18px 44px -10px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.12);
  position: relative; z-index: 2;
}
.crest img { width: 100%; height: 100%; object-fit: contain; }

/* Wordmark style — Raising Malawi puts logo top-left of hero */
.wordmark {
  position: absolute; top: 16px; left: 18px;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: 18px; color: #f5ede0; z-index: 3;
}
.wordmark img { width: 32px; height: 32px; }
.wordmark.dark { color: #2a4759; }
.wordmark.dark img { filter: none; }

/* ============================================================
   Primary CTA
   ============================================================ */
.cta {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 22px 24px; margin: 6px 0 4px;
  background: var(--accent); color: var(--accent-fg);
  font-weight: 600; font-size: 15px; letter-spacing: 0.5px; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  position: relative; overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.25s ease;
  box-shadow: 0 18px 48px -16px rgba(255, 10, 84, 0.55);
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.18) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.7s ease;
}
.cta:hover::before { transform: translateX(100%); }
.cta:hover { transform: translateY(-1px); }
.cta:active { transform: translateY(0); }
.cta .arrow { transition: transform 0.2s ease; }
.cta:hover .arrow { transform: translateX(4px); }
.cta-sub { display: block; font-size: 11px; font-weight: 500; letter-spacing: 2px; color: rgba(255,255,255,0.75); margin-top: 2px; text-transform: uppercase; }

/* ============================================================
   Section rule
   ============================================================ */
.rule { display: flex; align-items: center; gap: 14px; margin: 36px 0 14px; }
.rule::before, .rule::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.rule span { font-size: 10.5px; letter-spacing: 3.5px; text-transform: uppercase; color: var(--ink-dim); font-weight: 500; }

/* ============================================================
   LINKTREE-STYLE CARD: row[ link + 3-dot menu ]
   ============================================================ */
.links { display: flex; flex-direction: column; gap: 10px; }

.link-row {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.12s ease;
  overflow: visible;
}
.link-row:hover { background: var(--card-hover); border-color: rgba(244,239,230,0.28); }
.link-row.featured { background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04)); border-color: rgba(244,239,230,0.22); }

.link-row .link {
  display: flex; align-items: center; gap: 14px;
  width: 100%;
  padding: 12px 56px 12px 12px;
  color: var(--ink);
  text-align: center;
}
.link-row.no-thumb .link { padding-left: 24px; }

.link-row .thumb {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #444, #222);
  display: inline-flex; align-items: center; justify-content: center;
  position: relative;
}
.link-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.link-row .thumb svg { width: 22px; height: 22px; color: #fff; }
.link-row .thumb .tinit {
  font-family: var(--serif); font-style: italic;
  font-size: 22px; color: rgba(255,255,255,0.95);
}

.link-row .label {
  flex: 1;
  font-size: 15px; font-weight: 600;
  letter-spacing: 0.2px;
  text-align: center;
}
.link-row .sub {
  display: block;
  font-size: 11px; font-weight: 400;
  color: var(--ink-dim);
  letter-spacing: 0.8px; text-transform: uppercase;
  margin-top: 3px;
}

/* 3-dot menu trigger */
.link-dots {
  position: absolute; top: 50%; right: 14px;
  transform: translateY(-50%);
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--ink-dim);
  transition: background 0.15s ease, color 0.15s ease;
}
.link-dots:hover { background: rgba(255,255,255,0.10); color: var(--ink); }
.link-dots svg { width: 18px; height: 18px; }

/* Per-link popover */
.link-pop {
  position: absolute; top: calc(100% + 6px); right: 8px;
  z-index: 30;
  min-width: 180px;
  padding: 6px;
  background: #1a1a1a;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 20px 50px -10px rgba(0,0,0,0.7);
  opacity: 0; transform: translateY(-6px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.link-pop.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.link-pop button, .link-pop a {
  display: flex; align-items: center; gap: 12px;
  width: 100%;
  padding: 10px 12px;
  font-size: 13px; font-weight: 500;
  color: var(--ink);
  border-radius: 6px;
  text-align: left;
}
.link-pop button:hover, .link-pop a:hover { background: rgba(255,255,255,0.08); }
.link-pop svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--ink-dim); }

/* Thumb brand colors (icon backgrounds) */
.thumb.spotify { background: #1db954; }
.thumb.apple   { background: #fa233b; }
.thumb.youtube { background: #ff0000; }
.thumb.tiktok  { background: #000; }
.thumb.x       { background: #000; }
.thumb.fb      { background: #1877f2; }
.thumb.ig      { background: linear-gradient(135deg, #feda77, #f58529, #dd2a7b, #8134af, #515bd4); }
.thumb.soundcloud { background: #ff5500; }
.thumb.store   { background: linear-gradient(135deg, #d4af37, #8b6914); }
.thumb.tour    { background: linear-gradient(135deg, #ff0a54, #b800a0); }
.thumb.cause   { background: linear-gradient(135deg, #2a4759, #1a3040); }
.thumb.donate  { background: linear-gradient(135deg, #d8721f, #8b2e2a); }
.thumb.heart   { background: linear-gradient(135deg, #c8651b, #8b2e2a); }
.thumb.globe   { background: linear-gradient(135deg, #2a4759, #1a3040); }

/* ============================================================
   Donation tiers
   ============================================================ */
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 6px 0 12px; }
.tier {
  padding: 16px 6px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.tier:hover { background: var(--card-hover); border-color: var(--accent); }
.tier-amt { font-family: var(--serif); font-style: italic; font-size: 22px; letter-spacing: -0.01em; line-height: 1; }
.tier-lbl { display: block; margin-top: 6px; font-size: 9.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-dim); }

/* ============================================================
   Socials row
   ============================================================ */
.socials { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 28px; }
.social {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 50%;
  color: var(--ink);
  transition: background 0.18s ease, border-color 0.18s ease;
}
.social:hover { background: var(--card-hover); border-color: rgba(244,239,230,0.32); }
.social svg { width: 16px; height: 16px; }

/* ============================================================
   Footer
   ============================================================ */
footer.foot { text-align: center; font-size: 10.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-dim); margin-top: 40px; line-height: 1.9; }
footer .mark { font-family: var(--serif); font-style: italic; font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--ink); display: block; margin-bottom: 6px; }

/* ============================================================
   Reveal
   ============================================================ */
.reveal { opacity: 0; transform: translateY(8px); animation: rise 0.7s ease forwards; }
.reveal.d1 { animation-delay: 0.05s; }
.reveal.d2 { animation-delay: 0.12s; }
.reveal.d3 { animation-delay: 0.20s; }
.reveal.d4 { animation-delay: 0.28s; }
.reveal.d5 { animation-delay: 0.36s; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   THEME: Madonna — Editorial (linktree-style pill cards on black)
   ============================================================ */
body.madonna { background: #000; }
body.madonna .link-row { border-radius: var(--radius-pill); background: rgba(255,255,255,0.08); border-color: transparent; }
body.madonna .link-row:hover { background: rgba(255,255,255,0.14); }
body.madonna .link-row.featured { background: linear-gradient(135deg, rgba(255,10,84,0.18), rgba(255,255,255,0.10)); }
body.madonna .link-row .link { padding: 10px 56px 10px 10px; }
body.madonna .hero-img {
  background:
    radial-gradient(800px 500px at 30% 30%, rgba(255, 10, 84, 0.55), transparent 60%),
    radial-gradient(700px 500px at 80% 70%, rgba(120, 0, 100, 0.6), transparent 60%),
    linear-gradient(135deg, #1a0008 0%, #2c0014 50%, #0a0006 100%);
}
body.madonna .hero-img::before {
  content: "M";
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-style: italic;
  font-size: 380px; line-height: 1;
  color: rgba(255, 255, 255, 0.06);
}

/* ============================================================
   THEME: Madonna — Poster
   ============================================================ */
body.poster {
  --bg: #ff0a54; --ink: #fff8e7;
  --ink-dim: rgba(255, 248, 231, 0.72);
  --line: rgba(255, 248, 231, 0.22);
  --card: rgba(0, 0, 0, 0.15); --card-hover: rgba(0, 0, 0, 0.28);
  --accent: #000; --accent-fg: #fff8e7;
  background: var(--bg);
}
body.poster .hero { height: 420px; }
body.poster .hero-img {
  background:
    repeating-linear-gradient(45deg, transparent 0 18px, rgba(0,0,0,0.06) 18px 36px),
    radial-gradient(circle at 70% 30%, #ffd700 0%, transparent 35%),
    radial-gradient(circle at 25% 75%, #00d9ff 0%, transparent 35%),
    #ff0a54;
}
body.poster .hero-img::before {
  content: "MADONNA"; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: 14vw; line-height: 0.9; letter-spacing: -0.03em;
  color: #000; mix-blend-mode: multiply; white-space: nowrap;
}
body.poster .hero-veil { display: none; }
body.poster .display { font-style: normal; font-weight: 700; text-transform: uppercase; letter-spacing: -0.03em; }
body.poster .cta { background: #000; color: #fff8e7; box-shadow: 6px 6px 0 #000, 0 0 0 2px #fff8e7; border-radius: 0; }
body.poster .cta:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 #000, 0 0 0 2px #fff8e7; }
body.poster .link-row { border-radius: 0; border-width: 2px; border-color: #000; background: #fff8e7; }
body.poster .link-row .link { color: #000; }
body.poster .link-row .sub { color: rgba(0,0,0,0.55); }
body.poster .link-row:hover { background: #000; }
body.poster .link-row:hover .link, body.poster .link-row:hover .sub, body.poster .link-row:hover .link-dots { color: #fff8e7; }
body.poster .link-row.featured { background: #000; }
body.poster .link-row.featured .link, body.poster .link-row.featured .sub, body.poster .link-row.featured .link-dots { color: #ffd700; }
body.poster .rule::before, body.poster .rule::after { background: rgba(0,0,0,0.4); }
body.poster .rule span { color: #000; font-weight: 700; }
body.poster .social { background: #000; color: #fff8e7; border-color: #000; }
body.poster .social:hover { background: #ffd700; color: #000; }
body.poster footer.foot { color: rgba(0,0,0,0.6); }
body.poster footer .mark { color: #000; }
body.poster .topbar a, body.poster .topbar button { background: rgba(0,0,0,0.6); color: #fff8e7; border-color: rgba(255,248,231,0.3); }
body.poster .topbar a:hover, body.poster .topbar button:hover { background: #000; border-color: #fff8e7; }

/* ============================================================
   THEME: Madonna — Mono (light high-fashion)
   ============================================================ */
body.mono {
  --bg: #f5f1ea; --ink: #0a0a0a;
  --ink-dim: rgba(10, 10, 10, 0.55);
  --line: rgba(10, 10, 10, 0.15);
  --card: rgba(10, 10, 10, 0.04); --card-hover: rgba(10, 10, 10, 0.08);
  --accent: #0a0a0a; --accent-fg: #f5f1ea;
  background: var(--bg);
}
body.mono::after { mix-blend-mode: multiply; opacity: 0.18; }
body.mono .topbar a, body.mono .topbar button {
  color: #0a0a0a;
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(10, 10, 10, 0.15);
}
body.mono .topbar a:hover, body.mono .topbar button:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(10, 10, 10, 0.3);
}
body.mono .hero { height: 520px; }
body.mono .hero-img {
  background:
    linear-gradient(180deg, rgba(245,241,234,0) 0%, rgba(245,241,234,0) 60%, var(--bg) 100%),
    linear-gradient(135deg, #d9d2c4 0%, #b8aea0 50%, #8a7f70 100%);
}
body.mono .hero-img::before {
  content: "M"; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 56vw; line-height: 0.9;
  color: rgba(10, 10, 10, 0.07); letter-spacing: -0.05em;
}
body.mono .hero-veil { background: linear-gradient(180deg, rgba(245,241,234,0) 50%, rgba(245,241,234,0.8) 85%, var(--bg) 100%); }
body.mono .eyebrow { color: rgba(10,10,10,0.6); }
body.mono .eyebrow::before, body.mono .eyebrow::after { background: rgba(10,10,10,0.5); }
body.mono .tagline { color: rgba(10,10,10,0.6); }
body.mono .link-pop { background: #fff; border-color: rgba(10,10,10,0.12); }
body.mono .link-pop svg { color: rgba(10,10,10,0.5); }

/* ============================================================
   THEME: Raising Malawi — Brand (modeled on raisingmalawi.org)
   ============================================================ */
body.rm-brand {
  --bg: #ede4d2;                     /* cream */
  --ink: #2a4759;                    /* dark teal — logo color */
  --ink-dim: rgba(42, 71, 89, 0.62);
  --line: rgba(42, 71, 89, 0.18);
  --card: #f5ede0;                   /* paler cream cards */
  --card-hover: #faf2e6;
  --accent: #2a4759;                 /* dark teal CTA */
  --accent-fg: #f5ede0;
  --accent-italic: #8b2e2a;          /* maroon italic accents */
  background: var(--bg);
  font-family: var(--serif-display);
}
body.rm-brand::after { mix-blend-mode: multiply; opacity: 0.14; }

/* Clean / no-header intro */
body.rm-clean .hero { display: none; }
body.rm-clean .stage { padding-top: 68px; }
.clean-intro {
  text-align: center;
  padding: 4px 0 24px;
}
.clean-crest {
  width: 104px; height: 104px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #f5ede0;
  padding: 10px;
  border: 1px solid rgba(42, 71, 89, 0.16);
  box-shadow: 0 18px 40px -16px rgba(42, 71, 89, 0.4);
}
.clean-crest img { width: 100%; height: 100%; object-fit: contain; }
body.rm-clean .eyebrow {
  color: rgba(42, 71, 89, 0.7);
  letter-spacing: 3.5px;
  font-size: 12px;
}
body.rm-clean .eyebrow::before,
body.rm-clean .eyebrow::after { background: rgba(42, 71, 89, 0.45); }
.em-headline {
  font-family: var(--serif-display);
  font-style: italic; font-weight: 500;
  font-size: clamp(44px, 9vw, 64px);
  line-height: 1.02; letter-spacing: -0.01em;
  color: var(--ink);
  margin-top: 16px;
}
body.rm-clean .sup {
  font-family: var(--sans);
  font-size: 15px; line-height: 1.65;
  color: var(--ink-dim);
  margin: 18px auto 0;
  max-width: 460px;
}
body.rm-clean .sup em {
  color: var(--accent-italic);
  font-style: italic;
  font-family: var(--serif-display);
  font-size: 17px;
}

/* ----- Photo hero variant (with-photo on body) ----- */
body.rm-brand.with-photo .hero {
  height: 520px;
  padding: 0;
  margin-bottom: 8px;
  background:
    linear-gradient(180deg, #8b9aa3 0%, #6b6357 40%, #3d3528 100%);
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(237, 228, 210, 0.3) 88%, var(--bg) 100%),
    url('assets/rm-hero.jpg');
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat;
}
body.rm-brand.with-photo .hero-img { display: none; }
body.rm-brand.with-photo .hero-veil { display: none; }
body.rm-brand.with-photo .hero-meta { display: none; }
body.rm-brand.with-photo .hero-wordmark {
  position: absolute;
  top: 70px; left: 24px;
  font-family: var(--serif-display);
  font-style: italic; font-weight: 500;
  font-size: 22px;
  color: #f5ede0;
  text-shadow: 0 2px 14px rgba(0,0,0,0.5);
  z-index: 3;
  letter-spacing: -0.005em;
}
body.rm-brand.with-photo .hero-signature {
  position: absolute;
  bottom: 56px; right: 24px;
  font-family: "Brush Script MT", "Snell Roundhand", "Lucida Handwriting", cursive;
  font-size: 30px;
  color: #f5ede0;
  text-shadow: 0 2px 10px rgba(0,0,0,0.45);
  transform: rotate(-3deg);
  z-index: 3;
  font-weight: 400;
  line-height: 1.1;
  text-align: right;
}

body.rm-brand .hero {
  height: auto;
  background: transparent;
  padding: 80px 22px 24px;
  margin-bottom: 8px;
}
body.rm-brand .hero-img { display: none; }
body.rm-brand .hero-veil { display: none; }
body.rm-brand .hero-meta {
  position: static;
  padding: 0;
  max-width: 580px;
  margin: 0 auto;
}
body.rm-brand .crest {
  background: #f5ede0;
  width: 104px; height: 104px;
  padding: 10px;
  border: 1px solid rgba(42, 71, 89, 0.16);
  box-shadow: 0 18px 40px -16px rgba(42, 71, 89, 0.4);
}
body.rm-brand .eyebrow {
  color: rgba(42, 71, 89, 0.7);
  letter-spacing: 3.5px;
  font-size: 12px;
  margin-top: 14px;
}
body.rm-brand .eyebrow::before, body.rm-brand .eyebrow::after { background: rgba(42, 71, 89, 0.45); }
body.rm-brand .display {
  font-family: var(--serif-display);
  font-style: italic; font-weight: 500;
  color: var(--ink);
  font-size: clamp(48px, 11vw, 72px);
  letter-spacing: -0.01em;
  line-height: 1.0;
  margin-top: 12px;
}
body.rm-brand .tagline {
  color: var(--ink-dim);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  margin-top: 16px;
  max-width: 440px;
}

/* Editorial headline block right below hero */
.headline-block {
  text-align: center;
  padding: 8px 0 28px;
}
.headline-block .em {
  font-family: var(--serif-display);
  font-style: italic; font-weight: 500;
  font-size: clamp(40px, 8.5vw, 56px);
  line-height: 1.04; letter-spacing: -0.005em;
  color: var(--ink);
}
.headline-block .sup {
  font-family: var(--sans);
  font-size: 15px; line-height: 1.65;
  color: var(--ink-dim);
  margin-top: 18px;
  max-width: 460px; margin-left: auto; margin-right: auto;
}
.headline-block .sup em { color: var(--accent-italic); font-style: italic; font-family: var(--serif-display); font-size: 17px; }

body.rm-brand .cta {
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
  border: 0;
  letter-spacing: 2px;
  box-shadow: 0 14px 36px -16px rgba(42,71,89,0.45);
}
body.rm-brand .cta::before { background: linear-gradient(120deg, transparent 30%, rgba(245,237,224,0.18) 50%, transparent 70%); }
body.rm-brand .cta:hover { background: #1f3a4d; }
body.rm-brand .cta-sub { color: rgba(245,237,224,0.7); }

body.rm-brand .rule::before, body.rm-brand .rule::after { background: rgba(42,71,89,0.25); }
body.rm-brand .rule span { color: var(--ink); font-family: var(--sans); font-weight: 600; letter-spacing: 4px; }

body.rm-brand .link-row {
  background: #f5ede0;
  border: 1px solid rgba(42,71,89,0.14);
  border-radius: 999px;
  font-family: var(--sans);
}
body.rm-brand .link-row .link { padding: 10px 56px 10px 10px; }
body.rm-brand .crest { border-radius: 50%; }
body.rm-brand .social { border-radius: 50%; }
body.rm-brand .link-row:hover { background: #faf2e6; border-color: rgba(42,71,89,0.3); }
body.rm-brand .link-row.featured { background: var(--ink); border-color: var(--ink); }
body.rm-brand .link-row.featured .label, body.rm-brand .link-row.featured .sub { color: var(--bg); }
body.rm-brand .link-row.featured .sub { color: rgba(245,237,224,0.7); }
body.rm-brand .link-row.featured .link-dots { color: rgba(245,237,224,0.7); }
body.rm-brand .link-row.featured .thumb { background: rgba(245,237,224,0.15); }
body.rm-brand .link-dots { color: rgba(42,71,89,0.55); }
body.rm-brand .link-dots:hover { background: rgba(42,71,89,0.1); color: var(--ink); }
body.rm-brand .link-pop { background: #fff; border-color: rgba(42,71,89,0.18); }
body.rm-brand .link-pop button, body.rm-brand .link-pop a { color: var(--ink); }
body.rm-brand .link-pop button:hover, body.rm-brand .link-pop a:hover { background: rgba(42,71,89,0.06); }
body.rm-brand .link-pop svg { color: rgba(42,71,89,0.55); }

body.rm-brand .tier {
  background: #f5ede0;
  border-color: rgba(42,71,89,0.18);
  border-radius: 18px;
}
body.rm-brand .tier:hover { background: var(--ink); border-color: var(--ink); }
body.rm-brand .tier:hover .tier-amt, body.rm-brand .tier:hover .tier-lbl { color: var(--bg); }
body.rm-brand .tier-amt { color: var(--ink); }
body.rm-brand .tier-lbl { color: var(--ink-dim); font-family: var(--sans); }

body.rm-brand .social {
  background: transparent; color: var(--ink);
  border-color: rgba(42,71,89,0.25);
}
body.rm-brand .social:hover { background: var(--ink); color: var(--bg); }

body.rm-brand footer.foot { color: var(--ink-dim); }
body.rm-brand footer .mark { color: var(--ink); font-family: var(--serif-display); }

/* Italic editorial block (matches "Become a Raising Malawi Partner today.") */
.appeal {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 22px; align-items: center;
  margin: 28px 0;
  padding: 22px 24px;
  background: #f5ede0;
  border: 1px solid rgba(42,71,89,0.14);
  border-radius: 28px;
}
.appeal .seal {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: #f5ede0;
  display: flex; align-items: center; justify-content: center;
  padding: 8px;
}
.appeal .seal img { width: 100%; height: 100%; object-fit: contain; }
.appeal p {
  font-family: var(--serif-display);
  font-size: 16px; line-height: 1.5;
  color: var(--ink);
}
.appeal p .ital { font-style: italic; color: var(--accent-italic); display: block; font-size: 18px; margin-bottom: 8px; }
@media (max-width: 460px) {
  .appeal { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}

/* ============================================================
   THEME: RM — Heritage Light (alt brand-light)
   ============================================================ */
body.rm-light {
  --bg: #f5eee4; --ink: #1a1410;
  --ink-dim: rgba(26, 20, 16, 0.6);
  --line: rgba(26, 20, 16, 0.14);
  --card: rgba(26, 20, 16, 0.03); --card-hover: rgba(26, 20, 16, 0.07);
  --accent: #c8651b; --accent-fg: #fff;
  background: var(--bg);
}
body.rm-light::after { mix-blend-mode: multiply; opacity: 0.16; }
body.rm-light .topbar a, body.rm-light .topbar button {
  color: #1a1410;
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(26, 20, 16, 0.18);
}
body.rm-light .topbar a:hover, body.rm-light .topbar button:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(26, 20, 16, 0.32);
}
body.rm-light .hero { height: 380px; }
body.rm-light .hero-img {
  background:
    radial-gradient(700px 400px at 50% 50%, rgba(216, 144, 60, 0.35), transparent 65%),
    linear-gradient(180deg, #eadcc4 0%, #d6c2a3 50%, #f5eee4 100%);
}
body.rm-light .hero-veil { background: linear-gradient(180deg, rgba(245,238,228,0) 40%, rgba(245,238,228,0.7) 80%, var(--bg) 100%); }
body.rm-light .display { color: #1a1410; }
body.rm-light .tagline { color: rgba(26,20,16,0.6); }
body.rm-light .eyebrow { color: rgba(26,20,16,0.6); }
body.rm-light .eyebrow::before, body.rm-light .eyebrow::after { background: rgba(26,20,16,0.4); }
body.rm-light .cta { background: #c8651b; box-shadow: 0 18px 48px -16px rgba(200,101,27,0.45); }
body.rm-light .cta:hover { background: #b8541a; }
body.rm-light .link-pop { background: #fff; border-color: rgba(26,20,16,0.14); }

/* ============================================================
   THEME: RM — Impact
   ============================================================ */
body.impact {
  --bg: #0f0a05; --ink: #fff8e7;
  --ink-dim: rgba(255, 248, 231, 0.65);
  --line: rgba(255, 248, 231, 0.14);
  --card: rgba(255, 255, 255, 0.06); --card-hover: rgba(255, 255, 255, 0.10);
  --accent: #ffb74d; --accent-fg: #0f0a05;
  background: var(--bg);
}
body.impact .hero { height: 460px; }
body.impact .hero-img {
  background:
    radial-gradient(800px 500px at 50% 30%, rgba(255, 183, 77, 0.4), transparent 60%),
    linear-gradient(180deg, #2d1f0e 0%, #4a3019 40%, #1a120a 100%);
}
body.impact .display { font-family: var(--serif); font-style: italic; font-weight: 500; }
body.impact .cta { background: #ffb74d; color: #0f0a05; font-weight: 700; box-shadow: 0 20px 50px -14px rgba(255,183,77,0.55); }
body.impact .cta-sub { color: rgba(15,10,5,0.7); }
body.impact .cta:hover { background: #ffc875; }

.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; margin: 18px 0 8px;
}
.stat { padding: 22px 12px; background: var(--bg); text-align: center; }
.stat-num { font-family: var(--serif); font-style: italic; font-size: 32px; line-height: 1; color: var(--accent); }
.stat-lbl { display: block; margin-top: 8px; font-size: 9.5px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--ink-dim); }

.quote {
  margin: 26px 0 12px;
  padding: 22px 24px;
  border-left: 2px solid var(--accent);
  background: var(--card);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.quote p { font-family: var(--serif); font-style: italic; font-size: 17px; line-height: 1.45; color: var(--ink); }
.quote cite { display: block; margin-top: 10px; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-style: normal; color: var(--ink-dim); }

/* ============================================================
   THEME: Club — new Madonna nightlife variant
   ============================================================ */
body.club {
  --bg: #050008; --ink: #f0e8ff;
  --ink-dim: rgba(240, 232, 255, 0.65);
  --line: rgba(240, 232, 255, 0.16);
  --card: rgba(255, 0, 200, 0.08); --card-hover: rgba(255, 0, 200, 0.18);
  --accent: #00f0ff; --accent-fg: #050008;
  background: radial-gradient(1200px 700px at 50% 0%, rgba(255,0,200,0.25), transparent 60%), #050008;
}
body.club .hero { height: 400px; }
body.club .hero-img {
  background:
    radial-gradient(circle at 30% 40%, rgba(0, 240, 255, 0.5), transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(255, 0, 200, 0.55), transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255, 240, 0, 0.25), transparent 60%),
    #050008;
}
body.club .hero-img::before {
  content: "M"; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-style: italic;
  font-size: 380px; line-height: 1;
  color: rgba(0, 240, 255, 0.18);
  text-shadow: 0 0 60px rgba(255, 0, 200, 0.5);
}
body.club .link-row { border-radius: var(--radius-pill); background: rgba(255,255,255,0.04); border-color: rgba(0,240,255,0.18); }
body.club .link-row:hover { background: rgba(0,240,255,0.10); border-color: rgba(0,240,255,0.5); }
body.club .link-row.featured { background: linear-gradient(135deg, rgba(255,0,200,0.25), rgba(0,240,255,0.15)); border-color: rgba(255,0,200,0.4); }
body.club .display { background: linear-gradient(135deg, #00f0ff, #ff00c8); -webkit-background-clip: text; background-clip: text; color: transparent; }
body.club .cta { background: linear-gradient(135deg, #00f0ff, #00b8d0); box-shadow: 0 18px 48px -10px rgba(0, 240, 255, 0.5); }
body.club .cta:hover { background: linear-gradient(135deg, #1ff5ff, #00c8e0); }

/* ============================================================
   Picker / Index page
   ============================================================ */
body.picker { background: #0a0a0a; }
.picker-wrap { max-width: 1180px; margin: 0 auto; padding: 60px 24px 80px; }
.picker-header { text-align: center; margin-bottom: 50px; }
.picker-header .display { font-size: clamp(36px, 7vw, 56px); margin-top: 10px; }
.picker-header .tagline { margin-top: 14px; max-width: 540px; }
.picker-section { margin-bottom: 56px; }
.picker-section h2 {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: 26px; letter-spacing: -0.01em;
  margin-bottom: 22px; padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: baseline; justify-content: space-between;
}
.picker-section h2 small { font-family: var(--sans); font-style: normal; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-dim); font-weight: 500; }
.picker-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.picker-card {
  display: block; aspect-ratio: 3 / 4;
  border: 1px solid var(--line); border-radius: 6px;
  overflow: hidden; position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.picker-card:hover { transform: translateY(-3px); border-color: rgba(244,239,230,0.32); }
.picker-thumb { position: absolute; inset: 0; padding: 30px 22px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; }
.picker-thumb .pre { font-size: 9.5px; letter-spacing: 2.5px; text-transform: uppercase; opacity: 0.75; }
.picker-thumb .ttl { font-family: var(--serif); font-style: italic; font-size: 32px; line-height: 0.95; margin-top: 6px; }
.picker-thumb .tag { margin-top: 12px; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; opacity: 0.78; }
.picker-thumb .preview-display {
  position: absolute; top: 0; left: 0; right: 0; height: 60%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-style: italic;
  font-size: 140px; line-height: 1;
  color: rgba(255,255,255,0.10);
}

/* Picker preview backgrounds */
.pc-editorial { background: radial-gradient(700px 400px at 30% 20%, rgba(255,10,84,0.5), transparent 60%), radial-gradient(600px 400px at 80% 80%, rgba(120,0,100,0.6), transparent 60%), #0a0006; }
.pc-poster    { background: repeating-linear-gradient(45deg, transparent 0 18px, rgba(0,0,0,0.06) 18px 36px), radial-gradient(circle at 70% 30%, #ffd700 0%, transparent 35%), radial-gradient(circle at 25% 75%, #00d9ff 0%, transparent 35%), #ff0a54; color: #000; }
.pc-mono      { background: linear-gradient(135deg, #d9d2c4 0%, #b8aea0 50%, #8a7f70 100%); color: #0a0a0a; }
.pc-club      { background: radial-gradient(circle at 30% 40%, rgba(0, 240, 255, 0.5), transparent 50%), radial-gradient(circle at 70% 60%, rgba(255, 0, 200, 0.55), transparent 50%), #050008; }
.pc-rm-brand  { background: #2a4759; color: #f5ede0; }
.pc-rm-brand .preview-display { color: rgba(245, 237, 224, 0.10); }
.pc-rm-photo {
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.4) 100%),
    linear-gradient(180deg, #8b9aa3 0%, #6b6357 50%, #3d3528 100%);
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.55) 100%),
    url('assets/rm-hero.jpg');
  background-size: cover, cover;
  background-position: center, center;
  color: #f5ede0;
}
.pc-rm-photo .preview-display { display: none; }
.pc-rm-photo .ttl { font-family: var(--serif-display); font-style: italic; }
.pc-rm-wordmark {
  position: absolute; top: 22px; left: 22px;
  font-family: var(--serif-display); font-style: italic; font-weight: 500;
  color: #f5ede0; font-size: 16px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.pc-rm-clean  { background: #ede4d2; color: #2a4759; }
.pc-rm-clean .preview-display { color: rgba(42, 71, 89, 0.08); }
.pc-rm-clean .ttl { font-family: var(--serif-display); }
.pc-rm-logo.small { width: 32px; height: 32px; padding: 4px; }
.pc-rm-light  { background: radial-gradient(700px 400px at 50% 50%, rgba(216,144,60,0.35), transparent 65%), linear-gradient(180deg, #eadcc4 0%, #d6c2a3 50%, #f5eee4 100%); color: #1a1410; }
.pc-impact    { background: radial-gradient(800px 500px at 50% 30%, rgba(255,183,77,0.4), transparent 60%), linear-gradient(180deg, #2d1f0e 0%, #4a3019 40%, #1a120a 100%); }

.pc-poster .preview-display, .pc-mono .preview-display, .pc-rm-light .preview-display, .pc-rm-brand .preview-display { color: rgba(0,0,0,0.10); }
.pc-rm-logo { position: absolute; top: 22px; left: 22px; width: 40px; height: 40px; border-radius: 50%; background: #f5ede0; padding: 5px; }
.pc-rm-logo img { width: 100%; height: 100%; object-fit: contain; }
.pc-rm-light .pc-rm-logo { background: #14100c; }
.pc-rm-light .pc-rm-logo img { filter: invert(1) brightness(1.4); }

/* ============================================================
   FULL HOMEPAGE MOCKUPS (rm-home class)
   ============================================================ */
body.rm-home {
  --bg: #ede4d2;
  --ink: #2a4759;
  --ink-dim: rgba(42, 71, 89, 0.62);
  --line: rgba(42, 71, 89, 0.18);
  --card: #f5ede0;
  --card-hover: #faf2e6;
  --accent: #2a4759;
  --accent-fg: #f5ede0;
  --accent-italic: #8b2e2a;
  background: var(--bg);
  font-family: var(--sans);
}
body.rm-home::after { mix-blend-mode: multiply; opacity: 0.12; }

/* Top navigation (full website chrome) */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px;
  background: rgba(237, 228, 210, 0.85);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(42, 71, 89, 0.1);
}
.site-nav .brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--serif-display); font-style: italic; font-weight: 500;
  font-size: 18px; color: var(--ink);
}
.site-nav .brand img { width: 32px; height: 32px; }
.site-nav .nav-links { display: flex; gap: 26px; }
.site-nav .nav-links a {
  font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--ink);
  transition: opacity 0.15s ease;
}
.site-nav .nav-links a:hover { opacity: 0.6; }
.site-nav .nav-donate {
  padding: 10px 22px;
  background: var(--ink); color: var(--bg);
  font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  border-radius: 999px;
  transition: background 0.15s ease;
}
.site-nav .nav-donate:hover { background: #1f3a4d; }
@media (max-width: 720px) {
  .site-nav .nav-links { display: none; }
  .site-nav { padding: 12px 18px; }
}

/* Page container */
.page { padding-top: 68px; }
.wrap-wide { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 28px; }
@media (max-width: 720px) { .wrap-wide, .wrap-narrow { padding: 0 18px; } }

/* Hero */
.home-hero {
  position: relative;
  width: 100%;
  min-height: 620px;
  display: flex; align-items: center;
  overflow: hidden;
}
.home-hero-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.home-hero-veil {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.2) 50%, transparent 100%),
              linear-gradient(180deg, transparent 60%, rgba(237,228,210,0.5) 90%, var(--bg) 100%);
}
.home-hero-content {
  position: relative; z-index: 2;
  max-width: 580px;
  padding: 80px 28px;
  color: #f5ede0;
}
.home-hero-content .eyebrow { color: rgba(255,255,255,0.85); }
.home-hero-content .eyebrow::before, .home-hero-content .eyebrow::after { background: rgba(255,255,255,0.7); }
.home-hero-content h1 {
  font-family: var(--serif-display);
  font-style: italic; font-weight: 500;
  font-size: clamp(48px, 7vw, 80px);
  line-height: 0.98; letter-spacing: -0.01em;
  margin-top: 18px;
  color: #f5ede0;
}
.home-hero-content .lead {
  font-size: 17px; line-height: 1.55;
  margin-top: 22px;
  max-width: 460px;
  color: rgba(245, 237, 224, 0.9);
}

/* Frequency toggle (One-Time / Monthly) */
.freq-toggle {
  display: inline-flex; align-items: center;
  margin-top: 26px;
  padding: 4px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.freq-toggle button {
  padding: 9px 18px;
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(245, 237, 224, 0.7);
  border-radius: 999px;
  transition: background 0.18s ease, color 0.18s ease;
  position: relative;
}
.freq-toggle button.active {
  background: #f5ede0;
  color: var(--ink);
}
.freq-toggle button .pop {
  position: absolute; top: -8px; right: -8px;
  background: var(--accent-italic);
  color: #f5ede0;
  font-size: 8.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 999px;
  white-space: nowrap;
}
.freq-toggle.dark { background: rgba(42,71,89,0.08); border-color: rgba(42,71,89,0.18); }
.freq-toggle.dark button { color: var(--ink-dim); }
.freq-toggle.dark button.active { background: var(--ink); color: var(--bg); }

/* Monthly partner highlight banner */
.monthly-banner {
  margin-top: 22px;
  padding: 16px 22px;
  background: rgba(139, 46, 42, 0.18);
  border: 1px solid rgba(139, 46, 42, 0.4);
  border-radius: 14px;
  display: flex; align-items: center; gap: 14px;
  color: #f5ede0;
}
.monthly-banner .ic {
  width: 36px; height: 36px;
  background: rgba(245, 237, 224, 0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.monthly-banner .ic svg { width: 18px; height: 18px; color: #f5ede0; }
.monthly-banner p {
  flex: 1;
  font-size: 13px; line-height: 1.5;
  color: rgba(245, 237, 224, 0.92);
}
.monthly-banner p strong {
  display: block;
  font-family: var(--serif-display);
  font-style: italic; font-weight: 500;
  font-size: 17px;
  color: #f5ede0;
  margin-bottom: 2px;
}

/* Hero donate row — preset amount picker visible in fold */
.hero-pick {
  margin-top: 18px;
  display: flex; gap: 8px; flex-wrap: wrap;
}
.hero-pick a {
  flex: 1 1 0;
  min-width: 80px;
  padding: 14px 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 14px;
  text-align: center;
  color: #f5ede0;
  font-weight: 600;
  transition: background 0.15s ease, border-color 0.15s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-pick a:hover { background: rgba(255,255,255,0.22); border-color: rgba(255,255,255,0.5); }
.hero-pick a.featured {
  background: #f5ede0; color: var(--ink); border-color: #f5ede0;
}
.hero-pick .amt { font-family: var(--serif-display); font-style: italic; font-size: 22px; line-height: 1; }
.hero-pick .lbl { display: block; margin-top: 4px; font-size: 9.5px; letter-spacing: 1.2px; text-transform: uppercase; opacity: 0.75; }

.hero-pick-row {
  margin-top: 14px;
  display: flex; align-items: center; gap: 14px;
  font-size: 13px;
  color: rgba(245, 237, 224, 0.85);
}
.hero-pick-row .other {
  padding: 10px 22px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 999px;
  color: #f5ede0;
  font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
}
.hero-pick-row .other:hover { background: rgba(255,255,255,0.1); }

/* Stats strip below hero */
.stats-strip {
  background: #f5ede0;
  border-top: 1px solid rgba(42,71,89,0.12);
  border-bottom: 1px solid rgba(42,71,89,0.12);
}
.stats-strip .row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  text-align: center;
}
.stats-strip .cell {
  padding: 26px 18px;
  border-right: 1px solid rgba(42,71,89,0.12);
}
.stats-strip .cell:last-child { border-right: 0; }
.stats-strip .num {
  font-family: var(--serif-display);
  font-style: italic; font-weight: 500;
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1; color: var(--ink);
}
.stats-strip .lbl {
  display: block; margin-top: 6px;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--ink-dim); font-weight: 600;
}
@media (max-width: 640px) {
  .stats-strip .row { grid-template-columns: 1fr; }
  .stats-strip .cell { border-right: 0; border-bottom: 1px solid rgba(42,71,89,0.12); padding: 18px; }
  .stats-strip .cell:last-child { border-bottom: 0; }
}

/* Section */
.home-section { padding: 80px 0; }
.home-section.tight { padding: 48px 0; }
.home-section.alt { background: #e7dcc4; }
.section-eyebrow {
  text-align: center;
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--ink-dim); font-weight: 600;
  margin-bottom: 14px;
}
.section-h2 {
  font-family: var(--serif-display);
  font-style: italic; font-weight: 500;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.05; letter-spacing: -0.005em;
  color: var(--ink);
  text-align: center;
  max-width: 760px; margin: 0 auto;
}
.section-lead {
  text-align: center;
  font-size: 16px; line-height: 1.65;
  color: var(--ink-dim);
  max-width: 600px; margin: 18px auto 0;
}

/* Programs grid */
.programs-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  margin-top: 50px;
}
.program {
  background: #f5ede0;
  border: 1px solid rgba(42,71,89,0.12);
  border-radius: 18px;
  padding: 26px 20px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.program:hover { transform: translateY(-3px); border-color: rgba(42,71,89,0.35); }
.program .ic {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--bg);
  border-radius: 50%; margin-bottom: 16px;
}
.program .ic svg { width: 22px; height: 22px; }
.program h3 {
  font-family: var(--serif-display); font-style: italic; font-weight: 500;
  font-size: 24px; color: var(--ink);
  margin-bottom: 8px;
}
.program p { font-size: 13px; line-height: 1.6; color: var(--ink-dim); }
@media (max-width: 900px) { .programs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .programs-grid { grid-template-columns: 1fr; } }

/* Story block — emotional single-child anchor */
.story {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  align-items: center;
}
.story-img {
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  background: linear-gradient(135deg, #c2a36b 0%, #8b6d3a 100%);
  background-size: cover; background-position: center;
}
.story-body h2 {
  font-family: var(--serif-display); font-style: italic; font-weight: 500;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.05; color: var(--ink);
  margin-bottom: 22px;
}
.story-body p { font-size: 16px; line-height: 1.7; color: var(--ink); margin-bottom: 16px; }
.story-body p:last-of-type { color: var(--ink-dim); }
.story-body .ital { font-style: italic; color: var(--accent-italic); font-family: var(--serif-display); font-size: 20px; }
.story-cta {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 18px;
  padding: 16px 26px;
  background: var(--ink); color: var(--bg);
  font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  border-radius: 999px;
}
.story-cta:hover { background: #1f3a4d; }
@media (max-width: 800px) {
  .story { grid-template-columns: 1fr; gap: 32px; }
}

/* Final donate block */
.final-cta {
  background: var(--ink);
  color: var(--bg);
  padding: 90px 28px;
  text-align: center;
}
.final-cta h2 {
  font-family: var(--serif-display); font-style: italic; font-weight: 500;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.0;
  color: #f5ede0;
  max-width: 760px; margin: 0 auto;
}
.final-cta .lead {
  margin-top: 22px;
  font-size: 16px; line-height: 1.6;
  color: rgba(245,237,224,0.78);
  max-width: 540px; margin-left: auto; margin-right: auto;
}
.final-cta .btn-row {
  margin-top: 36px;
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}
.final-cta .btn {
  padding: 18px 30px;
  font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  border-radius: 999px;
}
.final-cta .btn-primary { background: #f5ede0; color: var(--ink); }
.final-cta .btn-primary:hover { background: #fff; }
.final-cta .btn-ghost { background: transparent; color: #f5ede0; border: 1px solid rgba(245,237,224,0.45); }
.final-cta .btn-ghost:hover { background: rgba(245,237,224,0.1); }

/* Sticky bottom donate bar — appears after scroll */
.sticky-donate {
  position: fixed; bottom: 18px; left: 50%;
  transform: translateX(-50%) translateY(120px);
  z-index: 70;
  display: flex; align-items: center; gap: 16px;
  padding: 12px 14px 12px 22px;
  background: var(--ink); color: var(--bg);
  border-radius: 999px;
  box-shadow: 0 18px 40px -10px rgba(0,0,0,0.4);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s ease;
  font-size: 13px; font-weight: 600; letter-spacing: 0.5px;
  max-width: calc(100vw - 28px);
}
.sticky-donate.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.sticky-donate .text { color: rgba(245,237,224,0.85); }
.sticky-donate .text strong { color: #f5ede0; font-weight: 600; }
.sticky-donate .btn {
  padding: 10px 20px;
  background: #f5ede0; color: var(--ink);
  border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  flex-shrink: 0;
}
.sticky-donate .btn:hover { background: #fff; }
@media (max-width: 460px) {
  .sticky-donate { padding: 10px 12px 10px 18px; font-size: 12px; gap: 10px; }
  .sticky-donate .text { display: none; }
}

/* Footer */
.home-footer {
  background: #1a3040;
  color: rgba(245,237,224,0.65);
  padding: 56px 28px 32px;
  font-size: 13px;
}
.home-footer .row {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px;
}
.home-footer .brand-block { display: flex; flex-direction: column; gap: 10px; }
.home-footer .brand-block .b {
  font-family: var(--serif-display); font-style: italic;
  font-size: 22px; color: #f5ede0;
}
.home-footer h4 {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: #f5ede0; margin-bottom: 14px; font-weight: 600;
}
.home-footer a { display: block; padding: 4px 0; color: rgba(245,237,224,0.7); }
.home-footer a:hover { color: #f5ede0; }
.home-footer .legal {
  max-width: 1180px; margin: 36px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(245,237,224,0.12);
  font-size: 11px; color: rgba(245,237,224,0.45);
}
@media (max-width: 720px) {
  .home-footer .row { grid-template-columns: 1fr 1fr; gap: 28px; }
}

/* ============================================================
   Small screens
   ============================================================ */
@media (max-width: 380px) {
  .hero { height: 320px; }
  .display { font-size: 46px; }
  .tiers { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat-num { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; opacity: 1; transform: none; }
  .cta::before { display: none; }
}
