/* ==========================================================================
   Smile Always Foundation — Design System v2
   Editorial · Oversized type · Yellow / White / Black
   ========================================================================== */

:root {
  --yellow: #FFD600;
  --yellow-soft: #FFF7CC;

  /* Secondary accent — used only for the international/FCRA route, so the
     yellow stays reserved for the primary "Donate now" action. */
  --azure: #1F6FEB;
  --azure-deep: #14509E;

  --black: #0A0A0A;
  --ink: #111111;
  --gray-600: #55554F;
  --gray-400: #8A8A84;
  --gray-200: #E6E6E0;
  --gray-100: #F4F4EF;
  --sand: #F3F3EE;
  --white: #FFFFFF;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-base: 1.0625rem;
  --text-lg: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  --text-xl: clamp(1.375rem, 1.1rem + 1vw, 1.875rem);
  --text-2xl: clamp(1.75rem, 1.3rem + 2vw, 2.75rem);
  --text-3xl: clamp(2.5rem, 1.6rem + 3.8vw, 4.75rem);
  --text-display: clamp(3rem, 1.4rem + 8.6vw, 9rem);

  --space-section: clamp(5rem, 4rem + 8vw, 11rem);
  --space-block: clamp(2.5rem, 2rem + 3vw, 5rem);

  --container: 82rem;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);

  --radius-sm: 0.75rem;
  --radius-md: 1.5rem;
  --radius-lg: 2.25rem;
  --radius-pill: 100rem;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 5rem;
}

/* ------- Reset ------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* The tilted marquee is scaled slightly wider than the screen; clip the
     spill so phones never get a sideways scroll. `clip` (not `hidden`) —
     `hidden` would turn this into a scroll container and break position:sticky. */
  overflow-x: clip;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  animation: page-in 0.8s var(--ease) both;
}

@keyframes page-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

img, picture, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--yellow); color: var(--black); }

:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ------- Grain overlay (injected by JS) ------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: 0.30;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.06'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ------- Cursor blob (injected by JS, fine pointers only) ------- */
.cursor-blob {
  display: none;
}

@media (pointer: fine) {
  .cursor-blob {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 14px;
    height: 14px;
    margin: -7px 0 0 -7px;
    border-radius: 50%;
    background: var(--yellow);
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 2001;
    transition: transform 0.25s var(--ease), opacity 0.25s;
    will-change: transform;
  }
  .cursor-blob.is-hover { transform: scale(3.4); }
  .cursor-blob.is-hidden { opacity: 0; }
}

/* ------- Layout ------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--space-section); }
.section--tight { padding-block: var(--space-block); }

/* ------- Typography ------- */
h1, h2, h3, h4 {
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.display {
  font-size: var(--text-display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.94;
  text-transform: uppercase;
}

.h2 {
  font-size: var(--text-3xl);
  font-weight: 680;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-transform: uppercase;
}

.h3 { font-size: var(--text-2xl); }
.h4 { font-size: var(--text-xl); letter-spacing: -0.02em; }

/* Serif italic accent word — the editorial signature.
   Highlight is a background gradient (not an abs-positioned pseudo) so it can
   never detach from the word when headings rebalance or wrap. */
.accent, .accent-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: lowercase;
  letter-spacing: -0.01em;
  padding-inline: 0.06em;
  background-image: linear-gradient(var(--yellow), var(--yellow));
  background-repeat: no-repeat;
  background-size: 100% 0.4em;
  background-position: 0 76%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Outlined ghost text */
.outline-text {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--black);
}

.lead {
  font-size: var(--text-lg);
  line-height: 1.55;
  color: var(--gray-600);
  max-width: 36em;
  text-wrap: pretty;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: var(--text-xs);
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-pill);
  padding: 0.45rem 1.1rem 0.45rem 0.85rem;
  margin-bottom: 1.75rem;
  background: var(--white);
}

.eyebrow::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--yellow);
  flex-shrink: 0;
}

.eyebrow--dark {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
  background: transparent;
}

.highlight {
  background: linear-gradient(transparent 62%, var(--yellow) 62%, var(--yellow) 94%, transparent 94%);
}

/* ------- Buttons ------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.45s var(--ease), border-color 0.45s var(--ease), transform 0.3s var(--ease);
  will-change: transform;
}

/* expanding circular fill */
.btn::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.5s var(--ease-expo);
}

.btn:hover::before { transform: scaleY(1); transform-origin: top; }

.btn--primary { background: var(--black); color: var(--white); }
.btn--primary::before { background: var(--yellow); }
.btn--primary:hover { color: var(--black); }

.btn--yellow { background: var(--yellow); color: var(--black); }
.btn--yellow::before { background: var(--black); }
.btn--yellow:hover { color: var(--white); }

.btn--ghost { border: 1.5px solid var(--gray-200); background: var(--white); color: var(--black); }
.btn--ghost::before { background: var(--black); }
.btn--ghost:hover { color: var(--white); border-color: var(--black); }

