:root {
  --orange: #d95f24;
  --orange-2: #f08a45;
  --green: #1f6b4f;
  --green-2: #2f8a67;
  --gold: #d8a63f;
  --cream: #fbf2df;
  --off: #fffaf1;
  --gray: #efebe3;
  --charcoal: #211f1c;
  --muted: #6e675f;
  /* AA-safe text variants: same hue, darkened until >=4.5:1 on --off (#fffaf1).
     Use for TEXT on light surfaces. Keep --orange/--gold for backgrounds,
     borders, icons and large decorative glyphs where the 3:1 non-text
     threshold (or none at all) applies. */
  --orange-ink: #ba521f;
  --gold-ink: #936d1e;
  --line: rgba(33, 31, 28, 0.12);
  --glass: rgba(255, 250, 241, 0.72);
  --shadow: 0 28px 80px rgba(33, 31, 28, 0.14);
  --font-head: "Manrope", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  overflow-x: clip;
  scrollbar-width: thin;
  scrollbar-color: var(--orange) rgba(33, 31, 28, 0.08);
}

::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}

::-webkit-scrollbar-track {
  background: rgba(33, 31, 28, 0.06);
}

::-webkit-scrollbar-thumb {
  background-color: var(--orange);
  background-image: linear-gradient(180deg, var(--orange-2), var(--green));
  background-clip: padding-box;
  border: 2px solid transparent;
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background-image: linear-gradient(180deg, var(--orange), var(--green-2));
}

::-webkit-scrollbar-corner {
  background: transparent;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background:
    linear-gradient(135deg, rgba(251, 242, 223, 0.92), rgba(255, 250, 241, 1) 38%, rgba(238, 246, 236, 0.86)),
    var(--off);
  overflow-x: clip;
}

body.nav-locked {
  overflow: hidden;
}

main,
section,
footer {
  position: relative;
  max-width: 100vw;
  overflow-x: clip;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

::selection {
  color: white;
  background: var(--orange);
}

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

.section-pad {
  padding: clamp(48px, 5.5vw, 84px) 0;
}

.section-pad-sm {
  padding: clamp(28px, 3.5vw, 52px) 0;
}

/* alternate section backgrounds for clear separation; sections with their own
   background class (dark bands, tinted boards, heroes) override this via
   higher specificity, :where() keeps this at near-zero */
main > :where(section:nth-of-type(even):not([class*="hero"])) {
  background: #f6ecdc;
  box-shadow: inset 0 1px 0 rgba(33, 31, 28, 0.06), inset 0 -1px 0 rgba(33, 31, 28, 0.06);
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--charcoal);
  color: var(--cream);
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-mark {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.loader-line {
  position: absolute;
  bottom: 20%;
  width: min(220px, 50vw);
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
}

.loader-line::after {
  content: "";
  display: block;
  width: 40%;
  height: 100%;
  background: var(--gold);
  animation: loadLine 1.2s ease-in-out infinite;
}

@keyframes loadLine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(260%); }
}

.site-header {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 100;
  pointer-events: none;
}

.nav-shell {
  width: min(100% - 38px, 1280px);
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 10px 12px 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.92);
  box-shadow: 0 18px 70px rgba(33, 31, 28, 0.12);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: white;
  background: linear-gradient(135deg, var(--orange-ink), var(--green));
  font-family: var(--font-head);
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(217, 95, 36, 0.3);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1;
}

.brand strong {
  font-family: var(--font-head);
  font-size: 1.05rem;
}

.brand small {
  color: var(--muted);
  margin-top: 5px;
  font-size: 0.74rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.drawer-head {
  display: none;
}

.nav-links a {
  position: relative;
  padding: 14px 16px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  color: rgba(33, 31, 28, 0.78);
  font-weight: 700;
  font-size: 0.92rem;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.nav-links a:hover,
.nav-links .is-active {
  color: var(--charcoal);
  background: rgba(33, 31, 28, 0.06);
  transform: translateY(-1px);
}

.nav-links .nav-donate {
  color: white;
  background: var(--charcoal);
}

.nav-links .nav-donate:hover,
.nav-links .nav-donate.is-active {
  color: white;
  background: linear-gradient(135deg, var(--orange-ink), var(--green));
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 8px;
  background: var(--charcoal);
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  margin: 5px auto;
  display: block;
  background: white;
  transition: transform 0.25s ease;
}

.nav-group {
  position: relative;
}

.nav-group-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 16px;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(33, 31, 28, 0.78);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease;
}

.nav-group-toggle:hover,
.nav-group-toggle.is-active {
  color: var(--charcoal);
  background: rgba(33, 31, 28, 0.06);
}

.nav-group-toggle .caret {
  transition: transform 0.2s ease;
}

.nav-group:hover .nav-group-toggle .caret,
.nav-group.is-open .nav-group-toggle .caret {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 30;
  min-width: 208px;
  margin-top: 6px;
  padding: 8px;
  display: grid;
  gap: 2px;
  border: 1px solid rgba(33, 31, 28, 0.08);
  border-radius: 8px;
  background: #fffaf1;
  box-shadow: 0 24px 60px rgba(33, 31, 28, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.nav-dropdown a {
  padding: 11px 12px;
  border-radius: 6px;
  color: rgba(33, 31, 28, 0.78);
  font-weight: 700;
  font-size: 0.86rem;
}

.nav-dropdown a:hover,
.nav-dropdown a.is-active {
  color: var(--charcoal);
  background: rgba(33, 31, 28, 0.07);
}

@media (min-width: 781px) {
  .nav-group:hover .nav-dropdown,
  .nav-group.is-open .nav-dropdown,
  .nav-group:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.86);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.eyebrow.dark {
  color: var(--orange-ink);
}

h1,
h2,
h3 {
  font-family: var(--font-head);
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2rem, 1.2rem + 3.4vw, 4rem);
  line-height: 1.15;
  font-weight: 800;
}

.hero-home h1 {
  max-width: 700px;
  font-size: clamp(1.8rem, 1.1rem + 2.6vw, 3.1rem);
  line-height: 1.2;
}

h2 {
  font-size: clamp(1.6rem, 5vw, 5.2rem);
  line-height: 1.12;
  font-weight: 800;
}

h3 {
  font-weight: 800;
  line-height: 1.25;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-home {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 0;
  overflow: hidden;
  color: white;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

/* ==========================================================================
   Home hero slider - 5 crossfading slides, each with its own image + copy.
   Slides are absolutely stacked; only .is-active is opaque/interactive, so
   a plain opacity transition gives a true crossfade (both layers painted
   mid-transition, no flash). Autoplay/controls are wired in main.js and are
   a no-op on every other page since .hero-slider only exists here.
   ========================================================================== */
.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: end;
  padding: 128px 0 72px;
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  transition: opacity 1.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  overflow: hidden;
  transform: scale(1);
}

.hero-slide.is-active .hero-media {
  animation: heroKenBurns 7.5s ease-out forwards;
}

@keyframes heroKenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  filter: saturate(1.03) contrast(1.05);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(19, 18, 16, 0.88), rgba(31, 107, 79, 0.5) 47%, rgba(217, 95, 36, 0.22)),
    linear-gradient(0deg, rgba(19, 18, 16, 0.88), rgba(19, 18, 16, 0) 45%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
}

/* Persistent controls sit outside the crossfading slides so they never
   fade - only the slide content behind them changes. */
.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  width: min(100% - 48px, 1440px);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  pointer-events: none;
}

.hero-arrow {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  cursor: pointer;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  pointer-events: auto;
  transition: background 0.2s ease, transform 0.15s ease;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.22);
}

.hero-arrow:active {
  transform: scale(0.92);
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  transition: background 0.25s ease, width 0.25s ease;
}

.hero-dot.is-active {
  width: 28px;
  border-radius: 6px;
  background: linear-gradient(120deg, var(--orange-ink), var(--green));
}

.hero-arrow:focus-visible,
.hero-dot:focus-visible {
  outline: 2px solid white;
  outline-offset: 3px;
}

@media (max-width: 780px) {
  .hero-controls {
    justify-content: center;
    bottom: 18px;
  }

  .hero-arrow {
    display: none;
  }

  .hero-dot {
    width: 8px;
    height: 8px;
  }

  .hero-dot.is-active {
    width: 22px;
  }
}

.hero-copy {
  max-width: 900px;
}

.hero-copy p,
.page-hero p {
  max-width: 670px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn-premium,
.btn-ghost {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 0 24px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-premium {
  color: white;
  background: linear-gradient(135deg, var(--orange-ink), #bd4317 48%, var(--green));
  box-shadow: 0 22px 50px rgba(217, 95, 36, 0.32);
}

.btn-premium:hover,
.btn-ghost:hover {
  transform: translateY(-3px);
}

.btn-premium.light {
  color: var(--charcoal);
  background: var(--cream);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.18);
}

.btn-ghost {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.btn-ghost.dark {
  color: var(--charcoal);
  border-color: rgba(33, 31, 28, 0.18);
  background: rgba(33, 31, 28, 0.06);
}

.glass-panel {
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background: var(--glass);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

body [data-aos="fade-left"],
body [data-aos="fade-right"] {
  transform: translate3d(0, 28px, 0) !important;
}

body [data-aos="fade-left"].aos-animate,
body [data-aos="fade-right"].aos-animate {
  transform: none !important;
}

.donation-float {
  position: relative;
  overflow: hidden;
  padding: 28px;
  color: var(--charcoal);
}

.donation-float::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% 20%;
  height: 160px;
  background: linear-gradient(90deg, rgba(217, 95, 36, 0.25), rgba(31, 107, 79, 0.25));
  transform: rotate(-8deg);
  filter: blur(30px);
}

.donation-pulse {
  width: 12px;
  height: 12px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 10px rgba(217, 95, 36, 0.16);
  animation: pulse 1.7s infinite;
}

@keyframes pulse {
  50% { box-shadow: 0 0 0 18px rgba(217, 95, 36, 0); }
}

.donation-float span,
.donation-float small {
  color: var(--muted);
}

.donation-float strong {
  display: block;
  margin: 8px 0 22px;
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3.8vw, 3.4rem);
  line-height: 1;
}

.progress-line,
.summary-progress {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(33, 31, 28, 0.1);
}

.progress-line span,
.summary-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--orange), var(--gold), var(--green));
}

.float-row {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 12px;
}

.float-row a,
.text-link {
  color: var(--orange-ink);
  font-weight: 800;
}

.hero-bottom {
  position: absolute;
  left: 50%;
  bottom: 22px;
  display: grid;
  gap: 8px;
  justify-items: center;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transform: translateX(-50%);
  opacity: 0.7;
}

.hero-bottom i {
  width: 1px;
  height: 38px;
  background: white;
  transform-origin: top;
  animation: scrollLine 1.4s ease-in-out infinite;
}

@keyframes scrollLine {
  50% { transform: scaleY(0.45); }
}

.trust-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  contain: paint;
  background: rgba(255, 255, 255, 0.38);
}

.trust-track div {
  padding: clamp(20px, 3vw, 34px);
  border-right: 1px solid var(--line);
}

.trust-track div:last-child {
  border-right: 0;
}

.trust-track strong {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 3vw, 2.7rem);
}

.trust-track span {
  color: var(--muted);
  font-weight: 700;
}

.split-editorial {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: clamp(34px, 7vw, 110px);
}

.manifesto h2 {
  max-width: 980px;
}

.manifesto-copy {
  align-self: end;
  padding-top: 16vh;
}

.signature-line {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 26px;
}

.signature-line span {
  width: 72px;
  height: 2px;
  background: var(--green);
}

.impact-stage {
  background: #f6ead7;
  border-radius: 8px;
}

