/* 1. Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body,
h1,
h2,
h3,
h4,
p,
ol,
ul,
dl,
dd,
figure {
  margin: 0;
}
img,
svg {
  display: block;
  max-width: 100%;
}
img {
  object-fit: cover;
}
button,
input {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
[hidden] {
  display: none !important;
}

/* 2. Variables */
:root {
  --navy: #102b46;
  --navy-2: #173f66;
  --navy-3: #0a2137;
  --red: #b92f3a;
  --red-dark: #98242f;
  --red-soft: #fff3f4;
  --ink: #203244;
  --muted: #667685;
  --soft: #f5f7f8;
  --soft-blue: #eef4f7;
  --line: #dce3e7;
  --white: #fff;
  --success: #167454;
  --danger: #b42332;
  --focus: #0875cf;
  --font: Arial, "Helvetica Neue", sans-serif;
  --container: 1180px;
  --narrow: 760px;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 6px 20px rgba(16, 43, 70, 0.07);
  --shadow: 0 18px 48px rgba(16, 43, 70, 0.12);
  --transition: 180ms ease;
}

/* 3. Base */
body {
  min-width: 320px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
}
h1,
h2,
h3,
h4 {
  color: var(--navy);
  line-height: 1.18;
}
h1 {
  font-size: clamp(2.35rem, 5vw, 4.65rem);
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(1.75rem, 3.3vw, 2.65rem);
  letter-spacing: -0.025em;
}
h3 {
  font-size: 1.35rem;
}
a {
  color: var(--navy-2);
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}
.lead {
  max-width: 62ch;
  color: #4f6273;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  line-height: 1.75;
}
.eyebrow {
  margin-bottom: 0.55rem;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.meta,
.campaign-meta {
  color: var(--muted);
  font-size: 0.9rem;
}
.center {
  text-align: center;
}
.narrow {
  max-width: var(--narrow);
}
.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}
.section--soft {
  background: var(--soft);
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.2rem;
}
.section-heading > p {
  max-width: 46ch;
  color: var(--muted);
}

/* 4. Accessibility */
.skip-link {
  position: fixed;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 3000;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: none;
}
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

/* Opening loader */
.site-loader {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: #fff;
  color: var(--navy);
  opacity: 1;
  visibility: visible;
  transition:
    opacity 240ms ease,
    visibility 240ms ease;
}
.site-loader.is-leaving {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.site-loader-mark {
  position: relative;
  display: grid;
  width: 104px;
  height: 104px;
  place-items: center;
  margin-bottom: 1rem;
}
.site-loader-mark::before,
.site-loader-mark > span {
  content: "";
  position: absolute;
  inset: 12px;
  border: 2px solid rgba(185, 47, 58, 0.25);
  border-radius: 30px;
  animation: loader-pulse 1.25s ease-out infinite;
}
.site-loader-mark > span {
  animation-delay: 0.42s;
}
.site-loader-mark img {
  position: relative;
  z-index: 1;
  width: 68px;
  height: 68px;
  filter: drop-shadow(0 10px 18px rgba(185, 47, 58, 0.18));
  animation: loader-heart 0.85s ease-in-out infinite;
}
.site-loader strong {
  font-size: 1.22rem;
}
.site-loader small {
  margin-top: 0.2rem;
  color: var(--muted);
}

/* 5. Layout */
.container {
  width: min(calc(100% - 2rem), var(--container));
  margin-inline: auto;
}
.empty {
  max-width: 660px;
  margin: 5rem auto;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.empty-icon {
  display: grid;
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  place-items: center;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red);
  font-size: 1.7rem;
  font-weight: 900;
}
.empty p {
  margin: 1rem auto 1.5rem;
  color: var(--muted);
}

/* 6. Header and brand */
.site-header,
.checkout-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(220, 227, 231, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}
.header-inner,
.checkout-header-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  color: var(--navy);
}
.brand-logo {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
}
.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-copy strong {
  font-size: 1.18rem;
}
.brand-copy small {
  margin-top: 0.22rem;
  color: var(--muted);
  font-size: 0.72rem;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 1.55rem;
}
.site-header nav > a:not(.btn) {
  position: relative;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 700;
}
.site-header nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -0.45rem;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width var(--transition);
}
.site-header nav > a:not(.btn):hover::after {
  width: 100%;
}
.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
}
.menu-button svg {
  width: 100%;
  height: 100%;
}
.checkout-exit {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}
.checkout-exit svg {
  width: 19px;
  height: 19px;
}

/* 7. Buttons */
.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.3rem;
  border: 1px solid var(--red);
  border-radius: 11px;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 7px 18px rgba(185, 47, 58, 0.16);
  transition:
    background var(--transition),
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}
.btn:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: #fff;
  box-shadow: 0 10px 24px rgba(185, 47, 58, 0.22);
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(1px);
}
.btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}
.btn svg {
  width: 18px;
  height: 18px;
}
.btn--small {
  min-height: 42px;
  padding: 0.58rem 1rem;
}
.btn--large {
  min-height: 54px;
}
.btn--ghost {
  border-color: var(--line);
  background: #fff;
  color: var(--navy);
  box-shadow: none;
}
.btn--ghost:hover {
  border-color: #b5c0c8;
  background: var(--soft);
  color: var(--navy);
  box-shadow: none;
}
.btn--block {
  width: 100%;
}
.link-button {
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--navy-2);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}
.link-button:disabled {
  color: #9ba7b0;
  cursor: not-allowed;
}
.icon-action {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.9rem;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-weight: 700;
  cursor: pointer;
}
.icon-action svg {
  width: 20px;
  height: 20px;
}