.btn--white { background: var(--white); color: var(--black); }
.btn--white::before { background: var(--black); }
.btn--white:hover { color: var(--white); }

.btn--lg { padding: 1.25rem 2.6rem; font-size: var(--text-base); }

.btn .arrow { transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }

/* ------- Navigation ------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 3000;
  background: var(--black);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease), height 0.4s var(--ease);
}

.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.07);
  height: 4.25rem;
}

/* An element with backdrop-filter becomes the containing block for its
   fixed-position descendants. The full-screen mobile menu lives inside
   .nav, so while it is open the blur must go — otherwise the menu is
   trapped inside the header strip instead of filling the viewport. */
.nav.is-menu-open,
.nav.is-menu-open.is-scrolled {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
  height: var(--nav-h);
}

/* keep the logo above the open menu overlay */
.nav__logo { position: relative; z-index: 110; }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 750;
  font-size: 1.1rem;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.nav__logo-mark {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  transition: transform 0.5s var(--ease);
}

.nav__logo:hover .nav__logo-mark { transform: rotate(360deg); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: 550;
  color: var(--gray-600);
  transition: color 0.25s;
  position: relative;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -0.45rem;
  height: 2px;
  border-radius: 2px;
  background: var(--yellow);
  transition: right 0.4s var(--ease);
}

.nav__link:hover { color: var(--black); }
.nav__link:hover::after { right: 0; }

.nav__link[aria-current="page"] { color: var(--black); }
.nav__link[aria-current="page"]::after { right: 0; }

.nav__cta { padding: 0.75rem 1.5rem; }

/* ------- Nav dropdown (Programs) ------- */
.nav__item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav__link .chev {
  margin-left: 0.4rem;
  vertical-align: middle;
  transition: transform 0.3s var(--ease);
}

.nav__item:hover .chev,
.nav__item:focus-within .chev { transform: rotate(180deg); }

.nav__dropdown {
  position: absolute;
  top: calc(100% + 1rem);
  left: 50%;
  min-width: 22rem;
  padding: 0.6rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: 0 32px 64px -24px rgba(0, 0, 0, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(10px);
  transition: opacity 0.3s var(--ease), transform 0.45s var(--ease), visibility 0.3s;
  z-index: 120;
}

/* invisible bridge so the cursor can travel from link to panel */
.nav__dropdown::before {
  content: "";
  position: absolute;
  top: -1.1rem;
  left: 0;
  right: 0;
  height: 1.1rem;
}

.nav__item:hover .nav__dropdown,
.nav__item:focus-within .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav__dropdown a {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  transition: background-color 0.25s;
}

.nav__dropdown a:hover { background: var(--gray-100); }

.nav__dropdown-ico {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--yellow-soft);
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  flex-shrink: 0;
  transition: background-color 0.25s;
}

.nav__dropdown a:hover .nav__dropdown-ico { background: var(--yellow); }

.nav__dropdown b { display: block; font-weight: 650; color: var(--black); line-height: 1.25; }
.nav__dropdown small { display: block; font-size: var(--text-xs); color: var(--gray-400); margin-top: 0.1rem; }

.nav__dropdown-all {
  margin-top: 0.35rem;
  border-top: 1px solid var(--gray-200);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 650;
  color: var(--black);
  justify-content: space-between;
}

.nav__toggle {
  display: none;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  place-items: center;
  z-index: 110;
}

.nav__toggle-icon,
.nav__toggle-icon::before,
.nav__toggle-icon::after {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s;
  content: "";
  position: relative;
}
.nav__toggle-icon::before { position: absolute; top: -6px; }
.nav__toggle-icon::after { position: absolute; top: 6px; }

