/* ==========================================================================
   Sahir Lodhi Welfare Trust — stylesheet
   Plain CSS, no build step. Colors and spacing live in the :root tokens.
   ========================================================================== */

@view-transition { navigation: auto; }

:root {
  /* Ink & surfaces */
  --ink: #0B1F33;
  --ink-2: #3B4D61;
  --ink-3: #5F7185;
  --line: #E2E8EE;
  --line-2: #CBD5E0;
  --bg: #FBFAF6;
  --surface: #FFFFFF;
  --surface-2: #F4F6F8;

  /* Brand — from the Trust's current site (blue hsl(215 80% 27%), green hsl(155 60% 40%)) */
  --navy-950: #061A36;
  --navy-900: #0A2A57;
  --navy-800: #0E3D7C;
  --blue-600: #1D5FAD;
  --blue-100: #DCE8F7;
  --blue-50: #EFF5FC;
  --green-800: #0F5A38;
  --green-700: #146B45;
  --green-600: #1B7E52;
  --green-500: #29A36E;
  --green-100: #D9F0E4;
  --green-50: #EEF8F2;
  --gold-500: #E9A23B;
  --gold-400: #F2B84F;
  --gold-100: #FCF0D8;
  --warn-50: #FFF7E5;
  --warn-800: #6B4500;
  --danger-600: #B42318;
  --danger-50: #FEF3F2;

  --font-sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(11, 31, 51, .05), 0 1px 3px rgba(11, 31, 51, .06);
  --shadow: 0 10px 28px -12px rgba(11, 31, 51, .18), 0 2px 6px rgba(11, 31, 51, .05);
  --shadow-lg: 0 28px 64px -20px rgba(6, 26, 54, .35), 0 8px 20px -10px rgba(6, 26, 54, .12);
  --ring: 0 0 0 3px rgba(29, 95, 173, .35);

  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  color-scheme: light;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-800); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; color: inherit; text-wrap: balance; }
h1, h2 { font-family: var(--font-display); font-weight: 650; letter-spacing: -.015em; }
h3, h4 { font-family: var(--font-sans); font-weight: 750; letter-spacing: -.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0 0 1em; }
strong { font-weight: 750; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue-600); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--green-100); color: var(--ink); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 700;
}
.skip-link:focus { top: 12px; color: #fff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  @view-transition { navigation: none; }
}

/* ---------- Layout ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), 860px); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--white { background: var(--surface); }
.section--green { background: var(--green-50); }
.section--blue { background: var(--blue-50); }
.section--navy { background: var(--navy-900); color: #fff; }
.section--navy .lead { color: rgba(255, 255, 255, .8); }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.section-head--row > div { max-width: 680px; }
.section-head h2, .h2 { font-size: clamp(2rem, 1.25rem + 2.6vw, 3.05rem); margin-bottom: 14px; }
.section-head p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 14px; font-size: .8125rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green-700);
}
.eyebrow::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: currentColor; }
.section-head--center .eyebrow::before { display: none; }
.eyebrow--light { color: var(--gold-400); }
.section--navy .eyebrow { color: var(--gold-400); }

.lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); line-height: 1.6; color: var(--ink-2); }
.muted { color: var(--ink-3); }
.small { font-size: .9rem; }

.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

.split { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 920px) {
  .split { grid-template-columns: 1.05fr .95fr; }
  .split--even { grid-template-columns: 1fr 1fr; }
  .split--rev > :first-child { order: 2; }
  .split--top { align-items: start; }
}

.stack > * + * { margin-top: 16px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-lg { margin-top: clamp(28px, 4vw, 44px); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--surface); --btn-fg: var(--ink); --btn-bd: var(--line-2);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  border: 1.5px solid var(--btn-bd); background: var(--btn-bg); color: var(--btn-fg);
  font: 750 1rem/1.2 var(--font-sans); text-decoration: none; text-align: center;
  cursor: pointer; white-space: nowrap; -webkit-tap-highlight-color: transparent;
  transition: transform .18s var(--ease), background-color .18s, border-color .18s, color .18s, box-shadow .18s;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:hover { transform: translateY(-1px); color: var(--btn-fg); }
.btn:active { transform: translateY(0) scale(.985); }
.btn--primary { --btn-bg: var(--green-600); --btn-fg: #fff; --btn-bd: var(--green-600); box-shadow: 0 10px 22px -10px rgba(27, 126, 82, .65); }
.btn--primary:hover { --btn-bg: var(--green-700); --btn-bd: var(--green-700); box-shadow: 0 14px 28px -12px rgba(27, 126, 82, .7); }
.btn--secondary { --btn-fg: var(--navy-800); }
.btn--secondary:hover { --btn-bd: var(--navy-800); }
.btn--navy { --btn-bg: var(--navy-900); --btn-fg: #fff; --btn-bd: var(--navy-900); }
.btn--navy:hover { --btn-bg: var(--navy-800); --btn-bd: var(--navy-800); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--navy-900); --btn-bd: #fff; }
.btn--ghost-light { --btn-bg: rgba(255, 255, 255, .06); --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .45); }
.btn--ghost-light:hover { --btn-bg: rgba(255, 255, 255, .14); --btn-bd: #fff; }
.btn--paypal { --btn-bg: #FFC439; --btn-fg: #111; --btn-bd: #FFC439; }
.btn--paypal:hover { --btn-bg: #F4B92E; --btn-bd: #F4B92E; }
.btn--text { min-height: 0; padding: 6px 4px; border: 0; background: none; color: var(--blue-600); box-shadow: none; }
.btn--text:hover { color: var(--navy-800); transform: none; text-decoration: underline; }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 1.0625rem; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .9375rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-loading { pointer-events: none; opacity: .75; }
.spinner {
  width: 1.1em; height: 1.1em; border-radius: 50%;
  border: 2.5px solid currentColor; border-right-color: transparent;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 750; text-decoration: none; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

.pp-wordmark { font-weight: 850; font-style: italic; letter-spacing: -.01em; }
.pp-wordmark b { color: #003087; font-weight: 850; }
.pp-wordmark i { color: #009CDE; font-weight: 850; }

/* ---------- Preview banner ---------- */
.preview-banner {
  position: relative; z-index: 51;
  padding: 8px var(--gutter); background: var(--navy-950); color: rgba(255, 255, 255, .9);
  font-size: .85rem; line-height: 1.4; text-align: center;
}
.preview-banner strong { color: var(--gold-400); }
.preview-banner a { color: #fff; font-weight: 700; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 246, .88);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
  view-transition-name: site-header;
}
.site-header.is-scrolled { background: rgba(255, 255, 255, .94); border-bottom-color: var(--line); box-shadow: 0 8px 24px -20px rgba(11, 31, 51, .45); }
.site-header__inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 11px; margin-right: auto; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.02; }
.brand__name { font-family: var(--font-display); font-size: 1.22rem; font-weight: 700; letter-spacing: -.01em; }
.brand__sub { margin-top: 4px; font-size: .68rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--green-700); white-space: nowrap; }

