/* ==========================================================
   Riziq Foundation — styles
   ========================================================== */
:root {
  --paper: #f5f0e8;
  --paper-2: #ece5d8;
  --ink: #1b1a17;
  --ink-soft: #5b574f;
  --line: rgba(27, 26, 23, 0.14);
  --accent: #e9a23b;     /* saffron / grain */
  --accent-deep: #c9821f;
  --green: #22382d;      /* deep olive */
  --serif: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
em { font-style: normal; font-weight: inherit; }

.container { width: min(1240px, 100% - 3rem); margin-inline: auto; }

/* ---------- Typography ---------- */
.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.eyebrow--light { color: rgba(245, 240, 232, 0.6); }
.h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.h2 em { color: var(--accent-deep); }
.h2--light { color: var(--paper); }
.h2--light em { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1rem 1.8rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: transform 0.4s var(--ease), background 0.3s, color 0.3s;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 0.65rem 1.3rem; font-size: 0.875rem; }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: var(--green); }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { background: var(--ink); color: var(--paper); }
.btn--block { width: 100%; padding: 1.15rem; font-size: 1rem; }

.link-arrow { font-weight: 500; font-size: 0.95rem; display: inline-flex; gap: 0.5rem; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow span { transition: transform 0.4s var(--ease); }
.link-arrow:hover span { transform: translateX(5px); }

.tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-soft);
}

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--ink); }
.logo__mark { width: 34px; height: 34px; }
.logo__mark circle { color: var(--accent-deep); fill: var(--accent-deep); }
.logo__word {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  display: flex; flex-direction: column;
}
.logo__sub {
  font-family: var(--sans);
  font-size: 0.55rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-soft);
  margin-top: 4px;
}
.logo--light { color: var(--paper); }
.logo--light .logo__sub { color: rgba(245, 240, 232, 0.55); }
.logo--light .logo__mark circle { fill: var(--accent); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 1.1rem 0;
  background: var(--paper);
  transition: background 0.4s, padding 0.4s, box-shadow 0.4s;
}
.nav.is-scrolled {
  background: rgba(245, 240, 232, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0.8rem 0;
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 2rem; }
.nav__links { display: flex; gap: 2.2rem; margin-left: auto; font-size: 0.92rem; }
.nav__links a { position: relative; color: var(--ink-soft); transition: color 0.3s; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 1px; width: 100%;
  background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__toggle { display: none; width: 32px; height: 32px; flex-direction: column; justify-content: center; gap: 6px; }
.nav__toggle span { display: block; height: 1.5px; width: 100%; background: var(--ink); transition: transform 0.3s; }

/* ---------- Mission (formerly hero) ---------- */
.mission { padding: clamp(5rem, 10vw, 9rem) 0; border-top: 1px solid var(--line); }
.hero__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(3rem, 9vw, 8.5rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
}
.hero__title em { color: var(--accent-deep); font-weight: 500; }
.hero__foot {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: end;
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.hero__lede { font-size: 1.1rem; color: var(--ink-soft); max-width: 34rem; }
.hero__lede strong { color: var(--ink); font-weight: 600; }
.hero__ctas { display: flex; gap: 2rem; align-items: center; justify-content: flex-end; flex-wrap: wrap; }

/* ---------- Ticker ---------- */
.ticker { background: var(--ink); color: var(--paper); overflow: hidden; padding: 1.1rem 0; }
.ticker__track {
  display: flex; gap: 2.5rem; width: max-content;
  animation: ticker 38s linear infinite;
  font-family: var(--serif); font-size: 1.35rem; font-weight: 500; white-space: nowrap;
}
.ticker__track i { color: var(--accent); font-style: normal; font-size: 0.9rem; align-self: center; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Hero slider (full width) ---------- */
.hero-slider { padding-top: 76px; }
.slider {
  position: relative; overflow: hidden; width: 100%;
  height: clamp(520px, calc(100vh - 76px), 900px);
  height: clamp(520px, calc(100svh - 76px), 900px);
  touch-action: pan-y;
  background: var(--ink); color: var(--paper);
  cursor: grab; user-select: none;
}
.slider.is-dragging { cursor: grabbing; }
.slider__track { display: flex; height: 100%; transition: transform 1s var(--ease); will-change: transform; }
.slide { position: relative; flex: 0 0 100%; height: 100%; overflow: hidden; }
.slide__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08); transition: transform 6s ease-out; pointer-events: none;
}
.slide.is-active .slide__img { transform: scale(1); }
.slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,19,17,0.15) 0%, rgba(20,19,17,0.05) 35%, rgba(20,19,17,0.8) 100%);
}
.slide__meta {
  position: absolute; left: 0; right: 0; bottom: 7.5rem; z-index: 2;
  display: grid; gap: 0.9rem; justify-items: start;
}
.slide__meta > * { max-width: 46rem; opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.slide.is-active .slide__meta > * { opacity: 1; transform: none; }
.slide.is-active .slide__meta > :nth-child(2) { transition-delay: 0.12s; }
.slide.is-active .slide__meta > :nth-child(3) { transition-delay: 0.24s; }
.slide__meta h2 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 3.4rem); line-height: 1.08; letter-spacing: -0.03em;
}
.slide__meta p { color: rgba(245,240,232,0.82); font-size: 1.05rem; max-width: 36rem; }
.tag--light { color: var(--accent); }