.section-head {
  display: block;
  margin-bottom: 42px;
}

.section-head .eyebrow {
  margin-bottom: 0;
}

.section-head h2 {
  max-width: 820px;
  margin: 12px 0 0;
  font-size: clamp(1.45rem, 1.1rem + 1.6vw, 2.3rem);
  line-height: 1.22;
}

.section-head.wide {
  display: block;
}

.section-head.wide h2 {
  max-width: 1040px;
}

.impact-bento {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 18px;
  min-height: 620px;
}

.impact-tile {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(24px, 4vw, 44px);
  border-radius: 8px;
  background: var(--off);
  box-shadow: 0 24px 70px rgba(33, 31, 28, 0.09);
}

.impact-tile.tile-large {
  grid-row: span 2;
  color: white;
}

.impact-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.impact-tile.tile-large::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(20, 18, 15, 0.84), rgba(20, 18, 15, 0.05));
}

.impact-tile > div,
.impact-tile p,
.impact-tile .stat {
  position: relative;
  z-index: 1;
}

.impact-tile p {
  max-width: 420px;
  margin: 0;
}

.impact-tile.tile-large p {
  color: rgba(255, 255, 255, 0.82);
}

.impact-tile.gold {
  background: var(--gold);
}

.impact-tile.green {
  color: white;
  background: var(--green);
}

.impact-tile.green p {
  color: rgba(255, 255, 255, 0.78);
}

.stat {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(2rem, 6vw, 6.2rem);
  line-height: 0.95;
  font-weight: 800;
}

.cause-composition {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) 1.22fr;
  gap: 18px;
  align-items: stretch;
}

.cause-hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 8px;
  color: white;
}

.cause-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.cause-hero:hover img {
  transform: scale(1.08);
}

.cause-hero::after,
.cause-pill.image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(18, 16, 14, 0.82), rgba(18, 16, 14, 0.05));
}

.cause-hero span,
.cause-hero strong {
  position: relative;
  z-index: 1;
}

.cause-hero span {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
}

.cause-hero strong {
  max-width: 420px;
  margin-top: 12px;
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 4vw, 4rem);
  line-height: 1;
}

.cause-mosaic {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 148px;
  gap: 14px;
}

.cause-pill {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  border-radius: 8px;
  color: var(--charcoal);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(33, 31, 28, 0.08);
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.2;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cause-pill:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(33, 31, 28, 0.12);
}

.cause-pill.accent {
  background: linear-gradient(135deg, #ffe1a1, var(--gold));
}

.cause-pill.green {
  color: white;
  background: linear-gradient(135deg, var(--green), #2c8261);
}

.cause-pill.dark {
  color: white;
  background: var(--charcoal);
}

.cause-pill.image {
  grid-column: span 2;
  color: white;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 -160px 90px rgba(18, 16, 14, 0.72);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.cause-pill.image {
  align-items: flex-end;
}

.cause-pill.image {
  isolation: isolate;
}

.cause-pill.image {
  color: white;
}

.cause-pill.image::after {
  display: none;
}

.story-ribbon {
  color: white;
  background:
    linear-gradient(135deg, rgba(33, 31, 28, 0.96), rgba(31, 107, 79, 0.96)),
    var(--charcoal);
}

.story-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 6vw, 90px);
  align-items: center;
}

.story-image {
  overflow: hidden;
  height: clamp(420px, 56vw, 720px);
  border-radius: 8px;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-stack p,
.story-stack li {
  color: rgba(255, 255, 255, 0.76);
}

.story-timeline {
  display: grid;
  gap: 18px;
  padding: 0;
  margin: 36px 0 0;
  list-style: none;
}

.story-timeline li {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.story-timeline span {
  color: var(--gold);
  font-weight: 800;
}

.horizontal-gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 38vw);
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  contain: layout paint;
  padding-bottom: 18px;
  scroll-snap-type: x mandatory;
}

.horizontal-gallery figure {
  position: relative;
  min-height: 480px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  scroll-snap-align: start;
}

.horizontal-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.horizontal-gallery figure:hover img {
  transform: scale(1.06);
}

.horizontal-gallery figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  right: 18px;
  padding: 14px 16px;
  border-radius: 8px;
  color: white;
  background: rgba(20, 18, 15, 0.62);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-weight: 800;
}

.testimonial-stage {
  background: #edf3e9;
}

.quote-panel {
  max-width: 1000px;
  margin-inline: auto;
  padding: clamp(34px, 7vw, 86px);
  text-align: center;
}

.quote-mark {
  display: block;
  color: var(--orange-ink);
  font-family: Georgia, serif;
  font-size: 6rem;
  line-height: 0.8;
}

.quote-panel p {
  color: var(--charcoal);
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 4vw, 4.2rem);
  line-height: 1.06;
  font-weight: 800;
}

.quote-panel small {
  display: block;
  color: var(--muted);
}

.volunteer-spotlight {
  max-width: 920px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  align-items: center;
  margin: 40px auto 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.48);
}

.volunteer-spotlight img {
  height: 230px;
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 6vw, 86px);
}

.custom-accordion .accordion-item {
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.46);
}

.custom-accordion .accordion-button {
  padding: 22px;
  color: var(--charcoal);
  background: transparent;
  font-weight: 800;
  box-shadow: none;
}

.custom-accordion .accordion-body {
  color: var(--muted);
  padding: 0 22px 22px;
}

.closing-cta {
  padding: 0 0 clamp(76px, 9vw, 140px);
}

.cta-canvas {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: grid;
  place-items: center;
  gap: 28px;
  padding: 56px;
  border-radius: 8px;
  text-align: center;
  color: white;
  background:
    linear-gradient(135deg, rgba(217, 95, 36, 0.92), rgba(31, 107, 79, 0.95)),
    var(--green);
}

.cta-canvas::before {
  content: "";
  position: absolute;
  inset: 10%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  transform: rotate(-2deg);
}

.cta-canvas h2 {
  position: relative;
  max-width: 850px;
}

.site-footer {
  padding: 70px 0 100px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--charcoal);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr repeat(4, 1fr);
  gap: 34px;
}

.footer-brand {
  color: white;
}

.footer-brand small {
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom {
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
}

.site-footer a,
.site-footer strong {
  display: block;
}

.site-footer strong {
  margin-bottom: 14px;
  color: white;
}

.site-footer a {
  margin: 10px 0;
  color: rgba(255, 255, 255, 0.68);
}

.mobile-dock {
  display: none;
}

.page-hero {
  position: relative;
  min-height: 56vh;
  display: grid;
  align-items: end;
  padding: 140px 0 56px;
  overflow: hidden;
  color: white;
  background:
    linear-gradient(180deg, rgba(20, 19, 17, 0.34), rgba(20, 19, 17, 0.5) 55%, rgba(20, 19, 17, 0.78)),
    var(--hero-img, linear-gradient(135deg, rgba(33, 31, 28, 0.94), rgba(31, 107, 79, 0.88))) center / cover no-repeat,
    var(--charcoal);
}

.hero-crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e8b98a;
}

.hero-crumb a {
  color: #e8b98a;
  transition: color 0.2s ease;
}

.hero-crumb a:hover {
  color: white;
}

.hero-crumb span[aria-hidden] {
  color: var(--orange-2, #e08a52);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 35%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.24), transparent);
}

.page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  gap: clamp(28px, 6vw, 100px);
  align-items: end;
}

.page-hero h1 {
  max-width: none;
  font-size: clamp(1.15rem, 5.6vw, 2.5rem);
  line-height: 1.2;
}

.page-hero p {
  max-width: 560px;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  color: rgba(255, 255, 255, 0.78);
}

.page-hero-grid {
  grid-template-columns: minmax(0, 1fr);
}

.page-hero-grid > *:not(:first-child) {
  display: none;
}

.page-hero-img {
  height: 440px;
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.hero-receipt,
.audit-widget {
  padding: 32px;
  color: var(--charcoal);
}

.hero-receipt strong,
.audit-widget strong {
  display: block;
  margin: 8px 0;
  font-family: var(--font-head);
  font-size: clamp(2rem, 6vw, 5.6rem);
  line-height: 0.95;
}

.donation-workspace {
  background: #f7ead9;
}

.donate-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.52fr);
  gap: 28px;
  align-items: start;
}

.donation-panel,
.sticky-summary,
.premium-form,
.utilization-panel,
.documents-panel,
.reports-panel,
.policy-panel {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 241, 0.76);
  box-shadow: 0 24px 70px rgba(33, 31, 28, 0.1);
}

.donation-panel {
  padding: clamp(24px, 4vw, 48px);
}

.segmented,
.payment-tabs {
  display: inline-grid;
  grid-auto-flow: column;
  gap: 6px;
  padding: 6px;
  margin-bottom: 28px;
  border-radius: 8px;
  background: rgba(33, 31, 28, 0.08);
}

.segmented button,
.payment-tabs button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  color: var(--muted);
  background: transparent;
  font-weight: 800;
}

.segmented .is-selected,
.payment-tabs .is-selected {
  color: white;
  background: var(--charcoal);
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 24px 0;
}

.amount-card,
.amount-custom {
  min-height: 124px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  color: var(--charcoal);
  background: rgba(255, 255, 255, 0.62);
  cursor: pointer;
}

.amount-card {
  text-align: left;
}

.amount-card.is-selected {
  color: white;
  background: linear-gradient(135deg, var(--orange-ink), var(--green));
}

.amount-card span,
.amount-custom span {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 800;
}

.amount-card small {
  color: inherit;
  opacity: 0.76;
}

.amount-custom input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--charcoal);
  background: transparent;
  font-weight: 800;
}

.impact-calculator {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 22px 0;
}

.impact-calculator div {
  padding: 18px;
  border-radius: 8px;
  background: rgba(31, 107, 79, 0.1);
}

.impact-calculator span {
  display: block;
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--green);
}

.payment-view {
  margin: 22px 0 28px;
}

.qr-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
}

.qr-pattern {
  width: 112px;
  aspect-ratio: 1;
  border-radius: 8px;
  background:
    linear-gradient(90deg, var(--charcoal) 12px, transparent 12px) 0 0 / 28px 28px,
    linear-gradient(var(--charcoal) 12px, transparent 12px) 0 0 / 28px 28px,
    var(--cream);
}

.qr-card strong,
.qr-card span {
  display: block;
}

.qr-card span {
  color: var(--muted);
}

.upload-receipt {
  width: 100%;
  margin-top: 14px;
  padding: 16px;
  border: 1px dashed rgba(33, 31, 28, 0.24);
  border-radius: 8px;
  color: var(--muted);
  cursor: pointer;
}

.upload-receipt input {
  display: block;
  margin-top: 10px;
}

.sticky-summary {
  position: sticky;
  top: 116px;
  display: grid;
  gap: 18px;
  padding: 18px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.summary-card,
.after-donation {
  padding: 28px;
  border-radius: 8px;
}

.summary-card strong {
  display: block;
  margin: 8px 0;
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 5vw, 4.4rem);
}

.after-donation {
  background: var(--charcoal);
  color: white;
}

.after-donation ol {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.72);
}

.success-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(33, 31, 28, 0.72);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.success-modal.is-visible {
  opacity: 1;
  visibility: visible;
}

.success-card {
  max-width: 540px;
  padding: 42px;
  border-radius: 8px;
  text-align: center;
  background: var(--off);
}

.success-ring {
  width: 96px;
  height: 96px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--green) 0 26%, transparent 27%),
    conic-gradient(var(--orange), var(--gold), var(--green), var(--orange));
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.process-timeline article {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  border-radius: 8px;
  color: white;
  background: var(--charcoal);
}