.site-nav { display: none; }
.site-nav ul { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.site-nav a {
  display: block; padding: 8px 12px; border-radius: 999px;
  color: var(--ink-2); font-size: .95rem; font-weight: 650; text-decoration: none;
  transition: background-color .15s, color .15s;
}
.site-nav a:hover { color: var(--ink); background: var(--surface-2); }
.site-nav a[aria-current="page"] { color: var(--navy-800); background: var(--blue-50); }
.site-header__actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle {
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
@media (min-width: 1100px) {
  .site-nav { display: block; }
  .nav-toggle { display: none; }
}
@media (max-width: 420px) {
  .brand { gap: 9px; }
  .brand__name { font-size: 1.08rem; }
  .brand__sub { font-size: .62rem; letter-spacing: .14em; }
  .brand__mark { width: 38px; height: 38px; }
  .header-donate { padding-inline: 14px; }
  .site-header__inner { gap: 12px; }
}

/* Mobile navigation sheet */
.mobile-nav {
  position: fixed; inset: 0; z-index: 70;
  display: flex; flex-direction: column;
  padding: 0 var(--gutter) calc(24px + env(safe-area-inset-bottom));
  background: var(--surface); overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; transform: translateY(-10px);
  transition: opacity .22s var(--ease), transform .22s var(--ease);
}
.mobile-nav.is-open { opacity: 1; transform: none; }
.mobile-nav[hidden] { display: none; }
.mobile-nav__top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); flex: none; }
.mobile-nav__links { margin: 8px 0 24px; padding: 0; list-style: none; }
.mobile-nav__links a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 2px; border-bottom: 1px solid var(--line);
  color: var(--ink); font-size: 1.25rem; font-weight: 750; text-decoration: none;
}
.mobile-nav__links a[aria-current="page"] { color: var(--green-700); }
.mobile-nav__links svg { width: 20px; height: 20px; color: var(--ink-3); }
.mobile-nav__foot { margin-top: auto; display: grid; gap: 16px; }
.mobile-nav__contact { display: grid; gap: 6px; font-size: .95rem; color: var(--ink-2); }
.mobile-nav__contact a { color: var(--ink-2); text-decoration: none; }
body.nav-open { overflow: hidden; }

/* ---------- Home hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--navy-950); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 35%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(6, 26, 54, .95) 0%, rgba(6, 26, 54, .86) 40%, rgba(6, 26, 54, .5) 72%, rgba(6, 26, 54, .4) 100%);
}
.hero__inner { display: grid; gap: 40px; align-items: center; padding-block: clamp(40px, 7vw, 104px) clamp(48px, 8vw, 112px); }
@media (min-width: 980px) { .hero__inner { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 64px; } }
@media (max-width: 979px) {
  .hero::before { background: linear-gradient(180deg, rgba(6, 26, 54, .8) 0%, rgba(6, 26, 54, .9) 45%, rgba(6, 26, 54, .97) 100%); }
}
.hero h1 { color: #fff; font-size: clamp(2.45rem, 1.5rem + 3.7vw, 4.35rem); line-height: 1.03; margin-bottom: 20px; }
.hero h1 em { font-style: italic; font-weight: 600; color: var(--gold-400); }
.hero .lead { max-width: 40ch; color: rgba(255, 255, 255, .86); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; list-style: none; font-size: .95rem; font-weight: 600; color: rgba(255, 255, 255, .88); }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust svg { width: 18px; height: 18px; color: var(--gold-400); }

.pill-link {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  padding: 5px 14px 5px 5px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
  color: #fff; font-size: .875rem; font-weight: 650; text-decoration: none;
  transition: background-color .15s;
}
.pill-link:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.pill-link__tag { flex: none; padding: 3px 10px; border-radius: 999px; background: var(--gold-400); color: var(--navy-950); font-size: .72rem; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.pill-link svg { flex: none; }
.pill-link svg { width: 16px; height: 16px; }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding-block: clamp(44px, 7vw, 96px) clamp(40px, 6vw, 80px);
  background: radial-gradient(900px 380px at 100% 0%, rgba(41, 163, 110, .12), transparent 60%), linear-gradient(180deg, var(--blue-50), var(--bg));
}
.page-hero__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .page-hero__grid--media { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 64px; } }
.page-hero h1 { font-size: clamp(2.35rem, 1.5rem + 3.2vw, 3.9rem); line-height: 1.05; margin-bottom: 18px; }
.page-hero .lead { max-width: 58ch; }
.page-hero .btn-row { margin-top: 28px; }
.page-hero__media { position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; background: var(--surface-2); }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.media-caption {
  position: absolute; left: 14px; bottom: 14px; padding: 5px 10px; border-radius: 999px;
  background: rgba(6, 26, 54, .72); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .02em;
}
.page-hero--dark { color: #fff; background: var(--navy-950); }
.page-hero--dark .lead { color: rgba(255, 255, 255, .85); }
.page-hero--dark .eyebrow { color: var(--gold-400); }
.page-hero--compact { padding-block: clamp(36px, 5vw, 64px) clamp(28px, 4vw, 48px); }

/* ---------- Cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(20px, 2.6vw, 28px); box-shadow: var(--shadow-sm);
}
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: .985rem; }
.card p:last-child { margin-bottom: 0; }
.card--hover { transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.card--hover:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card--flat { box-shadow: none; }
.card--navy { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.card--navy p { color: rgba(255, 255, 255, .8); }

.icon-badge {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 16px;
  border-radius: 14px; background: var(--green-50); color: var(--green-700);
}
.icon-badge svg { width: 24px; height: 24px; }
.icon-badge--blue { background: var(--blue-50); color: var(--navy-800); }
.icon-badge--gold { background: var(--gold-100); color: var(--warn-800); }
.icon-badge--sm { width: 40px; height: 40px; border-radius: 12px; margin-bottom: 12px; }
.icon-badge--sm svg { width: 20px; height: 20px; }

.tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
  background: var(--blue-50); color: var(--navy-800);
  font-size: .72rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase;
}
.tag svg { width: 13px; height: 13px; }
.tag--green { background: var(--green-50); color: var(--green-800); }
.tag--gold { background: var(--gold-100); color: var(--warn-800); }
.tag--muted { background: var(--surface-2); color: var(--ink-3); }

/* Pillar cards (home) */
.pillar { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.pillar__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); }
.pillar__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.pillar:hover .pillar__media img { transform: scale(1.04); }
.pillar__media .tag { position: absolute; left: 16px; top: 16px; background: rgba(255, 255, 255, .94); }
.pillar__body { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: clamp(22px, 3vw, 32px); }
.pillar__body h3 { font-family: var(--font-display); font-weight: 650; font-size: clamp(1.45rem, 1.2rem + .8vw, 1.8rem); }
.pillar__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: auto; padding-top: 14px; }