.nav__toggle[aria-expanded="true"] .nav__toggle-icon { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__toggle-icon::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-icon::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav__toggle { display: grid; }

  /* Full-screen menu: scrollable, so tall content is never clipped. */
  .nav__links {
    position: fixed;
    inset: 0;
    z-index: 105;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 0.35rem;
    padding: calc(var(--nav-h) + 1rem) 1.25rem 3rem;
    background: var(--yellow);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s var(--ease), visibility 0.45s;
  }

  .nav__links.is-open { opacity: 1; visibility: visible; }

  .nav__link {
    display: block;
    padding: 0.5rem 0;
    font-size: clamp(1.75rem, 7vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: var(--black);
    text-align: center;
  }
  .nav__link::after { background: var(--black); height: 3px; }

  /* Programs becomes a tap-to-expand accordion */
  .nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .nav__link .chev {
    display: inline-block;
    width: 14px;
    height: 10px;
    margin-left: 0.5rem;
  }

  .nav__item.is-open .chev { transform: rotate(180deg); }

  .nav__dropdown {
    position: static;
    display: none;
    width: 100%;
    max-width: 24rem;
    min-width: 0;
    margin: 0.5rem auto 0.75rem;
    padding: 0.4rem;
    background: rgba(255, 255, 255, 0.55);
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }

  .nav__item.is-open .nav__dropdown { display: block; }

  /* neutralise the desktop hover-reveal on touch screens */
  .nav__item:hover .nav__dropdown,
  .nav__item:focus-within .nav__dropdown { transform: none; }

  .nav__dropdown::before { content: none; }

  .nav__dropdown a {
    background: var(--white);
    margin-bottom: 0.3rem;
    text-align: left;
  }

  .nav__dropdown a:last-child { margin-bottom: 0; }

  .nav__cta {
    margin-top: 1.25rem;
    padding: 1.1rem 2.4rem;
    font-size: var(--text-base);
    background: var(--black);
    color: var(--white);
  }
  .nav__cta::before { background: var(--white); }
  .nav__cta:hover { color: var(--black); }
}

/* ------- Hero ------- */
.hero {
  padding-top: calc(var(--nav-h) + clamp(2.5rem, 2rem + 4vw, 5.5rem));
  padding-bottom: var(--space-block);
  position: relative;
}

.hero__title { position: relative; z-index: 1; }

.hero__title .line {
  display: block;
  overflow: clip;
}

.hero__title .line > span {
  display: block;
  animation: line-up 1.1s var(--ease-expo) both;
  animation-delay: var(--ld, 0s);
}

@keyframes line-up {
  from { transform: translateY(110%); }
  to { transform: translateY(0); }
}

.hero__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-top: clamp(2rem, 1.5rem + 3vw, 3.5rem);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.hero__media {
  margin-top: clamp(3rem, 2rem + 5vw, 5.5rem);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 21 / 10;
  background: var(--gray-100);
}

@media (max-width: 640px) {
  .hero__media { aspect-ratio: 4 / 3; }
}

/* Photos are wrapped in <picture> to serve WebP. A <picture> is an inline box,
   which would sit between the media container and the <img> and break every rule
   below that relies on percentage heights or absolute positioning. display:contents
   removes the wrapper's box entirely, so the <img> lays out as a direct child again. */
picture { display: contents; }

.hero__media img {
  width: 100%;
  height: 115%;
  object-fit: cover;
  will-change: transform;
}

.hero__badge {
  position: absolute;
  left: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.3);
}

.hero__badge-num {
  font-size: 1.75rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1;
}

.hero__badge-label {
  font-size: var(--text-xs);
  color: var(--gray-600);
  line-height: 1.35;
}

/* ------- Spinning badge ------- */
.spin-badge {
  position: absolute;
  right: var(--gutter);
  top: calc(var(--nav-h) + 1.5rem);
  width: clamp(7.5rem, 6rem + 6.5vw, 11.5rem);
  aspect-ratio: 1;
  z-index: 2;
}

@media (max-width: 1100px) { .spin-badge { display: none; } }

.spin-badge svg {
  width: 100%;
  height: 100%;
  animation: spin 16s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.spin-badge text {
  font-size: 13.5px;
  font-weight: 650;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  fill: var(--black);
}

/* The anniversary mark is a near-square badge with a ribbon running the full
   width, so it can't be clipped to a circle — the ribbon's ends would be cut off.
   The rotating text ring's inner edge sits at ~65% of the badge, and the mark's
   own transparent margin lets it sit at 62% without colliding with the letters. */
.spin-badge__center {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 62%;
  height: 62%;
  object-fit: contain;
  display: block;
}

.spin-badge--cta { position: static; margin-inline: auto; margin-bottom: 1.5rem; }
.spin-badge--cta text { fill: var(--black); }

/* ------- Marquee ------- */
.marquee {
  background: var(--yellow);
  overflow: hidden;
  padding-block: clamp(1rem, 1.5vw, 1.5rem);
  border-block: 1px solid rgba(0, 0, 0, 0.1);
  transform: rotate(-1deg) scale(1.02);
}

.marquee--flat { transform: none; }

.marquee__track {
  display: flex;
  gap: clamp(2rem, 4vw, 4rem);
  width: max-content;
  animation: marquee 24s linear infinite;
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
  font-size: clamp(1.25rem, 1rem + 1.5vw, 2.25rem);
  font-weight: 750;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--black);
}

.marquee__item::after { content: "✳"; font-size: 0.8em; }

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ------- Statement ------- */
.statement { text-align: center; position: relative; }

.statement__label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 650;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 2.5rem;
}