.process-timeline article:nth-child(2) {
  background: var(--green);
}

.process-timeline article:nth-child(3) {
  color: var(--charcoal);
  background: var(--gold);
}

.process-timeline article:nth-child(4) {
  background: var(--orange);
}

.process-timeline span {
  font-family: var(--font-head);
  font-size: 4rem;
  line-height: 1;
  font-weight: 800;
  opacity: 0.34;
}

.process-timeline p {
  color: inherit;
  opacity: 0.78;
}

.benefit-stage {
  background: #eef4ec;
}

.benefit-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(28px, 6vw, 90px);
  align-items: center;
}

.benefit-stack {
  display: grid;
  gap: 14px;
}

.benefit-stack div {
  padding: 26px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 20px 50px rgba(33, 31, 28, 0.08);
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 3vw, 3rem);
  font-weight: 800;
}

.benefit-stack div:nth-child(even) {
  transform: translateX(8%);
  background: var(--charcoal);
  color: white;
}

.gallery-form-grid {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 480px);
  gap: 28px;
}

.photo-lattice {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  grid-template-rows: 280px 280px;
  gap: 16px;
}

.photo-lattice img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.photo-lattice img:first-child {
  grid-row: span 2;
}

.premium-form {
  display: grid;
  gap: 14px;
  padding: clamp(24px, 4vw, 44px);
}

.premium-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

.premium-form input,
.premium-form textarea,
.premium-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 15px 16px;
  background: rgba(255, 255, 255, 0.62);
  outline: 0;
}

.impact-orbit {
  position: relative;
  width: min(420px, 80vw);
  aspect-ratio: 1;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}

.impact-orbit::before {
  content: "UHH";
  position: absolute;
  inset: 28%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--charcoal);
  background: var(--cream);
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
}

.impact-orbit span {
  position: absolute;
  display: grid;
  place-items: center;
  width: 94px;
  height: 94px;
  border-radius: 50%;
  color: var(--charcoal);
  background: var(--gold);
  font-weight: 800;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.impact-orbit span:nth-child(1) { left: 40%; top: -10%; }
.impact-orbit span:nth-child(2) { right: -8%; top: 40%; background: var(--cream); }
.impact-orbit span:nth-child(3) { left: 40%; bottom: -10%; background: var(--orange); color: white; }
.impact-orbit span:nth-child(4) { left: -8%; top: 40%; background: var(--green); color: white; }

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.metric-grid article {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
}

.metric-grid span {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 5vw, 5rem);
  font-weight: 800;
}

.map-section {
  background: #f6ead7;
}

.map-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 6vw, 90px);
  align-items: center;
}

.map-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(31, 107, 79, 0.9), rgba(217, 95, 36, 0.75)),
    var(--green);
}

.map-line {
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  transform: rotate(-18deg) skew(8deg);
}

.map-card span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--charcoal);
  background: var(--cream);
  font-weight: 800;
  transform: translate(-50%, -50%);
}

.map-card span::before {
  content: "";
  width: 12px;
  height: 12px;
  display: inline-block;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.growth-bars {
  height: 480px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  align-items: end;
}

.growth-bars div {
  position: relative;
  height: var(--h);
  min-height: 90px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, var(--orange), var(--green));
}

.growth-bars span {
  position: absolute;
  left: 50%;
  bottom: -34px;
  font-weight: 800;
  transform: translateX(-50%);
}

.before-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.before-card,
.after-card {
  position: relative;
  overflow: hidden;
  min-height: 540px;
  border-radius: 8px;
  color: white;
}

.before-card img,
.after-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.before-card::after,
.after-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(16, 14, 12, 0.8), transparent);
}

.before-card span,
.after-card span,
.before-card p,
.after-card p {
  position: absolute;
  z-index: 1;
  left: 26px;
  right: 26px;
}

.before-card span,
.after-card span {
  top: 26px;
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
}

.before-card p,
.after-card p {
  bottom: 22px;
  color: rgba(255, 255, 255, 0.82);
}

.dashboard-section {
  background: #f7ead9;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.utilization-panel,
.documents-panel,
.reports-panel,
.policy-panel {
  padding: clamp(24px, 4vw, 42px);
}

.utilization-panel {
  grid-row: span 2;
}

.donut-chart {
  width: min(360px, 80vw);
  aspect-ratio: 1;
  margin: 30px 0;
  border-radius: 50%;
  background: conic-gradient(var(--orange) 0 72%, var(--green) 72% 84%, var(--gold) 84% 93%, var(--charcoal) 93% 100%);
  box-shadow: inset 0 0 0 70px var(--off);
}

.utilization-panel ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.utilization-panel li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 700;
}

.utilization-panel li span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--c);
}

.document-list {
  display: grid;
  gap: 12px;
}

.document-list a,
.report-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  font-weight: 800;
}

.report-row {
  align-items: center;
  margin-bottom: 12px;
}

.report-row button {
  border: 0;
  border-radius: 8px;
  padding: 10px 14px;
  color: white;
  background: var(--charcoal);
  font-weight: 800;
}

.cause-index {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 24px;
  color: var(--charcoal);
}

.cause-index a {
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  font-weight: 800;
}

.cause-atlas {
  background: #f7ead9;
}

.atlas-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(260px, auto);
  gap: 16px;
}

.atlas-card {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.78);
  box-shadow: 0 22px 60px rgba(33, 31, 28, 0.09);
}

.atlas-card.wide {
  grid-column: span 2;
}

.atlas-card.tall {
  grid-row: span 2;
}

.atlas-card span {
  color: var(--orange-ink);
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 800;
}

.atlas-card h2,
.atlas-card h3 {
  margin: 12px 0;
}

.atlas-card h2 {
  font-size: clamp(1.6rem, 4.6vw, 4.6rem);
}

.atlas-card h3 {
  font-size: clamp(1.3rem, 2.7vw, 2.75rem);
}

.atlas-card p {
  margin: 0;
}

.atlas-photo {
  min-height: 430px;
  justify-content: flex-end;
  color: white;
}

.atlas-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.atlas-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(18, 16, 14, 0.86), rgba(18, 16, 14, 0.1));
}

.atlas-photo div {
  position: relative;
  z-index: 1;
}

.atlas-photo p,
.atlas-card.green p,
.atlas-card.dark p,
.atlas-card.red p {
  color: rgba(255, 255, 255, 0.78);
}

.atlas-card.soft {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(251, 242, 223, 0.9));
}

.atlas-card.gold {
  background: linear-gradient(135deg, #ffe7a8, var(--gold));
}

.atlas-card.green {
  color: white;
  background: linear-gradient(135deg, var(--green), #2c8261);
}

.atlas-card.dark {
  color: white;
  background: var(--charcoal);
}

.atlas-card.outline {
  border: 2px solid var(--green);
  background: transparent;
}

.atlas-card.botanical {
  color: white;
  background:
    radial-gradient(circle at 18% 18%, rgba(216, 166, 63, 0.52), transparent 24%),
    linear-gradient(160deg, var(--green), #123d2d);
}

.atlas-card.red {
  color: white;
  background: linear-gradient(135deg, #9f1f21, var(--orange));
}

.atlas-card.community {
  color: white;
  background:
    radial-gradient(circle at 78% 14%, rgba(216, 166, 63, 0.65), transparent 23%),
    linear-gradient(135deg, var(--charcoal), var(--green));
}

.contact-panel {
  display: grid;
  gap: 14px;
  padding: 32px;
  color: var(--charcoal);
}

.contact-panel strong {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 3vw, 3rem);
  line-height: 1;
}

.contact-map {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-radius: 8px;
  background:
    radial-gradient(circle at 28% 22%, rgba(216, 166, 63, 0.55), transparent 24%),
    radial-gradient(circle at 70% 64%, rgba(217, 95, 36, 0.48), transparent 26%),
    linear-gradient(135deg, rgba(31, 107, 79, 0.92), rgba(33, 31, 28, 0.92));
}

.contact-map::before {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  transform: rotate(-14deg);
}

.contact-map span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  padding: 12px 16px;
  border-radius: 999px;
  color: var(--charcoal);
  background: var(--cream);
  font-weight: 800;
  transform: translate(-50%, -50%);
}

.thanks-page {
  min-height: 100vh;
  display: grid;
  background:
    radial-gradient(circle at 18% 12%, rgba(217, 95, 36, 0.28), transparent 24%),
    radial-gradient(circle at 86% 70%, rgba(31, 107, 79, 0.24), transparent 28%),
    var(--off);
}

.thanks-hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 36px;
}

.thanks-card {
  width: min(980px, 100%);
  padding: clamp(30px, 6vw, 76px);
  text-align: center;
}

.thanks-card h1 {
  max-width: 760px;
  margin-inline: auto;
  font-size: clamp(1.9rem, 7vw, 6.2rem);
}

.thanks-card p {
  max-width: 650px;
  margin-inline: auto;
}

.thanks-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 34px 0;
}

.thanks-flow div {
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
}

.thanks-flow strong,
.thanks-flow span {
  display: block;
}

.thanks-flow strong {
  color: var(--orange-ink);
  font-family: var(--font-head);
  font-size: 1.6rem;
}

.hero-actions.center {
  justify-content: center;
}

.page-directory {
  background: #f7ead9;
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.directory-grid a {
  min-height: 130px;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  border-radius: 8px;
  color: var(--charcoal);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  box-shadow: 0 18px 42px rgba(33, 31, 28, 0.08);
  font-family: var(--font-head);
  font-weight: 800;
}

.mission-board,
.team-section,
.campaign-section,
.events-section,
.gallery-wall,
.stories-section {
  background: #f7ead9;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.mission-grid article,
.help-steps article,
.campaign-card,
.event-list article,
.story-card-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.76);
  box-shadow: 0 24px 70px rgba(33, 31, 28, 0.1);
}

.mission-grid article {
  min-height: 330px;
  padding: 28px;
}

.mission-grid span,
.help-steps span,
.campaign-card span,
.story-card-grid span {
  color: var(--orange-ink);
  font-family: var(--font-head);
  font-weight: 800;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.team-grid article {
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.76);
  box-shadow: 0 24px 70px rgba(33, 31, 28, 0.1);
}

.team-grid img {
  width: 100%;
  height: 330px;
  object-fit: cover;
}

.team-grid article span,
.team-grid article h3,
.team-grid article p {
  display: block;
  margin-inline: 22px;
}

.team-grid article span {
  margin-top: 22px;
  color: var(--orange-ink);
  font-weight: 800;
}

.team-grid article p {
  margin-bottom: 24px;
}

.campaign-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.campaign-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
}

.campaign-card.feature {
  grid-column: span 2;
  min-height: 520px;
  position: relative;
  overflow: hidden;
  color: white;
}

.campaign-card.feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.campaign-card.feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(18, 16, 14, 0.84), rgba(18, 16, 14, 0.1));
}

.campaign-card.feature div {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.campaign-card.feature p,
.campaign-card.dark p,
.campaign-card.green p {
  color: rgba(255, 255, 255, 0.78);
}

.campaign-card.dark {
  color: white;
  background: var(--charcoal);
}

.campaign-card.green {
  color: white;
  background: var(--green);
}

.campaign-card.gold {
  background: var(--gold);
}

.help-steps {
  display: grid;
  gap: 16px;
}

.help-steps article {
  padding: 28px;
}

.event-list {
  display: grid;
  gap: 16px;
}

.event-list article {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px;
}

.event-list time {
  display: grid;
  place-items: center;
  min-height: 94px;
  border-radius: 8px;
  color: white;
  background: linear-gradient(135deg, var(--orange-ink), var(--green));
  font-family: var(--font-head);
  font-size: 1.55rem;
  font-weight: 800;
}

.event-list a,
.story-card-grid a {
  color: var(--orange-ink);
  font-weight: 800;
}

.gallery-wall-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 260px;
  gap: 16px;
}