/* 8. Homepage */
.hero {
  padding: clamp(3rem, 7vw, 6rem) 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}
.hero h1 {
  margin-bottom: 1.25rem;
}
.hero .lead {
  margin-bottom: 1.6rem;
}
.hero img {
  width: 100%;
  aspect-ratio: 3/2;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.hero--campaign {
  padding: clamp(1.5rem, 4vw, 3.25rem) 0;
}
.hero-slider {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1248 / 420;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #eaf5fb;
  box-shadow: var(--shadow);
}
.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}
.hero-slide.is-active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
}
.hero .hero-campaign-banner {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  object-fit: contain;
  box-shadow: none;
}
.hero-slider-control {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(8, 32, 52, 0.78);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(8px);
}
.hero-slider-control--prev { right: 1rem; }
.hero-slider-control--next { left: 1rem; }
.hero-slider-dots {
  position: absolute;
  right: 50%;
  bottom: 0.8rem;
  z-index: 3;
  display: flex;
  gap: 0.45rem;
  padding: 0.38rem 0.55rem;
  border-radius: 999px;
  background: rgba(8, 32, 52, 0.72);
  transform: translateX(50%);
}
.hero-slider-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.48);
  cursor: pointer;
}
.hero-slider-dots button[aria-current="true"] {
  background: #fff;
}
.hero-campaign-actions {
  justify-content: center;
  margin-top: 1.25rem;
}
.hero-campaign-mobile-copy {
  display: none;
}
.trust-strip {
  border-block: 1px solid var(--line);
  padding: 1.1rem 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
  color: var(--navy);
  font-weight: 700;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 2.5rem;
  padding: 0;
  list-style: none;
}
.steps li {
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.steps b {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 1.2rem;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
}
.steps p {
  margin-top: 0.45rem;
  color: var(--muted);
}
.transparency {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}
.check-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 0;
  list-style: none;
}
.check-list li {
  position: relative;
  padding: 1rem 3rem 1rem 1rem;
  border-radius: 12px;
  background: var(--soft);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  right: 1.1rem;
  color: var(--success);
  font-weight: 900;
}
.about-image-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: var(--soft);
}
.about-image {
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.about-image.loaded {
  opacity: 1;
}
.about-image-loader {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #edf1f3, #fff, #edf1f3);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
.faq {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}
.faq article {
  border-bottom: 1px solid var(--line);
}
.faq button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-weight: 800;
  text-align: right;
  cursor: pointer;
}
.faq article > div {
  padding: 0 0 1.3rem;
  color: var(--muted);
}

.faq-intro {
  max-width: 650px;
  margin: 0.8rem auto 0;
  color: var(--muted);
}
.faq {
  display: grid;
  gap: 0.7rem;
  margin-top: 2.2rem;
  border-top: 0;
}
.faq article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(16, 43, 70, 0.035);
}
.faq button {
  gap: 1rem;
  padding: 1.15rem 1.25rem;
}
.faq button span {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--soft-blue);
  color: var(--navy-2);
  font-size: 1.05rem;
  transition:
    transform var(--transition),
    background var(--transition);
}
.faq button[aria-expanded="true"] span {
  background: var(--red-soft);
  color: var(--red);
  transform: rotate(45deg);
}
.faq article > div {
  padding: 0 1.25rem 1.2rem;
  color: var(--muted);
  line-height: 1.8;
}

.hero-visual{position:relative;overflow:hidden;border-radius:var(--radius-lg);box-shadow:var(--shadow)}.hero-visual>img{width:100%;aspect-ratio:3/2;border-radius:inherit;object-position:center}.hero-image-note{position:absolute;right:1.1rem;bottom:1.1rem;display:flex;max-width:280px;flex-direction:column;padding:.8rem 1rem;border:1px solid rgba(255,255,255,.32);border-radius:13px;background:rgba(8,32,52,.82);color:#fff;backdrop-filter:blur(10px);box-shadow:0 10px 28px rgba(0,0,0,.18)}.hero-image-note strong{font-size:.95rem}.hero-image-note span{margin-top:.12rem;color:#dbe6ed;font-size:.76rem}

.hero-collage {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(130px, 0.72fr);
  gap: 0.65rem;
  min-height: 500px;
  padding: 0.65rem;
  overflow: hidden;
  background: #fff;
}
.hero-collage-main,
.hero-collage-side figure {
  position: relative;
  overflow: hidden;
  min-width: 0;
  margin: 0;
  border-radius: calc(var(--radius-lg) - 8px);
  background: var(--soft);
}
.hero-collage-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 0.65rem;
  min-width: 0;
}
.hero-collage img,
.hero-collage-main img,
.hero-collage-side img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border-radius: 0;
  object-fit: cover;
  box-shadow: none;
}
.hero-collage-main img { object-position: 48% center; }
.hero-collage-side figure:first-child img { object-position: 54% center; }
.hero-collage-side figure:last-child img { object-position: center 42%; }
.hero-collage-main small,
.hero-collage-side figcaption {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  padding: 0.38rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(8, 32, 52, 0.78);
  color: #fff;
  font-size: 0.73rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
}
.hero-collage .hero-image-note {
  right: 1.35rem;
  bottom: 1.35rem;
  max-width: 315px;
}

