/* =========================================================
   AYADI — site styles
   Colours come from the AYADI logo.
   ========================================================= */

:root {
  /* Brand colours (from the logo) */
  --teal: #4aa296;          /* upper hand */
  --teal-600: #3a8d82;
  --teal-700: #2c7469;
  --deep: #03434f;          /* lower hand */
  --deep-900: #012f39;      /* wordmark */
  --deep-950: #01242c;
  --coral: #e06a5a;         /* heart */
  --coral-600: #cc5646;

  /* Tints */
  --teal-50: #f1f8f7;
  --teal-100: #e1f0ed;
  --teal-200: #c4e2dc;
  --coral-50: #fdf0ee;
  --white: #ffffff;
  --sand: #fbfaf7;

  /* Text */
  --ink: #0f2a30;
  --muted: #5a7177;
  --line: #e3ecea;

  /* Type */
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;
  --serif: 'Fraunces', Georgia, serif;

  /* Shape */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(1, 47, 57, .06), 0 2px 8px rgba(1, 47, 57, .05);
  --shadow: 0 10px 30px -10px rgba(1, 47, 57, .18), 0 2px 6px rgba(1, 47, 57, .05);
  --shadow-lg: 0 30px 60px -20px rgba(1, 47, 57, .28);

  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1.12; letter-spacing: -.015em; color: var(--deep-900); }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
