/* ==========================================================================
   Made for More — Design System
   Warm, hopeful, story-driven. Earthy palette, editorial serif + humanist sans.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Color — warm, earthy, hopeful (blends Hope-for-Korah earth tones with
     Ordinary Hero's clean warmth) */
  --ink:        #2a211c;   /* deep espresso — primary text */
  --espresso:   #3f302a;   /* dark brown — headings, dark sections */
  --clay:       #c0563b;   /* terracotta — primary accent / CTA */
  --clay-dark:  #a2432c;   /* terracotta hover */
  --amber:      #d99a3d;   /* warm gold — hope / highlight */
  --olive:      #6f7250;   /* sage olive — secondary accent */
  --burgundy:   #7a3b3b;   /* deep warm — quote / accent */
  --cream:      #faf6f0;   /* warm off-white — page bg */
  --sand:       #f2e9dd;   /* warm light — alt section bg */
  --sand-deep:  #e7d9c8;   /* deeper sand — cards */
  --white:      #ffffff;
  --line:       #e4d8c8;   /* hairline borders */
  --muted:      #7d6f63;   /* secondary text */

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Scale (fluid) */
  --fs-hero:   clamp(2.6rem, 6vw, 5.25rem);
  --fs-h1:     clamp(2.1rem, 4.5vw, 3.5rem);
  --fs-h2:     clamp(1.6rem, 3vw, 2.5rem);
  --fs-h3:     clamp(1.25rem, 2vw, 1.6rem);
  --fs-lead:   clamp(1.125rem, 1.6vw, 1.375rem);
  --fs-body:   1.0625rem;
  --fs-small:  0.875rem;

  /* Space */
  --s-1: 0.5rem;
  --s-2: 1rem;
  --s-3: 1.5rem;
  --s-4: 2.5rem;
  --s-5: 4rem;
  --s-6: 6rem;

  /* Shape / elevation */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;
  --shadow-sm: 0 2px 10px rgba(42,33,28,.06);
  --shadow-md: 0 12px 34px rgba(42,33,28,.10);
  --shadow-lg: 0 28px 60px rgba(42,33,28,.18);

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
  --dur:  .55s;
  --nav-h: 74px;

  --maxw: 1200px;
}