.statement p {
  font-size: clamp(1.75rem, 1.2rem + 2.8vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.18;
  max-width: 22em;
  margin-inline: auto;
  text-wrap: balance;
}

.statement .accent { font-size: 1.05em; }

/* ------- Stats band (dark) ------- */
.band {
  background: var(--black);
  color: var(--white);
  padding-block: var(--space-section);
  position: relative;
  overflow: hidden;
}

.band::before {
  content: "IMPACT";
  position: absolute;
  top: -0.12em;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(6rem, 20vw, 20rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.09);
  pointer-events: none;
  white-space: nowrap;
}

.band .stats { border-top: 1px solid rgba(255, 255, 255, 0.14); position: relative; }
.band .stat { border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.band .stat:nth-child(3n+2) { border-inline: 1px solid rgba(255, 255, 255, 0.14); }
.band .stat__num { color: var(--yellow); }
.band .stat__label { color: rgba(255, 255, 255, 0.6); }

@media (max-width: 720px) {
  .band .stat:nth-child(3n+2) { border-inline: 0; }
  .band .stat:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, 0.14); }
}

/* Per-page ghost word (e.g. data-ghost="WATER") */
.band[data-ghost]::before { content: attr(data-ghost); }

/* Yellow band variant */
.band--yellow { background: var(--yellow); color: var(--black); }
.band--yellow::before { -webkit-text-stroke: 1px rgba(0, 0, 0, 0.1); }
.band--yellow .stats { border-top-color: rgba(0, 0, 0, 0.18); }
.band--yellow .stat { border-bottom-color: rgba(0, 0, 0, 0.18); }
.band--yellow .stat:nth-child(3n+2) { border-inline-color: rgba(0, 0, 0, 0.18); }
.band--yellow .stat__num { color: var(--black); }
.band--yellow .stat__num .unit { color: rgba(0, 0, 0, 0.4); }
.band--yellow .stat__label { color: rgba(0, 0, 0, 0.62); }
.band--yellow .eyebrow--dark { border-color: rgba(0, 0, 0, 0.25); color: var(--black); }

@media (max-width: 720px) {
  .band--yellow .stat:nth-child(odd) { border-right-color: rgba(0, 0, 0, 0.18); }
}

/* ------- Stats ------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--gray-200);
}

.stat {
  padding: clamp(1.75rem, 1.5rem + 2vw, 3.25rem) clamp(1rem, 0.5rem + 2vw, 2.25rem);
  border-bottom: 1px solid var(--gray-200);
}

.stat:nth-child(3n+2) { border-inline: 1px solid var(--gray-200); }

.stat__num {
  font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.5rem);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat__num .unit { color: var(--yellow); }

.stat__label {
  margin-top: 0.85rem;
  font-size: var(--text-sm);
  color: var(--gray-600);
  max-width: 16em;
}

@media (max-width: 720px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3n+2) { border-inline: 0; }
  .stat:nth-child(odd) { border-right: 1px solid var(--gray-200); }
}

/* ------- Section header ------- */
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: var(--space-block);
}

.section-head .h2 { max-width: 12em; }