.gallery-wall-grid figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
}

.gallery-wall-grid figure.tall {
  grid-row: span 2;
}

.gallery-wall-grid figure.wide {
  grid-column: span 2;
}

.gallery-wall-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-wall-grid figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  color: white;
  background: rgba(18, 16, 14, 0.58);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-weight: 800;
}

.story-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.story-card-grid article {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
}

@media (max-width: 1080px) {
  .hero-grid,
  .page-hero-grid,
  .split-editorial,
  .cause-composition,
  .story-grid,
  .faq-grid,
  .benefit-grid,
  .gallery-form-grid,
  .map-grid,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .donate-grid {
    /* minmax(0, 1fr) instead of a bare 1fr: without the explicit 0 minimum,
       the track's automatic minimum is the min-content width of whichever
       child (donation-panel or sticky-summary) is widest, which can exceed
       the viewport and push the whole panel off-screen on phones. */
    grid-template-columns: minmax(0, 1fr);
  }

  .impact-bento {
    grid-template-columns: 1fr 1fr;
  }

  .impact-tile.tile-large {
    grid-column: span 2;
  }

  .amount-grid,
  .metric-grid,
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .atlas-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .directory-grid,
  .team-grid,
  .story-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .campaign-grid,
  .mission-grid {
    grid-template-columns: 1fr;
  }

  .campaign-card.feature {
    grid-column: auto;
  }

  .sticky-summary {
    position: static;
    padding: 0;
  }

  .impact-orbit {
    margin: 48px auto 0;
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .nav-links {
    gap: 2px;
  }

  .nav-links > a,
  .nav-group-toggle {
    padding: 13px 10px;
    font-size: 0.86rem;
  }
}

@media (max-width: 780px) {
  .container-fluid {
    width: min(100% - 28px, 1440px);
  }

  body {
    padding-bottom: 86px;
  }

  .site-header {
    top: 10px;
  }

  .nav-shell {
    width: min(100% - 20px, 1280px);
    min-height: 64px;
    backdrop-filter: none;
    background: rgba(255, 250, 241, 0.94);
  }

  .nav-shell::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 1;
    background: rgba(33, 31, 28, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .nav-shell.is-open::after {
    opacity: 1;
    visibility: visible;
  }

  .nav-toggle {
    display: block;
    position: relative;
    z-index: 3;
    transition: opacity 0.2s ease;
  }

  .nav-shell.is-open .nav-toggle {
    opacity: 0;
    pointer-events: none;
  }

  .drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(33, 31, 28, 0.1);
  }

  .drawer-head .brand-mark {
    width: 40px;
    height: 40px;
  }

  .drawer-close {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 8px;
    background: rgba(33, 31, 28, 0.06);
    color: var(--charcoal);
    cursor: pointer;
  }

  .drawer-close:active {
    background: rgba(33, 31, 28, 0.12);
  }

  .nav-links .nav-donate {
    margin-top: auto;
    padding: 16px;
    text-align: center;
    color: white;
    background: linear-gradient(135deg, var(--orange-ink), var(--green));
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    z-index: 2;
    width: min(84vw, 330px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 16px 16px 24px;
    border-radius: 0;
    background: rgba(255, 250, 241, 0.98);
    box-shadow: -24px 0 60px rgba(33, 31, 28, 0.25);
    transform: translateX(105%);
    opacity: 1;
    visibility: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1), visibility 0.32s ease;
  }

  .nav-shell.is-open .nav-links {
    visibility: visible;
    transform: translateX(0);
  }

  .nav-group {
    width: 100%;
  }

  .nav-group-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 13px 14px;
  }

  .nav-dropdown {
    position: static;
    margin-top: 2px;
    padding: 4px 4px 4px 14px;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: 0;
    box-shadow: none;
    background: rgba(33, 31, 28, 0.04);
  }

  .nav-group.is-open .nav-dropdown {
    display: grid;
  }

  .hero-home {
    height: 100vh;
    height: 100svh;
    min-height: 0;
  }

  .hero-slide {
    padding: 104px 0 92px;
  }

  h1 {
    font-size: clamp(1.6rem, 7vw, 2.1rem);
    line-height: 1.2;
  }

  h2 {
    font-size: clamp(1.45rem, 6.5vw, 2rem);
    line-height: 1.22;
  }

  h3 {
    line-height: 1.3;
  }

  p {
    line-height: 1.6;
  }

  .quote-panel p {
    line-height: 1.35;
  }

  .hero-grid {
    gap: 24px;
  }

  .donation-float {
    max-width: 100%;
  }

  .trust-track {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    contain: layout paint;
    max-width: 100%;
    scroll-snap-type: x mandatory;
  }

  .trust-track div {
    min-width: 190px;
    scroll-snap-align: start;
  }

  .manifesto-copy {
    padding-top: 0;
  }

  .impact-bento,
  .amount-grid,
  .impact-calculator,
  .metric-grid,
  .process-timeline,
  .before-grid,
  .footer-grid,
  .atlas-grid,
  .thanks-flow,
  .directory-grid,
  .team-grid,
  .story-card-grid,
  .gallery-wall-grid {
    grid-template-columns: 1fr;
  }

  .atlas-card.wide,
  .atlas-card.tall {
    grid-column: auto;
    grid-row: auto;
  }

  .atlas-photo,
  .contact-map {
    min-height: 390px;
  }

  .event-list article {
    grid-template-columns: 1fr;
  }

  .gallery-wall-grid figure.tall,
  .gallery-wall-grid figure.wide {
    grid-column: auto;
    grid-row: auto;
  }

  .impact-tile.tile-large {
    grid-column: auto;
    min-height: 430px;
  }

  .cause-mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 128px;
  }

  .cause-pill.image {
    grid-column: span 2;
  }

  .cause-hero {
    min-height: 440px;
  }

  .story-timeline li {
    grid-template-columns: 1fr;
  }

  .horizontal-gallery {
    grid-auto-columns: 82vw;
  }

  .horizontal-gallery figure {
    min-height: 420px;
  }

  .volunteer-spotlight {
    grid-template-columns: 1fr;
  }

  .page-hero {
    min-height: 46vh;
    padding: 112px 0 44px;
  }

  .page-hero h1 {
    font-size: clamp(1.05rem, 5.6vw, 1.75rem);
  }

  .page-hero p {
    font-size: 0.92rem;
  }

  .page-hero-img {
    height: 310px;
  }

  .segmented,
  .payment-tabs {
    width: 100%;
    grid-auto-flow: row;
  }

  .qr-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .photo-lattice {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 230px);
  }

  .photo-lattice img:first-child {
    grid-row: auto;
  }

  .benefit-stack div:nth-child(even) {
    transform: none;
  }

  .growth-bars {
    height: 340px;
    gap: 10px;
  }

  .map-card,
  .before-card,
  .after-card {
    min-height: 390px;
  }

  .donut-chart {
    box-shadow: inset 0 0 0 48px var(--off);
  }

  .mobile-dock {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 99;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    background: rgba(255, 250, 241, 0.88);
    box-shadow: 0 20px 60px rgba(33, 31, 28, 0.2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transform: translateZ(0);
  }

  .mobile-dock a {
    min-height: 54px;
    display: grid;
    place-items: center;
    gap: 3px;
    padding: 7px 0 6px;
    border-radius: 8px;
    color: var(--muted);
    font-weight: 700;
    font-size: 0.66rem;
    letter-spacing: 0.02em;
  }

  .mobile-dock a svg {
    width: 21px;
    height: 21px;
    display: block;
  }

  .mobile-dock .dock-donate svg {
    stroke-width: 2.2;
  }

  .mobile-dock .is-active {
    color: var(--charcoal);
    background: rgba(33, 31, 28, 0.08);
  }

  .mobile-dock .dock-donate {
    color: var(--orange-ink);
  }

  .mobile-dock .dock-donate.is-active {
    color: white;
    background: linear-gradient(135deg, var(--orange-ink), var(--green));
  }
}

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

/* Mobile typography scaling for fixed-size display elements */
@media (max-width: 780px) {
  .quote-mark {
    font-size: 3rem;
  }

  .process-timeline span {
    font-size: 2.4rem;
  }

  .impact-orbit::before {
    font-size: 2rem;
  }

  .before-card span,
  .after-card span {
    font-size: 1.8rem;
  }

  .impact-calculator span {
    font-size: 1.6rem;
  }

  .thanks-flow strong {
    font-size: 1.2rem;
  }

  .event-list time {
    font-size: 1.2rem;
  }

  .contact-panel strong {
    word-break: break-word;
  }

  .page-hero p,
  .manifesto-copy p {
    font-size: 1rem;
  }
}

/* Mission & Vision page */
.mv-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 6vw, 90px);
}

.mv-sticky {
  position: sticky;
  top: 120px;
  align-self: start;
}

.mv-sticky h2 {
  margin: 14px 0 16px;
}

.mv-sticky .btn-premium {
  display: inline-block;
  margin-top: 10px;
}

.mv-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.mv-list li {
  display: flex;
  gap: 24px;
  padding: 28px 14px;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease, padding-left 0.3s ease;
}

.mv-list li:hover {
  background: #f7ead9;
  padding-left: 22px;
}

.mv-list li > span {
  min-width: 52px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.7rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.4px var(--orange);
}

.mv-list h3 {
  margin: 0 0 6px;
  font-size: 1.12rem;
}

.mv-list p {
  margin: 0;
  font-size: 0.95rem;
}

.mv-bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.mv-tile {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.76);
}

.mv-tile h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.mv-tile p {
  margin: 0;
  font-size: 0.93rem;
}

.mv-tile.photo {
  grid-row: span 2;
  padding: 0;
}

.mv-tile.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mv-tile.photo figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(33, 31, 28, 0.72);
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
}

.mv-tile.accent {
  grid-column: span 2;
  background: #f7ead9;
}

.mv-tile.stat {
  display: grid;
  align-content: center;
  color: white;
  background: linear-gradient(135deg, var(--orange-ink), var(--green));
}

.mv-tile.stat strong {
  font-family: var(--font-head);
  font-size: 2.3rem;
  line-height: 1;
  margin-bottom: 8px;
}

.mv-tile.stat p {
  color: rgba(255, 255, 255, 0.9);
}

.mv-chips {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.mv-chips span {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(33, 31, 28, 0.2);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--charcoal);
}

.mv-dark {
  color: white;
  background:
    radial-gradient(120% 130% at 85% 0%, rgba(217, 95, 36, 0.25), transparent 55%),
    linear-gradient(160deg, #20302a, #17251f);
}

.mv-dark h2 {
  max-width: 820px;
  margin: 14px 0 18px;
}

.mv-lede {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.75);
}

.mv-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 44px;
}

.mv-pills span {
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
}

.mv-goals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.mv-goals article {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, background 0.3s ease;
}

.mv-goals article:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.09);
}

.mv-goals span {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.3rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.4px var(--orange-2);
}

.mv-goals h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
  color: white;
}

.mv-goals p {
  margin: 0;
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 1080px) {
  .mv-bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 780px) {
  .mv-grid {
    grid-template-columns: 1fr;
  }

  .mv-sticky {
    position: static;
  }

  .mv-bento-grid,
  .mv-goals {
    grid-template-columns: 1fr;
  }

  .mv-tile.photo {
    grid-row: auto;
    min-height: 260px;
  }

  .mv-tile.accent {
    grid-column: auto;
  }

  .mv-list li {
    gap: 16px;
    padding: 22px 6px;
  }
}

