@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600;1,700&display=swap');

:root {
  color-scheme: light;
  --ink: #101d3e;
  --paper: #f4f1e9;
  --red: #ee5a50;
  --muted: rgb(16 29 62 / 72%);
  --line: rgb(16 29 62 / 17%);
  --panel: #ffffff;
  --soft: var(--paper);
  --accent: var(--red);
  --accent-strong: #101d3e;
  --accent-soft: #e9e5da;
  --brand-red: var(--red);
  --brand-red-strong: var(--red);
  --good: #101d3e;
  --warn: #101d3e;
  --bad: #ee5a50;
  --shadow: 0 24px 60px rgb(16 29 62 / 14%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 20px;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  background: var(--soft);
  color: var(--ink);
  line-height: 1.55;
}

img {
  max-width: 100%;
}

a {
  color: var(--accent);
  font-weight: 750;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid rgb(44 70 143 / 24%);
  outline-offset: 3px;
}

h1,
h2,
h3,
p,
span,
a {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

.donation-page {
  min-height: 100vh;
  background: var(--soft);
}

.donation-hero {
  position: relative;
  min-height: min(680px, 90svh);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  background: var(--accent-strong);
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--accent-strong);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.donation-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgb(9 17 49 / 88%) 0%, rgb(19 32 83 / 66%) 48%, rgb(19 32 83 / 24%) 100%),
    linear-gradient(0deg, rgb(9 17 49 / 60%) 0%, transparent 48%);
}

.site-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px max(20px, calc((100% - 1120px) / 2));
  background: rgb(255 255 255 / 96%);
  border-bottom: 3px solid var(--brand-red);
  box-shadow: 0 10px 30px rgb(9 8 13 / 16%);
}

.site-brand {
  min-width: 0;
  display: flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}

.site-logo {
  width: 218px;
  height: 66px;
  flex: 0 0 auto;
  object-fit: contain;
  object-position: left center;
}

.site-back {
  flex: 0 0 auto;
  color: var(--accent-strong);
  font-size: 0.92rem;
  text-underline-offset: 4px;
}

.hero-content {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 140px 0 72px;
  color: #fff;
}

.donation-kicker,
.impact-kicker {
  display: inline-block;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.donation-kicker {
  padding: 7px 11px;
  border: 1px solid rgb(255 255 255 / 36%);
  border-radius: 999px;
  background: rgb(255 255 255 / 14%);
  color: #fff;
}

h1 {
  max-width: 800px;
  margin: 18px 0;
  font-size: 4.5rem;
  line-height: 1.02;
  letter-spacing: 0;
}

.lead {
  max-width: 720px;
  margin: 0;
  color: rgb(255 255 255 / 88%);
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 28px;
}

.primary-link,
.secondary-link {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 900;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.primary-link {
  background: var(--brand-red);
  color: #fff;
  box-shadow: 0 12px 28px rgb(0 0 0 / 20%);
}

.primary-link:hover {
  background: var(--brand-red-strong);
  color: #fff;
  transform: translateY(-1px);
}

.secondary-link {
  border: 1px solid rgb(255 255 255 / 50%);
  color: #fff;
}

.secondary-link:hover {
  background: rgb(255 255 255 / 12%);
}

.assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  color: rgb(255 255 255 / 86%);
  font-size: 0.92rem;
  font-weight: 700;
}

.assurances li {
  position: relative;
  padding-left: 16px;
}

.assurances li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-red);
}

.impact-strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.impact-inner,
.future-inner,
.story-inner,
.proof-inner,
.final-cta,
.donation-shell,
.bank-transfer-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.impact-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(460px, 1.05fr);
  gap: 48px;
  align-items: center;
  padding: 62px 0;
}

.impact-kicker {
  margin-bottom: 10px;
}

.impact-intro h2,
.story-heading h2,
.proof-copy h2,
.final-cta h2,
.donation-copy > h2 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

.impact-intro h2 {
  max-width: 640px;
  font-size: 2.15rem;
}

.impact-intro p {
  max-width: 62ch;
  margin: 14px 0 0;
  color: var(--muted);
}

.impact-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.impact-stats div {
  min-width: 0;
  padding: 20px 16px;
  border-right: 1px solid var(--line);
}

.impact-stats div:last-child {
  border-right: 0;
}

.impact-stats strong {
  display: block;
  margin-bottom: 9px;
  color: var(--accent-strong);
  font-size: 2.15rem;
  line-height: 1;
}

.impact-stats span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.future-section {
  background: #f7f9fa;
  border-bottom: 1px solid var(--line);
}

.future-inner {
  padding: 78px 0 84px;
}

.future-top {
  display: grid;
  grid-template-columns: minmax(300px, 0.7fr) minmax(560px, 1.3fr);
  column-gap: 40px;
  row-gap: 26px;
  align-items: center;
}

.future-heading {
  min-width: 0;
}

.future-heading h2 {
  margin: 0;
  font-size: clamp(2.35rem, 3.4vw, 3rem);
  line-height: 1.06;
}

.future-alert {
  margin: 18px 0 0;
  color: var(--brand-red-strong);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 950;
  line-height: 1.1;
}

.future-media {
  min-width: 0;
}

.future-statement {
  grid-column: 1 / -1;
  margin: 0;
  padding: 20px 24px;
  border-left: 4px solid var(--accent);
  border-radius: 0 8px 8px 0;
  background: #fff;
  color: #30394f;
  font-size: 1.18rem;
  font-weight: 650;
  line-height: 1.55;
  box-shadow: 0 12px 34px rgb(28 47 107 / 8%);
}

.future-distribution {
  margin-top: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 42px rgb(28 47 107 / 9%);
}

.future-distribution-bar {
  height: 9px;
  display: grid;
  grid-template-columns: 24fr 30fr 46fr;
  gap: 10px;
}

.future-distribution-bar span {
  min-width: 0;
  border-radius: 999px;
}

.future-thirds {
  display: grid;
  grid-template-columns: 24fr 30fr 46fr;
}

.future-third {
  --future-color: #d86c1d;
  --future-tint: #fff4eb;

  min-width: 0;
  padding: 22px 24px 24px;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, var(--future-tint), #fff 48%);
}

.future-third:last-child {
  border-right: 0;
}

.future-third strong {
  display: block;
  margin: 0 0 9px;
  color: var(--future-color);
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  line-height: 1;
}

.future-third > span {
  display: block;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 900;
}