/* ------- Sticky stack cards ------- */
.stack {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.stack__card {
  position: sticky;
  top: calc(var(--nav-h) + clamp(0.75rem, 2vw, 1.5rem));
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: clamp(24rem, 62vh, 34rem);
  background: var(--gray-100);
  box-shadow: 0 -12px 40px -20px rgba(0, 0, 0, 0.18);
}

.stack__card--yellow { background: var(--yellow); }
.stack__card--dark { background: var(--black); color: var(--white); }

.stack__body {
  padding: clamp(1.75rem, 1.5rem + 2.5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.stack__num {
  font-size: var(--text-sm);
  font-weight: 750;
  letter-spacing: 0.14em;
}

.stack__num::before { content: "( "; color: var(--gray-400); }
.stack__num::after { content: " )"; color: var(--gray-400); }

.stack__title {
  font-size: clamp(1.75rem, 1.3rem + 2.4vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.98;
  text-transform: uppercase;
  margin-top: auto;
}

.stack__text {
  font-size: var(--text-base);
  color: var(--gray-600);
  max-width: 30em;
  text-wrap: pretty;
}

.stack__card--dark .stack__text { color: rgba(255, 255, 255, 0.62); }
.stack__card--yellow .stack__text { color: rgba(0, 0, 0, 0.68); }

.stack__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.5rem;
}

.stack__link .arrow { transition: transform 0.35s var(--ease); }
.stack__card:hover .stack__link .arrow { transform: translateX(6px); }

.stack__media {
  overflow: hidden;
  position: relative;
}

.stack__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.stack__card:hover .stack__media img { transform: scale(1.05); }

@media (max-width: 820px) {
  .stack__card { grid-template-columns: 1fr; min-height: 0; }
  .stack__media { aspect-ratio: 16 / 9; order: -1; }
  .stack__media img { position: static; height: 100%; }
  .stack__title { margin-top: 0.5rem; }
}

/* ------- Cards (generic) ------- */
.grid { display: grid; gap: 1.25rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 960px) { .grid--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid--3, .grid--2 { grid-template-columns: 1fr; } }

.card {
  background: var(--gray-100);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.5s var(--ease);
}

.card:hover { transform: translateY(-8px); }

.card--featured { background: var(--yellow); }
.card--dark { background: var(--black); color: var(--white); }
.card--dark .card__text { color: rgba(255, 255, 255, 0.65); }

.card__icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: var(--white);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.card--dark .card__icon { background: var(--yellow); }
.card--featured .card__icon { background: var(--black); }

.card__title { font-size: var(--text-xl); font-weight: 650; letter-spacing: -0.02em; }
.card__text { font-size: var(--text-sm); color: var(--gray-600); line-height: 1.6; flex-grow: 1; }
.card--featured .card__text { color: rgba(0, 0, 0, 0.65); }

.card__link {
  font-size: var(--text-sm);
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.card__link .arrow { transition: transform 0.3s var(--ease); }
.card:hover .card__link .arrow { transform: translateX(4px); }

/* ------- Split (image + text) ------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 1rem + 5vw, 6.5rem);
  align-items: center;
}

@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.split__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--gray-100);
  position: relative;
}

.split__media--wide { aspect-ratio: 4 / 3; }

.split__media img {
  width: 100%;
  height: 112%;
  object-fit: cover;
  will-change: transform;
}

/* ------- Checklist ------- */
.checklist { display: grid; gap: 1.05rem; margin-top: 2rem; }

.checklist li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  font-size: var(--text-base);
}

.checklist li::before {
  content: "✓";
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  font-size: 0.8rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-top: 0.15rem;
}

/* ------- Stories ------- */
.story {
  background: var(--gray-100);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  transition: transform 0.5s var(--ease), background-color 0.5s var(--ease);
}

.story:hover { transform: translateY(-8px); background: var(--yellow-soft); }

.story--featured { background: var(--black); color: var(--white); }
.story--featured:hover { background: var(--black); }
.story--featured .story__role { color: rgba(255, 255, 255, 0.5); }

.story__quote-mark {
  font-family: var(--font-serif);
  font-size: 4.5rem;
  line-height: 0.4;
  color: var(--yellow);
  font-style: italic;
}

.story__text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem);
  line-height: 1.45;
  letter-spacing: -0.01em;
  flex-grow: 1;
  text-wrap: pretty;
}

.story__person { display: flex; align-items: center; gap: 0.9rem; }

.story__avatar {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.65rem;
  background: var(--yellow);
  color: var(--black);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  overflow: hidden;
}

.story__avatar img { width: 100%; height: 100%; object-fit: cover; }

.story__name { font-weight: 650; font-size: var(--text-sm); line-height: 1.3; }
.story__role { font-size: var(--text-xs); color: var(--gray-600); }

/* ------- Team ------- */
.team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 960px) { .team { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .team { grid-template-columns: 1fr; } }

.person {
  background: var(--gray-100);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  transition: transform 0.5s var(--ease), background-color 0.5s var(--ease);
}

.person:hover { transform: translateY(-6px); background: var(--yellow-soft); }

.person--lead { background: var(--black); color: var(--white); }
.person--lead:hover { background: var(--black); }
.person--lead .person__bio { color: rgba(255, 255, 255, 0.6); }
.person--lead .person__role { color: var(--yellow); }

.person__avatar {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  background: var(--yellow);
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.person__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.person:hover .person__avatar img { transform: scale(1.05); }

.person__name { font-size: var(--text-xl); font-weight: 680; letter-spacing: -0.02em; }

.person__role {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin: 0.4rem 0 1rem;
}

.person__bio { font-size: var(--text-sm); color: var(--gray-600); line-height: 1.6; }

/* ------- Photo gallery strip ------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: start;
}

.gallery__item {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--gray-100);
  aspect-ratio: 3 / 4;
}

.gallery__item:nth-child(2) { margin-top: clamp(1.5rem, 4vw, 3.5rem); }

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.gallery__item:hover img { transform: scale(1.06); }

@media (max-width: 640px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery__item:nth-child(3) { display: none; }
}

/* ------- Big pull quote ------- */
.bigquote {
  text-align: center;
  max-width: 56rem;
  margin-inline: auto;
}

.bigquote__mark {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 5.5rem;
  line-height: 0.3;
  color: var(--yellow);
}

.bigquote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.6rem, 1.1rem + 2.4vw, 3rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin-top: 1.5rem;
}

.bigquote__avatar {
  display: block;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--yellow);
  margin: 2.25rem auto 0;
}

.bigquote__avatar img { width: 100%; height: 100%; object-fit: cover; }

.bigquote cite {
  display: block;
  margin-top: 2.25rem;
  font-style: normal;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.bigquote__avatar + cite { margin-top: 1rem; }

/* ------- Trust strip ------- */
.trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 0.5rem + 2vw, 2rem);
}

.trust__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--text-xs);
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-600);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-pill);
  padding: 0.7rem 1.4rem;
  transition: border-color 0.3s, color 0.3s;
}