.icon { flex: none; }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--deep); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
}
.skip:focus { top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1.5px solid transparent; border-radius: 999px;
  padding: 12px 22px; font-weight: 700; font-size: 15px; line-height: 1;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-coral { background: var(--coral); color: #fff; box-shadow: 0 8px 20px -8px rgba(224, 106, 90, .7); }
.btn-coral:hover { background: var(--coral-600); }
.btn-teal { background: var(--deep); color: #fff; }
.btn-teal:hover { background: var(--deep-900); }
.btn-ghost { background: transparent; color: var(--deep); border-color: var(--teal-200); }
.btn-ghost:hover { border-color: var(--deep); background: #fff; }
.btn .icon { width: 18px; height: 18px; }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }

.link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; color: var(--deep); background: none; border: 0; padding: 0;
}
.link .icon { width: 18px; height: 18px; transition: transform .2s; }
.link:hover .icon { transform: translateX(4px); }
.link:hover { color: var(--coral); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }

.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: .24em; color: var(--deep-900); }
.brand-tag { font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: .02em; margin-top: 3px; white-space: nowrap; }
.brand.light .brand-name { color: #fff; }
.brand.light .brand-tag { color: #a9cdc8; }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  padding: 8px 12px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--ink); white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.nav a:hover { background: var(--teal-50); color: var(--deep); }
.header-actions { display: flex; align-items: center; gap: 10px; }

.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.menu-btn span { width: 18px; height: 2px; background: var(--deep); border-radius: 2px; transition: transform .25s, opacity .25s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; padding: 64px 0 150px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 400px at 85% 20%, rgba(74, 162, 150, .18), transparent 70%),
    radial-gradient(500px 360px at 10% 90%, rgba(224, 106, 90, .08), transparent 70%),
    linear-gradient(180deg, var(--teal-50), #fff 85%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 10px; border-radius: 999px;
  background: #fff; border: 1px solid var(--teal-200);
  font-size: 12.5px; font-weight: 700; color: var(--teal-700); letter-spacing: .02em;
  box-shadow: var(--shadow-sm);
}
.pill .icon { width: 16px; height: 16px; color: var(--coral); }

.hero h1 {
  font-size: clamp(42px, 5.6vw, 74px); font-weight: 700; letter-spacing: -.025em; line-height: 1.04;
  margin: 22px 0 22px;
}
.hero h1 .accent {
  color: var(--teal);
  text-decoration: underline; text-decoration-color: var(--coral);
  text-decoration-thickness: .07em; text-underline-offset: .16em; text-decoration-skip-ink: auto;
}
.lead { font-size: 18.5px; color: var(--muted); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 28px; }

.checks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.checks li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--deep); }
.checks .icon { color: var(--teal); }

.hero-media { position: relative; }
.hero-img {
  border-radius: 220px 220px var(--r-xl) var(--r-xl);
  overflow: hidden; aspect-ratio: 5 / 6; max-height: 600px; margin-left: auto;
  box-shadow: var(--shadow-lg);
  background: var(--teal-100);
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero-media::before {
  content: ""; position: absolute; inset: -18px -18px auto auto; width: 140px; height: 140px;
  border-radius: 50%; border: 2px dashed var(--teal-200); z-index: -1;
}

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: var(--r); padding: 12px 18px 12px 12px;
  box-shadow: var(--shadow); animation: bob 6s ease-in-out infinite;
}
.float-card b { display: block; font-size: 14px; color: var(--deep-900); }
.float-card small { font-size: 12.5px; color: var(--muted); }
.float-a { left: -28px; top: 18%; }
.float-b { right: -18px; bottom: 12%; animation-delay: -3s; }
.float-icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--teal-100); color: var(--deep);
}
.float-icon.coral { background: var(--coral-50); color: var(--coral); }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* ---------- Donation panel ---------- */
.donate-wrap { position: relative; z-index: 5; margin-top: -100px; }
.donate-card {
  background: #fff; border-radius: var(--r-xl); padding: 32px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.donate-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.donate-head h2 { font-size: 26px; }
.donate-head p { color: var(--muted); margin-top: 4px; }
.switches { display: flex; gap: 10px; flex-wrap: wrap; }
.seg { display: inline-flex; padding: 4px; background: var(--teal-50); border: 1px solid var(--line); border-radius: 999px; }
.seg button {
  border: 0; background: transparent; padding: 8px 16px; border-radius: 999px;
  font-size: 14px; font-weight: 700; color: var(--muted); transition: background-color .2s, color .2s;
}
.seg button.active { background: var(--deep); color: #fff; box-shadow: var(--shadow-sm); }

.donate-body { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 14px; align-items: end; }
.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.amounts button {
  height: 54px; border-radius: var(--r); border: 1.5px solid var(--line); background: #fff;
  font-weight: 700; font-size: 16px; color: var(--deep-900); transition: border-color .2s, background-color .2s, color .2s;
}
.amounts button:hover { border-color: var(--teal); }
.amounts button.selected { border-color: var(--deep); background: var(--deep); color: #fff; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field span { font-size: 12.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.field input, .field select {
  height: 54px; border: 1.5px solid var(--line); border-radius: var(--r); padding: 0 16px; background: #fff;
  font-weight: 600; width: 100%; transition: border-color .2s;
}
.field 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='%2303434f' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.field input:focus, .field select:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 4px rgba(74, 162, 150, .15); }
.donate-submit { height: 54px; }
.donate-note { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 13px; color: var(--muted); }
.donate-note .icon { width: 16px; height: 16px; color: var(--teal); }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section.tint { background: var(--teal-50); }
.section.dark { background: var(--deep-900); color: #fff; position: relative; overflow: hidden; }
.section.dark::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 400px at 90% 0%, rgba(74, 162, 150, .25), transparent 65%),
              radial-gradient(500px 300px at 0% 100%, rgba(224, 106, 90, .12), transparent 70%);
}
.section.dark > .container { position: relative; }
.section.dark h2, .section.dark h3 { color: #fff; }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 48px; }
.section-head p { max-width: 460px; color: var(--muted); }
.section.dark .section-head p { color: #a9cdc8; }
.section-head.center { justify-content: center; text-align: center; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--coral); margin-bottom: 12px;
}
.eyebrow.light { color: #f3a297; }
h2 { font-size: clamp(30px, 3.8vw, 46px); }
.muted { color: var(--muted); }

/* ---------- Values ---------- */
.values-section { padding: 80px 0 40px; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value { display: flex; gap: 16px; align-items: flex-start; }
.value h3 { font-size: 18px; margin-bottom: 4px; }
.value p { font-size: 14.5px; color: var(--muted); }
.value-icon {
  flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: var(--teal-100); color: var(--deep);
}
.value-icon .icon { width: 24px; height: 24px; }
.value-icon.coral { background: var(--coral-50); color: var(--coral); }

/* ---------- Appeal cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-img { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--teal-100); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card-img img { transform: scale(1.05); }
.chip {
  position: absolute; left: 16px; top: 16px;
  background: rgba(255, 255, 255, .94); color: var(--deep); font-size: 12px; font-weight: 700;
  padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(6px);
}
.card-body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.card-body h3 { font-size: 21px; margin-bottom: 8px; }
.card-body p { color: var(--muted); font-size: 15px; flex: 1; }
.progress { height: 8px; background: var(--teal-100); border-radius: 99px; overflow: hidden; margin: 22px 0 10px; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--deep)); border-radius: 99px; }
.progress-meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.progress-meta b { color: var(--deep-900); }

/* ---------- Focus areas ---------- */
.focus-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.focus-item {
  padding: 28px 24px; border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  transition: background-color .25s, border-color .25s, transform .25s;
}
.focus-item:hover { background: rgba(74, 162, 150, .16); border-color: rgba(74, 162, 150, .5); transform: translateY(-4px); }
.focus-icon {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: rgba(74, 162, 150, .22); color: #9fe0d5; margin-bottom: 18px;
}
.focus-icon .icon { width: 26px; height: 26px; }
.focus-item h3 { font-size: 18px; margin-bottom: 6px; }
.focus-item p { font-size: 14.5px; color: #a9cdc8; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: s; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 32px; left: 16%; right: 16%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--teal-200) 0 8px, transparent 8px 16px);
}
.step { text-align: center; padding: 0 12px; position: relative; }
.step-num {
  width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 2px solid var(--teal); color: var(--deep); font-size: 22px; font-weight: 800;
  box-shadow: 0 0 0 8px #fff;
}
.step:nth-child(3) .step-num { border-color: var(--coral); color: var(--coral); }
.step h3 { font-size: 20px; margin-bottom: 6px; }
.step p { color: var(--muted); }

/* ---------- Transparency ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split h2 { margin-bottom: 16px; }
.commitments { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.commitments li { display: flex; gap: 12px; align-items: center; font-weight: 600; color: var(--deep-900); }
.commitments .icon { color: var(--teal); width: 22px; height: 22px; }

.dash { background: #fff; border-radius: var(--r-xl); padding: 32px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.dash-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; gap: 12px; }
.dash-head h3 { font-size: 21px; }
.badge { background: var(--coral-50); color: var(--coral-600); font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.dash-row { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.dash-row span { color: var(--ink); font-weight: 600; }
.dash-row b { color: var(--teal-700); font-size: 14px; }
.dash-note { font-size: 13px; color: var(--muted); margin-top: 16px; }

/* ---------- Story ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.story-img { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow); position: relative; background: var(--teal-100); }
.story-img img { width: 100%; height: 100%; object-fit: cover; }
.story blockquote {
  font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.4;
  color: var(--deep); margin: 24px 0; padding-left: 22px; border-left: 4px solid var(--coral);
}
.story .muted { margin-bottom: 24px; }

/* ---------- Get involved ---------- */
.involve { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.involve-card {
  background: #fff; border-radius: var(--r-lg); padding: 32px; border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s;
}
.involve-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.involve-card h3 { font-size: 21px; margin: 20px 0 8px; }
.involve-card p { color: var(--muted); margin-bottom: 20px; }

/* ---------- CTA ---------- */
.cta-section { padding: 90px 0; }
.cta {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 32px; justify-content: space-between;
  padding: 56px; border-radius: var(--r-xl); color: #fff;
  background: linear-gradient(120deg, var(--deep-900), var(--deep) 55%, var(--teal-700));
}
.cta h2 { color: #fff; font-size: clamp(28px, 3.4vw, 40px); }
.cta p { color: #bfe0db; margin-top: 8px; }
.cta > div { position: relative; }
.cta .btn { position: relative; }
.cta-mark { position: absolute; right: -60px; bottom: -80px; width: 320px; opacity: .08; pointer-events: none; filter: grayscale(1) brightness(3); }

/* ---------- Footer ---------- */
.footer { background: var(--deep-950); color: #a9cdc8; padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.6fr; gap: 40px; }
.footer h3 { color: #fff; font-size: 15px; letter-spacing: .04em; margin-bottom: 16px; }
.footer a { display: block; padding: 5px 0; font-size: 14.5px; transition: color .2s; }
.footer a:hover { color: #fff; }
.footer a.brand { display: flex; padding: 0; }
.footer p { font-size: 14.5px; }
.footer-brand p { margin-top: 18px; }
.logo-badge { width: 52px; height: 52px; border-radius: 16px; background: #fff; display: grid; place-items: center; }
.logo-badge img { width: 40px; height: 40px; }
.newsletter { display: flex; gap: 8px; margin-top: 14px; }
.newsletter input {
  flex: 1; min-width: 0; height: 48px; padding: 0 16px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); color: #fff;
}
.newsletter input::placeholder { color: #7fa9a3; }
.newsletter input:focus { outline: none; border-color: var(--teal); }
.newsletter .btn { height: 48px; }
.copy {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 64px; padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: #7fa9a3;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 80;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  max-width: min(560px, 92vw); padding: 14px 20px; border-radius: var(--r);
  background: var(--deep-900); color: #fff; font-size: 14.5px; box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--coral);
  transition: opacity .3s, transform .3s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .45s ease-out, transform .45s ease-out; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .donate-body { grid-template-columns: 1fr 1fr; }
  .amounts { grid-column: 1 / -1; }
  .donate-submit { grid-column: 1 / -1; }
  .values, .focus-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1140px) {
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 12px 24px 24px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility 0s linear .2s;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; transition: opacity .2s, transform .2s, visibility 0s; }
  .nav a { padding: 14px 8px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .menu-btn { display: flex; }
  .header-actions { margin-left: auto; }
}

@media (max-width: 960px) {

  .hero { padding: 40px 0 130px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-media { max-width: 520px; margin: 0 auto; width: 100%; }
  .float-a { left: -8px; }
  .float-b { right: -8px; }
  .cards, .involve { grid-template-columns: 1fr 1fr; }
  .split, .story { grid-template-columns: 1fr; gap: 40px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head.center { align-items: center; }
  .cta { flex-direction: column; align-items: flex-start; padding: 40px; }
}

@media (max-width: 640px) {
  :root { --header-h: 68px; }
  .container { width: min(1200px, 100% - 32px); }
  .brand-tag { display: none; }
  .brand-name { font-size: 20px; }
  .header-actions .btn { display: none; }
  .section { padding: 72px 0; }
  .hero h1 .accent { white-space: normal; }
  .lead { font-size: 17px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .float-card { padding: 10px 14px 10px 10px; }
  .float-card small { display: none; }
  .hero-img { aspect-ratio: 4 / 3.4; border-radius: 160px 160px var(--r-lg) var(--r-lg); }
  .hero-media::before { display: none; }
  .float-a { top: auto; bottom: -18px; left: 12px; }
  .float-b { display: none; }
  .hero h1 { font-size: clamp(34px, 10.4vw, 44px); }
  .donate-card { padding: 22px; border-radius: var(--r-lg); }
  .donate-body { grid-template-columns: 1fr; }
  .switches, .seg { width: 100%; }
  .seg button { flex: 1; }
  .values, .cards, .involve, .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .focus-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .focus-item { padding: 20px 16px; }
  .focus-item p { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .newsletter { flex-direction: column; }
  .newsletter input { flex: none; width: 100%; }
  .cta { padding: 32px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