/* About page */
.ab-big {
  max-width: 1020px;
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.45rem, 2.8vw, 2.6rem);
  line-height: 1.35;
  color: var(--charcoal);
}

.ab-big mark {
  padding: 2px 10px;
  border-radius: 8px;
  background: rgba(217, 95, 36, 0.16);
  color: var(--charcoal);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.ab-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.ab-badges span {
  padding: 9px 18px;
  border: 1px solid rgba(33, 31, 28, 0.18);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--charcoal);
}

.ab-marquee {
  overflow: hidden;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f7ead9;
}

.ab-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: ab-scroll 26s linear infinite;
}

.ab-track span {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--charcoal);
  white-space: nowrap;
}

.ab-track i {
  color: var(--orange-ink);
  font-style: normal;
}

@keyframes ab-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ab-collage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
}

.ab-photos {
  position: relative;
  min-height: 460px;
}

.ab-ph1 {
  width: 78%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 30px 70px rgba(33, 31, 28, 0.22);
}

.ab-ph2 {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  border: 6px solid #fffaf1;
  box-shadow: 0 24px 60px rgba(33, 31, 28, 0.24);
}

.ab-float {
  position: absolute;
  left: 4%;
  bottom: 26px;
  display: grid;
  gap: 2px;
  padding: 16px 22px;
  border-radius: 8px;
  color: white;
  background: linear-gradient(135deg, var(--orange-ink), var(--green));
  box-shadow: 0 20px 50px rgba(217, 95, 36, 0.35);
}

.ab-float strong {
  font-family: var(--font-head);
  font-size: 1.6rem;
  line-height: 1;
}

.ab-float span {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.ab-who h2 {
  margin: 14px 0 18px;
}

.ab-who p {
  max-width: 560px;
}

.ab-line {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.ab-line li {
  position: relative;
  padding-top: 34px;
}

.ab-line li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  right: -26px;
  height: 2px;
  background: rgba(33, 31, 28, 0.12);
}

.ab-line li:last-child::before {
  right: 0;
}

.ab-line li::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 4px solid #fffaf1;
  background: var(--orange);
  box-shadow: 0 0 0 2px rgba(217, 95, 36, 0.35);
}

.ab-line em {
  font-style: normal;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  color: transparent;
  -webkit-text-stroke: 1.3px var(--orange);
}

.ab-line h3 {
  margin: 10px 0 8px;
  font-size: 1.12rem;
}

.ab-line p {
  margin: 0;
  font-size: 0.93rem;
}

.ab-stats {
  color: white;
  background:
    radial-gradient(110% 140% at 12% 0%, rgba(217, 95, 36, 0.28), transparent 55%),
    linear-gradient(160deg, #20302a, #17251f);
}

.ab-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  text-align: center;
}

.ab-stats-grid span {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  line-height: 1;
  margin-bottom: 10px;
}

.ab-stats-grid p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 1080px) {
  .ab-line {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
  }

  .ab-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 34px;
  }
}

@media (max-width: 780px) {
  .ab-collage-grid {
    grid-template-columns: 1fr;
  }

  .ab-photos {
    min-height: 0;
    padding-bottom: 40px;
  }

  .ab-ph1 {
    width: 100%;
    height: 300px;
  }

  .ab-ph2 {
    width: 52%;
    height: 190px;
    bottom: 0;
  }

  .ab-float {
    left: 10px;
    bottom: 14px;
  }

  .ab-line {
    grid-template-columns: 1fr;
    row-gap: 30px;
  }

  .ab-line li::before {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ab-track {
    animation: none;
  }
}

/* Team page */
.tm-msg-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

.tm-portrait img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 30px 70px rgba(33, 31, 28, 0.2);
}

.tm-letter {
  position: relative;
  padding: 10px 0;
}

.tm-quote-mark {
  position: absolute;
  top: 4px;
  right: 26px;
  font-family: var(--font-head);
  font-size: clamp(7rem, 12vw, 11rem);
  line-height: 1;
  font-weight: 800;
  color: rgba(217, 95, 36, 0.18);
  pointer-events: none;
}

.tm-letter h2 {
  margin: 14px 0 20px;
  max-width: 560px;
  font-size: clamp(1.6rem, 2.9vw, 2.5rem);
}

.tm-letter p {
  max-width: 620px;
  font-size: 0.98rem;
}

.tm-sign {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.tm-sign strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.3rem;
}

.tm-sign span {
  font-size: 0.84rem;
  color: var(--muted);
}

.tm-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.tm-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  min-height: 400px;
}

.tm-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 0.5s ease, transform 0.5s ease;
}

.tm-card:hover img {
  filter: grayscale(0);
  transform: scale(1.05);
}

.tm-info {
  position: absolute;
  inset: auto 0 0;
  padding: 60px 20px 20px;
  color: white;
  background: linear-gradient(0deg, rgba(20, 19, 17, 0.88), rgba(20, 19, 17, 0.4) 65%, transparent);
}

.tm-info span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange-2);
}

.tm-info h3 {
  margin: 6px 0 6px;
  color: white;
  font-size: 1.2rem;
}

.tm-info p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
}

.tm-roles {
  color: white;
  background:
    radial-gradient(110% 140% at 88% 0%, rgba(217, 95, 36, 0.26), transparent 55%),
    linear-gradient(160deg, #20302a, #17251f);
}

.tm-roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.tm-roles article {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, background 0.3s ease;
}

.tm-roles article:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.09);
}

.tm-roles em {
  display: block;
  margin-bottom: 12px;
  font-style: normal;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.2rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.4px var(--orange-2);
}

.tm-roles h3 {
  margin: 0 0 10px;
  color: white;
  font-size: 1.12rem;
}

.tm-roles p {
  margin: 0;
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 1080px) {
  .tm-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 780px) {
  .tm-msg-card {
    grid-template-columns: 1fr;
  }

  .tm-portrait img {
    height: 340px;
  }

  .tm-quote-mark {
    right: 14px;
  }

  .tm-grid,
  .tm-roles-grid {
    grid-template-columns: 1fr;
  }

  .tm-card {
    min-height: 340px;
  }
}

/* Causes page arrangement */
.cause-jump-bar {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 241, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transform: translateZ(0);
}

.cause-jump {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  mask-image: linear-gradient(90deg, transparent, black 24px, black calc(100% - 24px), transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 24px, black calc(100% - 24px), transparent);
}

.cause-jump::-webkit-scrollbar {
  display: none;
}

.cause-jump a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border: 1px solid rgba(33, 31, 28, 0.16);
  border-radius: 999px;
  background: transparent;
  color: var(--charcoal);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.cause-jump a i {
  font-style: normal;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.68rem;
  color: var(--orange-ink);
  transition: color 0.25s ease;
}

.cause-jump a:hover {
  border-color: var(--charcoal);
  transform: translateY(-2px);
}

.cause-jump a.is-live {
  border-color: transparent;
  background: linear-gradient(135deg, var(--orange-ink), var(--green));
  color: white;
}

.cause-jump a.is-live i {
  color: rgba(255, 255, 255, 0.85);
}

.cause-atlas [id] {
  scroll-margin-top: 110px;
}

.cause-groups-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.cause-groups-grid article {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--charcoal);
  border-radius: 0 0 8px 8px;
  background: rgba(255, 250, 241, 0.76);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cause-groups-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(33, 31, 28, 0.12);
}

.cause-groups-grid article.cg-green { border-top-color: var(--green); }
.cause-groups-grid article.cg-gold { border-top-color: var(--gold, #d8a63f); }
.cause-groups-grid article.cg-dark { border-top-color: var(--orange); }
.cause-groups-grid article.cg-leaf { border-top-color: #6f8f4f; }

.cause-groups-grid span {
  display: block;
  margin-bottom: 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.cause-groups-grid h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.cause-groups-grid p {
  margin: 0;
  font-size: 0.9rem;
}

@media (max-width: 1080px) {
  .cause-groups-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 780px) {
  .cause-groups-grid {
    grid-template-columns: 1fr;
  }

  .cause-jump a {
    padding: 8px 14px;
    font-size: 0.78rem;
  }

  .cause-atlas [id] {
    scroll-margin-top: 92px;
  }
}

/* Contact page */
.ct-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  gap: clamp(34px, 6vw, 90px);
  align-items: start;
}

.ct-side h2 {
  margin: 14px 0 26px;
  max-width: 520px;
}

.ct-mail {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.15rem, 2.4vw, 1.9rem);
  color: var(--charcoal);
  border-bottom: 3px solid var(--orange);
  padding-bottom: 6px;
  transition: color 0.25s ease, gap 0.25s ease;
  word-break: break-all;
}

.ct-mail span {
  color: var(--orange-ink);
}

.ct-mail:hover {
  color: var(--orange-ink);
  gap: 20px;
}

.ct-phone {
  display: block;
  margin: 16px 0 6px;
  font-weight: 700;
  color: var(--muted);
}

.ct-address {
  margin: 0 0 30px;
  font-size: 0.92rem;
  color: var(--muted);
}

.ct-cards {
  display: grid;
  gap: 12px;
}

.ct-card {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.76);
}

.ct-card strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-head);
}

.ct-card p {
  margin: 0;
  font-size: 0.9rem;
}

.ct-card.urgent {
  color: white;
  border: 0;
  background: linear-gradient(135deg, var(--orange-ink), var(--green));
}

.ct-card.urgent p {
  color: rgba(255, 255, 255, 0.9);
}

.ct-form {
  padding: clamp(24px, 3.4vw, 44px);
  border-radius: 8px;
}

.ct-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.ct-note {
  display: block;
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--muted);
}

.ct-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.ct-quick-grid a {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 26px 26px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.76);
  transition: background 0.3s ease, transform 0.3s ease;
}

.ct-quick-grid a:hover {
  background: #f7ead9;
  transform: translateY(-4px);
}

.ct-quick-grid span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.ct-quick-grid h3 {
  margin: 0;
  font-size: 1.15rem;
}

.ct-quick-grid em {
  position: absolute;
  right: 22px;
  bottom: 20px;
  font-style: normal;
  font-size: 1.3rem;
  color: var(--orange-ink);
  transition: transform 0.3s ease;
}

.ct-quick-grid a:hover em {
  transform: translateX(6px);
}

@media (max-width: 1080px) {
  .ct-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .ct-quick-grid {
    grid-template-columns: 1fr;
  }

  .ct-row {
    grid-template-columns: 1fr;
  }
}

/* Volunteer page */
.vt-roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.vt-roles-grid article {
  position: relative;
  overflow: hidden;
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.76);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vt-roles-grid article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--orange), var(--green));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.vt-roles-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(33, 31, 28, 0.12);
}

.vt-roles-grid article:hover::before {
  opacity: 1;
}

.vt-roles-grid span {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(31, 107, 79, 0.12);
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vt-roles-grid h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
}

.vt-roles-grid p {
  margin: 0;
  font-size: 0.9rem;
}

.vt-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.vt-steps-grid article {
  position: relative;
  padding-top: 8px;
}

.vt-steps-grid b {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--orange-ink), var(--green));
  font-family: var(--font-head);
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(217, 95, 36, 0.3);
}

.vt-steps-grid article::after {
  content: "";
  position: absolute;
  top: 33px;
  left: 66px;
  right: -12px;
  border-top: 2px dashed rgba(33, 31, 28, 0.18);
}

.vt-steps-grid article:last-child::after {
  display: none;
}

.vt-steps-grid h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.vt-steps-grid p {
  margin: 0;
  font-size: 0.9rem;
}