/* Feature list (icon + text) */
.features { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); margin: 28px 0; }
.feature { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.feature .icon-badge { margin: 0; flex: none; }
.feature h3 { font-size: 1rem; margin: 2px 0 4px; }
.feature p { margin: 0; font-size: .925rem; color: var(--ink-2); line-height: 1.5; }

.status {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 10px 14px; border-radius: 12px; background: var(--green-50); border: 1px solid var(--green-100);
  font-size: .95rem; color: var(--ink);
}
.status__dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--green-500); flex: none; }
.status__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--green-500); opacity: .5; animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }

.checklist { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .tick { flex: none; display: grid; place-items: center; width: 26px; height: 26px; margin-top: 1px; border-radius: 50%; background: var(--green-100); color: var(--green-700); }
.checklist .tick svg { width: 15px; height: 15px; }
.checklist--2col { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 14px 28px; }

.flyer { position: relative; max-width: 460px; margin-inline: auto; }
.flyer img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.flyer::before {
  content: ""; position: absolute; inset: 24px -18px -18px 24px; z-index: -1;
  border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--green-100), var(--blue-100));
}
.flyer-wrap { position: relative; isolation: isolate; }
@media (max-width: 600px) { .flyer::before { inset: 14px -8px -8px 14px; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; overflow: hidden; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .14); }
@media (min-width: 920px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { padding: clamp(22px, 3vw, 36px); background: var(--navy-900); }
.stat__value { font-family: var(--font-sans); font-size: clamp(2.2rem, 1.5rem + 2.4vw, 3.25rem); font-weight: 700; line-height: 1; letter-spacing: -.025em; color: #fff; white-space: nowrap; }
.stat__label { margin-top: 12px; font-weight: 750; color: #fff; }
.stat__desc { margin-top: 4px; font-size: .9rem; line-height: 1.45; color: rgba(255, 255, 255, .72); }
.stats--light { background: var(--line); border-color: var(--line); }
.stats--light .stat { background: var(--surface); }
.stats--light .stat__value, .stats--light .stat__label { color: var(--ink); }
.stats--light .stat__desc { color: var(--ink-3); }

/* ---------- Founder message ---------- */
.founder { display: grid; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (min-width: 920px) { .founder { grid-template-columns: minmax(280px, 380px) 1fr; } }
.founder__photo { position: relative; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 4 / 5; background: var(--surface-2); max-width: 420px; }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.founder__body { font-size: 1.05rem; color: var(--ink-2); }
.founder__intro { font-family: var(--font-display); font-size: clamp(1.3rem, 1.05rem + 1vw, 1.7rem); font-weight: 500; line-height: 1.42; color: var(--ink); }
.founder blockquote { margin: 0; }
.signature { display: flex; flex-direction: column; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.signature strong { font-family: var(--font-display); font-size: 1.45rem; font-style: italic; font-weight: 600; color: var(--ink); }
.signature span { color: var(--ink-3); font-size: .95rem; }

.more summary {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none;
  font-weight: 750; color: var(--blue-600);
}
.more summary::-webkit-details-marker { display: none; }
.more summary svg { width: 18px; height: 18px; transition: transform .2s; }
.more[open] summary svg { transform: rotate(180deg); }
.more[open] summary .more__open { display: none; }
.more:not([open]) summary .more__close { display: none; }
.more > div { margin-top: 16px; }

/* ---------- Carousel ---------- */
.carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(84%, 370px); gap: 20px;
  margin-inline: calc(var(--gutter) * -1); padding: 6px var(--gutter) 28px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }
.carousel__nav { display: flex; gap: 8px; }
.icon-btn {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); cursor: pointer;
  transition: border-color .15s, opacity .15s, transform .15s;
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { border-color: var(--ink); }
.icon-btn[disabled] { opacity: .35; cursor: default; }

.milestone { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.milestone__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.milestone__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.milestone:hover .milestone__media img { transform: scale(1.04); }
.milestone__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 24px; }
.milestone__body .tag { align-self: flex-start; }
.milestone__body h3 { font-size: 1.1rem; margin: 0; }
.milestone__body p { margin: 0; color: var(--ink-2); font-size: .95rem; line-height: 1.55; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.quote-card { display: flex; flex-direction: column; gap: 18px; margin: 0; }
.quote-card blockquote { margin: 0; color: var(--ink); font-size: 1.03rem; line-height: 1.6; }
.quote-card blockquote::before { content: "\201C"; display: block; height: 30px; margin-bottom: 4px; font-family: var(--font-display); font-size: 3.6rem; line-height: .9; color: var(--green-500); }
.person { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--blue-100); color: var(--navy-800); font-weight: 800; font-size: .95rem; }
.person strong { display: block; font-size: .975rem; line-height: 1.3; }
.person span { font-size: .85rem; color: var(--ink-3); }

/* ---------- Ways to give ---------- */
.way { display: flex; flex-direction: column; gap: 6px; }
.way h3 { margin-top: 2px; }
.way .btn { align-self: flex-start; margin-top: auto; }
.way__body { flex: 1; margin-bottom: 16px; }
.way__marks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.mark {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 6px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-2);
  font-size: .72rem; font-weight: 750; letter-spacing: .02em; white-space: nowrap;
}

/* ---------- CTA band ---------- */
.cta-band {
  padding-block: clamp(56px, 7vw, 96px); color: #fff;
  background: radial-gradient(900px 360px at 88% 0%, rgba(41, 163, 110, .38), transparent 62%), radial-gradient(700px 300px at 0% 100%, rgba(29, 95, 173, .45), transparent 60%), var(--navy-900);
}
.cta-band__inner { display: grid; gap: 28px; align-items: center; }
@media (min-width: 920px) { .cta-band__inner { grid-template-columns: 1fr auto; gap: 48px; } }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 1.35rem + 2.2vw, 2.9rem); margin-bottom: 10px; }
.cta-band p { max-width: 54ch; margin: 0; color: rgba(255, 255, 255, .84); font-size: 1.08rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */
.site-footer { padding-block: 64px 28px; background: var(--navy-950); color: rgba(255, 255, 255, .76); font-size: .95rem; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.25fr 1.45fr; gap: 40px; } }
.site-footer h3 { margin-bottom: 16px; color: #fff; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; }
.site-footer ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.site-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand .brand { color: #fff; margin-bottom: 18px; }
.footer-brand .brand__sub { color: var(--gold-400); }
.footer-brand p { max-width: 34ch; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; margin-top: 3px; flex: none; color: rgba(255, 255, 255, .55); }
.social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; transition: background-color .15s, transform .15s; }
.social a:hover { background: rgba(255, 255, 255, .18); transform: translateY(-2px); text-decoration: none; }
.social svg { width: 19px; height: 19px; }
.newsletter { display: flex; gap: 8px; margin-top: 14px; }
.newsletter input {
  flex: 1; min-width: 0; height: 48px; padding: 0 18px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06); color: #fff; font-size: .95rem;
}
.newsletter input::placeholder { color: rgba(255, 255, 255, .55); }
.newsletter input:focus { outline: none; border-color: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .2); }
.newsletter .btn { min-height: 48px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .875rem;
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-bottom .heart { color: #F47C7C; }

/* Mobile sticky donate bar */
.mobile-give {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px;
  border-radius: 999px; background: var(--green-600); color: #fff; font-weight: 800; font-size: 1.05rem; text-decoration: none;
  box-shadow: 0 16px 34px -12px rgba(6, 26, 54, .55);
  transform: translateY(160%); transition: transform .32s var(--ease);
}
.mobile-give svg { width: 20px; height: 20px; }
.mobile-give.is-visible { transform: none; }
.mobile-give:hover { color: #fff; background: var(--green-700); }
@media (min-width: 920px) { .mobile-give { display: none; } }

/* ---------- Toasts ---------- */
.toasts { position: fixed; left: 50%; bottom: 24px; z-index: 90; display: grid; gap: 8px; width: min(92vw, 440px); transform: translateX(-50%); pointer-events: none; }
@media (max-width: 919px) { .toasts { bottom: calc(80px + env(safe-area-inset-bottom)); } }
.toast {
  display: flex; align-items: flex-start; gap: 10px; padding: 13px 16px; border-radius: 14px;
  background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); font-size: .95rem; font-weight: 600; line-height: 1.45;
  pointer-events: auto; animation: toast-in .28s var(--ease);
}
.toast svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.toast--success svg { color: #6EE7A8; }
.toast--error { background: #4A1410; }
.toast--error svg { color: #FDA29B; }
.toast.is-leaving { animation: toast-out .25s var(--ease) forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateY(8px); } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal-stagger.is-visible > * { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
}
@media print { .js .reveal, .js .reveal-stagger > * { opacity: 1; transform: none; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form-row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.field-group label, .label { display: block; margin-bottom: 6px; font-size: .9rem; font-weight: 750; }
.req { color: var(--danger-600); }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--surface); color: var(--ink);
  font-size: 1rem; transition: border-color .15s, box-shadow .15s;
}
.select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235F7185' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue-600); box-shadow: var(--ring); }
.input:user-invalid, .textarea:user-invalid, .select:user-invalid { border-color: var(--danger-600); }
.form-note { margin: 0; font-size: .875rem; color: var(--ink-3); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); transition: border-color .15s, box-shadow .15s; }
.faq details[open] { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; list-style: none; font-weight: 750; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: none; color: var(--ink-3); transition: transform .2s var(--ease); }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details > div { padding: 0 20px 18px; color: var(--ink-2); }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- Quick give (hero card) ---------- */
.quick-give { padding: clamp(20px, 3vw, 28px); border-radius: var(--radius-lg); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); }
.quick-give__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.quick-give__head h2 { margin: 0; font-family: var(--font-sans); font-size: 1.25rem; font-weight: 800; letter-spacing: -.01em; }
.quick-give .seg { margin-bottom: 14px; }
.quick-give .amounts { margin-bottom: 12px; }
.quick-give__impact { min-height: 1.5em; margin: 0 0 14px; font-size: .9rem; color: var(--ink-2); line-height: 1.45; }
.quick-give__foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 14px; }
.secure-tag { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 700; color: var(--green-700); }
.secure-tag svg { width: 15px; height: 15px; }
.currency-mini {
  appearance: none; -webkit-appearance: none; min-height: 34px; padding: 4px 28px 4px 12px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%233B4D61' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 9px center;
  font-size: .875rem; font-weight: 750; color: var(--ink); cursor: pointer;
}
.currency-mini:focus-visible { outline: none; box-shadow: var(--ring); }

/* Segmented control */
.seg { display: grid; grid-auto-columns: 1fr; grid-auto-flow: column; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-2); }
.seg label { position: relative; display: block; }
.seg input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.seg span {
  display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; padding: 8px 14px;
  border-radius: 999px; color: var(--ink-2); font-size: .95rem; font-weight: 750;
  transition: background-color .18s, color .18s, box-shadow .18s;
}
.seg span svg { width: 16px; height: 16px; }
.seg input:checked + span { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); }
.seg input:focus-visible + span { box-shadow: var(--ring); }