.trust__item:hover { border-color: var(--black); color: var(--black); }

.trust__item::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 2px;
  background: var(--yellow);
  transform: rotate(45deg);
}

/* ------- Big CTA ------- */
.cta {
  background: var(--yellow);
  border-radius: var(--radius-lg);
  padding: clamp(3.5rem, 2rem + 7vw, 8rem) clamp(1.5rem, 1rem + 4vw, 5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before, .cta::after {
  content: "✳";
  position: absolute;
  font-size: clamp(8rem, 5rem + 14vw, 18rem);
  line-height: 1;
  opacity: 0.1;
  pointer-events: none;
  animation: spin 40s linear infinite;
}

.cta::before { top: -0.18em; left: -0.1em; }
.cta::after { bottom: -0.22em; right: -0.08em; animation-direction: reverse; }

.cta__title {
  font-size: var(--text-3xl);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-transform: uppercase;
  max-width: 14em;
  margin-inline: auto;
}

.cta__title .accent { font-size: 1.05em; background-image: linear-gradient(var(--white), var(--white)); }

.cta__text {
  margin: 1.5rem auto 2.5rem;
  max-width: 32em;
  color: rgba(0, 0, 0, 0.72);
  font-size: var(--text-lg);
  text-wrap: pretty;
}

.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.85rem; position: relative; z-index: 1; }

/* ------- Donation tiers ------- */
.tier {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: var(--white);
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.tier:hover { transform: translateY(-8px); border-color: var(--black); box-shadow: 0 30px 60px -30px rgba(0,0,0,.25); }

.tier--featured {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
  position: relative;
}

.tier__badge {
  position: absolute;
  top: -0.9rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--yellow);
  color: var(--black);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.tier__amount {
  font-size: clamp(2.5rem, 2rem + 2vw, 3.75rem);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1;
}

.tier--featured .tier__amount { color: var(--yellow); }

.tier__amount .per { font-size: var(--text-sm); font-weight: 500; color: var(--gray-400); letter-spacing: 0; }

.tier__name { font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray-400); }
.tier--featured .tier__name { color: var(--yellow); }

.tier__desc { font-size: var(--text-sm); color: var(--gray-600); flex-grow: 1; }
.tier--featured .tier__desc { color: rgba(255, 255, 255, 0.65); }

/* ------- FAQ ------- */
.faq { max-width: 48rem; margin-inline: auto; }

.faq details { border-bottom: 1px solid var(--gray-200); }
.faq details:first-of-type { border-top: 1px solid var(--gray-200); }

.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.75rem 0.25rem;
  font-size: var(--text-lg);
  font-weight: 650;
  letter-spacing: -0.015em;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  flex-shrink: 0;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--gray-100);
  display: grid;
  place-items: center;
  font-weight: 450;
  font-size: 1.35rem;
  transition: transform 0.4s var(--ease), background-color 0.4s;
}

.faq details[open] summary::after { transform: rotate(45deg); background: var(--yellow); }

.faq details p {
  padding: 0 0.25rem 1.75rem;
  color: var(--gray-600);
  max-width: 40em;
}

/* ------- Contact ------- */
.contact-info { display: grid; gap: 2.25rem; }

.contact-info__item h3 {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 0.6rem;
}

.contact-info__item a, .contact-info__item p {
  font-size: var(--text-lg);
  font-weight: 550;
  letter-spacing: -0.015em;
  line-height: 1.45;
  color: var(--ink);
}

.contact-info__item a:hover { background: linear-gradient(transparent 70%, var(--yellow) 70%); }

.form { display: grid; gap: 1.25rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

.form__field { display: grid; gap: 0.5rem; }

.form__field label {
  font-size: var(--text-xs);
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-600);
}

.form__field input,
.form__field textarea,
.form__field select {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  background: var(--white);
  transition: border-color 0.3s;
  width: 100%;
}

.form__field input:focus,
.form__field textarea:focus,
.form__field select:focus {
  outline: none;
  border-color: var(--black);
}

.form__field textarea { resize: vertical; min-height: 8.5rem; }

.form__success {
  background: var(--yellow-soft);
  border: 1.5px solid var(--yellow);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  font-size: var(--text-sm);
  font-weight: 500;
}

.form__error {
  background: #FDECEC;
  border: 1.5px solid #F3C3C3;
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: #8C1D18;
}

.form__error[hidden] { display: none; }

/* ------- Values (numbered rows) ------- */
.value-row {
  display: grid;
  grid-template-columns: 6rem 1fr 1.5fr;
  gap: 2rem;
  padding-block: 2.5rem;
  border-top: 1px solid var(--gray-200);
  align-items: baseline;
  transition: padding-left 0.5s var(--ease);
}

.value-row:hover { padding-left: 1rem; }
.value-row:last-child { border-bottom: 1px solid var(--gray-200); }

.value-row__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--text-xl);
  color: var(--gray-400);
}