.future-third p {
  max-width: 30ch;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.future-stay {
  --future-color: var(--good);
  --future-tint: #edf8f2;
}

.future-leave {
  --future-color: var(--brand-red);
  --future-tint: #fff0f0;
}

.future-undecided {
  --future-color: #d86c1d;
  --future-tint: #fff4eb;
}

.future-distribution-bar .future-stay {
  background: var(--good);
}

.future-distribution-bar .future-leave {
  background: var(--brand-red);
}

.future-distribution-bar .future-undecided {
  background: #d86c1d;
}

.future-source-note {
  max-width: 92ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.future-callout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 34px;
  align-items: center;
  margin-top: 36px;
  padding: 28px;
  border-radius: 8px;
  background: var(--accent-strong);
  color: #fff;
}

.future-callout strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1.22;
}

.future-callout p {
  margin: 9px 0 0;
  color: rgb(255 255 255 / 76%);
}

.future-answer {
  margin: 0 !important;
  padding-left: 24px;
  border-left: 3px solid var(--brand-red);
  color: #fff !important;
  font-weight: 700;
}

.donation-section {
  padding: 76px 0 84px;
  background: var(--soft);
}

.donation-shell {
  display: grid;
  grid-template-columns: minmax(440px, 0.95fr) minmax(0, 1.05fr);
  gap: 64px;
  align-items: start;
}

.donation-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.panel-heading {
  margin-bottom: 24px;
}

.panel-heading h2 {
  margin: 0;
  font-size: 1.75rem;
  line-height: 1.15;
}

.panel-heading p {
  margin: 8px 0 0;
  color: var(--muted);
}

.form-row {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.form-step-one {
  display: grid;
}

label,
.field-label {
  color: var(--ink);
  font-weight: 800;
}

.optional {
  color: var(--muted);
  font-size: 0.88em;
  font-weight: 600;
}

.hint {
  color: var(--muted);
  font-size: 0.88rem;
}

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

.amount-grid.is-custom-amount .choice span {
  border-color: #d8dee2;
  background: #f1f3f4;
  color: #9aa4ad;
  box-shadow: none;
}

.amount-input {
  position: relative;
}

.amount-input input {
  padding-right: 42px;
}

.amount-input > span {
  position: absolute;
  top: 50%;
  right: 14px;
  color: var(--muted);
  font-weight: 900;
  transform: translateY(-50%);
  pointer-events: none;
}

.payment-method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.payment-method-grid.is-recurring {
  grid-template-columns: 1fr;
}

.choice {
  position: relative;
  min-width: 0;
}

.choice input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.choice span {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.choice input:checked + span {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-strong);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.choice input:focus-visible + span {
  outline: 3px solid rgb(44 70 143 / 22%);
  outline-offset: 2px;
}

.payment-choice span {
  min-height: 68px;
  flex-direction: column;
  gap: 3px;
  padding: 8px;
  text-align: center;
}

.payment-choice strong {
  font-size: 0.95rem;
}

.payment-choice small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
}

.payment-choice input:checked + span small {
  color: var(--accent-strong);
}

.billing-fields {
  margin: 2px 0 20px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fafb;
}

.billing-fields[hidden] {
  display: none;
}

.billing-heading {
  display: grid;
  gap: 3px;
  margin-bottom: 15px;
}

.billing-heading span {
  color: var(--muted);
  font-size: 0.82rem;
}

.billing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 0.42fr);
  gap: 12px;
}

.billing-fields .form-row:last-child,
.billing-grid .form-row {
  margin-bottom: 0;
}

input[type="text"],
input[type="email"],
input[type="number"],
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cbd6dd;
  border-radius: 6px;
  padding: 10px 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 88px;
  resize: vertical;
  line-height: 1.45;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
}

.check {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin: 12px 0;
  color: var(--ink);
  font-size: 0.91rem;
  font-weight: 500;
}

.check input {
  width: 18px;
  height: 18px;
  margin-top: 0.18em;
  accent-color: var(--accent);
}

.boxed-check {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fafb;
}

.anonymous-check {
  margin: 0 0 20px;
}

.recurring-donation-check {
  margin: 0 0 22px;
}

.recurring-consent {
  padding: 14px;
  border: 1px solid #c6cee7;
  border-radius: 6px;
  background: var(--accent-soft);
}

.recurring-consent[hidden] {
  display: none;
}

.boxed-check span {
  display: grid;
  gap: 3px;
}

.boxed-check small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.donation-note {
  margin: 18px 0;
  padding: 13px 14px;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  color: #35415f;
  font-size: 0.9rem;
}

.hidden-field {
  position: absolute;
  left: -9999px;
}

.submit-button {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  box-shadow: 0 10px 22px rgb(44 70 143 / 24%);
  transition: background 160ms ease, transform 160ms ease;
}

.submit-button:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
}