/* Amount chips */
.amounts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.amount { position: relative; display: block; }
.amount input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.amount span {
  display: flex; align-items: center; justify-content: center; min-height: 54px; padding: 6px;
  border: 1.5px solid var(--line-2); border-radius: 14px; background: var(--surface);
  font-size: 1.04rem; font-weight: 800; color: var(--ink); white-space: nowrap;
  transition: border-color .15s, background-color .15s, color .15s, box-shadow .15s, transform .15s;
}
.amount input:hover + span { border-color: var(--green-500); }
.amount input:active + span { transform: scale(.97); }
.amount input:checked + span { border-color: var(--green-600); background: var(--green-50); color: var(--green-800); box-shadow: inset 0 0 0 1px var(--green-600); }
.amount input:focus-visible + span { box-shadow: inset 0 0 0 1px var(--green-600), var(--ring); }
.amount-other {
  display: flex; align-items: center; gap: 3px; min-height: 54px; padding: 0 12px;
  border: 1.5px solid var(--line-2); border-radius: 14px; background: var(--surface); cursor: text;
  transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.amount-other:focus-within, .amount-other.is-active { border-color: var(--green-600); background: var(--green-50); box-shadow: inset 0 0 0 1px var(--green-600); }
.amount-other__sym { flex: none; font-weight: 800; color: var(--ink-3); white-space: nowrap; font-size: .95rem; }
.amount-other input { width: 100%; min-width: 0; padding: 0; border: 0; outline: none; background: transparent; color: var(--ink); font-size: 1.04rem; font-weight: 800; }
.amount-other input::placeholder { color: var(--ink-3); font-weight: 650; }
.amounts--long .amount span, .amounts--long .amount-other input { font-size: .94rem; }

/* ---------- Donation widget ---------- */
.donate-layout { display: grid; gap: clamp(28px, 4vw, 48px); align-items: start; }
@media (min-width: 1020px) {
  .donate-layout { grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); }
  .donate-aside { position: sticky; top: calc(var(--header-h) + 24px); }
}
.give { container: give / inline-size; min-width: 0; padding: clamp(20px, 3.2vw, 34px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-lg); scroll-margin-top: calc(var(--header-h) + 16px); }
.give__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; margin-bottom: 22px; }
.give__title { margin: 0; font-family: var(--font-sans); font-size: 1.35rem; font-weight: 800; letter-spacing: -.01em; }
.give__steps { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: .8125rem; font-weight: 750; color: var(--ink-3); }
.give__steps li { display: flex; align-items: center; gap: 6px; padding: 4px 11px 4px 4px; border-radius: 999px; background: var(--surface-2); transition: background-color .2s, color .2s; }
.give__steps li span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--line); color: var(--ink-2); font-size: .72rem; transition: background-color .2s, color .2s; }
.give__steps li.is-active { background: var(--green-50); color: var(--green-800); }
.give__steps li.is-active span, .give__steps li.is-done span { background: var(--green-600); color: #fff; }
.give__step { animation: step-in .32s var(--ease); }
@keyframes step-in { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.give__step[data-step="1"] { animation-name: step-back; }
@keyframes step-back { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }

.field { min-width: 0; margin: 0 0 22px; padding: 0; border: 0; }
.field__label { display: block; margin: 0 0 10px; padding: 0; font-size: .95rem; font-weight: 800; color: var(--ink); }
.field__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.field__row .field__label { margin: 0; }
.field__hint { margin: 8px 0 0; font-size: .875rem; color: var(--ink-3); }
.field__error { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; color: var(--danger-600); font-size: .9rem; font-weight: 650; }
.field__error svg { width: 16px; height: 16px; flex: none; }

.fund-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 440px) { .fund-grid { grid-template-columns: 1fr; } }
.fund { position: relative; display: block; }
.fund input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.fund__body {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 1px 12px; height: 100%; padding: 12px 14px;
  border: 1.5px solid var(--line-2); border-radius: 14px; background: var(--surface);
  transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.fund__icon { grid-row: span 2; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--surface-2); color: var(--navy-800); transition: background-color .15s, color .15s; }
.fund__icon svg { width: 20px; height: 20px; }
.fund__name { font-size: .95rem; font-weight: 750; line-height: 1.25; }
.fund__desc { font-size: .8125rem; line-height: 1.3; color: var(--ink-3); }
.fund input:hover + .fund__body { border-color: var(--green-500); }
.fund input:checked + .fund__body { border-color: var(--green-600); background: var(--green-50); box-shadow: inset 0 0 0 1px var(--green-600); }
.fund input:checked + .fund__body .fund__icon { background: var(--green-600); color: #fff; }
.fund input:focus-visible + .fund__body { box-shadow: inset 0 0 0 1px var(--green-600), var(--ring); }

.impact { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 22px; padding: 14px 16px; border-radius: 14px; background: var(--gold-100); font-size: .95rem; line-height: 1.5; }
.impact p { margin: 0; }
.impact strong { font-weight: 800; }
.impact__icon { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--warn-800); }
.impact__icon svg { width: 17px; height: 17px; }

.give__summary { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; padding: 12px 12px 12px 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); }
.give__summary > div { flex: 1; min-width: 0; }
.give__summary-amount { margin: 0; font-size: 1.3rem; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
.give__summary-amount small { font-size: .875rem; font-weight: 650; color: var(--ink-3); }
.give__summary-fund { margin: 0; font-size: .875rem; color: var(--ink-2); }
.back-btn { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border: 0; border-radius: 10px; background: transparent; color: var(--ink-2); cursor: pointer; }
.back-btn:hover { background: var(--surface); color: var(--ink); }
.back-btn svg { width: 20px; height: 20px; }

.methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@container give (min-width: 600px) { .methods { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.method { position: relative; display: block; }
.method input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.method__body {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 100%; min-height: 92px; padding: 12px 8px;
  border: 1.5px solid var(--line-2); border-radius: 14px; background: var(--surface); text-align: center;
  transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.method__body svg { width: 24px; height: 24px; margin-bottom: 4px; color: var(--navy-800); }
.method__name { font-size: .95rem; font-weight: 800; line-height: 1.2; }
.method__sub { font-size: .75rem; color: var(--ink-3); line-height: 1.25; }
.method input:hover ~ .method__body { border-color: var(--green-500); }
.method input:checked ~ .method__body { border-color: var(--green-600); background: var(--green-50); box-shadow: inset 0 0 0 1px var(--green-600); }
.method input:checked ~ .method__body svg { color: var(--green-700); }
.method input:focus-visible ~ .method__body { box-shadow: inset 0 0 0 1px var(--green-600), var(--ring); }
.method__badge { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); padding: 2px 8px; border-radius: 999px; background: var(--gold-400); color: var(--navy-950); font-size: .65rem; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; pointer-events: none; }

.pay-panel { animation: step-in .25s var(--ease); }
.check { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; font-size: .935rem; line-height: 1.45; transition: border-color .15s, background-color .15s; }
.check:hover { border-color: var(--line-2); }
.check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--green-600); cursor: pointer; }
.check:has(input:checked) { border-color: var(--green-500); background: var(--green-50); }
.notice { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: var(--blue-50); color: var(--ink); font-size: .9rem; line-height: 1.5; }
.notice svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--blue-600); }
.notice p { margin: 0; }
.notice--warn { background: var(--warn-50); color: #4D3200; }
.notice--warn svg { color: var(--warn-800); }
.notice--success { background: var(--green-50); }
.notice--success svg { color: var(--green-700); }
.pay-note { margin: 12px 0 0; font-size: .875rem; color: var(--ink-3); text-align: center; line-height: 1.5; }
.pay-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 14px; }
.give__fineprint { display: flex; align-items: flex-start; gap: 10px; margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--ink-3); line-height: 1.5; }
.give__fineprint svg { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--green-600); }