.support-path{display:grid;gap:.7rem;margin-top:1.6rem;padding:0;list-style:none}.support-path li{display:grid;grid-template-columns:38px 1fr;align-items:start;gap:.85rem;padding:.85rem;border:1px solid var(--line);border-radius:13px;background:#fff}.support-path li>span{display:grid;width:38px;height:38px;place-items:center;border-radius:11px;background:var(--navy);color:#fff;font-size:.82rem;font-weight:800}.support-path strong{color:var(--navy)}.support-path p{margin-top:.15rem;color:var(--muted);font-size:.88rem;line-height:1.6}.about-image-caption{position:absolute;right:1rem;bottom:1rem;left:1rem;z-index:3;display:flex;flex-direction:column;padding:1rem 1.1rem;border:1px solid rgba(255,255,255,.25);border-radius:13px;background:rgba(8,32,52,.84);color:#fff;backdrop-filter:blur(9px)}.about-image-caption span{color:#d7e3ea;font-size:.8rem}

/* 9. Cards */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}
.case-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.case-card--featured {
  grid-column: 1 / -1;
  border-color: #bed4e8;
}
.case-card--featured .case-card-media img {
  height: auto;
  aspect-ratio: 1920 / 520;
  object-fit: contain;
}
.case-card-media {
  position: relative;
  display: block;
  overflow: hidden;
}
.photo-note {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  padding: 0.28rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 7px;
  background: rgba(10, 33, 55, 0.78);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.2;
  backdrop-filter: blur(7px);
}
.photo-note--story {
  top: 1rem;
  left: 1rem;
}
.case-card-media img {
  width: 100%;
  height: 260px;
  transition: transform 0.45s ease;
}
.case-card:hover .case-card-media img {
  transform: scale(1.025);
}
.case-card-media > span {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  background: rgba(16, 43, 70, 0.88);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(6px);
  transition: all var(--transition);
}
.case-card-media > span svg {
  width: 16px;
  height: 16px;
}
.case-card:hover .case-card-media > span {
  opacity: 1;
  transform: none;
}
.case-card__body {
  padding: 1.35rem;
}
.case-card--project {
  border-color: #d8e4dd;
}
.case-card--project .case-card-media::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, transparent 58%, rgba(8, 32, 52, 0.18));
}
.case-card h3 {
  margin: 0.75rem 0 0.05rem;
  font-size: 1.45rem;
}
.case-card h4 {
  margin: 0.65rem 0;
  font-size: 1.08rem;
}
.case-card__body > p:not(.meta):not(.campaign-meta) {
  color: #556776;
}
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.badge {
  display: inline-flex;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: var(--soft-blue);
  color: var(--navy-2);
  font-size: 0.78rem;
  font-weight: 800;
}
.amount-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 1.2rem;
}
.amount-row strong {
  color: var(--navy);
  font-size: 1.18rem;
}
.amount-row span {
  color: var(--muted);
  font-size: 0.88rem;
}
.progress {
  overflow: hidden;
  height: 9px;
  margin: 0.55rem 0;
  border-radius: 99px;
  background: #e6ebee;
}
.progress span {
  display: block;
  width: var(--progress);
  height: 100%;
  border-radius: inherit;
  background: var(--red);
  animation: grow 0.8s ease both;
}
.campaign-meta {
  display: flex;
  justify-content: space-between;
}
.project-memorial {
  margin-top: 0.25rem;
  color: var(--navy-2);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.55;
}
.project-memorial--large {
  max-width: 580px;
  margin: -0.35rem 0 1.1rem;
  font-size: 1rem;
}
.project-support {
  display: grid;
  gap: 0.25rem;
  margin-top: 1.2rem;
  padding: 1rem 1.05rem;
  border: 1px solid #dbe7df;
  border-radius: 14px;
  background: linear-gradient(135deg, #f4f8f5, #fbfcfb);
}
.project-support > span {
  color: var(--success);
  font-size: 0.75rem;
  font-weight: 900;
}
.project-support strong {
  color: var(--navy);
  font-size: 1rem;
}
.project-support small {
  color: var(--muted);
  line-height: 1.55;
}
.campaign-meta--project {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.8rem;
}
.card-actions {
  display: flex;
  gap: 0.7rem;
  margin-top: 1rem;
}
.card-actions .btn {
  flex: 1;
}

/* 10. Story page */
.story-hero {
  padding: 2rem 0 4rem;
  background: linear-gradient(180deg, #fff 0%, #f8fafb 100%);
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.6rem;
  color: var(--muted);
  font-size: 0.85rem;
}
.breadcrumbs a {
  color: var(--muted);
}
.story-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}
.story-gallery,
.story-intro {
  width: 100%;
  min-width: 0;
}
.story-intro,
.story-copy {
  overflow-wrap: anywhere;
}
.gallery-main-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/11;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.gallery-main-wrap img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}
.gallery-main-wrap--banner {
  aspect-ratio: 1920 / 520;
  background: #1768d8;
}
.gallery-main-wrap--banner img {
  object-fit: contain;
}
.thumbs {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.8rem;
}
.thumbs button {
  overflow: hidden;
  width: 92px;
  height: 64px;
  padding: 2px;
  border: 2px solid transparent;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}