/* --------------------------------------------------------------------------
   2. RESET / BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 1rem);
}

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

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; padding: 0; }

::selection { background: var(--amber); color: var(--espresso); }

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--espresso);
  font-optical-sizing: auto;
}
h1 { font-size: var(--fs-h1); font-weight: 560; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--ink);
  font-weight: 400;
}
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--clay);
  border-radius: 2px;
}
.eyebrow.centered { justify-content: center; }
.eyebrow.centered::after {
  content: "";
  width: 26px; height: 2px;
  background: var(--clay);
  border-radius: 2px;
}

.text-clay { color: var(--clay); }
.text-muted { color: var(--muted); }
.serif { font-family: var(--font-display); }

/* --------------------------------------------------------------------------
   4. LAYOUT
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}
.container--narrow { max-width: 860px; }

.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section--tight { padding-block: clamp(3rem, 5vw, 4.5rem); }
.section--sand { background: var(--sand); }
.section--cream { background: var(--cream); }
.section--espresso { background: var(--espresso); color: var(--cream); }
.section--espresso h1,
.section--espresso h2,
.section--espresso h3 { color: var(--cream); }
.section--espresso .eyebrow { color: var(--amber); }
.section--espresso .eyebrow::before,
.section--espresso .eyebrow.centered::after { background: var(--amber); }

.section-head {
  max-width: 640px;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.section-head.centered { margin-inline: auto; text-align: center; }
.section-head h2 { margin: 0.9rem 0 1rem; }
.section-head p { color: var(--muted); }
.section--espresso .section-head p { color: rgba(250,246,240,.75); }

.grid { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* --------------------------------------------------------------------------
   5. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  padding: 0.95rem 1.7rem;
  border-radius: var(--r-pill);
  transition: transform .25s var(--ease), background .25s var(--ease),
              color .25s var(--ease), box-shadow .25s var(--ease);
  will-change: transform;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary {
  background: var(--clay);
  color: #fff;
  box-shadow: 0 10px 24px rgba(192,86,59,.28);
}
.btn--primary:hover {
  background: var(--clay-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(192,86,59,.34);
}
.btn--ghost {
  background: transparent;
  color: var(--espresso);
  box-shadow: inset 0 0 0 1.5px var(--espresso);
}
.btn--ghost:hover { background: var(--espresso); color: var(--cream); transform: translateY(-2px); }
.btn--light {
  background: var(--cream);
  color: var(--espresso);
}
.btn--light:hover { background: #fff; transform: translateY(-2px); }
.btn--amber { background: var(--amber); color: var(--espresso); }
.btn--amber:hover { filter: brightness(1.05); transform: translateY(-2px); }
.btn--lg { padding: 1.1rem 2.2rem; font-size: 1.05rem; }
.btn--sm { padding: 0.65rem 1.15rem; font-size: 0.88rem; }
.btn--block { width: 100%; }

/* --------------------------------------------------------------------------
   6. NAV
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background .35s var(--ease), box-shadow .35s var(--ease),
              border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled,
.nav--solid {
  background: rgba(250,246,240,.92);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(42,33,28,.05);
}
.nav__inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.28rem;
  letter-spacing: -0.01em;
  color: var(--espresso);
  z-index: 120;
}
.brand__mark {
  width: 34px; height: 34px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--clay), var(--amber));
  color: #fff;
  box-shadow: 0 6px 16px rgba(192,86,59,.3);
}
.brand__mark svg { width: 19px; height: 19px; }
.brand__name b { font-weight: 600; }
.brand__name span { color: var(--clay); font-weight: 600; }

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.9rem);
}
.nav__links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--espresso);
  position: relative;
  padding: 0.35rem 0;
  opacity: .82;
  transition: opacity .2s;
}
.nav__links a::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__links a[aria-current="page"] { opacity: 1; color: var(--clay); }

.nav__actions { display: flex; align-items: center; gap: 0.75rem; }
.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 10px;
  place-items: center;
  color: var(--espresso);
  z-index: 120;
}
.nav__toggle svg { width: 26px; height: 26px; }

/* Mobile menu */
.nav__panel {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  padding: 2rem clamp(1.5rem, 8vw, 3rem);
  transform: translateY(-100%);
  transition: transform .45s var(--ease);
  visibility: hidden;
}
.nav.open .nav__panel { transform: translateY(0); visibility: visible; }
.nav__panel a {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--espresso);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
}
.nav__panel a[aria-current="page"] { color: var(--clay); }
.nav__panel .btn { margin-top: 1rem; }