.value-row__title {
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem);
  font-weight: 680;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.value-row__text { color: var(--gray-600); font-size: var(--text-base); max-width: 34em; }

@media (max-width: 720px) {
  .value-row { grid-template-columns: 1fr; gap: 0.5rem; }
}

/* ------- Timeline ------- */
.timeline__item {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 2rem;
  padding-block: 2.25rem;
  border-top: 1px solid var(--gray-200);
  transition: padding-left 0.5s var(--ease);
}

.timeline__item:hover { padding-left: 1rem; }
.timeline__item:last-child { border-bottom: 1px solid var(--gray-200); }

.timeline__year {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.75rem);
  line-height: 1;
  color: var(--black);
}

.timeline__body h3 { font-size: var(--text-lg); margin-bottom: 0.4rem; text-transform: uppercase; letter-spacing: -0.01em; }
.timeline__body p { color: var(--gray-600); font-size: var(--text-sm); max-width: 44em; }

@media (max-width: 640px) {
  .timeline__item { grid-template-columns: 1fr; gap: 0.5rem; }
}

/* ------- Page hero (inner pages) ------- */
.page-hero {
  padding-top: calc(var(--nav-h) + clamp(3rem, 2rem + 5vw, 6.5rem));
  padding-bottom: var(--space-block);
  position: relative;
}

.page-hero .lead { margin-top: 2rem; }

/* ------- Footer ------- */
.footer {
  background: var(--black);
  color: var(--white);
  padding-top: var(--space-section);
  overflow: hidden;
  position: relative;
}

.footer__cta-title {
  font-size: clamp(2.5rem, 1.5rem + 5vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.96;
  text-transform: uppercase;
  max-width: 10em;
}

.footer__cta-title .accent { color: var(--yellow); background-image: none; }

.footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2.5rem;
  padding-bottom: var(--space-block);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-block: var(--space-block);
}

@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__logo {
  width: 180px;
  max-width: 100%;
  height: auto;
  display: block;
}

.footer__brand p {
  color: rgba(255, 255, 255, 0.55);
  font-size: var(--text-sm);
  max-width: 24em;
  margin-top: 1rem;
}

.footer__col h3 {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1.25rem;
}

.footer__col ul { display: grid; gap: 0.8rem; }

.footer__col a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.25s, padding-left 0.3s var(--ease);
}

.footer__col a:hover { color: var(--yellow); padding-left: 0.4rem; }

.footer__col address {
  font-style: normal;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
}

/* Giant wordmark — sized so the full text always fits the container width */
.footer__wordmark {
  font-size: clamp(2.6rem, 12vw, 10.5rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  color: var(--yellow);
  user-select: none;
  padding-block: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 2.5vw, 2rem);
  transition: letter-spacing 1s var(--ease);
}

.footer__wordmark:hover { letter-spacing: -0.02em; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.45);
  position: relative;
  z-index: 1;
}

.footer__legal { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer__legal a:hover { color: var(--yellow); }

.footer__socials { display: flex; gap: 0.6rem; }

.footer__social {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  transition: background-color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}

.footer__social:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  transform: translateY(-4px) rotate(8deg);
}

.footer__social svg { width: 1rem; height: 1rem; fill: var(--white); transition: fill 0.3s; }
.footer__social:hover svg { fill: var(--black); }

/* ------- Reveal animations ------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0s);
}

.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   DONATION WIDGET (donate.html)
   ========================================================= */

/* --- Two-column layout: impact story | donation panel --- */
/* The panel is the wider column: it carries seven amount cards three across,
   so it needs more room than the impact copy beside it. */
.give-layout {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(2rem, 1rem + 3vw, 4rem);
  align-items: stretch;
}

/* Deliberately NOT position:sticky. The site clips overflow-x on <body> to
   contain the tilted marquee, and a clipped ancestor stops sticky from ever
   pinning in Chromium — so a sticky panel here would silently do nothing. */
.give-sticky { position: static; }

@media (max-width: 980px) {
  .give-layout { grid-template-columns: 1fr; }
}

/* --- Left column: impact --- */
.impact__intro {
  color: var(--gray-600);
  font-size: var(--text-base);
  line-height: 1.7;
  max-width: 34rem;
  margin-top: 1.25rem;
}

.impact__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

@media (max-width: 520px) {
  .impact__cards { grid-template-columns: 1fr; }
}

.impact__card {
  padding: 1.75rem 1.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  background: var(--sand);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.impact__card:hover {
  transform: translateY(-5px);
  border-color: var(--black);
  box-shadow: 0 24px 50px -35px rgba(0, 0, 0, 0.45);
}

.impact__card-amount {
  font-family: var(--font-sans);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--ink);
}

/* The gifts are a rising ladder — the rule under each amount grows with it,
   so the column reads as a scale rather than four identical boxes. */