.vt-perks {
  color: white;
  background:
    radial-gradient(110% 140% at 10% 0%, rgba(217, 95, 36, 0.26), transparent 55%),
    linear-gradient(160deg, #20302a, #17251f);
}

.vt-perks-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
}

.vt-perks h2 {
  margin: 14px 0 16px;
  color: white;
}

.vt-lede {
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

.vt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.vt-chips span {
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.vt-chips span:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 1080px) {
  .vt-roles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vt-steps-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 34px;
  }

  .vt-steps-grid article:nth-child(2n)::after {
    display: none;
  }
}

@media (max-width: 780px) {
  .vt-roles-grid,
  .vt-steps-grid {
    grid-template-columns: 1fr;
  }

  .vt-steps-grid article::after {
    display: none;
  }

  .vt-perks-grid {
    grid-template-columns: 1fr;
  }
}

/* Volunteer apply card */
.vt-apply-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf1;
  box-shadow: 0 40px 90px rgba(33, 31, 28, 0.16);
}

.vt-apply-side {
  position: relative;
  min-height: 460px;
  display: grid;
  align-items: end;
}

.vt-apply-side img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vt-apply-side::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(20, 25, 21, 0.88), rgba(20, 25, 21, 0.25) 60%, rgba(20, 25, 21, 0.1));
}

.vt-apply-copy {
  position: relative;
  z-index: 1;
  padding: clamp(24px, 3vw, 40px);
  color: white;
}

.vt-apply-copy h2 {
  margin: 12px 0 18px;
  color: white;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
}

.vt-checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.vt-checks li {
  position: relative;
  padding-left: 30px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.88);
}

.vt-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, var(--orange-ink), var(--green));
}

.vt-checks li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 7px;
  width: 8px;
  height: 5px;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(-45deg);
}

.vt-apply-form {
  padding: clamp(26px, 3.4vw, 48px);
}

@media (max-width: 1080px) {
  .vt-apply-card {
    grid-template-columns: 1fr;
  }

  .vt-apply-side {
    min-height: 300px;
  }
}

/* Campaigns page */
.cp-hero-card {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf1;
  box-shadow: 0 40px 90px rgba(33, 31, 28, 0.16);
}

.cp-hero-media {
  position: relative;
  min-height: 380px;
}

.cp-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cp-live {
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(20, 25, 21, 0.8);
  color: white;
  font-size: 0.78rem;
  font-weight: 800;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.cp-live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6fe3a1;
  animation: cp-pulse 1.6s ease infinite;
}

@keyframes cp-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(111, 227, 161, 0.6); }
  50% { box-shadow: 0 0 0 7px rgba(111, 227, 161, 0); }
}

.cp-hero-body {
  padding: clamp(28px, 3.6vw, 52px);
}

.cp-hero-body h2 {
  margin: 14px 0 14px;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
}

.cp-hero-body > p {
  max-width: 520px;
}

.cp-chip {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(217, 95, 36, 0.14);
  color: var(--orange-ink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cp-chip.gold { background: rgba(216, 166, 63, 0.18); color: #9a6d14; }
.cp-chip.dark { background: rgba(33, 31, 28, 0.1); color: var(--charcoal); }
.cp-chip.green { background: rgba(31, 107, 79, 0.14); color: var(--green); }
.cp-chip.blue { background: rgba(52, 116, 156, 0.14); color: #2d6484; }

.cp-bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(33, 31, 28, 0.1);
  overflow: hidden;
}

.cp-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), var(--green));
}

.cp-progress {
  margin: 22px 0 26px;
}

.cp-progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 10px;
}

.cp-progress-meta strong {
  font-family: var(--font-head);
  font-size: 1.15rem;
}

.cp-progress-meta em {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--muted);
}

.cp-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.cp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.cp-grid article {
  display: grid;
  align-content: start;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.9);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cp-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(33, 31, 28, 0.12);
}

.cp-grid .cp-chip {
  justify-self: start;
}

.cp-grid h3 {
  margin: 0;
  font-size: 1.1rem;
}

.cp-grid p {
  margin: 0;
  font-size: 0.88rem;
  min-height: 62px;
}

.cp-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.cp-meta strong {
  font-family: var(--font-head);
}

.cp-meta a {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--orange-ink);
}

.cp-how-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cp-how-row > div {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.cp-how-row b {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.6rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.3px var(--orange);
}

.cp-how-row h3 {
  margin: 0 0 4px;
  font-size: 1.02rem;
}

.cp-how-row p {
  margin: 0;
  font-size: 0.86rem;
}

@media (max-width: 1080px) {
  .cp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 780px) {
  .cp-hero-card {
    grid-template-columns: 1fr;
  }

  .cp-hero-media {
    min-height: 240px;
  }

  .cp-grid,
  .cp-how-row {
    grid-template-columns: 1fr;
  }

  .cp-grid p {
    min-height: 0;
  }
}

/* Campaigns page v2 */
.cp-stats {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.cp-stats div {
  display: grid;
  gap: 2px;
}

.cp-stats strong {
  font-family: var(--font-head);
  font-size: 1.25rem;
  line-height: 1;
}

.cp-stats span {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cp-bar span {
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.cp-card-media {
  position: relative;
  height: 170px;
}

.cp-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.cp-grid article:hover .cp-card-media img {
  transform: scale(1.06);
}

.cp-card-media .cp-chip {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 250, 241, 0.92);
}

.cp-days {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(20, 25, 21, 0.78);
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.cp-card-body {
  display: grid;
  gap: 12px;
  padding: 20px 22px 24px;
}

.cp-done-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.cp-done-grid article {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 24px;
  border: 1px solid rgba(31, 107, 79, 0.25);
  border-radius: 8px;
  background: rgba(31, 107, 79, 0.06);
}

.cp-done-grid b {
  position: relative;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--green);
}

.cp-done-grid b::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 7px;
  width: 10px;
  height: 6px;
  border-left: 2.4px solid white;
  border-bottom: 2.4px solid white;
  transform: rotate(-45deg);
}

.cp-done-grid h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.cp-done-grid p {
  margin: 0;
  font-size: 0.85rem;
}

.cp-done-grid strong {
  margin-left: auto;
  font-family: var(--font-head);
  color: var(--green);
}

@media (max-width: 1080px) {
  .cp-done-grid {
    grid-template-columns: 1fr;
  }
}

/* Events page */
.ev-list {
  display: grid;
  gap: 14px;
}

.ev-list article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  padding: 22px clamp(18px, 2.6vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.76);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.ev-list article:hover {
  transform: translateX(6px);
  background: #fffaf1;
  box-shadow: 0 22px 50px rgba(33, 31, 28, 0.12);
}

.ev-date {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 8px;
  color: white;
  background: linear-gradient(160deg, var(--green), #17251f);
}

.ev-date strong {
  font-family: var(--font-head);
  font-size: 1.5rem;
  line-height: 1;
}

.ev-date span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.ev-body h3 {
  margin: 0 0 6px;
  font-size: 1.18rem;
}

.ev-body p {
  margin: 0 0 10px;
  font-size: 0.92rem;
}

.ev-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ev-tags span {
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(31, 107, 79, 0.1);
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 800;
}

@media (max-width: 780px) {
  .ev-list article {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .ev-list article > .btn-premium {
    grid-column: 2;
    justify-self: start;
  }

  .ev-date {
    width: 60px;
    height: 60px;
  }
}

/* Events page v2 */
.ev-next {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto auto;
  align-items: center;
  gap: clamp(20px, 3.4vw, 44px);
  margin-bottom: 26px;
  padding: clamp(24px, 3vw, 38px);
  border-radius: 8px;
  color: white;
  background:
    radial-gradient(120% 150% at 90% 0%, rgba(217, 95, 36, 0.32), transparent 55%),
    linear-gradient(160deg, #20302a, #17251f);
  box-shadow: 0 34px 80px rgba(23, 37, 31, 0.35);
}

.ev-next-info h3 {
  margin: 14px 0 8px;
  color: white;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
}

.ev-next-info p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.ev-count {
  display: flex;
  gap: 10px;
}

.ev-count div {
  display: grid;
  place-items: center;
  gap: 2px;
  min-width: 68px;
  padding: 12px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.ev-count strong {
  font-family: var(--font-head);
  font-size: 1.5rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.ev-count span {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.ev-loc {
  display: inline-block;
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
}

.ev-loc + p {
  margin-top: 0;
}

.ev-spots {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.ev-spots i {
  display: block;
  height: 6px;
  max-width: 160px;
  flex: 1 1 160px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), var(--green));
  position: relative;
}

.ev-spots i::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 0;
  height: 100%;
  width: 999px;
  background: rgba(33, 31, 28, 0.1);
  border-radius: 999px;
}

.ev-spots {
  overflow: hidden;
}

.ev-spots em {
  font-style: normal;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--green);
  white-space: nowrap;
}

@media (max-width: 1080px) {
  .ev-next {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}

/* Impact page (merged) */
.im-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.im-metrics-grid article {
  padding: 6px 0 18px;
  border-bottom: 2px solid rgba(33, 31, 28, 0.1);
}

.im-metrics-grid span {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.4rem, 5.4vw, 4.6rem);
  line-height: 1;
  color: var(--orange-ink);
  background: linear-gradient(120deg, var(--orange), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
  .im-metrics-grid span {
    color: transparent;
  }
}

.im-metrics-grid p {
  margin: 10px 0 0;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.im-rail-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.im-swipe {
  flex: 0 0 auto;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.im-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 380px);
  gap: 16px;
  overflow-x: auto;
  width: min(100% - 48px, 1440px);
  margin-inline: auto;
  padding: 8px 4px 26px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--orange) transparent;
}

.im-story {
  scroll-snap-align: start;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.9);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.im-story:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(33, 31, 28, 0.12);
}

.im-story h3 {
  margin: 0;
  font-size: 1.15rem;
}

.im-story p {
  margin: 0;
  font-size: 0.92rem;
}

.im-story a {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--orange-ink);
}

.im-story .cp-chip {
  justify-self: start;
}

.im-story.quote {
  color: white;
  border: 0;
  background:
    radial-gradient(120% 150% at 90% 0%, rgba(217, 95, 36, 0.32), transparent 55%),
    linear-gradient(160deg, #20302a, #17251f);
}

.im-story.quote p {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.4;
  color: white;
}

.im-story.quote strong {
  display: block;
  margin-top: 6px;
}

.im-story.quote span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
}

.im-story.note {
  border-style: dashed;
  background: transparent;
}

.im-masonry {
  columns: 3;
  column-gap: 14px;
}

.im-masonry figure {
  position: relative;
  margin: 0 0 14px;
  overflow: hidden;
  border-radius: 8px;
  break-inside: avoid;
}

.im-masonry img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.im-masonry figure:hover img {
  transform: scale(1.05);
}

.im-masonry figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(20, 25, 21, 0.72);
  color: white;
  font-size: 0.76rem;
  font-weight: 700;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

@media (max-width: 1080px) {
  .im-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .im-masonry {
    columns: 2;
  }
}

@media (max-width: 780px) {
  .im-metrics-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .im-rail {
    grid-auto-columns: minmax(270px, 86vw);
    width: calc(100% - 28px);
  }

  .im-masonry {
    columns: 1;
  }
}

/* Impact radar section */
.rd-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(34px, 6vw, 90px);
  align-items: center;
}

.rd-legend {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.rd-legend li {
  display: grid;
  grid-template-columns: auto minmax(120px, 0.7fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.rd-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(217, 95, 36, 0.18);
}

.rd-legend em {
  font-style: normal;
  font-weight: 700;
  font-size: 0.92rem;
}

.rd-legend i {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: rgba(33, 31, 28, 0.1);
  overflow: hidden;
}

.rd-legend b {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), var(--green));
}

.rd-legend strong {
  font-family: var(--font-head);
  font-size: 0.85rem;
  white-space: nowrap;
  color: var(--muted);
}

.rd-card {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: 8px;
  overflow: hidden;
  background:
    radial-gradient(120% 150% at 85% 10%, rgba(217, 95, 36, 0.22), transparent 55%),
    linear-gradient(160deg, #20302a, #141d18);
  box-shadow: 0 34px 80px rgba(23, 37, 31, 0.35);
}

.rd-scope {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(78%, 480px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  overflow: hidden;
}

.rd-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
}

.rd-ring.r1 { width: 34%; aspect-ratio: 1; }
.rd-ring.r2 { width: 66%; aspect-ratio: 1; }
.rd-ring.r3 { width: 98%; aspect-ratio: 1; }

.rd-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(111, 227, 161, 0.35), transparent 70deg);
  animation: rd-rotate 5.5s linear infinite;
}

@keyframes rd-rotate {
  to { transform: rotate(360deg); }
}

.rd-core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange-ink), var(--green));
  color: white;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.08);
}