.slider__arrow {
  position: absolute; top: 50%; z-index: 3; transform: translateY(-50%);
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(245,240,232,0.14); color: var(--paper);
  border: 1px solid rgba(245,240,232,0.35);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 1.2rem;
  transition: background 0.3s, color 0.3s, transform 0.4s var(--ease);
}
.slider__arrow:hover { background: var(--paper); color: var(--ink); }
.slider__arrow--prev { left: clamp(1rem, 3vw, 2.5rem); }
.slider__arrow--next { right: clamp(1rem, 3vw, 2.5rem); }
.slider__arrow--prev:hover { transform: translateY(-50%) translateX(-3px); }
.slider__arrow--next:hover { transform: translateY(-50%) translateX(3px); }

.slider__bar {
  position: absolute; left: 0; right: 0; bottom: 2.25rem; z-index: 3;
  display: flex; align-items: center; gap: 1.5rem;
}
.slider__count { font-family: var(--serif); font-size: 1rem; color: rgba(245,240,232,0.6); white-space: nowrap; }
.slider__count b { color: var(--paper); font-weight: 600; }
.slider__progress { flex: 1; height: 2px; background: rgba(245,240,232,0.25); position: relative; overflow: hidden; border-radius: 2px; }
.slider__progress span { position: absolute; inset: 0; background: var(--paper); transform-origin: left; transform: scaleX(0); }

/* ---------- Causes ("Where your giving goes") ---------- */
.causes { padding: clamp(5rem, 10vw, 8rem) 0; }
.h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.6rem, 6.5vw, 5.5rem); line-height: 1.02; letter-spacing: -0.035em;
}
.h1 em { color: var(--accent-deep); }
.causes__head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: end; margin-bottom: 4rem; }
.causes__lede { color: var(--ink-soft); font-size: 1.1rem; }
.cause-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cause {
  position: relative; padding: 2.2rem 2rem 2rem; min-height: 260px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 0.8rem;
  transition: background 0.4s, color 0.4s;
}
.cause__idx { font-family: var(--serif); font-size: 0.9rem; color: var(--accent-deep); font-weight: 600; }
.cause h3 { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; letter-spacing: -0.02em; }
.cause p { color: var(--ink-soft); transition: color 0.4s; }
.cause__more { margin-top: auto; font-weight: 500; font-size: 0.92rem; opacity: 0; transform: translateY(6px); transition: opacity 0.4s, transform 0.4s var(--ease); }
.cause:hover { background: var(--ink); color: var(--paper); }
.cause:hover p { color: rgba(245,240,232,0.7); }
.cause:hover .cause__idx, .cause:hover .cause__more { color: var(--accent); }
.cause:hover .cause__more { opacity: 1; transform: none; }