.impact__card-amount::after {
  content: "";
  display: block;
  width: var(--bar, 40%);
  height: 3px;
  margin-top: 0.85rem;
  border-radius: 2px;
  background: var(--yellow);
  transition: width 0.5s var(--ease);
}

.impact__card:hover .impact__card-amount::after { width: 100%; }

.impact__card-desc {
  margin-top: 0.9rem;
  font-size: var(--text-sm);
  font-weight: 450;
  line-height: 1.65;
  color: var(--gray-600);
}

.impact__statement {
  margin-top: 3rem;
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 28ch;
  text-wrap: balance;
}

.impact__outro {
  margin-top: 1.25rem;
  color: var(--gray-400);
  font-size: var(--text-sm);
  line-height: 1.75;
  max-width: 32rem;
}

/* --- Right column: donation panel --- */
.give {
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem);
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.7);
}

.give__title {
  font-size: var(--text-xl);
  font-weight: 750;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 1.25rem;
}

.give__legend {
  font-size: var(--text-sm);
  font-weight: 700;
  margin-bottom: 0.85rem;
}

/* --- Amount / cause cards inside the panel --- */
.give__amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

/* Three across is tight once the panel narrows — step down rather than squeeze. */
@media (max-width: 560px) {
  .give__amounts { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 380px) {
  .give__amounts { grid-template-columns: 1fr; }
}

.give__amount {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-align: left;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.give__amount:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.35); }

.give__amount--wide { grid-column: 1 / -1; }

.give__amount[aria-pressed="true"] {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--black);
}

.give__amount-value {
  font-size: var(--text-base);
  font-weight: 750;
  letter-spacing: -0.02em;
}

/* No colour of its own — it inherits the button's, so it flips to black along
   with everything else when the card is selected. */
.give__amount-name {
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.give__amount-desc {
  font-size: 0.72rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.6);
  text-wrap: pretty;
}

.give__amount[aria-pressed="true"] .give__amount-desc { color: rgba(0, 0, 0, 0.7); }

/* --- Custom amount --- */
.give__custom-wrap { position: relative; }

.give__custom-symbol {
  position: absolute;
  left: 1rem;
  top: 50%;
  translate: 0 -50%;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
  pointer-events: none;
}

.give__custom-wrap input {
  width: 100%;
  padding: 0.95rem 1rem 0.95rem 2.2rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-size: var(--text-sm);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.give__custom-wrap input::placeholder { color: rgba(255, 255, 255, 0.4); }

.give__custom-wrap input:focus {
  outline: none;
  border-color: var(--yellow);
  background: rgba(255, 255, 255, 0.1);
}

.give__submit {
  width: 100%;
  justify-content: center;
  margin-top: 1.2rem;
}

.give__submit:disabled { opacity: 0.45; cursor: not-allowed; }

.give__note {
  margin-top: 1.1rem;
  font-size: 0.75rem;
  line-height: 1.6;
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
}

.give__error {
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 90, 90, 0.16);
  border: 1px solid rgba(255, 120, 120, 0.45);
  color: #FFC9C9;
  font-size: var(--text-xs);
  font-weight: 600;
}

.give__error[hidden] { display: none; }

/* --- International CTA, inside the donation panel --- */
.give__intl {
  margin-top: 1.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  text-align: center;
}

.give__intl-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.85rem;
}

.give__intl .btn {
  width: 100%;
  justify-content: center;
  padding: 1rem 1.5rem;
  background: var(--azure);
  color: var(--white);
  border: 0;
  font-weight: 750;
}

.give__intl .btn::before { background: var(--azure-deep); }
.give__intl .btn:hover { color: var(--white); }

/* --- Success state --- */
.give__success { text-align: center; }
.give__success[hidden] { display: none; }

.give__success-mark {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1.25rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  font-size: 1.5rem;
  font-weight: 700;
}

.give__success-text {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.85rem;
}

/* --- Bank / FCRA details --- */
.bank {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.25rem;
}

.bank__card {
  padding: 1.6rem 1.7rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
}

.bank__card--fcra { background: var(--black); color: var(--white); border-color: var(--black); }
.bank__card--fcra .bank__row dt { color: rgba(255, 255, 255, 0.5); }
.bank__card--fcra .bank__label { color: var(--yellow); }

.bank__label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 1rem;
}

.bank__row {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 0.35rem 0.75rem;
  font-size: var(--text-sm);
}

.bank__row dt { color: var(--gray-600); }
.bank__row dd { font-weight: 650; word-break: break-word; }

/* Prose inside a bank card — the "how this works" box that sits beside the account. */
.bank__note {
  font-size: var(--text-sm);
  line-height: 1.75;
  color: var(--gray-600);
}

.bank__note + .bank__note { margin-top: 1rem; }

/* ------- Utilities ------- */
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.text-center { text-align: center; }
.bg-gray { background: var(--gray-100); }
.bg-sand { background: var(--sand); }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