/* --------------------------------------------------------------------------
   7. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(92vh, 900px);
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(30,22,18,.78) 0%, rgba(30,22,18,.42) 45%, rgba(30,22,18,.15) 100%),
    linear-gradient(to top, rgba(30,22,18,.6), transparent 40%);
}
.hero__inner {
  max-width: 760px;
  color: #fff;
}
.hero .eyebrow { color: var(--amber); }
.hero .eyebrow::before { background: var(--amber); }
.hero h1 {
  color: #fff;
  font-size: var(--fs-hero);
  font-weight: 540;
  margin: 1.1rem 0 1.3rem;
  text-shadow: 0 2px 30px rgba(0,0,0,.25);
}
.hero .lead { color: rgba(255,255,255,.9); max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.hero__scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.7);
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
}
.hero__scroll span {
  width: 22px; height: 34px;
  border: 1.5px solid rgba(255,255,255,.5);
  border-radius: 12px;
  position: relative;
}
.hero__scroll span::after {
  content: "";
  position: absolute; top: 6px; left: 50%;
  width: 3px; height: 7px;
  background: #fff; border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot {
  0% { opacity: 0; top: 6px; }
  40% { opacity: 1; }
  80% { opacity: 0; top: 18px; }
}

/* Page hero (interior pages) */
.pagehero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(3rem,7vw,5.5rem)) 0 clamp(3rem,6vw,5rem);
  background: var(--espresso);
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}
.pagehero__bg {
  position: absolute; inset: 0; z-index: -1;
  background-size: cover; background-position: center;
  opacity: .28;
}
.pagehero .eyebrow { color: var(--amber); }
.pagehero .eyebrow::before { background: var(--amber); }
.pagehero h1 { color: #fff; margin: 0.9rem 0 1rem; }
.pagehero .lead { color: rgba(250,246,240,.82); max-width: 640px; }

/* --------------------------------------------------------------------------
   8. CARDS
   -------------------------------------------------------------------------- */
.card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card__media { aspect-ratio: 4/3; overflow: hidden; }
.card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease);
}
.card:hover .card__media img { transform: scale(1.06); }
.card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.card__body h3 { margin-bottom: 0.6rem; }
.card__body p { color: var(--muted); font-size: 0.98rem; }
.card__link {
  margin-top: auto;
  padding-top: 1rem;
  font-weight: 600;
  color: var(--clay);
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.95rem;
}
.card__link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.card__link:hover svg { transform: translateX(4px); }

/* Feature card (icon + text, no image) */
.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--sand-deep); }
.feature__icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--sand);
  color: var(--clay);
  margin-bottom: 1.2rem;
}
.feature__icon svg { width: 28px; height: 28px; }
.feature h3 { margin-bottom: 0.6rem; }
.feature p { color: var(--muted); font-size: 0.98rem; }

/* --------------------------------------------------------------------------
   9. STORY CARDS (children) — the emotional core
   -------------------------------------------------------------------------- */
.story {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.story:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.story__media { position: relative; aspect-ratio: 5/6; overflow: hidden; }
.story__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease);
}
.story:hover .story__media img { transform: scale(1.05); }
.story__badge {
  position: absolute; top: 0.9rem; left: 0.9rem;
  background: rgba(250,246,240,.92);
  backdrop-filter: blur(6px);
  color: var(--espresso);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.7rem;
  border-radius: var(--r-pill);
}
.story__badge--sponsored { background: var(--olive); color: #fff; }
.story__body { padding: 1.4rem 1.5rem 1.6rem; flex: 1; display: flex; flex-direction: column; }
.story__name { font-size: 1.35rem; margin-bottom: 0.15rem; }
.story__meta {
  font-size: 0.82rem; color: var(--muted);
  font-weight: 600; letter-spacing: 0.02em;
  margin-bottom: 0.8rem;
}
.story__quote {
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--ink);
  font-style: italic;
  border-left: 3px solid var(--amber);
  padding-left: 0.9rem;
  margin-bottom: 1rem;
}
.story__dream {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 1.1rem;
}
.story__dream b { color: var(--clay); font-weight: 600; }
.story__status {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.story__status .pill {
  font-size: 0.78rem; font-weight: 700;
  padding: 0.35rem 0.8rem; border-radius: var(--r-pill);
}
.pill--open { background: rgba(192,86,59,.12); color: var(--clay); }
.pill--filled { background: rgba(111,114,80,.16); color: var(--olive); }

/* --------------------------------------------------------------------------
   10. IMPACT / STATS
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
}
.stat {
  text-align: center;
  padding: 1.75rem 0.5rem 0;
  border-top: 1px solid rgba(250,246,240,.18);
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 560;
  color: var(--amber);
  line-height: 1;
}
.stat__label {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: rgba(250,246,240,.75);
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   11. QUOTE / PULL
   -------------------------------------------------------------------------- */
.pullquote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  line-height: 1.3;
  font-weight: 500;
  color: var(--espresso);
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}
.pullquote mark {
  background: none;
  color: var(--clay);
  font-style: italic;
}
.pullquote::before {
  content: "\201C";
  display: block;
  font-size: clamp(3rem, 6vw, 4.5rem);
  line-height: 0.6;
  color: var(--amber);
  opacity: .5;
  margin-bottom: 1.2rem;
  font-weight: 600;
}
.pullquote cite {
  display: block;
  margin-top: 1.4rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   12. SPLIT (image + text)
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/5;
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__content h2 { margin: 0.9rem 0 1.1rem; }
.split__content p { color: var(--muted); }
/* Photo figure (image + caption) */
.photo { margin: 0; }
.photo__img {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/5;
}
.photo__img img { width: 100%; height: 100%; object-fit: cover; }
.photo figcaption {
  margin-top: 0.85rem;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}
/* Placeholder photo badge (real photo coming) */
.photo-tbd {
  position: absolute; bottom: 0.9rem; right: 0.9rem;
  background: rgba(42,33,28,.72);
  backdrop-filter: blur(6px);
  color: var(--cream);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  pointer-events: none;
}
@media (max-width: 980px) {
  .photo__img { aspect-ratio: 16/10; }
}

/* --------------------------------------------------------------------------
   13. LIST / STEPS
   -------------------------------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 1.25rem; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.step__num {
  counter-increment: step;
  width: 44px; height: 44px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--clay);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
}
.step__num::before { content: counter(step); }
.step h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.step p { color: var(--muted); font-size: 0.96rem; margin: 0; }

/* --------------------------------------------------------------------------
   14. DONATION (Zeffy mock)
   -------------------------------------------------------------------------- */
.donate-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.donate-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-md);
}
.donate-form__head { margin-bottom: 1.5rem; }
.donate-form__head h3 { font-size: 1.4rem; margin-bottom: 0.3rem; }
.donate-form__head p { color: var(--muted); font-size: 0.92rem; margin: 0; }