.thumbs button[aria-current="true"] {
  border-color: var(--red);
}
.thumbs img {
  width: 100%;
  height: 100%;
  border-radius: 6px;
}
.story-intro h1 {
  margin: 0.5rem 0 0.9rem;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
}
.story-intro h2 {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.35;
}
.story-intro .lead {
  margin-top: 1.2rem;
}
.story-location {
  margin-top: 1rem;
  color: var(--muted);
  font-weight: 700;
}
.story-share {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.6rem 0;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-weight: 800;
  cursor: pointer;
}
.story-share svg {
  width: 20px;
  height: 20px;
}
.story-content-section {
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
}
.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 355px;
  align-items: start;
  gap: clamp(2rem, 5vw, 5rem);
}
.story-article {
  min-width: 0;
}
.story-article > section + section {
  margin-top: 4rem;
}
.story-article h2 {
  margin-bottom: 1.2rem;
}
.story-copy {
  color: #405565;
  font-size: 1.1rem;
  line-height: 2;
  white-space: pre-line;
}
.donation-card {
  position: sticky;
  top: 104px;
  padding: 1.65rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.donation-card-head {
  display: flex;
  flex-direction: column;
}
.donation-card-head span,
.donation-card-head small {
  color: var(--muted);
}
.donation-card-head strong {
  margin: 0.25rem 0;
  color: var(--navy);
  font-size: 2rem;
}
.progress--large {
  height: 12px;
  margin: 1.25rem 0 0.35rem;
}
.progress-label {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.85rem;
}
.progress-label strong {
  color: var(--red);
}
.story-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin: 1.4rem 0;
}
.story-stats > div {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem;
  border-radius: 12px;
  background: var(--soft);
}
.story-stats svg {
  width: 24px;
  height: 24px;
  color: var(--navy-2);
}
.story-stats span {
  display: flex;
  flex-direction: column;
}
.story-stats strong {
  color: var(--navy);
  line-height: 1.2;
}
.story-stats small {
  color: var(--muted);
  font-size: 0.75rem;
}
.donation-card-note {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}
.donation-card--project {
  overflow: hidden;
  border-color: #d5e4db;
  background: linear-gradient(160deg, #fff 0%, #f4f8f5 100%);
}
.donation-card--project .donation-card-head strong {
  max-width: 280px;
  margin: 0.45rem 0;
  font-size: 1.65rem;
  line-height: 1.25;
}
.donation-card--project .donation-card-head small {
  line-height: 1.65;
}
.project-donation-mark {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: 15px;
  background: var(--navy);
  color: #fff;
}
.project-donation-mark svg {
  width: 26px;
  height: 26px;
}
.project-support-points {
  display: grid;
  gap: 0.65rem;
  margin: 1.35rem 0;
  padding: 0;
  list-style: none;
}
.project-support-points li {
  position: relative;
  padding-right: 1.45rem;
  color: #405565;
  font-size: 0.9rem;
}
.project-support-points li::before {
  position: absolute;
  top: 0.45rem;
  right: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  content: "";
}
.milestones {
  display: grid;
  gap: 0.8rem;
  padding: 0;
  list-style: none;
}
.milestones li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.milestones li > span {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
}
.timeline {
  position: relative;
  display: grid;
  gap: 1.5rem;
  padding-right: 1.55rem;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 0.4rem;
  right: 5px;
  bottom: 0.4rem;
  width: 2px;
  background: var(--line);
}
.timeline article {
  position: relative;
  padding-bottom: 0.25rem;
}
.timeline article::before {
  content: "";
  position: absolute;
  top: 0.38rem;
  right: -1.48rem;
  width: 12px;
  height: 12px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 2px var(--red);
}
.timeline time {
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 800;
}
.timeline p {
  margin-top: 0.25rem;
  color: #4a5e6e;
}
.document {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--soft);
}
.document-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
}
.document-icon svg {
  width: 23px;
  height: 23px;
}
.document p {
  color: var(--muted);
  font-size: 0.86rem;
}
.document-status {
  padding: 0.3rem 0.55rem;
  border-radius: 7px;
  background: #e8f1ed;
  color: var(--success);
  font-size: 0.75rem;
  font-weight: 800;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 2rem;
  font-weight: 800;
}
.back-link svg {
  width: 18px;
  height: 18px;
}
.mobile-donate {
  display: none;
}

/* Compact three-step checkout progress */
.stepper-wrap {
  margin: 2rem 0 1.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
}
.stepper-caption {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  text-align: center;
}
.stepper-wrap .stepper {
  max-width: 620px;
  margin: 0.75rem auto 0;
}
.stepper-wrap .stepper li {
  gap: 0.3rem;
}
.stepper-wrap .stepper li::after {
  top: 17px;
  right: 62%;
  width: 76%;
  height: 2px;
}
.stepper-wrap .stepper b {
  width: 36px;
  height: 36px;
  border-width: 1.5px;
  font-size: 0.82rem;
}
.stepper-wrap .stepper span {
  font-size: 0.83rem;
  font-weight: 700;
}
.stepper-wrap .stepper .active b {
  box-shadow: 0 0 0 5px rgba(185, 47, 58, 0.1);
}
.stepper-wrap .stepper .complete b {
  box-shadow: 0 0 0 4px rgba(22, 116, 84, 0.09);
}