/* ---------- Donate form extras ---------- */
.field-label { display: block; font-size: 0.8rem; font-weight: 500; color: var(--ink-soft); margin-bottom: 0.5rem; }
.select-wrap { position: relative; margin-bottom: 1rem; }
.select-wrap::after { content: "▾"; position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--ink-soft); }
.select-wrap select {
  width: 100%; appearance: none; -webkit-appearance: none;
  font: inherit; font-weight: 500; color: var(--ink);
  background: transparent; border: 1px solid var(--line); border-radius: 14px;
  padding: 0.9rem 2.5rem 0.9rem 1rem; cursor: pointer; outline: none;
}
.select-wrap select:focus { border-color: var(--ink); }

/* ---------- Statement ---------- */
.statement { padding: clamp(5rem, 10vw, 9rem) 0; border-top: 1px solid var(--line); }
.statement__text {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.9rem, 4.2vw, 3.6rem);
  line-height: 1.15; letter-spacing: -0.025em; max-width: 44ch;
}
.statement__text em { color: var(--accent-deep); }
.underline { background: linear-gradient(var(--accent), var(--accent)) 0 92% / 100% 0.12em no-repeat; }

/* ---------- Approach ---------- */
.approach { padding: clamp(4rem, 8vw, 7rem) 0; background: var(--paper-2); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 4rem; }
.step { border-top: 1px solid var(--ink); padding-top: 1.6rem; }
.step__num { font-family: var(--serif);  font-size: 1.1rem; color: var(--accent-deep); }
.step h3 { font-family: var(--serif); font-weight: 400; font-size: 2rem; margin: 0.6rem 0 0.8rem; letter-spacing: -0.02em; }
.step p { color: var(--ink-soft); }

/* ---------- Stats ---------- */
.stats { padding: clamp(4rem, 8vw, 6rem) 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 1rem 1.5rem; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(3rem, 6vw, 5.2rem); letter-spacing: -0.04em; line-height: 1; }
.stat__label { display: block; margin-top: 0.8rem; color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- Programs ---------- */
.programs { padding: clamp(4rem, 8vw, 7rem) 0; border-top: 1px solid var(--line); }
.program-list { list-style: none; margin-top: 3.5rem; border-top: 1px solid var(--line); }
.program {
  display: grid; grid-template-columns: 4rem 1.2fr 2fr auto; align-items: center; gap: 2rem;
  padding: 2rem 0.5rem; border-bottom: 1px solid var(--line);
  position: relative; cursor: pointer; transition: padding 0.5s var(--ease), color 0.4s;
}
.program::before {
  content: ""; position: absolute; inset: 0; background: var(--ink);
  transform: scaleY(0); transform-origin: bottom; transition: transform 0.5s var(--ease); z-index: -1;
}
.program:hover { color: var(--paper); padding-inline: 1.5rem; }
.program:hover::before { transform: scaleY(1); }
.program:hover p, .program:hover .program__idx { color: rgba(245, 240, 232, 0.65); }
.program { isolation: isolate; }
.program__idx { font-family: var(--serif);  color: var(--ink-soft); }
.program h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2.6vw, 2.2rem); letter-spacing: -0.02em; }
.program p { color: var(--ink-soft); transition: color 0.4s; }
.program__price { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 500; }
.program:hover .program__price { color: var(--accent); }

/* ---------- Donate ---------- */
.donate { background: var(--green); color: var(--paper); padding: clamp(5rem, 10vw, 8rem) 0; }
.donate__grid { display: grid; grid-template-columns: 1fr 460px; gap: 5rem; align-items: center; }
.donate__lede { color: rgba(245, 240, 232, 0.72); margin: 1.8rem 0; max-width: 32rem; font-size: 1.05rem; }
.checks { list-style: none; display: grid; gap: 0.7rem; }
.checks li { display: flex; gap: 0.75rem; align-items: center; color: rgba(245, 240, 232, 0.85); }
.checks li::before { content: "✓"; color: var(--accent); font-weight: 600; }