.rd-pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: flex;
  align-items: center;
  gap: 8px;
}

.rd-pin i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #6fe3a1;
  animation: rd-pulse 2s ease infinite;
}

.rd-pin:nth-child(odd) i {
  animation-delay: 0.7s;
}

@keyframes rd-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(111, 227, 161, 0.5); }
  50% { box-shadow: 0 0 0 9px rgba(111, 227, 161, 0); }
}

.rd-pin span {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(20, 25, 21, 0.7);
  color: white;
  font-size: 0.74rem;
  font-weight: 800;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

@media (max-width: 1080px) {
  .rd-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .rd-legend li {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .rd-legend i {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rd-sweep,
  .rd-pin i {
    animation: none;
  }
}

/* Donation payment panes */
.pay-pane[hidden] {
  display: none;
}

.bank-card {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.8);
  overflow: hidden;
}

.bank-card > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.bank-card > div:last-child {
  border-bottom: 0;
}

.bank-card span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.bank-card strong {
  font-family: var(--font-head);
  font-size: 0.95rem;
  text-align: right;
}

.pay-note {
  margin: 12px 0 0;
  font-size: 0.85rem;
}

.wallet-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wallet-row span {
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.8);
  font-weight: 800;
  font-size: 0.88rem;
}

/* Trending footer */
.site-footer {
  position: relative;
  overflow: hidden;
  padding: 80px 0 110px;
  background:
    radial-gradient(120% 150% at 88% 0%, rgba(217, 95, 36, 0.16), transparent 55%),
    linear-gradient(160deg, #1c2a23, #141d18);
}

.footer-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 110px);
}

.footer-tag {
  max-width: 420px;
  margin: 18px 0 26px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.95rem;
}

.footer-news {
  display: flex;
  gap: 10px;
  max-width: 440px;
}

/* Honeypot field on every form: real visitors never see or reach it (off-
   screen, unfocusable, hidden from assistive tech), but simple form-filling
   spam bots that blindly populate every input still fill it in - send-mail.php
   silently drops anything that arrives with this field non-empty. */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
}

.footer-news input {
  flex: 1;
  min-width: 0;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: white;
  font: inherit;
}

.footer-news input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.footer-news input:focus {
  outline: none;
  border-color: var(--orange-2);
}

.footer-news .btn-premium {
  white-space: nowrap;
}

.footer-badges {
  display: flex;
  gap: 8px;
  margin-top: 24px;
}

.footer-badges span {
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.75);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 44px);
}

@media (max-width: 1080px) {
  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 30px;
  }
}

.footer-cols strong {
  display: block;
  margin-bottom: 18px;
  color: white;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-cols a {
  position: relative;
  display: block;
  margin: 12px 0;
  width: fit-content;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.92rem;
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-cols a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1.5px;
  background: linear-gradient(90deg, var(--orange), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.footer-cols a:hover {
  color: white;
  transform: translateX(3px);
}

.footer-cols a:hover::after {
  transform: scaleX(1);
}

.site-footer .footer-bottom {
  position: relative;
  z-index: 1;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-word {
  position: absolute;
  left: 50%;
  bottom: -0.3em;
  transform: translateX(-50%);
  z-index: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(6rem, 19vw, 19rem);
  line-height: 1;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.025);
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.055);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

@media (max-width: 1080px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .site-footer {
    padding: 60px 0 130px;
  }

  .footer-cols {
    grid-template-columns: 1fr 1fr;
    row-gap: 30px;
  }

  .footer-news {
    flex-direction: column;
  }
}

/* Home hero trust chips */
.hero-trust {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-trust span {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.hero-trust i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange-2);
}

@media (max-width: 780px) {
  .hero-trust {
    gap: 10px;
  }

  .hero-trust span {
    font-size: 0.7rem;
  }
}

/* Lean home */
.hm-stats {
  position: relative;
  z-index: 2;
}

.hm-stats-card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: -58px;
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf1;
  box-shadow: 0 34px 80px rgba(33, 31, 28, 0.16);
}

.hm-stats-card article {
  text-align: center;
  padding: 4px 8px;
  border-right: 1px solid var(--line);
}

.hm-stats-card article:last-child {
  border-right: 0;
}

.hm-stats-card span {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1;
  color: var(--orange-ink);
  background: linear-gradient(120deg, var(--orange), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
  .hm-stats-card span {
    color: transparent;
  }
}

.hm-stats-card p {
  margin: 8px 0 0;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.hm-row-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.hm-row-head .section-head {
  margin-bottom: 42px;
}

.hm-row-head .text-link {
  margin-bottom: 46px;
  white-space: nowrap;
}

.hm-quote-inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.hm-quote-inner p {
  margin: 0 0 22px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.6vw, 2.1rem);
  line-height: 1.35;
  color: var(--charcoal);
}

.hm-quote-inner em {
  font-style: normal;
  padding: 1px 10px;
  border-radius: 8px;
  background: rgba(217, 95, 36, 0.16);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hm-quote-inner footer {
  font-size: 0.88rem;
  color: var(--muted);
}

.hm-quote-inner strong {
  color: var(--charcoal);
}

@media (max-width: 1080px) {
  .hm-stats-card {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 22px;
  }

  .hm-stats-card article:nth-child(2n) {
    border-right: 0;
  }
}

@media (max-width: 780px) {
  .hm-stats-card {
    margin-top: -40px;
  }

  .hm-row-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .hm-row-head .text-link {
    margin: -26px 0 34px;
  }
}

/* Home bento board */
.hx-title {
  max-width: 760px;
}

.hx-word-wrap {
  display: inline-block;
}

.hx-word {
  display: inline-block;
  padding: 0 14px;
  border-radius: 10px;
  background: linear-gradient(120deg, var(--orange), var(--green));
  color: white;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.hx-word.is-out {
  opacity: 0;
  transform: translateY(10px);
}

.hx-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.hx-flow span {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--charcoal);
}

.hx-flow i {
  font-style: normal;
  color: var(--orange-ink);
  font-weight: 800;
}

.hx-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 205px;
  gap: 14px;
}

.hx-tile {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hx-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 55px rgba(33, 31, 28, 0.13);
}

.hx-tile h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.3;
}

.hx-tile p {
  margin: 0;
  font-size: 0.88rem;
}

.hx-kicker {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-ink);
}

.hx-go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--charcoal);
}

.hx-go em {
  font-style: normal;
  color: var(--orange-ink);
  transition: transform 0.3s ease;
}

.hx-go:hover em {
  transform: translateX(5px);
}

.hx-tile.photo {
  grid-column: span 2;
  grid-row: span 2;
  padding: 0;
  align-content: end;
}

.hx-tile.photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hx-photo-cap {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 26px;
  color: white;
  background: linear-gradient(0deg, rgba(20, 25, 21, 0.85), transparent);
}

.hx-photo-cap span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}

.hx-tile.donate {
  color: white;
  border: 0;
  background:
    radial-gradient(120% 150% at 90% 0%, rgba(217, 95, 36, 0.4), transparent 55%),
    linear-gradient(160deg, #20302a, #17251f);
}

.hx-tile.donate h3 {
  color: white;
}

.hx-tile.donate .hx-go {
  color: white;
}

.hx-amounts {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.hx-amounts a {
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  color: white;
  transition: background 0.25s ease;
}

.hx-amounts a:hover {
  background: rgba(255, 255, 255, 0.14);
}

.hx-tile.ring {
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 20px;
}

.hx-ring {
  position: relative;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: conic-gradient(var(--orange) calc(var(--p) * 1%), rgba(33, 31, 28, 0.1) 0);
  display: grid;
  place-items: center;
}

.hx-ring::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: #fffaf1;
}

.hx-ring b {
  position: relative;
  font-family: var(--font-head);
  font-size: 1.25rem;
}

.hx-tile.stats {
  grid-template-columns: 1fr 1fr;
  text-align: center;
  align-content: stretch;
}

.hx-tile.stats div {
  display: grid;
  align-content: center;
  gap: 2px;
}

.hx-tile.stats span {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.45rem;
  line-height: 1;
  color: var(--orange-ink);
  background: linear-gradient(120deg, var(--orange), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
  .hx-tile.stats span {
    color: transparent;
  }
}

.hx-tile.stats p {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.hx-tile.causes {
  align-content: center;
}

.hx-tile.causes > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--charcoal);
}

.hx-tile.causes > a em {
  font-style: normal;
  color: var(--orange-ink);
}

.hx-tile.causes .hx-all {
  border-bottom: 0;
  color: var(--orange-ink);
  font-weight: 800;
}

.hx-tile.quote {
  background: #f6ecdc;
}

.hx-tile.quote p {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.4;
  color: var(--charcoal);
}

.hx-tile.quote span {
  font-size: 0.78rem;
  color: var(--muted);
}

.hx-tile.help {
  grid-column: span 2;
  background: #fffaf1;
}

@media (max-width: 1080px) {
  .hx-bento {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
  }

  .hx-tile {
    min-height: 190px;
  }

  .hx-tile.photo {
    grid-column: span 2;
    grid-row: auto;
    min-height: 300px;
  }
}

@media (max-width: 780px) {
  .hx-bento {
    grid-template-columns: 1fr;
  }

  .hx-tile.photo,
  .hx-tile.help {
    grid-column: auto;
  }

  .hx-flow {
    gap: 10px;
  }

  .hx-flow span {
    font-size: 0.74rem;
  }
}

/* Home: distinct section identities */
.hxs-flow {
  border-bottom: 1px solid var(--line);
  background: #f6ecdc;
}

.hxs-flow .hx-flow {
  margin-bottom: 0;
}

.hxs-causes {
  background: #fffdf8;
}

.hx-rows {
  display: grid;
  border-top: 1px solid rgba(33, 31, 28, 0.14);
}

.hx-rows a {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto 40px;
  align-items: center;
  gap: 18px;
  padding: 26px 10px;
  border-bottom: 1px solid rgba(33, 31, 28, 0.14);
  color: var(--charcoal);
  transition: background 0.3s ease, padding-left 0.3s ease;
}

.hx-rows a:hover {
  background: #f6ecdc;
  padding-left: 22px;
}

.hx-rows b {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.4rem;
  color: transparent;
  -webkit-text-stroke: 1.3px var(--orange);
}

.hx-rows h3 {
  margin: 0;
  font-size: clamp(1.15rem, 2.2vw, 1.7rem);
}

.hx-rows span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}

.hx-rows em {
  font-style: normal;
  font-size: 1.3rem;
  color: var(--orange-ink);
  text-align: right;
  transition: transform 0.3s ease;
}