.continue-button {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.continue-button span {
  font-size: 1.25rem;
  line-height: 1;
}

.secure-caption {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

.payment-dialog {
  width: min(620px, calc(100% - 32px));
  max-height: min(88vh, 860px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 28px 80px rgb(17 29 61 / 28%);
}

.payment-dialog::backdrop {
  background: rgb(17 29 61 / 66%);
  backdrop-filter: blur(3px);
}

.dialog-header {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.dialog-header h3 {
  margin: 3px 0 0;
  font-size: 1.45rem;
  line-height: 1.2;
}

.dialog-step {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dialog-close {
  display: grid;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 1.5rem;
  line-height: 1;
}

.dialog-close:hover {
  background: var(--soft);
}

.dialog-body {
  padding: 22px 24px 24px;
}

.dialog-actions {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
  margin-top: 18px;
}

.dialog-back {
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.dialog-back:hover {
  background: var(--soft);
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
}

.donation-copy {
  padding-top: 18px;
}

.donation-copy > h2 {
  max-width: 650px;
  font-size: 2.35rem;
}

.copy-lead {
  max-width: 62ch;
  margin: 16px 0 26px;
  color: var(--muted);
  font-size: 1.03rem;
}

.use-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: use-item;
}

.use-list li {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 18px 0 18px 46px;
  border-top: 1px solid var(--line);
  counter-increment: use-item;
}

.use-list li::before {
  content: "0" counter(use-item);
  position: absolute;
  top: 19px;
  left: 0;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 900;
}

.use-list strong {
  font-size: 1rem;
}

.use-list span {
  color: var(--muted);
}

.fund-promise {
  margin-top: 28px;
  padding: 20px;
  border: 1px solid #c6cee7;
  border-radius: 8px;
  background: var(--accent-soft);
}

.fund-promise strong {
  color: var(--accent-strong);
  font-size: 1.08rem;
}

.fund-promise p {
  margin: 7px 0 0;
  color: #35415f;
}

.bank-transfer-section {
  background: var(--accent-strong);
  color: #fff;
}

.bank-transfer-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(580px, 1.25fr);
  gap: 48px;
  align-items: center;
  padding: 70px 0;
}

.bank-transfer-copy .impact-kicker {
  color: #f2a2a6;
}

.bank-transfer-copy h2 {
  max-width: 620px;
  margin: 0;
  font-size: 2.4rem;
  line-height: 1.08;
}

.bank-transfer-copy p {
  max-width: 58ch;
  margin: 16px 0 0;
  color: rgb(255 255 255 / 78%);
}

.bank-payment-options {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 205px;
  gap: 40px;
  align-items: center;
}

.bank-details {
  margin: 0;
  border-top: 1px solid rgb(255 255 255 / 28%);
  border-bottom: 1px solid rgb(255 255 255 / 28%);
}

.bank-details > div {
  display: grid;
  grid-template-columns: 95px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 18px 16px;
  border-bottom: 1px solid rgb(255 255 255 / 20%);
}

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

.bank-details dt {
  color: rgb(255 255 255 / 68%);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.bank-details dd {
  min-width: 0;
  margin: 0;
}

.bank-details code {
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.025em;
  overflow-wrap: anywhere;
  user-select: all;
}

.pay-by-square {
  margin: 0;
  text-align: center;
}

.pay-by-square img {
  display: block;
  width: 100%;
  height: auto;
  padding: 8px;
  border-radius: 10px;
  background: #fff;
}

.pay-by-square figcaption {
  margin-top: 10px;
  color: rgb(255 255 255 / 76%);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
}

.story-section {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.story-inner {
  padding: 76px 0 84px;
}

.story-heading {
  max-width: 760px;
  margin-bottom: 40px;
}

.story-heading h2 {
  font-size: 2.65rem;
}

.story-heading p {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

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

.story-grid article {
  min-width: 0;
  padding-top: 18px;
  border-top: 3px solid var(--accent);
}

.story-grid article > span {
  display: block;
  margin-bottom: 28px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
}

.story-grid h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.25;
}

.story-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.story-closing {
  max-width: 82ch;
  margin: 42px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 1.02rem;
}

.proof-section {
  background: var(--accent-strong);
  color: #fff;
}

.proof-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: 64px;
  align-items: center;
  padding: 76px 0;
}

.proof-copy .impact-kicker {
  color: #f2a2a6;
}

.proof-copy h2 {
  max-width: 700px;
  font-size: 2.55rem;
}

.proof-copy p {
  max-width: 65ch;
  margin: 16px 0 0;
  color: rgb(255 255 255 / 78%);
}

.proof-numbers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgb(255 255 255 / 28%);
  border-bottom: 1px solid rgb(255 255 255 / 28%);
}

.proof-numbers div {
  padding: 22px 18px;
  border-right: 1px solid rgb(255 255 255 / 28%);
}

.proof-numbers div:last-child {
  border-right: 0;
}

.proof-numbers strong {
  display: block;
  margin-bottom: 8px;
  color: #f2a2a6;
  font-size: 2.15rem;
  line-height: 1;
}

.proof-numbers span {
  color: rgb(255 255 255 / 76%);
  font-size: 0.9rem;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-top: 64px;
  padding-bottom: 64px;
}

.final-cta > div {
  max-width: 760px;
}

.final-cta h2 {
  font-size: 2.15rem;
}

.final-cta .primary-link {
  flex: 0 0 auto;
}

.error-list {
  margin-bottom: 18px;
  padding: 12px 14px;
  border: 1px solid #f0b8b2;
  border-radius: 6px;
  background: #fff5f4;
  color: var(--bad);
}

.error-list ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.status-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--soft);
}

.status-box {
  width: min(620px, 100%);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.status-box h1 {
  max-width: none;
  margin: 0 0 14px;
  font-size: 2rem;
  line-height: 1.15;
}

.status-box p {
  margin: 12px 0 0;
  color: var(--muted);
}

.status-badge {
  display: inline-block;
  margin-bottom: 10px;
  font-weight: 900;
}

.status-badge.success {
  color: var(--good);
}

.status-badge.pending {
  color: var(--warn);
}

.status-badge.failed {
  color: var(--bad);
}

.thank-you-page {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background:
    radial-gradient(circle at 12% 8%, rgb(200 57 62 / 14%), transparent 28rem),
    radial-gradient(circle at 88% 92%, rgb(44 70 143 / 18%), transparent 30rem),
    #f5f6fa;
}

.thank-you-nav {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 9px max(20px, calc((100% - 1120px) / 2));
  border-bottom: 3px solid var(--brand-red);
  background: rgb(255 255 255 / 96%);
  box-shadow: 0 8px 28px rgb(9 8 13 / 9%);
}

.thank-you-nav a {
  display: flex;
  align-items: center;
}

.thank-you-nav img {
  width: 210px;
  height: 62px;
  object-fit: contain;
  object-position: left center;
}

.thank-you-nav > span {
  color: var(--accent-strong);
  font-size: 0.88rem;
  font-weight: 850;
}

.thank-you-main {
  width: min(1120px, calc(100% - 40px));
  display: grid;
  align-items: center;
  margin: 0 auto;
  padding: 64px 0;
}

.thank-you-card {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 32px 90px rgb(28 47 107 / 18%);
}

.thank-you-copy {
  padding: 52px;
}

.success-seal {
  width: 62px;
  height: 62px;
  display: grid;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 50%;
  background: #e9f7ef;
  color: var(--good);
  font-size: 2rem;
  font-weight: 950;
  box-shadow: inset 0 0 0 1px rgb(21 115 71 / 16%);
}

.thank-you-kicker,
.thank-you-aside-kicker {
  margin: 0;
  color: var(--brand-red);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.thank-you-copy h1 {
  max-width: 680px;
  margin: 10px 0 18px;
  color: var(--accent-strong);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1.01;
}

.thank-you-lead {
  max-width: 59ch;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.thank-you-impact {
  display: grid;
  margin: 34px 0 26px;
  padding: 24px 26px;
  border-left: 4px solid var(--brand-red);
  border-radius: 0 10px 10px 0;
  background: var(--accent-soft);
}

.thank-you-impact > span {
  color: var(--accent-strong);
  font-size: 0.84rem;
  font-weight: 850;
  text-transform: uppercase;
}

.thank-you-impact strong {
  margin: 5px 0;
  color: var(--accent-strong);
  font-size: clamp(2.7rem, 6vw, 4.7rem);
  line-height: 0.95;
}

.thank-you-impact p {
  margin: 0;
  color: #35415f;
}

.thank-you-reference {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 0.82rem;
}

.thank-you-reference strong {
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.thank-you-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
}

.thank-you-actions .primary-link {
  min-height: 50px;
}

.thank-you-secondary {
  color: var(--accent-strong);
  font-size: 0.9rem;
  text-underline-offset: 4px;
}

.thank-you-aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 42px;
  background:
    linear-gradient(145deg, rgb(28 47 107 / 98%), rgb(44 70 143 / 96%));
  color: #fff;
}

.thank-you-aside-kicker {
  color: #f2a2a6;
}

.thank-you-aside h2 {
  margin: 9px 0 16px;
  font-size: 2rem;
  line-height: 1.08;
}

.thank-you-aside > p:not(.thank-you-aside-kicker) {
  margin: 0;
  color: rgb(255 255 255 / 76%);
}

.thank-you-aside ul {
  display: grid;
  gap: 12px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.thank-you-aside li {
  position: relative;
  padding-left: 28px;
  color: rgb(255 255 255 / 88%);
}

.thank-you-aside li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  color: #f2a2a6;
  font-weight: 950;
}

.thank-you-promise {
  display: grid;
  gap: 2px;
  margin-top: 4px;
  padding-top: 20px;
  border-top: 1px solid rgb(255 255 255 / 24%);
}

.thank-you-promise strong {
  color: #fff;
  font-size: 1.2rem;
}

.thank-you-promise span {
  color: rgb(255 255 255 / 72%);
  font-size: 0.9rem;
}

.thank-you-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  padding: 20px;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

.thank-you-footer a {
  color: var(--accent-strong);
}

@media (max-width: 960px) {
  h1 {
    font-size: 3.25rem;
  }

  .impact-inner,
  .future-callout,
  .donation-shell,
  .proof-inner,
  .bank-transfer-inner {
    grid-template-columns: 1fr;
  }

  .impact-inner,
  .proof-inner {
    gap: 36px;
  }

  .donation-shell {
    gap: 48px;
  }

  .donation-panel {
    width: min(620px, 100%);
  }

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

  .story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 38px;
  }

  .proof-numbers {
    width: min(520px, 100%);
  }

  .thank-you-card {
    grid-template-columns: 1fr;
  }

  .thank-you-aside {
    padding: 38px 42px;
  }
}

@media (max-width: 680px) {
  .donation-hero {
    min-height: 700px;
  }

  .hero-content,
  .impact-inner,
  .future-inner,
  .story-inner,
  .proof-inner,
  .final-cta,
  .donation-shell,
  .bank-transfer-inner {
    width: min(100% - 28px, 1120px);
  }

  .site-bar {
    width: 100%;
    min-height: 76px;
    gap: 12px;
    padding: 8px 14px;
  }

  .site-logo {
    width: 158px;
    height: 56px;
  }

  .hero-content {
    padding: 108px 0 44px;
  }

  h1 {
    font-size: clamp(2.2rem, 10.5vw, 2.55rem);
    line-height: 1.04;
  }

  .lead {
    font-size: 1rem;
  }

  .hero-actions {
    align-items: stretch;
    gap: 10px;
    margin-top: 24px;
  }

  .primary-link,
  .secondary-link {
    width: 100%;
  }

  .assurances {
    display: grid;
    gap: 9px;
    margin-top: 24px;
  }

  .impact-inner,
  .future-inner,
  .story-inner,
  .proof-inner {
    padding-top: 46px;
    padding-bottom: 50px;
  }

  .impact-intro h2,
  .future-heading h2,
  .donation-copy > h2,
  .bank-transfer-copy h2,
  .story-heading h2,
  .proof-copy h2,
  .final-cta h2 {
    font-size: 1.85rem;
  }

  .impact-stats,
  .future-thirds,
  .proof-numbers {
    grid-template-columns: 1fr;
  }

  .future-thirds {
    gap: 0;
    margin-top: 0;
  }

  .future-third {
    padding: 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .future-third:last-child {
    border-bottom: 0;
  }

  .future-third strong {
    font-size: 2rem;
  }

  .future-third p {
    max-width: none;
  }

  .future-callout {
    gap: 24px;
    padding: 20px 16px;
  }

  .future-answer {
    padding-top: 16px;
    padding-left: 0;
    border-top: 3px solid var(--brand-red);
    border-left: 0;
  }

  .impact-stats div,
  .proof-numbers div {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .impact-stats div:last-child,
  .proof-numbers div:last-child {
    border-bottom: 0;
  }

  .impact-stats strong,
  .proof-numbers strong {
    margin-bottom: 0;
  }

  .proof-numbers div {
    border-bottom-color: rgb(255 255 255 / 28%);
  }

  .donation-section {
    padding: 46px 0 52px;
  }

  .donation-panel {
    padding: 20px 16px;
  }

  .check {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 9px;
    margin: 14px 0;
  }

  .check input {
    width: 22px;
    height: 22px;
    margin-top: 0.08em;
  }

  .payment-method-grid,
  .billing-grid {
    grid-template-columns: 1fr;
  }

  .payment-dialog {
    width: min(100% - 16px, 620px);
    max-height: calc(100vh - 16px);
    border-radius: 8px;
  }

  .dialog-header,
  .dialog-body {
    padding-right: 16px;
    padding-left: 16px;
  }

  .dialog-actions {
    grid-template-columns: 1fr;
  }

  .dialog-back {
    order: 2;
  }

  .thank-you-nav {
    min-height: 70px;
    padding: 7px 14px;
  }

  .thank-you-nav img {
    width: 155px;
    height: 52px;
  }

  .thank-you-nav > span {
    display: none;
  }

  .thank-you-main {
    width: min(100% - 20px, 1120px);
    padding: 24px 0;
  }

  .thank-you-card {
    border-radius: 12px;
  }

  .thank-you-copy {
    padding: 30px 22px;
  }

  .success-seal {
    width: 54px;
    height: 54px;
    margin-bottom: 20px;
  }

  .thank-you-copy h1 {
    font-size: clamp(2.2rem, 11vw, 3.1rem);
  }

  .thank-you-impact {
    margin-top: 28px;
    padding: 20px;
  }

  .thank-you-actions {
    align-items: stretch;
  }

  .thank-you-actions .primary-link,
  .thank-you-secondary {
    width: 100%;
    text-align: center;
  }

  .thank-you-secondary {
    padding: 8px;
  }

  .thank-you-aside {
    padding: 32px 22px;
  }

  .thank-you-aside h2 {
    font-size: 1.7rem;
  }

  .bank-transfer-inner {
    gap: 26px;
    padding-top: 46px;
    padding-bottom: 52px;
  }

  .bank-details > div {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 16px 14px;
  }

  .bank-details code {
    font-size: 0.98rem;
  }

  .bank-payment-options {
    grid-template-columns: 1fr;
  }

  .pay-by-square {
    width: min(260px, 82vw);
    margin: 0 auto;
  }

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

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

  .story-grid article > span {
    margin-bottom: 18px;
  }

  .final-cta {
    flex-direction: column;
    align-items: stretch;
    padding-top: 44px;
    padding-bottom: 44px;
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: 2.15rem;
  }

  .donation-kicker {
    padding: 6px 9px;
    font-size: 0.68rem;
  }

  .site-back {
    font-size: 0.8rem;
  }

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

  .impact-stats div,
  .proof-numbers div {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .bank-details > div {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 10px;
    padding-inline: 12px;
  }

  .bank-details code {
    font-size: 0.9rem;
  }
}

.fundraising-section {
  padding: 72px 24px 48px;
  background:
    radial-gradient(circle at 88% 8%, rgb(200 57 62 / 20%), transparent 34%),
    radial-gradient(circle at 10% 100%, rgb(44 70 143 / 40%), transparent 38%),
    var(--accent-strong);
  color: #fff;
}

.fundraising-inner,
.supporter-heading {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.fundraising-progress-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 44%);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 30px 80px rgb(8 15 43 / 32%);
}

.fundraising-progress-card::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--accent), var(--brand-red));
}

.raised-total {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 46px 44px 42px;
  border-right: 1px solid var(--line);
  background:
    radial-gradient(circle at 0 100%, rgb(200 57 62 / 9%), transparent 42%),
    linear-gradient(145deg, #f2f5ff 0%, #fff 78%);
}

.raised-total::after {
  content: "";
  position: absolute;
  right: -52px;
  bottom: -70px;
  width: 170px;
  height: 170px;
  border: 28px solid rgb(44 70 143 / 5%);
  border-radius: 50%;
}

.raised-total span {
  position: relative;
  z-index: 1;
  display: block;
  color: var(--accent);
  font-size: 0.83rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.raised-total strong {
  position: relative;
  z-index: 1;
  display: block;
  margin: 12px 0 0;
  color: var(--accent-strong);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.next-milestone {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px 46px 38px;
  background: #fff;
  color: var(--ink);
}

.milestone-progress-copy,
.milestone-progress-foot {
  display: flex;
  gap: 24px;
  align-items: flex-end;
  justify-content: space-between;
}

.milestone-label {
  display: block;
  margin-bottom: 6px;
  color: var(--brand-red);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.milestone-name {
  display: block;
  color: var(--ink);
  font-size: clamp(1.18rem, 2.2vw, 1.55rem);
  line-height: 1.25;
}

.milestone-description {
  max-width: 58ch;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.42;
}

.milestone-target {
  flex: 0 0 auto;
  display: grid;
  gap: 1px;
  min-width: 116px;
  padding: 8px 13px;
  border: 1px solid #dce2f4;
  border-radius: 12px;
  background: var(--accent-soft);
  text-align: right;
}

.milestone-target span {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.milestone-target strong {
  color: var(--accent-strong);
  font-size: 1.15rem;
  font-weight: 950;
}

.milestone-progress {
  height: 20px;
  margin: 26px 0 14px;
  padding: 4px;
  overflow: hidden;
  border: 1px solid #dfe3ee;
  border-radius: 999px;
  background: #edf0f6;
  box-shadow: inset 0 2px 5px rgb(28 47 107 / 8%);
}

.milestone-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--brand-red));
  box-shadow: 0 3px 10px rgb(200 57 62 / 28%);
}

.milestone-progress-foot {
  align-items: center;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 750;
}

.milestone-progress-foot strong {
  flex: 0 0 auto;
  color: var(--accent-strong);
  font-size: 0.86rem;
}

.following-milestone {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid #dfe3ee;
  border-radius: 10px;
  background: var(--soft);
}

.following-milestone-label {
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.following-milestone strong {
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.3;
}

.following-milestone b {
  color: var(--accent-strong);
  font-size: 0.95rem;
  white-space: nowrap;
}

.supporter-section {
  overflow: hidden;
  padding: 22px 0 74px;
  border-top: 1px solid rgb(255 255 255 / 16%);
  background: var(--accent-strong);
  color: #fff;
}

.supporter-heading {
  padding: 0 24px;
}

.supporter-heading h2 {
  max-width: 820px;
  margin: 8px 0 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.08;
}

.supporter-heading .impact-kicker {
  color: #f3b7b9;
}

.supporter-marquee {
  width: 100%;
  margin-top: 34px;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.supporter-track {
  display: flex;
  width: max-content;
  animation: supporter-slide 52s linear infinite;
}

.supporter-marquee:hover .supporter-track,
.supporter-marquee:focus-within .supporter-track {
  animation-play-state: paused;
}

.supporter-group {
  display: flex;
  gap: 16px;
  padding-right: 16px;
}

.supporter-card {
  width: min(360px, 80vw);
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
  box-shadow: 0 14px 34px rgb(28 47 107 / 10%);
}

.supporter-group .supporter-card:first-child {
  margin-left: 16px;
}

.supporter-card:nth-child(3n + 2) {
  background: var(--accent-soft);
}

.supporter-card:nth-child(3n + 3) {
  border-color: rgb(200 57 62 / 25%);
  background: #fff7f7;
}

.supporter-card > p {
  margin: 0;
  color: #252c3e;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.55;
}

.supporter-card footer {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.supporter-avatar {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--accent-strong), #34417b);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 18px rgb(28 47 107 / 20%);
}

.supporter-card:nth-child(3n + 2) .supporter-avatar {
  background: linear-gradient(145deg, var(--brand-red), #a92d33);
}

.supporter-card.is-anonymous .supporter-avatar {
  background: #e5e8f1;
  color: var(--accent-strong);
  box-shadow: none;
}

.supporter-identity {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.supporter-identity strong {
  color: var(--accent-strong);
}

.supporter-card time {
  color: var(--muted);
  font-size: 0.78rem;
}

.supporter-empty {
  width: min(1180px, calc(100% - 48px));
  margin: 28px auto 0;
  padding: 24px;
  border: 1px dashed rgb(255 255 255 / 32%);
  border-radius: 10px;
  background: rgb(255 255 255 / 8%);
  color: #dfe5f8;
  text-align: center;
}

@keyframes supporter-slide {
  to {
    transform: translateX(-50%);
  }
}

.payment-method-grid.has-wallets {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wallet-choice strong {
  letter-spacing: -0.01em;
}

.wallet-stage {
  padding: 18px 0 4px;
  text-align: center;
}

.wallet-stage[hidden],
.wallet-component[hidden],
#payment-details[hidden] {
  display: none;
}

.wallet-stage h4 {
  margin: 7px 0 8px;
  color: var(--ink);
  font-size: 1.5rem;
}

.wallet-stage > p {
  max-width: 420px;
  margin: 0 auto 22px;
  color: var(--muted);
}

.wallet-component {
  width: min(420px, 100%);
  min-height: 54px;
  margin: 0 auto;
}

.wallet-status {
  min-height: 24px;
  margin: 16px 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.wallet-back {
  width: min(420px, 100%);
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

@media (max-width: 900px) {
  .fundraising-progress-card {
    grid-template-columns: 1fr;
  }

  .raised-total {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .payment-method-grid.has-wallets {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .fundraising-section {
    padding: 52px 16px 38px;
  }

  .supporter-section {
    padding: 16px 0 54px;
  }

  .supporter-heading {
    padding: 0 16px;
  }

  .supporter-heading h2 {
    font-size: 2.25rem;
  }

  .fundraising-progress-card {
    border-radius: 18px;
  }

  .raised-total {
    padding: 36px 24px 30px;
  }

  .next-milestone {
    padding: 30px 24px 28px;
  }

  .milestone-progress-copy {
    display: grid;
    gap: 16px;
  }

  .milestone-target {
    justify-self: start;
    text-align: left;
  }

  .milestone-progress-foot {
    gap: 12px;
  }

  .milestone-progress-foot strong {
    text-align: right;
  }

  .following-milestone {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .following-milestone-label {
    grid-column: 1 / -1;
  }

  .supporter-marquee {
    mask-image: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }

  .supporter-track {
    animation: none;
  }
}

.video-player-slot {
  min-width: 0;
  aspect-ratio: 16 / 9;
}

.video-player-shell {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgb(28 47 107 / 18%);
  border-radius: 14px;
  background: #09080d;
  box-shadow: 0 22px 55px rgb(28 47 107 / 18%);
}

.video-player-shell video {
  width: 100%;
  height: 100%;
  display: block;
  background: #09080d;
  object-fit: contain;
}

.video-autoplay-button {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  min-height: 48px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid rgb(255 255 255 / 34%);
  border-radius: 999px;
  background: rgb(9 8 13 / 84%);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  box-shadow: 0 10px 30px rgb(0 0 0 / 30%);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(6px);
}

.video-autoplay-button:hover {
  background: rgb(9 8 13 / 96%);
}

.video-autoplay-button[hidden] {
  display: none;
}

.video-player-shell.is-floating {
  position: fixed;
  z-index: 1000;
  right: 24px;
  bottom: 24px;
  width: min(410px, calc(100vw - 48px));
  height: auto;
  aspect-ratio: 16 / 9;
  border-color: rgb(255 255 255 / 22%);
  border-radius: 12px;
  box-shadow: 0 24px 70px rgb(9 8 13 / 38%);
  animation: video-float-in 180ms ease-out;
}

.video-float-close {
  position: absolute;
  z-index: 2;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  display: grid;
  padding: 0 0 2px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 34%);
  border-radius: 50%;
  background: rgb(9 8 13 / 78%);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 1.45rem;
  line-height: 1;
  box-shadow: 0 4px 14px rgb(0 0 0 / 24%);
}

.video-float-close:hover {
  background: rgb(9 8 13 / 94%);
}

.video-float-close[hidden] {
  display: none;
}

@keyframes video-float-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 960px) {
  .future-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 680px) {
  .future-top {
    gap: 26px;
  }

  .video-player-shell {
    border-radius: 10px;
  }

  .video-player-shell.is-floating {
    right: 12px;
    bottom: 12px;
    width: min(360px, calc(100vw - 24px));
    border-radius: 9px;
  }

  .video-float-close {
    top: 6px;
    right: 6px;
    width: 34px;
    height: 34px;
  }

  .video-autoplay-button {
    width: max-content;
    max-width: calc(100% - 32px);
    min-height: 44px;
    padding: 9px 14px;
    font-size: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .video-player-shell.is-floating {
    animation: none;
  }
}

/* Donate is a gentler member of the MP-BBSK family. */
h1,
h2,
h3 {
  font-weight: 800;
  letter-spacing: -0.055em;
}

.donation-page,
.partner-page {
  background: var(--soft);
}

.donation-hero {
  min-height: 745px;
  border-radius: 0;
  background: var(--ink);
}

.donation-hero::after {
  background:
    linear-gradient(90deg, rgb(7 17 47 / 97%) 0%, rgb(10 25 62 / 77%) 44%, rgb(9 25 59 / 18%) 78%),
    linear-gradient(0deg, rgb(6 16 42 / 52%) 0%, transparent 38%);
}

.site-bar {
  left: 50%;
  width: min(1180px, calc(100% - 64px));
  min-height: 108px;
  padding: 0;
  border-bottom: 1px solid rgb(255 255 255 / 28%);
  background: transparent;
  box-shadow: none;
  transform: translateX(-50%);
}

.site-logo {
  width: 210px;
  height: 72px;
}

.site-back {
  padding: 10px 15px;
  border: 1px solid rgb(255 255 255 / 44%);
  border-radius: 999px;
  background: rgb(255 255 255 / 7%);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.065em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.site-back:hover,
.site-back:focus-visible {
  border-color: rgb(255 255 255 / 72%);
  background: rgb(255 255 255 / 15%);
  color: #fff;
  transform: translateY(-1px);
}

.hero-content,
.impact-inner,
.future-inner,
.story-inner,
.proof-inner,
.final-cta,
.donation-shell,
.bank-transfer-inner {
  width: min(1180px, calc(100% - 64px));
}

.hero-content {
  padding: 194px 0 86px;
}

.donation-kicker,
.impact-kicker {
  font-family: "DM Mono", monospace;
  font-size: 0.69rem;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.donation-kicker {
  padding: 9px 13px;
  border-color: rgb(255 255 255 / 32%);
  background: rgb(255 255 255 / 9%);
}

.impact-kicker {
  color: var(--brand-red-strong);
}

h1 {
  max-width: 900px;
  margin: 20px 0;
  font-size: clamp(3.35rem, 6.6vw, 6rem);
  line-height: 0.96;
  letter-spacing: -0.075em;
}

.lead {
  max-width: 670px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.primary-link,
.secondary-link,
.submit-button,
.dialog-back {
  border-radius: 999px;
}

.primary-link {
  padding-inline: 22px;
  background: var(--accent);
  box-shadow: 0 14px 28px rgb(7 17 47 / 22%);
}

.primary-link:hover,
.primary-link:focus-visible {
  background: #586fb3;
}

.secondary-link {
  padding-inline: 22px;
  border-color: rgb(255 255 255 / 48%);
}

.assurances {
  font-size: 0.84rem;
}

.assurances li::before {
  width: 8px;
  height: 8px;
  background: var(--brand-red);
  box-shadow: 0 0 0 4px rgb(223 139 133 / 18%);
}

.impact-strip {
  border-bottom: 0;
  background: var(--soft);
}

.impact-inner {
  grid-template-columns: minmax(0, 1fr) minmax(480px, 1fr);
  gap: 82px;
  padding: 108px 0;
}

.impact-intro h2,
.story-heading h2,
.proof-copy h2,
.final-cta h2,
.donation-copy > h2 {
  letter-spacing: -0.07em;
}

.impact-intro h2 {
  font-size: clamp(2.6rem, 4.2vw, 4.25rem);
  line-height: 0.98;
}

.impact-stats {
  border-color: var(--line);
}

.impact-stats div {
  padding: 24px 18px;
}

.impact-stats strong {
  color: var(--accent-strong);
  font-size: clamp(2rem, 3.1vw, 3.1rem);
  letter-spacing: -0.075em;
}

.future-section {
  border: 0;
  background: #ece9e1;
}

.future-inner {
  padding: 104px 0 110px;
}

.future-heading h2 {
  font-size: clamp(2.7rem, 4.4vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.future-alert {
  color: var(--brand-red-strong);
  font-family: "DM Mono", monospace;
  font-size: clamp(1rem, 1.4vw, 1.23rem);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.future-statement {
  padding: 24px 28px;
  border: 1px solid rgb(16 29 62 / 12%);
  border-left: 4px solid var(--accent);
  border-radius: 20px;
  box-shadow: none;
}

.future-distribution {
  border-radius: 26px;
  box-shadow: 0 16px 38px rgb(16 29 62 / 8%);
}

.future-distribution-bar {
  height: 10px;
}

.future-third {
  padding: 28px 26px 30px;
}

.future-third strong {
  font-family: "DM Mono", monospace;
  font-size: clamp(2.15rem, 3.5vw, 3.25rem);
  letter-spacing: -0.08em;
}

.future-callout {
  padding: 34px 36px;
  border-radius: 30px;
  background: var(--ink);
}

.future-answer {
  border-left-color: var(--brand-red);
}

.donation-section {
  padding: 108px 0 114px;
  background: var(--soft);
}

.donation-shell {
  gap: 82px;
}

.donation-panel {
  padding: 34px;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.panel-heading h2 {
  font-size: 2rem;
  letter-spacing: -0.06em;
}

.choice span,
input[type="text"],
input[type="email"],
input[type="number"],
textarea,
.boxed-check,
.billing-fields,
.recurring-consent {
  border-radius: 15px;
}

.choice span {
  min-height: 54px;
  background: #fffefa;
}

.choice input:checked + span {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.submit-button {
  background: var(--accent);
}

.payment-dialog {
  border-radius: 26px;
}

.dialog-close {
  background: var(--soft);
}

.donation-copy > h2 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 0.98;
}

.use-list li::before {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.use-list li {
  padding-left: 48px;
}

.fund-promise {
  border-radius: 20px;
}

.bank-transfer-section,
.proof-section {
  background: var(--ink);
}

.bank-transfer-inner,
.proof-inner {
  padding-top: 94px;
  padding-bottom: 94px;
}

.bank-transfer-copy .impact-kicker,
.proof-copy .impact-kicker {
  color: #edb5ae;
}

.pay-by-square img {
  border-radius: 20px;
}

.story-section {
  border: 0;
  background: #fffefa;
}

.story-inner {
  padding: 108px 0 112px;
}

.story-heading h2 {
  font-size: clamp(2.6rem, 4.2vw, 4.25rem);
  line-height: 0.98;
}

.story-grid {
  gap: 16px;
}

.story-grid article {
  padding: 26px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: 22px;
  background: var(--soft);
}

.proof-numbers {
  border-radius: 22px;
  background: rgb(255 255 255 / 5%);
}

.final-cta {
  padding-top: 90px;
  padding-bottom: 92px;
}

.final-cta h2 {
  font-size: clamp(2.45rem, 3.9vw, 3.8rem);
  line-height: 0.98;
}

.fundraising-section {
  padding: 86px 32px 52px;
  background: var(--ink);
}

.fundraising-progress-card {
  border-radius: 32px;
  box-shadow: 0 28px 70px rgb(2 9 27 / 32%);
}

.fundraising-progress-card::before,
.milestone-progress span {
  background: linear-gradient(90deg, var(--accent), #91a0d1);
}

.raised-total {
  background:
    radial-gradient(circle at 0 100%, rgb(223 139 133 / 10%), transparent 44%),
    linear-gradient(145deg, #f2f3fb 0%, #fffefa 78%);
}

.milestone-label {
  color: var(--brand-red-strong);
}

.milestone-target,
.following-milestone {
  border-radius: 18px;
}

.supporter-section {
  padding-top: 30px;
  background: var(--ink);
}

.supporter-heading .impact-kicker {
  color: #edb5ae;
}

.supporter-card {
  border-radius: 22px;
}

.supporter-card:nth-child(3n + 3) {
  border-color: rgb(223 139 133 / 30%);
  background: #fff9f7;
}

.supporter-card:nth-child(3n + 2) .supporter-avatar {
  background: linear-gradient(145deg, var(--brand-red), #c3787b);
}

.status-page {
  background: var(--soft);
}

.status-box {
  border-radius: 26px;
}

.thank-you-page {
  background:
    radial-gradient(circle at 12% 8%, rgb(223 139 133 / 13%), transparent 28rem),
    radial-gradient(circle at 88% 92%, rgb(105 127 195 / 16%), transparent 30rem),
    var(--soft);
}

.thank-you-nav {
  min-height: 92px;
  border-bottom: 1px solid var(--line);
  background: #fffefa;
  box-shadow: none;
}

.thank-you-card {
  border-radius: 30px;
}

.thank-you-impact {
  border-radius: 18px;
}

.thank-you-aside {
  background: linear-gradient(145deg, var(--ink), var(--accent-strong));
}

.video-player-shell {
  border-radius: 24px;
}

@media (max-width: 960px) {
  .impact-inner,
  .donation-shell {
    gap: 48px;
  }
}

@media (max-width: 680px) {
  .donation-hero {
    min-height: 700px;
    border-radius: 0;
  }

  .site-bar {
    width: calc(100% - 28px);
    min-height: 82px;
  }

  .site-logo {
    width: 162px;
    height: 58px;
  }

  .site-back {
    padding: 8px 11px;
    font-size: 0.62rem;
  }

  .hero-content,
  .impact-inner,
  .future-inner,
  .story-inner,
  .proof-inner,
  .final-cta,
  .donation-shell,
  .bank-transfer-inner {
    width: min(100% - 32px, 1180px);
  }

  .hero-content {
    padding-top: 142px;
    padding-bottom: 52px;
  }

  h1 {
    font-size: clamp(2.65rem, 12vw, 3.55rem);
  }

  .impact-inner,
  .future-inner,
  .story-inner {
    padding-top: 72px;
    padding-bottom: 76px;
  }

  .future-statement,
  .future-callout {
    border-radius: 22px;
  }

  .future-callout {
    padding: 26px 22px;
  }

  .donation-section {
    padding: 72px 0 80px;
  }

  .donation-panel {
    padding: 25px 20px;
    border-radius: 23px;
  }

  .choice span,
  input[type="text"],
  input[type="email"],
  input[type="number"],
  textarea,
  .boxed-check,
  .billing-fields,
  .recurring-consent {
    border-radius: 13px;
  }

  .payment-dialog {
    border-radius: 22px;
  }

  .bank-transfer-inner,
  .proof-inner {
    padding-top: 72px;
    padding-bottom: 74px;
  }

  .story-grid article {
    padding: 23px 20px;
  }

  .final-cta {
    padding-top: 72px;
    padding-bottom: 76px;
  }

  .fundraising-section {
    padding: 66px 16px 34px;
  }

  .fundraising-progress-card {
    border-radius: 24px;
  }

  .thank-you-card {
    border-radius: 24px;
  }
}

/* Shared MP-BBSK palette and lock-up. Rounded corners remain donation-specific. */
.site-brand {
  gap: 10px;
  color: #fff;
}

.site-logo {
  width: 85px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgb(0 0 0 / 45%));
}

.site-brand-title,
.thank-you-brand > span {
  display: block;
  color: currentColor;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.045em;
  line-height: 1.08;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-brand-title i,
.thank-you-brand i {
  color: var(--brand-red);
  font-style: normal;
}

.site-back {
  border-color: var(--brand-red);
  background: var(--brand-red);
}

.site-back:hover,
.site-back:focus-visible {
  border-color: var(--brand-red);
  background: var(--brand-red);
  filter: brightness(0.94);
}

h1 {
  max-width: 800px;
  font-size: clamp(58px, 7.8vw, 112px);
  line-height: 0.88;
}

.primary-link:hover,
.primary-link:focus-visible,
.submit-button:hover {
  background: var(--ink);
}

.assurances li::before {
  background: var(--brand-red);
  box-shadow: 0 0 0 5px rgb(238 90 80 / 20%);
}

.impact-kicker,
.future-alert,
.milestone-label,
.partner-impact-grid article > span {
  color: var(--brand-red);
}

.future-section {
  background: #e9e5da;
}

.future-statement {
  border-left-color: var(--brand-red);
}

.future-stay {
  --future-color: var(--ink);
  --future-tint: #fff;
}

.future-leave {
  --future-color: var(--brand-red);
  --future-tint: #f4f1e9;
}

.future-undecided {
  --future-color: var(--ink);
  --future-tint: #e9e5da;
}

.future-distribution-bar .future-stay,
.future-distribution-bar .future-undecided {
  background: var(--ink);
}

.future-distribution-bar .future-leave {
  background: var(--brand-red);
}

.choice span,
.story-section,
.partner-impact,
.thank-you-nav {
  background: #fff;
}

.fund-promise,
.raised-total {
  background: #e9e5da;
}

.use-list li::before {
  background: #e9e5da;
  color: var(--ink);
}

.bank-transfer-copy .impact-kicker,
.proof-copy .impact-kicker,
.supporter-heading .impact-kicker {
  color: var(--brand-red);
}

.fundraising-progress-card::before,
.milestone-progress span {
  background: var(--brand-red);
}

.raised-total::after {
  border-color: rgb(238 90 80 / 10%);
}

.supporter-card:nth-child(3n + 2) {
  background: #e9e5da;
}

.supporter-card:nth-child(3n + 3) {
  border-color: rgb(238 90 80 / 30%);
  background: #fff;
}

.supporter-avatar,
.supporter-card:nth-child(3n + 2) .supporter-avatar {
  background: var(--ink);
}

.supporter-card:nth-child(3n + 2) .supporter-avatar {
  background: var(--brand-red);
}

.thank-you-page {
  background:
    radial-gradient(circle at 12% 8%, rgb(238 90 80 / 13%), transparent 28rem),
    var(--soft);
}

.thank-you-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.thank-you-nav img {
  width: 85px;
  height: auto;
  filter: none;
}

.thank-you-nav .thank-you-brand > span {
  color: var(--ink);
}

@media (max-width: 680px) {
  .site-logo {
    width: 75px;
    height: auto;
  }

  .site-brand-title,
  .thank-you-brand > span {
    font-size: 11px;
  }

  h1 {
    font-size: clamp(2.65rem, 12vw, 3.55rem);
    line-height: 0.96;
  }

  .thank-you-nav img {
    width: 75px;
  }
}

/* Meaningful colors in the youth-future snapshot. */
.future-red {
  color: var(--brand-red);
}

.future-alert {
  color: var(--brand-red);
  font-family: "Playfair Display", serif;
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 1;
}

.future-alert em {
  font: inherit;
  font-style: italic;
}

.future-stay {
  --future-color: #157347;
  --future-tint: #edf8f2;
}

.future-leave {
  --future-color: var(--brand-red);
  --future-tint: #fff0f0;
}

.future-undecided {
  --future-color: #f39b1f;
  --future-tint: #fff;
}

.future-third.future-undecided > span {
  color: #f39b1f;
}

.future-third.future-stay > span {
  color: #157347;
}

.future-third.future-leave > span {
  color: var(--brand-red);
}

.future-third.future-undecided p {
  color: var(--muted);
}

.future-distribution-bar .future-stay {
  background: #157347;
}

.future-distribution-bar .future-leave {
  background: var(--brand-red);
}

.future-distribution-bar .future-undecided {
  background: #f39b1f;
}

.choice input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  box-shadow: inset 0 0 0 1px var(--ink);
}

.payment-choice input:checked + span small {
  color: rgb(255 255 255 / 72%);
}

.final-cta {
  width: 100%;
  margin: 0;
  padding: 90px 32px 92px;
  border-radius: 0;
  background: var(--ink);
  color: #fff;
}

.final-cta > .final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: min(1180px, 100%);
  max-width: 1180px;
  margin: 0 auto;
}

.final-cta-inner > div {
  max-width: 760px;
}

.final-cta h2 {
  color: #fff;
}

.final-cta .impact-kicker {
  color: #edb5ae;
}

.final-cta .primary-link {
  flex: 0 0 auto;
}