/* 11. Donation flow */
.checkout-page {
  background: #f7f9fa;
}
.checkout-main {
  padding: clamp(2.2rem, 5vw, 4.5rem) 0 5rem;
}
.donation-shell {
  max-width: 880px;
}
.donation-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}
.donation-intro h1 {
  font-size: clamp(2.25rem, 5vw, 3.7rem);
}
.donation-intro .lead {
  max-width: 55ch;
  margin-top: 0.55rem;
  font-size: 1rem;
}
.checkout-assurance {
  display: flex;
  min-width: 245px;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.checkout-assurance svg {
  width: 27px;
  height: 27px;
  color: var(--success);
}
.checkout-assurance span {
  display: flex;
  flex-direction: column;
}
.checkout-assurance strong {
  color: var(--navy);
  font-size: 0.85rem;
}
.checkout-assurance small {
  color: var(--muted);
  font-size: 0.7rem;
}
.stepper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 2.5rem 0;
  padding: 0;
  list-style: none;
}
.stepper li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: #8b98a3;
}
.stepper li::after {
  content: "";
  position: absolute;
  top: 19px;
  right: 60%;
  width: 80%;
  height: 2px;
  background: var(--line);
}
.stepper li:last-child::after {
  display: none;
}
.stepper b {
  position: relative;
  z-index: 1;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: #fff;
  font-size: 0.9rem;
}
.stepper .active {
  color: var(--navy);
  font-weight: 800;
}
.stepper .active b {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}
.stepper .complete b {
  border-color: var(--success);
  background: var(--success);
  color: #fff;
}
.stepper .complete::after {
  background: var(--success);
}
.flow-card {
  padding: clamp(1.4rem, 4.5vw, 2.8rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.flow-card-heading {
  margin-bottom: 1.7rem;
}
.flow-card-heading h2 {
  margin: 0.15rem 0 0.4rem;
}
.flow-card-heading p {
  color: var(--muted);
}
.step-kicker {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
}
.amounts {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.65rem;
  margin-bottom: 1.4rem;
}
.amounts button {
  min-height: 56px;
  border: 1px solid #cbd5db;
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  transition: all var(--transition);
}
.amounts button:hover {
  border-color: var(--navy-2);
  background: var(--soft);
}
.amounts button.selected {
  border-color: var(--red);
  background: var(--red-soft);
  color: var(--red);
  box-shadow: 0 0 0 1px var(--red);
}
.field-help {
  display: block;
  margin-top: 0.4rem;
  color: var(--muted);
}
.consent-row {
  margin-top: 1.1rem;
  padding: 1rem;
  border-radius: 12px;
  background: var(--soft);
}
.payment-method-picker {
  min-width: 0;
  margin: 0 0 1.75rem;
  padding: 0;
  border: 0;
}
.payment-method-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.payment-method-tab {
  position: relative;
  display: block;
  margin: 0;
  cursor: pointer;
}
.payment-method-tab input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.payment-option-surface {
  position: relative;
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border: 1px solid #ccd6dc;
  border-radius: 15px;
  background: #fff;
  transition: all var(--transition);
}
.payment-option-surface::before {
  content: "";
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  width: 18px;
  height: 18px;
  border: 1.5px solid #aab8c2;
  border-radius: 50%;
  background: #fff;
}
.payment-method-tab:hover .payment-option-surface {
  border-color: #8fa1ae;
  box-shadow: var(--shadow-sm);
}
.payment-method-tab input:focus-visible + .payment-option-surface {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.payment-method-tab input:checked + .payment-option-surface {
  border-color: var(--navy-2);
  background: #f8fbfd;
  box-shadow: 0 0 0 1px var(--navy-2);
}
.payment-method-tab input:checked + .payment-option-surface::before {
  border-color: var(--navy-2);
  background: var(--navy-2);
  box-shadow: inset 0 0 0 4px #fff;
}
.payment-method-tab--paypal .payment-option-surface {
  border-color: #e2ad21;
  /* background: #ffc439; */
}
.payment-method-tab--paypal:hover .payment-option-surface {
  border-color: #c99412;
  background: #f4bb32;
}
.payment-method-tab--paypal input:checked + .payment-option-surface {
  border-color: #003087;
  /* background: #ffc439; */
  box-shadow: 0 0 0 1px #003087, 0 8px 20px rgba(0, 48, 135, 0.12);
}
.payment-method-tab--paypal input:checked + .payment-option-surface::before {
  border-color: #003087;
  background: #003087;
}
.payment-option-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-left: 1rem;
}
.payment-option-logos img {
  width: auto;
  max-width: 62px;
  max-height: 30px;
  object-fit: contain;
}
.payment-option-logos--paypal img {
  width: 108px;
  max-width: 108px;
  max-height: 36px;
}
.payment-method-content {
  padding-top: 0.25rem;
}
.payment-security-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.8rem;
}
.payment-security-row svg {
  width: 17px;
  height: 17px;
  color: var(--success);
}
.paypal-summary {
  margin-bottom: 1rem;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  background: var(--soft);
  text-align: center;
}
.paypal-box {
  min-height: 100px;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fafbfc;
  text-align: center;
}
.paypal-container {
  min-height: 48px;
}
.paypal-status {
  margin-top: 0.6rem;
  color: var(--muted);
}
.paypal-status.is-error {
  color: var(--danger);
  font-weight: 700;
}

/* 12. Forms */
label {
  display: block;
  margin: 0.9rem 0 0.38rem;
  color: var(--navy);
  font-weight: 800;
}
input {
  width: 100%;
  min-height: 52px;
  padding: 0.75rem 0.9rem;
  border: 1px solid #aebbc5;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  transition:
    border var(--transition),
    box-shadow var(--transition);
}
input:hover {
  border-color: #8597a4;
}
input:focus {
  border-color: var(--focus);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(8, 117, 207, 0.12);
}
input[aria-invalid="true"] {
  border-color: var(--danger);
  box-shadow: 0 0 0 2px rgba(180, 35, 50, 0.1);
}
.input-prefix {
  display: flex;
  overflow: hidden;
  direction: ltr;
  border: 1px solid #aebbc5;
  border-radius: 10px;
  background: #fff;
}
.input-prefix:focus-within {
  border-color: var(--focus);
  box-shadow: 0 0 0 3px rgba(8, 117, 207, 0.12);
}
.input-prefix span {
  display: grid;
  min-width: 52px;
  place-items: center;
  background: var(--soft);
  color: var(--navy);
  font-weight: 800;
}
.input-prefix input {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--ink);
  font-weight: 400;
}
.check input {
  width: 22px;
  min-height: 22px;
  flex: 0 0 22px;
  margin-top: 0.08rem;
  accent-color: var(--red);
}
.field-error {
  min-height: 1.45rem;
  color: var(--danger);
  font-size: 0.86rem;
}
.error-summary:not(:empty) {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border-right: 4px solid var(--danger);
  border-radius: 8px;
  background: #fff1f2;
  color: var(--danger);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.card-number-control {
  position: relative;
}
.card-number-control input {
  padding-right: 0.9rem;
  padding-left: 82px;
  text-align: left;
}
.card-logo-slot {
  position: absolute;
  top: 50%;
  left: 12px;
  display: grid;
  width: 58px;
  height: 34px;
  place-items: center;
  transform: translateY(-50%);
  pointer-events: none;
}
.card-logo-slot > svg {
  width: 30px;
  height: 30px;
  color: #97a5ae;
}
.card-logo-slot img {
  position: absolute;
  max-width: 54px;
  max-height: 30px;
  object-fit: contain;
  background: #fff;
}
.payment-loading-card {
  border-radius: 16px !important;
}
.payment-loading-spinner {
  border-top-color: var(--red) !important;
}

/* 13. OTP modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(5, 24, 40, 0.7);
  backdrop-filter: blur(5px);
}
.modal-card {
  overflow: auto;
  width: min(100%, 590px);
  max-height: calc(100vh - 2rem);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}
.otp-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: 15px;
  background: var(--soft-blue);
  color: var(--navy);
}
.otp-icon svg {
  width: 27px;
  height: 27px;
}
.otp-intro {
  margin-top: 0.55rem;
  color: var(--muted);
}
.otp-summary {
  display: grid;
  margin: 1.5rem 0;
  border-block: 1px solid var(--line);
}
.otp-summary div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
}
.otp-summary div:last-child {
  border: 0;
}
.otp-summary dt {
  color: var(--muted);
}
.otp-summary dd {
  font-weight: 800;
}
.otp-fields {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
  margin: 1.3rem 0;
}
.otp-input {
  min-width: 0;
  padding: 0.3rem;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 800;
}
.status {
  min-height: 1.8rem;
  color: var(--danger);
  font-weight: 700;
}
.otp-timer {
  color: var(--muted);
  font-size: 0.88rem;
}
.otp-actions {
  align-items: center;
}
.success-inline,
.success-card {
  text-align: center;
}
.checkmark {
  display: grid;
  width: 88px;
  height: 88px;
  margin: 0 auto 1.3rem;
  place-items: center;
  border-radius: 50%;
  background: #e1f5ed;
  color: var(--success);
  animation: pop 0.45s ease;
}
.checkmark svg {
  width: 46px;
  height: 46px;
}
.modal-open,
.menu-open {
  overflow: hidden;
}

/* 14. Success */
.success-page {
  background: linear-gradient(180deg, #f6faf8, #fff 48%);
}
.success-main {
  min-height: calc(100vh - 300px);
  padding: clamp(3rem, 8vw, 6rem) 0;
}
.success-card {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 6vw, 4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}
.success-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: var(--success);
}
.success-card .lead {
  margin: 0.8rem auto 1.8rem;
}
.success-amount {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 1.5rem 0;
  padding: 1.35rem;
  border-radius: 16px;
  background: var(--soft);
}
.success-amount span {
  color: var(--muted);
}
.success-amount strong {
  color: var(--navy);
  font-size: 2.3rem;
}
.receipt {
  overflow: hidden;
  margin: 1.4rem 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-align: right;
}
.receipt div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
}
.receipt div:last-child {
  border: 0;
}
.receipt dt {
  color: var(--muted);
}
.receipt dd {
  color: var(--navy);
  font-weight: 800;
}
.receipt-note {
  color: var(--muted);
  font-size: 0.9rem;
}
.success-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.5rem;
}
.success-empty {
  margin-top: 0;
}