.hx-rows a:hover em {
  transform: translateX(6px);
}

.hx-rows-all {
  display: inline-block;
  margin-top: 22px;
}

.hxs-campaign {
  background: #f6ecdc;
}

.hxs-campaign-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.hxs-campaign-media {
  position: relative;
  min-height: 360px;
  border-radius: 8px;
  overflow: hidden;
}

.hxs-campaign-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hxs-campaign-body h3 {
  margin: 18px 0 12px;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
}

.hxs-count {
  font-size: 0.95rem;
}

.hxs-count strong {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--green);
}

.hxs-donate {
  color: white;
  background:
    radial-gradient(120% 150% at 88% 0%, rgba(217, 95, 36, 0.32), transparent 55%),
    linear-gradient(160deg, #20302a, #17251f);
}

.hxs-donate-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.hxs-donate h2 {
  margin: 14px 0 12px;
  color: white;
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
}

.hxs-donate p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.hxs-donate-act {
  display: grid;
  gap: 18px;
  justify-items: start;
}

.hxs-help {
  background: #f6ecdc;
  border-top: 1px solid var(--line);
}

.hxs-help-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.hxs-help h2 {
  margin: 10px 0 0;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
}

@media (max-width: 1080px) {
  .hxs-campaign-grid,
  .hxs-donate-inner {
    grid-template-columns: 1fr;
  }

  .hxs-campaign-media {
    min-height: 260px;
  }
}

@media (max-width: 780px) {
  .hx-rows a {
    grid-template-columns: 44px minmax(0, 1fr) 28px;
  }

  .hx-rows span {
    display: none;
  }
}

/* Home: small about */
.hxs-about-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: center;
}

.hxs-about h2 {
  margin: 14px 0 16px;
  font-size: clamp(1.4rem, 1rem + 1.9vw, 2.3rem);
  line-height: 1.25;
}

.hx-about-media {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 14px;
}

.hx-about-media img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 24px 55px rgba(33, 31, 28, 0.18);
}

.hx-about-media .m1 {
  grid-row: span 2;
  height: 100%;
  min-height: 360px;
}

.hx-about-media .m2 {
  height: 170px;
  margin-top: 26px;
}

.hx-about-media .m3 {
  height: 170px;
  margin-bottom: 26px;
}

.hx-about-badge {
  position: absolute;
  left: -14px;
  bottom: 24px;
  display: grid;
  gap: 2px;
  padding: 14px 20px;
  border-radius: 8px;
  color: white;
  background: linear-gradient(135deg, var(--orange-ink), var(--green));
  box-shadow: 0 18px 44px rgba(217, 95, 36, 0.35);
}

.hx-about-badge strong {
  font-family: var(--font-head);
  font-size: 1.4rem;
  line-height: 1;
}

.hx-about-badge span {
  font-size: 0.74rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.hx-chip-img {
  display: inline-block;
  width: clamp(58px, 6vw, 88px);
  height: clamp(34px, 3.4vw, 48px);
  border-radius: 999px;
  object-fit: cover;
  vertical-align: middle;
  margin: 0 4px 6px;
  box-shadow: 0 10px 26px rgba(33, 31, 28, 0.2);
  transition: transform 0.3s ease;
}

.hx-chip-img:hover {
  transform: scale(1.12) rotate(-3deg);
}

.hx-about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.hx-about-tags span {
  padding: 7px 15px;
  border: 1px solid rgba(33, 31, 28, 0.16);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal);
}

.hxs-about p {
  margin: 0 0 12px;
  font-size: 0.98rem;
}

@media (max-width: 1080px) {
  .hxs-about-inner {
    grid-template-columns: 1fr;
  }
}

/* Home: expanding cause panels */
.hx-expand {
  display: flex;
  gap: 12px;
  height: 480px;
}

.hx-expand a {
  position: relative;
  flex: 1;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(20, 25, 21, 0.1), rgba(20, 25, 21, 0.82)),
    var(--img) center / cover no-repeat;
  display: flex;
  align-items: flex-end;
  transition: flex 0.55s cubic-bezier(0.32, 0.72, 0, 1);
}

.hx-expand a:hover {
  flex: 2.4;
}

.hx-ex-body {
  padding: 26px;
  color: white;
  width: 100%;
}

.hx-ex-body b {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
  color: transparent;
  -webkit-text-stroke: 1.3px var(--orange-2);
}

.hx-ex-body h3 {
  margin: 0 0 8px;
  color: white;
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  white-space: nowrap;
}

.hx-ex-body p,
.hx-ex-body em {
  display: block;
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  transition: max-height 0.5s ease, opacity 0.45s ease 0.1s;
}

.hx-ex-body em {
  font-style: normal;
  font-weight: 800;
  color: var(--orange-2);
}

.hx-expand a:hover .hx-ex-body p,
.hx-expand a:hover .hx-ex-body em {
  max-height: 60px;
  opacity: 1;
}

.hx-expand a:hover .hx-ex-body em {
  margin-top: 10px;
}

@media (max-width: 1080px) {
  .hx-expand {
    flex-direction: column;
    height: auto;
  }

  .hx-expand a {
    min-height: 150px;
  }

  .hx-expand a:hover {
    flex: 1;
  }

  .hx-ex-body p,
  .hx-ex-body em {
    max-height: 60px;
    opacity: 1;
  }

  .hx-ex-body em {
    margin-top: 10px;
  }

  .hx-ex-body h3 {
    white-space: normal;
  }
}

/* Home: donate impact slider */
.hx-calc {
  display: grid;
  gap: 22px;
  padding: clamp(26px, 3.4vw, 44px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.hx-calc-amt {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.hx-calc-amt small {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
}

.hx-calc-amt strong {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1;
  color: white;
  background: linear-gradient(120deg, var(--orange-2), #6fe3a1);
  -webkit-background-clip: text;
  background-clip: text;
  font-variant-numeric: tabular-nums;
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
  .hx-calc-amt strong {
    color: transparent;
  }
}

#hxAmt {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), var(--green));
  outline: none;
  cursor: pointer;
}

#hxAmt::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: white;
  border: 5px solid var(--orange);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease;
}

#hxAmt::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

#hxAmt::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: white;
  border: 5px solid var(--orange);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.hx-calc-eq {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.hx-calc-eq div {
  display: grid;
  gap: 2px;
  padding: 14px 10px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.hx-calc-eq b {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-variant-numeric: tabular-nums;
}

.hx-calc-eq span {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.hx-calc .btn-premium {
  justify-self: start;
}

@media (max-width: 780px) {
  .hx-calc-eq {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
}

/* ==========================================================================
   Native app-shell layer
   Makes the PWA feel like installed software instead of a browser tab:
   no tap-flash, no rubber-band/pull-to-refresh glitches, no accidental
   text selection on UI chrome, no iOS input-focus zoom, safe-area support
   for notch/Dynamic-Island devices, and a lightweight press/ripple state.
   ========================================================================== */

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html, body {
  overscroll-behavior-y: contain;
  height: 100%;
}

body {
  -webkit-overflow-scrolling: touch;
}

/* Remove the grey/blue tap-flash on touch and give interactive elements a
   deliberate, native-style press state instead. */
a, button, input, select, textarea, summary,
.btn-premium, .btn-ghost, .nav-links a, .nav-toggle, .mobile-dock a,
.hx-tile, .cause-pill, .cp-grid article, .im-story {
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
}

/* Buttons, nav items and cards get a snappy press state (translate/opacity
   only, so it stays on the compositor and runs at 60fps) and lose the
   300ms tap delay / double-tap-to-zoom that make sites feel un-native. */
.btn-premium, .btn-ghost, .nav-links a, .nav-donate, .mobile-dock a,
.nav-toggle, .drawer-close, .amount-card, .payment-tabs button,
.segmented button, .cause-jump a, .hx-tile, .cause-pill, .cp-grid article,
.vt-roles-grid article, .im-story, .ev-list article, .cause-groups-grid article {
  touch-action: manipulation;
}

.btn-premium:active, .btn-ghost:active, .nav-donate:active,
.mobile-dock a:active, .amount-card:active, .segmented button:active,
.payment-tabs button:active, .cause-jump a:active {
  transform: scale(0.96);
  opacity: 0.92;
  transition: transform 0.12s ease, opacity 0.12s ease;
}

/* UI chrome shouldn't highlight like a text document on long-press; body
   copy is intentionally left selectable. */
.nav-links a, .nav-group-toggle, .brand, .mobile-dock a, .btn-premium,
.btn-ghost, .nav-toggle, .drawer-close, .segmented button, .payment-tabs button,
.hx-kicker, .eyebrow, .cp-chip {
  -webkit-user-select: none;
  user-select: none;
}

/* iOS Safari zooms the viewport on focus for any input under 16px. Force
   16px regardless of where the field is nested. */
input, select, textarea {
  font-size: 16px;
}

@media (min-width: 560px) {
  input, select, textarea {
    font-size: inherit;
  }
}

/* Safe-area support for the notch / Dynamic Island / home indicator when
   the app runs in standalone display mode. */
@supports (padding: max(0px)) {
  .site-header {
    top: max(18px, env(safe-area-inset-top));
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }

  .mobile-dock {
    left: max(12px, env(safe-area-inset-left));
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    padding-bottom: max(8px, env(safe-area-inset-bottom));
  }

  body {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
}

@media (max-width: 780px) {
  @supports (padding: max(0px)) {
    .site-header {
      top: max(10px, env(safe-area-inset-top));
    }
  }
}

/* App-style skeleton loader for slow/offline image loads instead of a
   blank flash of empty space. */
img {
  background-color: rgba(33, 31, 28, 0.05);
}

/* Toast / snackbar notifications (used in place of alert()/confirm()). */
.app-toast-stack {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 2000;
  display: grid;
  gap: 10px;
  width: min(92vw, 420px);
  transform: translateX(-50%);
  pointer-events: none;
}

@supports (padding: max(0px)) {
  .app-toast-stack {
    bottom: max(24px, calc(env(safe-area-inset-bottom) + 78px));
  }
}

.app-toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 8px;
  color: white;
  background: var(--charcoal);
  box-shadow: 0 18px 50px rgba(33, 31, 28, 0.32);
  font-size: 0.88rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.app-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.app-toast.is-success { background: var(--green); }
.app-toast.is-error { background: #b23a2f; }

/* iOS "Add to Home Screen" hint sheet (iOS has no beforeinstallprompt). */
.ios-install-hint {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 1900;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--charcoal);
  color: white;
  box-shadow: 0 20px 60px rgba(33, 31, 28, 0.32);
  transform: translateY(120%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}

@supports (padding: max(0px)) {
  .ios-install-hint {
    bottom: max(12px, env(safe-area-inset-bottom));
  }
}

.ios-install-hint.is-visible {
  transform: translateY(0);
}

.ios-install-hint p {
  margin: 0;
  flex: 1;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  line-height: 1.4;
}

.ios-install-hint button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 8px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  font-weight: 800;
  font-size: 0.78rem;
}

/* Custom "Install app" button, shown only once the browser fires
   beforeinstallprompt (Android/Chromium). Hidden by default. */
.install-app-btn {
  display: none;
}

.install-app-btn.is-ready {
  display: inline-flex;
}

/* Simple fade/slide page-transition used by main.js on same-origin
   navigations so moving between pages feels like an app, not a reload. */
.page-transition-veil {
  position: fixed;
  inset: 0;
  z-index: 2500;
  background: var(--off);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.page-transition-veil.is-active {
  opacity: 1;
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .btn-premium:active, .btn-ghost:active, .nav-donate:active,
  .mobile-dock a:active, .amount-card:active {
    transform: none;
  }
}