.donate-card { background: var(--paper); color: var(--ink); border-radius: 24px; padding: 2rem; box-shadow: 0 40px 80px -30px rgba(0,0,0,0.45); }
.toggle { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: var(--paper-2); border-radius: 999px; padding: 5px; margin-bottom: 1.5rem; }
.toggle__btn { position: relative; z-index: 1; padding: 0.7rem; border-radius: 999px; font-weight: 500; font-size: 0.92rem; color: var(--ink-soft); transition: color 0.3s; }
.toggle__btn.is-active { color: var(--paper); }
.toggle__pill { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); background: var(--ink); border-radius: 999px; transition: transform 0.5s var(--ease); }
.toggle.is-monthly .toggle__pill { transform: translateX(100%); }

.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.amount {
  border: 1px solid var(--line); border-radius: 14px; padding: 1rem 0.5rem;
  font-family: var(--serif); font-size: 1.3rem; text-align: center;
  transition: border-color 0.3s, background 0.3s, color 0.3s;
}
.amount:hover { border-color: var(--ink); }
.amount.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.amount--custom { display: flex; align-items: center; justify-content: center; gap: 2px; cursor: text; }
.amount--custom input { width: 100%; border: 0; background: transparent; font: inherit; color: inherit; outline: none; text-align: left; min-width: 0; }
.amount--custom input::placeholder { color: var(--ink-soft); font-size: 1rem; }
.amount--custom input::-webkit-outer-spin-button, .amount--custom input::-webkit-inner-spin-button { -webkit-appearance: none; }
.impact { margin: 1.4rem 0; padding: 1rem 1.1rem; background: var(--paper-2); border-radius: 12px; font-size: 0.92rem; color: var(--ink-soft); min-height: 3.4rem; }
.impact b { color: var(--ink); font-weight: 600; }
.donate-card__note { text-align: center; font-size: 0.8rem; color: var(--ink-soft); margin-top: 1rem; }

/* ---------- Stories ---------- */
.stories { padding: clamp(5rem, 10vw, 8rem) 0; }
.quote { max-width: 60rem; margin-bottom: clamp(4rem, 8vw, 6rem); }
.quote p { font-family: var(--serif); font-weight: 500; font-size: clamp(1.8rem, 3.8vw, 3.2rem); line-height: 1.15; letter-spacing: -0.025em; }
.quote footer { margin-top: 2rem; display: flex; gap: 1rem; align-items: center; font-size: 0.92rem; }
.quote footer::before { content: ""; width: 40px; height: 1px; background: var(--ink); }
.quote__name { font-weight: 600; }
.quote__place { color: var(--ink-soft); }

.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.story img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; border-radius: var(--radius); margin-bottom: 1.3rem; background: var(--paper-2); transition: transform 0.8s var(--ease); }
.story:hover img { transform: scale(0.98); }
.story h3 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.2; letter-spacing: -0.015em; margin: 0.5rem 0 1rem; }