.freq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  background: var(--sand);
  padding: 0.4rem;
  border-radius: var(--r-pill);
  margin-bottom: 1.5rem;
}
.freq button {
  padding: 0.75rem;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--muted);
  transition: all .25s var(--ease);
}
.freq button[aria-pressed="true"] {
  background: var(--white);
  color: var(--espresso);
  box-shadow: var(--shadow-sm);
}

.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin-bottom: 0.9rem; }
.amount {
  padding: 1rem 0.5rem;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--espresso);
  transition: all .2s var(--ease);
  background: var(--white);
}
.amount:hover { border-color: var(--clay); }
.amount[aria-pressed="true"] {
  border-color: var(--clay);
  background: rgba(192,86,59,.06);
  color: var(--clay);
  box-shadow: 0 0 0 1px var(--clay);
}
.amount--custom { display: flex; align-items: center; gap: 0.4rem; }
.amount--custom input {
  border: none; outline: none; width: 100%;
  font: inherit; font-weight: 700; color: var(--espresso);
  background: transparent;
}
.amount--custom input::placeholder { color: var(--muted); font-weight: 500; }

.field { margin-bottom: 1rem; }
.field label {
  display: block; font-size: 0.82rem; font-weight: 600;
  color: var(--muted); margin-bottom: 0.4rem;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  font: inherit;
  color: var(--ink);
  background: var(--white);
  transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--clay);
  box-shadow: 0 0 0 3px rgba(192,86,59,.12);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }

.tip-toggle {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.9rem 1rem;
  background: var(--sand);
  border-radius: var(--r-md);
  margin-bottom: 1.25rem;
  cursor: pointer;
  font-size: 0.92rem;
}
.tip-toggle input { width: 18px; height: 18px; accent-color: var(--clay); }
.tip-toggle small { color: var(--muted); display: block; }

.donate-submit { margin-top: 0.5rem; }
.donate-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  display: flex; align-items: center; justify-content: center; gap: 0.4rem;
}
.donate-note svg { width: 14px; height: 14px; }