/* Crypto */
.coins { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.coin { position: relative; display: block; }
.coin input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.coin > span { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--surface); font-size: .9rem; font-weight: 750; transition: border-color .15s, background-color .15s, box-shadow .15s; }
.coin small { font-size: .75rem; font-weight: 650; color: var(--ink-3); }
.coin input:checked + span { border-color: var(--green-600); background: var(--green-50); box-shadow: inset 0 0 0 1px var(--green-600); }
.coin input:focus-visible + span { box-shadow: inset 0 0 0 1px var(--green-600), var(--ring); }
.coin__dot { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: #fff; font-size: .85rem; font-weight: 800; line-height: 1; }
.wallet { display: grid; gap: 18px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-2); }
@container give (min-width: 560px) { .wallet { grid-template-columns: 172px minmax(0, 1fr); align-items: start; } }
.wallet__qr { display: grid; place-items: center; width: 172px; height: 172px; margin-inline: auto; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.wallet__qr img { width: 100%; height: 100%; image-rendering: pixelated; }
.wallet__qr-ph { display: grid; place-items: center; gap: 6px; width: 100%; height: 100%; border-radius: 8px; background: repeating-linear-gradient(45deg, var(--surface-2), var(--surface-2) 6px, #fff 6px, #fff 12px); color: var(--ink-3); font-size: .78rem; font-weight: 700; text-align: center; }
.wallet__qr.is-demo { position: relative; }
.wallet__qr.is-demo::after { content: "DEMO"; position: absolute; padding: 3px 10px; border-radius: 6px; background: var(--danger-600); color: #fff; font-size: .78rem; font-weight: 850; letter-spacing: .1em; transform: rotate(-12deg); }
.wallet__info { display: grid; gap: 12px; min-width: 0; }
.wallet__amount { margin: 0; font-size: 1.05rem; }
.wallet__amount strong { font-size: 1.25rem; font-weight: 800; }
.wallet__amount small { display: block; font-size: .825rem; color: var(--ink-3); }
.wallet__label { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; font-size: .875rem; font-weight: 750; color: var(--ink-2); }
.copy-field { display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.copy-field code { flex: 1; min-width: 0; font: 600 .86rem/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--ink); word-break: break-all; }
.crypto-receipt { margin-top: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.crypto-receipt summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; cursor: pointer; list-style: none; font-weight: 750; font-size: .95rem; }
.crypto-receipt summary::-webkit-details-marker { display: none; }
.crypto-receipt summary svg { width: 18px; height: 18px; color: var(--ink-3); transition: transform .2s; }
.crypto-receipt[open] summary svg { transform: rotate(180deg); }
.crypto-receipt .form { padding: 0 16px 16px; }

/* Bank */
.bank-details { margin: 0 0 14px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.bank-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.bank-row:last-child { border-bottom: 0; }
.bank-row dt { grid-column: 1; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.bank-row dd { grid-column: 1; margin: 0; font-size: 1rem; font-weight: 750; color: var(--ink); word-break: break-word; }
.bank-row dd.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .95rem; letter-spacing: .02em; }
.bank-row .copy-btn { grid-column: 2; grid-row: 1 / span 2; }
.copy-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid var(--line-2); border-radius: 10px;
  background: var(--surface); color: var(--navy-800); font-size: .8125rem; font-weight: 750; cursor: pointer; white-space: nowrap;
  transition: border-color .15s, background-color .15s, color .15s;
}
.copy-btn svg { width: 15px; height: 15px; }
.copy-btn:hover { border-color: var(--navy-800); }
.copy-btn.is-copied { border-color: var(--green-500); background: var(--green-50); color: var(--green-700); }

/* Donate aside */
.aside-card + .aside-card { margin-top: 18px; }
.aside-card h2 { font-family: var(--font-sans); font-size: 1.1rem; font-weight: 800; margin-bottom: 14px; }
.trust-list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.trust-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--ink-2); line-height: 1.5; }
.trust-list strong { display: block; color: var(--ink); }
.trust-list .icon-badge { margin: 0; flex: none; }
.impact-mini { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.impact-mini div { padding: 12px 8px; border-radius: 12px; background: var(--surface-2); text-align: center; }
.impact-mini strong { display: block; font-size: .95rem; }
.impact-mini span { display: block; margin-top: 2px; font-size: .78rem; line-height: 1.35; color: var(--ink-3); }
.inspire { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.inspire blockquote { margin: 0; font-family: var(--font-display); font-size: 1.05rem; font-style: italic; line-height: 1.45; color: var(--ink); }
.inspire cite { display: block; margin-top: 4px; font-size: .85rem; font-style: normal; font-weight: 700; color: var(--ink-3); }

/* ---------- EMC page ---------- */
.why-card .why-figure { display: block; margin-bottom: 8px; font-size: clamp(2rem, 1.6rem + 1.4vw, 2.6rem); font-weight: 750; line-height: 1; letter-spacing: -.02em; color: var(--navy-800); }
.locations { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); margin: 0; padding: 0; list-style: none; counter-reset: loc; }
.locations li { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); font-weight: 750; counter-increment: loc; }
.locations li::before { content: counter(loc, decimal-leading-zero); display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--blue-50); color: var(--navy-800); font-size: .85rem; font-weight: 850; }

.chart-card { max-width: 920px; padding: clamp(20px, 3vw, 32px); }
.chart-card__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-bottom: 22px; }
.chart-card__head h3 { margin: 0; font-size: 1.1rem; }
.chart-card__head p { margin: 0; font-size: .9rem; color: var(--ink-3); }
.bars { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.bar-row { position: relative; display: grid; grid-template-columns: minmax(96px, 150px) minmax(0, 1fr); align-items: center; gap: 14px; border-radius: 8px; outline-offset: 4px; }
.bar-row__label { font-size: .95rem; font-weight: 650; color: var(--ink); line-height: 1.25; }
.bar-row__track { display: flex; align-items: center; gap: 10px; min-height: 28px; }
.bar { flex: none; width: calc((100% - 44px) * var(--v) / var(--max)); min-width: 4px; height: 20px; border-radius: 0 4px 4px 0; background: #1D5FAD; transform-origin: left center; transition: filter .15s; }
.bar-row__value { font-size: .95rem; font-weight: 750; color: var(--ink); font-variant-numeric: tabular-nums; }
.js .reveal .bar { transform: scaleX(0); transition: transform .9s var(--ease), filter .15s; transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.is-visible .bar { transform: none; }
.bar-row:hover .bar, .bar-row:focus-visible .bar { filter: brightness(1.15); }
.bar-row[data-tip]:hover::after, .bar-row[data-tip]:focus-visible::after {
  content: attr(data-tip); position: absolute; right: 0; bottom: calc(100% + 6px); z-index: 2;
  padding: 7px 11px; border-radius: 10px; background: var(--ink); color: #fff; font-size: .82rem; font-weight: 650; white-space: nowrap; box-shadow: var(--shadow);
  pointer-events: none;
}
.table-view { margin-top: 18px; }
.table-view summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-size: .9rem; font-weight: 750; color: var(--blue-600); list-style: none; }
.table-view summary::-webkit-details-marker { display: none; }
.table-view summary svg { width: 16px; height: 16px; }
.data-table { width: 100%; margin-top: 12px; border-collapse: collapse; font-size: .925rem; }
.data-table th, .data-table td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.data-table th { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.data-table td.num, .data-table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.data-table tfoot td { font-weight: 800; border-bottom: 0; }

.cost { padding: clamp(24px, 3vw, 32px); border-radius: var(--radius-lg); }
.cost .cost__kind { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-size: .8rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; color: var(--green-700); }
.cost .cost__kind svg { width: 18px; height: 18px; flex: none; }
.cost h3 { font-size: 1.05rem; color: var(--ink-2); font-weight: 650; }
.cost .cost__value { margin: 12px 0 4px; font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.6rem); font-weight: 750; line-height: 1.05; letter-spacing: -.02em; color: var(--ink); }
.cost .cost__approx { margin: 0; font-size: .95rem; font-weight: 650; color: var(--ink-3); min-height: 1.4em; }
.cost--navy { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.cost--navy .cost__kind { color: var(--gold-400); }
.cost--navy h3, .cost.cost--navy .cost__approx { color: rgba(255, 255, 255, .75); }
.cost.cost--navy .cost__value { color: #fff; }

.staff { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); margin: 0; padding: 0; list-style: none; }
.staff li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.staff .icon-badge { margin: 0; flex: none; }
.staff span { display: block; font-weight: 700; line-height: 1.3; }
.staff small { display: block; color: var(--ink-3); font-size: .875rem; font-weight: 600; }

.tiers { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.tier {
  display: flex; flex-direction: column; gap: 6px; padding: 22px; border: 1.5px solid var(--line); border-radius: var(--radius);
  background: var(--surface); color: var(--ink); text-decoration: none;
  transition: border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.tier:hover { color: var(--ink); border-color: var(--green-600); transform: translateY(-3px); box-shadow: var(--shadow); }
.tier__amount { font-size: 1.55rem; font-weight: 800; line-height: 1.1; letter-spacing: -.015em; }
.tier__approx { min-height: 1.3em; font-size: .875rem; font-weight: 650; color: var(--ink-3); }
.tier__desc { margin: 6px 0 0; color: var(--ink-2); }
.tier__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 14px; color: var(--green-700); font-weight: 800; }
.tier__cta svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.tier:hover .tier__cta svg { transform: translateX(3px); }

/* ---------- Events / timeline ---------- */
.timeline { position: relative; display: grid; gap: 28px; margin: 0; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 19px; top: 12px; bottom: 12px; width: 2px; border-radius: 2px; background: linear-gradient(var(--green-100), var(--blue-100)); }
.tl-item { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; }
.tl-dot { z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border: 2px solid var(--green-500); border-radius: 50%; background: var(--surface); color: var(--green-700); }
.tl-dot svg { width: 18px; height: 18px; }
.tl-card { display: grid; padding: 0; overflow: hidden; }
@media (min-width: 760px) { .tl-card { grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); } }
.tl-card__media { background: var(--surface-2); }
.tl-card__media img { width: 100%; height: 100%; min-height: 200px; max-height: 320px; object-fit: cover; }
.tl-card__body { display: flex; flex-direction: column; gap: 10px; padding: clamp(20px, 3vw, 28px); }
.tl-card__body h3 { margin: 0; font-size: 1.2rem; }
.tl-card__body p { margin: 0; color: var(--ink-2); }

.event { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 18px; align-items: start; }
.date-block { padding: 10px 6px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); text-align: center; }
.date-block .m { display: block; font-size: .72rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; color: var(--green-700); }
.date-block .d { display: block; font-size: 1.75rem; font-weight: 800; line-height: 1.1; }
.date-block .y { display: block; font-size: .75rem; font-weight: 700; color: var(--ink-3); }
.event h3 { margin: 6px 0 6px; font-size: 1.12rem; }
.meta-list { display: grid; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; font-size: .9rem; color: var(--ink-2); }
.meta-list li { display: flex; align-items: center; gap: 8px; }
.meta-list svg { width: 16px; height: 16px; flex: none; color: var(--ink-3); }
.empty-state { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border: 1px dashed var(--line-2); border-radius: var(--radius); background: var(--surface); }
.empty-state .icon-badge { margin: 0; flex: none; }
.empty-state p { margin: 0; color: var(--ink-2); }

/* ---------- Contact ---------- */
.info-card { display: flex; flex-direction: column; gap: 4px; }
.info-card h3 { margin-bottom: 4px; }
.info-card p { margin: 0; }
.info-card .link-arrow { margin-top: 10px; }
.map { position: relative; display: grid; place-items: center; overflow: hidden; aspect-ratio: 16 / 10; border: 1px solid var(--line); border-radius: var(--radius-lg); background: radial-gradient(circle at 30% 30%, var(--green-50), transparent 60%), radial-gradient(circle at 70% 70%, var(--blue-50), transparent 60%), var(--surface-2); text-align: center; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__inner { display: grid; justify-items: center; gap: 12px; padding: 24px; }
.map__inner p { margin: 0; color: var(--ink-2); font-size: .95rem; max-width: 36ch; }
.dept { display: grid; gap: 0; }
.dept > div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.dept > div:first-child { padding-top: 0; }
.dept > div:last-child { padding-bottom: 0; border-bottom: 0; }
.dept h3 { margin: 0 0 2px; font-size: 1rem; }
.dept p { margin: 0 0 4px; font-size: .9rem; color: var(--ink-3); }
.hours { display: grid; gap: 4px; margin: 0; }
.hours div { display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; }
.hours dt { color: var(--ink-2); }
.hours dd { margin: 0; font-weight: 700; }

/* ---------- Transparency & Shariah ---------- */
.metric { text-align: left; }
.metric__value { font-size: clamp(2.4rem, 1.8rem + 2vw, 3.2rem); font-weight: 750; line-height: 1; letter-spacing: -.025em; color: var(--navy-800); }
.metric__label { margin-top: 12px; font-weight: 800; }
.metric__desc { margin-top: 2px; font-size: .925rem; color: var(--ink-3); }
.doc-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.doc { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.doc .icon-badge { margin: 0; flex: none; }
.doc__name { flex: 1; min-width: 0; }
.doc__name strong { display: block; }
.doc__name span { font-size: .85rem; color: var(--ink-3); }
.cert { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 22px; border-radius: var(--radius); background: var(--green-50); border: 1px solid var(--green-100); }
.cert__seal { display: grid; place-items: center; width: 64px; height: 64px; flex: none; border-radius: 50%; background: var(--green-600); color: #fff; box-shadow: 0 0 0 6px var(--green-100); }
.cert__seal svg { width: 30px; height: 30px; }
.cert__body { flex: 1; min-width: 220px; }
.cert__body strong { display: block; font-size: 1.1rem; }
.cert__body span { display: block; color: var(--ink-2); font-size: .95rem; }
.principle { display: flex; flex-direction: column; gap: 8px; }
.principle__status { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-top: auto; padding: 4px 10px 4px 6px; border-radius: 999px; background: var(--green-50); color: var(--green-800); font-size: .8rem; font-weight: 800; }
.principle__status svg { width: 15px; height: 15px; }
.board { text-align: center; }
.board img { width: 128px; height: 128px; margin: 0 auto 16px; border: 4px solid var(--surface); border-radius: 50%; object-fit: cover; box-shadow: var(--shadow); }
.board h3 { margin-bottom: 2px; }
.board .role { margin: 0 0 6px; color: var(--green-700); font-weight: 750; font-size: .95rem; }
.zakat-band { display: grid; gap: 20px; align-items: center; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-xl); background: radial-gradient(600px 240px at 100% 0%, rgba(242, 184, 79, .28), transparent 60%), var(--navy-900); color: #fff; }
@media (min-width: 860px) { .zakat-band { grid-template-columns: auto 1fr auto; gap: 28px; } }
.zakat-band h2 { margin: 0 0 6px; color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); }
.zakat-band p { margin: 0; color: rgba(255, 255, 255, .82); }
.zakat-band__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: rgba(242, 184, 79, .18); color: var(--gold-400); }
.zakat-band__icon svg { width: 32px; height: 32px; }

/* ---------- Prose (legal) ---------- */
.prose { max-width: 760px; color: var(--ink-2); }
.prose h2 { margin: 2.1em 0 .6em; font-family: var(--font-sans); font-size: 1.3rem; font-weight: 800; color: var(--ink); }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.25em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--green-600); }

/* ---------- Thank you ---------- */
.thanks { max-width: 680px; margin-inline: auto; text-align: center; }
.thanks__icon { display: grid; place-items: center; width: 88px; height: 88px; margin: 0 auto 26px; border-radius: 50%; background: var(--green-100); color: var(--green-700); animation: pop .6s var(--ease); box-shadow: 0 0 0 10px var(--green-50); }
.thanks__icon svg { width: 42px; height: 42px; }
@keyframes pop { 0% { transform: scale(.6); opacity: 0; } 60% { transform: scale(1.06); opacity: 1; } 100% { transform: scale(1); } }
.thanks h1 { font-size: clamp(2.3rem, 1.6rem + 3vw, 3.6rem); }
.thanks__summary { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 6px 0 22px; }
.next-steps { display: grid; gap: 14px; margin: 36px 0 0; padding: 0; list-style: none; text-align: left; }
.next-steps li { display: flex; gap: 14px; align-items: flex-start; }
.next-steps .num { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--blue-50); color: var(--navy-800); font-weight: 850; font-size: .9rem; }
.next-steps p { margin: 4px 0 0; color: var(--ink-2); }
.share-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* ---------- 404 ---------- */
.not-found { padding-block: clamp(80px, 12vw, 160px); text-align: center; }
.not-found__code { font-family: var(--font-display); font-size: clamp(5rem, 3rem + 10vw, 9rem); font-weight: 700; line-height: 1; color: var(--blue-100); }