/* ---------- CTA ---------- */
.cta { padding: clamp(5rem, 10vw, 8rem) 0; background: var(--accent); text-align: center; }
.cta__title { font-family: var(--serif); font-weight: 600; font-size: clamp(3.2rem, 10vw, 8.5rem); line-height: 0.9; letter-spacing: -0.04em; margin-bottom: 2.5rem; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--paper); padding: 5rem 0 2rem; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.1fr 1.4fr; gap: 4rem; }
.footer__brand p { color: rgba(245, 240, 232, 0.6); margin: 1.8rem 0 1rem; }
.newsletter { display: flex; border-bottom: 1px solid rgba(245, 240, 232, 0.3); max-width: 24rem; }
.newsletter input { flex: 1; background: transparent; border: 0; color: var(--paper); padding: 0.8rem 0; font: inherit; outline: none; }
.newsletter input::placeholder { color: rgba(245, 240, 232, 0.4); }
.newsletter button { color: var(--accent); font-weight: 500; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer__cols h4 { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(245, 240, 232, 0.45); font-weight: 500; margin-bottom: 1.2rem; }
.footer__cols a { display: block; margin-bottom: 0.6rem; color: rgba(245, 240, 232, 0.85); transition: color 0.3s; }
.footer__cols a:hover { color: var(--accent); }
.footer__big {
  font-family: var(--serif); font-weight: 700; 
  font-size: clamp(5rem, 28vw, 26rem); line-height: 0.8; letter-spacing: -0.045em;
  color: transparent; -webkit-text-stroke: 1px rgba(245, 240, 232, 0.18);
  margin: 4rem 0 2rem; text-align: center; user-select: none;
}
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.82rem; color: rgba(245, 240, 232, 0.5); padding-top: 1.5rem; border-top: 1px solid rgba(245, 240, 232, 0.12); }
.footer__bottom a:hover { color: var(--paper); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Image fallback ---------- */
img.is-broken { opacity: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__foot, .donate__grid, .footer__top { grid-template-columns: 1fr; }
  .hero__ctas { justify-content: flex-start; }
  .steps, .story-grid { grid-template-columns: 1fr; }
  .causes__head { grid-template-columns: 1fr; }
  .cause-grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .program { grid-template-columns: 2.5rem 1fr auto; }
  .program p { display: none; }
  .donate__grid { gap: 3rem; }
}
@media (max-width: 760px) {
  .nav__links {
    position: fixed; inset: 0; background: var(--paper); flex-direction: column;
    justify-content: center; align-items: center; gap: 2rem; font-family: var(--serif); font-size: 2rem;
    opacity: 0; pointer-events: none; transition: opacity 0.4s;
  }
  .nav__links a { color: var(--ink); }
  .nav.is-open .nav__links { opacity: 1; pointer-events: auto; }
  .nav__toggle { display: flex; position: relative; z-index: 2; }
  .nav .btn--sm { margin-left: auto; position: relative; z-index: 2; }
  .nav.is-open .nav__toggle span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav.is-open .nav__toggle span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .slider__arrow { width: 46px; height: 46px; top: auto; bottom: 1.6rem; transform: none; }
  .slider__arrow:hover, .slider__arrow--prev:hover, .slider__arrow--next:hover { transform: none; }
  .slider__arrow--prev { left: auto; right: 4.6rem; }
  .slider__arrow--next { right: 1rem; }
  .slider__bar { bottom: 1.6rem; padding-right: 7.5rem; }
  .slider__bar .btn { display: none; }
  .slide__meta { bottom: 5.5rem; }
  .cause-grid { grid-template-columns: 1fr; }
  .cause { min-height: 0; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  /* backdrop-filter would trap the fixed full-screen menu inside the bar */
  .nav, .nav.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); }
  .hero-slider { padding-top: 68px; }
  .slider { height: clamp(480px, calc(100svh - 68px), 760px); }
  .donate-card { padding: 1.5rem; }
  .program { gap: 1rem; padding-block: 1.5rem; }
}
@media (max-width: 420px) {
  .container { width: calc(100% - 2rem); }
  .logo__word { font-size: 1.3rem; }
  .nav__inner { gap: 1rem; }
  .slide__meta p { font-size: 0.95rem; }
  .amounts { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: 1fr; }
  .stat, .stat:first-child, .stat:nth-child(3) { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 1.5rem; }
  .footer__cols { grid-template-columns: 1fr; }
}
/* Touch devices: no hover, so show hover-only hints */
@media (hover: none) {
  .cause__more { opacity: 1; transform: none; color: var(--accent-deep); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