/* Concept banner */
.concept-banner {
  display: flex; gap: 0.7rem; align-items: flex-start;
  background: rgba(217,154,61,.14);
  border: 1px solid rgba(217,154,61,.4);
  border-radius: var(--r-md);
  padding: 1rem 1.2rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--espresso);
}
.concept-banner svg { width: 20px; height: 20px; flex: none; color: var(--amber); margin-top: 2px; }
.concept-banner b { font-weight: 700; }

/* Donate side panel */
.donate-side { display: flex; flex-direction: column; gap: 1.25rem; }
.donate-side__card {
  background: var(--espresso);
  color: var(--cream);
  border-radius: var(--r-lg);
  padding: 2rem;
}
.donate-side__card h3 { color: #fff; font-size: 1.3rem; margin-bottom: 0.8rem; }
.donate-side__card p { color: rgba(250,246,240,.8); font-size: 0.95rem; }
.donate-side__card ul { margin-top: 1rem; display: grid; gap: 0.7rem; }
.donate-side__card li {
  display: flex; gap: 0.6rem; align-items: flex-start;
  font-size: 0.92rem; color: rgba(250,246,240,.85);
}
.donate-side__card li svg { width: 18px; height: 18px; color: var(--amber); flex: none; margin-top: 2px; }

/* --------------------------------------------------------------------------
   15. CTA BAND
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
  color: #fff;
  isolation: isolate;
}
.cta-band__bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
}
.cta-band__scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, rgba(63,48,42,.9), rgba(122,59,59,.75));
}
.cta-band h2 { color: #fff; margin-bottom: 0.8rem; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 560px; margin: 0 auto 1.8rem; }
.cta-band .btn { margin: 0 0.4rem; }

/* --------------------------------------------------------------------------
   16. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background: #241c17;
  color: rgba(250,246,240,.72);
  padding-top: clamp(3rem, 6vw, 5rem);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2rem;
  padding-bottom: 3rem;
}
.footer .brand { color: var(--cream); margin-bottom: 1rem; }
.footer__grid p { font-size: 0.92rem; max-width: 320px; }
.footer h4 {
  font-family: var(--font-body);
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--cream); margin-bottom: 1.1rem;
}
.footer ul { display: grid; gap: 0.6rem; }
.footer ul a { font-size: 0.92rem; transition: color .2s; }
.footer ul a:hover { color: var(--amber); }
.footer__social { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
.footer__social a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: var(--cream);
  transition: background .25s, transform .25s;
}
.footer__social a:hover { background: var(--clay); transform: translateY(-3px); }
.footer__social svg { width: 18px; height: 18px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.5rem 0;
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(250,246,240,.5);
}

/* --------------------------------------------------------------------------
   17. REVEAL / MOTION
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.reveal--left { transform: translateX(-32px); }
.reveal--right { transform: translateX(32px); }
.reveal--scale { transform: scale(.94); }
.reveal--left.in, .reveal--right.in, .reveal--scale.in { transform: none; }

/* Parallax helper */
.parallax { will-change: transform; }

/* --------------------------------------------------------------------------
   18. MISC
   -------------------------------------------------------------------------- */
.divider {
  width: 60px; height: 3px;
  background: var(--clay);
  border-radius: 3px;
  margin: 1.5rem 0;
}
.divider--center { margin-inline: auto; }

.tag {
  display: inline-block;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.7rem;
  border-radius: var(--r-pill);
  background: var(--sand);
  color: var(--clay);
}

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--clay); color: #fff;
  padding: 0.6rem 1rem; border-radius: 0 0 8px 0;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------------------
   19. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: 1fr; gap: 1.25rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .donate-wrap { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media { aspect-ratio: 16/10; }
}
@media (max-width: 720px) {
  .nav__links, .nav__actions .btn { display: none; }
  .nav__toggle { display: grid; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .amounts { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr; }
  .hero { min-height: 86vh; }
  .footer__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer__bottom { flex-direction: column; }
}

/* --------------------------------------------------------------------------
   20. REDUCED MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__media { animation: none; transform: none; }
}