/* 15. Footer */
.site-footer {
  padding: 3.2rem 0 1.2rem;
  background: var(--navy-3);
  color: #dce7ee;
}
.site-footer a {
  color: #fff;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}
.footer-about p {
  max-width: 44ch;
  margin-top: 1rem;
  color: #b9c8d3;
}
.brand--light {
  color: #fff;
}
.brand--light .brand-copy small {
  color: #b9c8d3;
}
.footer-grid nav {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer-grid nav strong {
  margin-bottom: 0.3rem;
  color: #fff;
}
.copyright {
  margin-top: 2.2rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #9fb1be;
  font-size: 0.84rem;
}
.compact-footer {
  padding: 1.5rem 0;
}
.footer-compact,
.checkout-footer > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.checkout-footer {
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 0.85rem;
}
.checkout-footer a {
  color: var(--navy);
}
.toast {
  position: fixed;
  bottom: 1.2rem;
  left: 50%;
  z-index: 2000;
  padding: 0.8rem 1.2rem;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow);
  transform: translateX(-50%);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.65fr) 0.75fr 0.9fr minmax(240px, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}
.footer-main .footer-about {
  grid-column: auto;
}
.footer-about p {
  margin-top: 1.1rem;
  color: #afbfca;
  line-height: 1.75;
}
.footer-column {
  display: flex;
  flex-direction: column;
  gap: 0.62rem;
}
.footer-column strong {
  margin-bottom: 0.35rem;
  color: #fff;
  font-size: 0.95rem;
}
.footer-column a {
  width: max-content;
  max-width: 100%;
  color: #c5d1d9;
  font-size: 0.9rem;
  transition:
    color var(--transition),
    transform var(--transition);
}
.footer-column a:hover {
  color: #fff;
  transform: translateX(-3px);
}
.footer-contact-card {
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.055);
}
.footer-contact-card strong {
  color: #fff;
}
.footer-contact-card p {
  margin: 0.45rem 0 0.8rem;
  color: #b9c8d3;
  font-size: 0.86rem;
  line-height: 1.65;
}
.footer-contact-card a {
  display: inline-flex;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.4rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #93a7b5;
  font-size: 0.82rem;
}

/* 16. Animations */
@keyframes grow {
  from {
    width: 0;
  }
}
@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.72);
  }
}
@keyframes shake {
  20%,
  60% {
    transform: translateX(-7px);
  }
  40%,
  80% {
    transform: translateX(7px);
  }
}
@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}
@keyframes loader-heart {
  0%,
  100% {
    transform: scale(1);
  }
  42% {
    transform: scale(1.08);
  }
  58% {
    transform: scale(0.98);
  }
}
@keyframes loader-pulse {
  0% {
    opacity: 0.8;
    transform: scale(0.72);
  }
  100% {
    opacity: 0;
    transform: scale(1.32);
  }
}
.shake {
  animation: shake 0.3s ease;
}
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* 17. Responsive */
@media (max-width: 940px) {
  .menu-button {
    display: block;
  }
  .site-header nav {
    position: fixed;
    inset: 78px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .site-header nav.is-open {
    display: flex;
  }
  .site-header nav .btn {
    margin-top: 0.25rem;
  }
  .story-hero-grid,
  .story-layout,
  .hero-grid,
  .transparency {
    grid-template-columns: 1fr;
  }
  .story-intro {
    max-width: 720px;
  }
  .hero-collage {
    min-height: 540px;
  }
  .donation-card {
    position: static;
  }
  .mobile-donate {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem max(1rem, env(safe-area-inset-right))
      calc(0.65rem + env(safe-area-inset-bottom));
    background: #fff;
    box-shadow: 0 -5px 20px rgba(16, 43, 70, 0.14);
  }
  .mobile-donate span {
    display: flex;
    flex-direction: column;
  }
  .mobile-donate small {
    color: var(--muted);
    font-size: 0.72rem;
  }
  .mobile-donate strong {
    color: var(--navy);
  }
  .story-content-section {
    padding-bottom: 7rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-main {
    grid-template-columns: 1.3fr 1fr;
  }
  .footer-main .footer-about {
    grid-column: 1/-1;
  }
}
@media (max-width: 700px) {
  .container {
    width: min(calc(100% - 1.25rem), var(--container));
  }
  .section {
    padding: 3.6rem 0;
  }
  .section-heading {
    display: block;
  }
  .section-heading > p {
    margin-top: 0.7rem;
  }
  .brand-copy small {
    display: none;
  }
  .site-header nav .brand-copy small {
    display: block;
  }
  .hero {
    padding: 2.5rem 0;
  }
  .hero--campaign {
    padding: 1rem 0 1.5rem;
  }
  .hero--campaign .container {
    width: 100%;
  }
  .hero-slider {
    aspect-ratio: 16 / 10;
    border-inline: 0;
    border-radius: 0;
  }
  .hero-slider-control {
    width: 36px;
    height: 36px;
    font-size: 1.45rem;
  }
  .hero-slider-control--prev { right: 0.55rem; }
  .hero-slider-control--next { left: 0.55rem; }
  .hero-campaign-mobile-copy {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.9rem 1rem 0;
    text-align: center;
  }
  .hero-campaign-mobile-copy strong {
    color: var(--navy);
    font-size: 1.05rem;
  }
  .hero-campaign-mobile-copy span {
    color: var(--muted);
    font-size: 0.82rem;
  }
  .hero-campaign-actions {
    padding-inline: 1rem;
  }
  .hero-grid {
    gap: 1.5rem;
  }
  .hero-collage {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 0.45rem;
  }
  .hero-collage-main {
    height: 310px;
  }
  .hero-collage-side {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 135px;
  }
  .hero-collage .hero-image-note {
    right: 0.9rem;
    bottom: 0.9rem;
    max-width: calc(100% - 1.8rem);
  }
  .hero-collage-main small,
  .hero-collage-side figcaption {
    top: 0.55rem;
    right: 0.55rem;
  }
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cases-grid,
  .steps,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .case-card-media img {
    height: 215px;
  }
  .case-card-media > span {
    display: none;
  }
  .campaign-meta--project {
    gap: 0.5rem;
    font-size: 0.75rem;
  }
  .story-hero {
    padding: 1.3rem 0 2.8rem;
  }
  .story-hero-grid {
    gap: 1.6rem;
  }
  .story-intro h1 {
    font-size: 2.55rem;
  }
  .gallery-main-wrap {
    border-radius: 18px;
  }
  .thumbs button {
    width: 76px;
    height: 54px;
  }
  .document {
    grid-template-columns: auto 1fr;
  }
  .document-status {
    grid-column: 2;
  }
  .donation-intro {
    display: block;
  }
  .checkout-assurance {
    min-width: 0;
    margin-top: 1rem;
  }
  .stepper {
    margin: 1.8rem 0;
  }
  .stepper span {
    font-size: 0.75rem;
  }
  .stepper li::after {
    right: 65%;
    width: 70%;
  }
  .stepper-wrap {
    padding: 0.85rem 0.55rem;
    margin: 1.5rem 0;
  }
  .stepper-wrap .stepper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0.7rem 0 0;
  }
  .stepper-wrap .stepper li::after {
    right: 64%;
    width: 72%;
  }
  .stepper-wrap .stepper span {
    font-size: 0.72rem;
    white-space: nowrap;
  }
  .flow-card {
    border-radius: 18px;
    box-shadow: none;
  }
  .amounts {
    grid-template-columns: repeat(2, 1fr);
  }
  .amounts button:last-child {
    grid-column: 1/-1;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-actions .btn {
    flex: 1;
  }
  .payment-method-tabs {
    gap: 0.5rem;
  }
  .payment-option-surface {
    min-height: 82px;
    padding: 0.8rem;
  }
  .payment-option-logos {
    gap: 0.35rem;
  }
  .payment-option-logos img {
    max-width: 43px;
    max-height: 24px;
  }
  .payment-option-logos--paypal img {
    width: 86px;
    max-width: 86px;
  }
  .modal {
    padding: 0;
    place-items: stretch;
  }
  .modal-card {
    width: 100%;
    min-height: 100vh;
    max-height: 100vh;
    padding-top: max(1.4rem, env(safe-area-inset-top));
    border-radius: 0;
  }
  .otp-fields {
    gap: 0.3rem;
  }
  .otp-input {
    padding: 0.15rem;
  }
  .otp-actions .link-button {
    order: 3;
    width: 100%;
  }
  .receipt div {
    display: block;
  }
  .receipt dd {
    margin-top: 0.2rem;
  }
  .success-actions .btn {
    width: 100%;
  }
  .footer-compact,
  .checkout-footer > div {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  .footer-main .footer-about {
    grid-column: auto;
  }
  .footer-contact-card {
    margin-top: 0.2rem;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 2rem;
  }
}
@media (max-width: 380px) {
  .payment-option-surface {
    min-height: 76px;
  }
  .payment-option-logos img {
    max-width: 36px;
  }
  .payment-option-logos--paypal img {
    max-width: 78px;
  }
  .otp-input {
    font-size: 1.2rem;
  }
  .brand-logo {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }
}

#payment-loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: grid;
  place-items: center;
  background: rgba(5, 24, 40, 0.58);
  backdrop-filter: blur(4px);
}
#payment-loading-overlay[hidden] {
  display: none !important;
}
.payment-loading-card {
  display: flex;
  min-width: 260px;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 1.7rem;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}
.payment-loading-card small {
  color: var(--muted);
}
.payment-loading-spinner {
  width: 44px;
  height: 44px;
  margin-bottom: 0.5rem;
  border: 4px solid var(--line);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* 18. Print */
@media print {
  .site-header,
  .site-footer,
  .checkout-header,
  .checkout-footer,
  .success-actions,
  .toast {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
  .success-main {
    padding: 0;
  }
  .success-card {
    border: 1px solid #000;
    box-shadow: none;
  }
  .success-card::before {
    background: #000;
  }
  .receipt {
    border-color: #000;
  }
}

/* 19. Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .site-loader-mark img {
    animation: none;
  }
  .site-loader-mark::before,
  .site-loader-mark > span {
    display: none;
  }
}
