:root {
  --green: #a2bf1a;
  --green-dark: #78910f;
  --yellow: #fbba00;
  --red: #cf3415;
  --brown: #823c2e;
  --ink: #221f20;
  --muted: #6e6763;
  --paper: #fbfaf7;
  --soft: #f1ece5;
  --white: #fff;
  --line: rgba(34, 31, 32, .12);
  --shadow: 0 24px 70px rgba(34, 31, 32, .12);
  --gutter: 1rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 7% 7%, rgba(251, 186, 0, .14), transparent 25rem),
    radial-gradient(circle at 97% 24%, rgba(162, 191, 26, .13), transparent 27rem),
    var(--paper);
  font-family: Arial, Helvetica, sans-serif;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { color: inherit; }
.is-hidden { display: none !important; }
.section-shell { width: min(1120px, calc(100% - (var(--gutter) * 2))); margin-inline: auto; }

.campaign-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: .7rem var(--gutter);
  background: rgba(251, 250, 247, .94);
  box-shadow: 0 8px 26px rgba(34, 31, 32, .07);
  backdrop-filter: blur(12px);
}
.brand img { width: 108px; }
.header-actions { display: flex; align-items: center; gap: .9rem; }
.back-link { display: none; color: var(--brown); font-size: .72rem; font-weight: 900; text-transform: uppercase; }
.back-link::before { margin-right: .4rem; color: var(--red); content: "←"; }
.lang-switch { display: inline-flex; gap: .2rem; padding: .25rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); }
.lang-switch button { min-width: 38px; min-height: 34px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-size: .72rem; font-weight: 900; cursor: pointer; }
.lang-switch button.active { color: var(--ink); background: var(--green); }

h1, h2, h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; line-height: 1.04; text-wrap: balance; }
h1 { font-size: clamp(2.55rem, 12.5vw, 5.15rem); }
h2 { font-size: clamp(2.05rem, 9vw, 3.65rem); }
h3 { font-size: clamp(1.65rem, 7vw, 2.4rem); }
.eyebrow { margin: 0 0 .8rem; color: var(--red); font-size: .73rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 49px; padding: .9rem 1.35rem; border: 0; border-radius: 999px; font-size: .75rem; font-weight: 900; text-transform: uppercase; cursor: pointer; }
.button.primary { color: var(--ink); background: var(--yellow); box-shadow: 0 14px 28px rgba(103, 77, 0, .18); }
.button.dark { color: var(--white); background: var(--ink); }
.button.light { color: var(--ink); background: var(--yellow); }
.text-button { padding: .6rem .2rem; border: 0; border-bottom: 2px solid var(--green); background: transparent; font-size: .76rem; font-weight: 900; text-transform: uppercase; cursor: pointer; }

.campaign-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2.25rem 0 4.25rem;
}
.hero-copy { align-self: center; text-align: center; }
.hero-copy h1 { max-width: 720px; margin-inline: auto; }
.hero-intro { max-width: 660px; margin: 1.35rem auto 0; color: var(--muted); font-size: 1.02rem; line-height: 1.72; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .8rem 1.25rem; margin-top: 1.75rem; }
.share-feedback { min-height: 1.2em; margin: .8rem 0 0; color: var(--brown); font-size: .78rem; font-weight: 800; }
.hero-photo, .vision-photo { position: relative; margin: 0; overflow: hidden; border-radius: 1.5rem; background: var(--soft); box-shadow: var(--shadow); }
.hero-photo img { width: 100%; min-height: 320px; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; }
.hero-photo figcaption, .vision-photo figcaption { position: absolute; right: .8rem; bottom: .8rem; left: .8rem; display: grid; gap: .25rem; padding: .85rem 1rem; border-radius: 1rem; color: var(--white); background: rgba(34, 31, 32, .8); backdrop-filter: blur(8px); }
.hero-photo figcaption span, .vision-photo figcaption span { color: var(--green); font-size: .62rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.hero-photo figcaption strong, .vision-photo figcaption strong { font-size: .78rem; line-height: 1.4; }

.progress-card { padding: 1.4rem; border: 1px solid rgba(34, 31, 32, .08); border-radius: 1.5rem; background: var(--white); box-shadow: 0 18px 48px rgba(34, 31, 32, .09); }
.progress-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.progress-heading h2 { font-size: clamp(1.7rem, 7vw, 2.45rem); }
.progress-percent { display: grid; flex: 0 0 60px; min-height: 60px; border-radius: 50%; background: var(--green); place-items: center; font-family: Georgia, serif; font-size: 1rem; }
.progress-track { height: 14px; margin-top: 1.25rem; overflow: hidden; border-radius: 999px; background: var(--soft); }
.progress-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--green-dark), var(--green), var(--yellow)); transition: width .7s ease; }
.progress-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-top: 1rem; }
.progress-stats span { display: grid; gap: .2rem; }
.progress-stats strong { font-size: .93rem; }
.progress-stats small { color: var(--muted); font-size: .66rem; line-height: 1.3; }
.progress-note { margin: 1rem 0 0; color: var(--muted); font-size: .72rem; line-height: 1.5; }

.vision { display: grid; grid-template-columns: 1fr; align-items: center; gap: 2.25rem; padding: 4.5rem 0; border-top: 1px solid var(--line); }
.vision-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.02rem; line-height: 1.75; }
.impact-list { display: grid; gap: .75rem; margin: 1.8rem 0 0; padding: 0; list-style: none; }
.impact-list li { display: flex; align-items: center; gap: .9rem; padding: .95rem; border-radius: 1rem; background: var(--white); box-shadow: 0 10px 28px rgba(34, 31, 32, .06); }
.impact-list span { display: grid; flex: 0 0 38px; height: 38px; border-radius: 50%; background: var(--yellow); place-items: center; font-size: .65rem; font-weight: 900; }
.impact-list strong { font-size: .9rem; line-height: 1.35; }
.vision-photo img { width: 100%; aspect-ratio: 1.16 / 1; object-fit: cover; }

.contribution-section { padding: 4.75rem 0; color: var(--white); background: var(--ink); }
.contribution-heading { max-width: 780px; margin: 0 auto 2.25rem; text-align: center; }
.contribution-heading .eyebrow { color: var(--green); }
.contribution-heading > p:not(.eyebrow) { color: rgba(255, 255, 255, .67); line-height: 1.7; }
.contribution-layout { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.contribution-builder, .payment-panel { border-radius: 1.5rem; }
.contribution-builder { padding: 1.15rem; color: var(--ink); background: var(--paper); }
.support-options { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin: 0; padding: 0; border: 0; }
.support-options legend { grid-column: 1 / -1; width: 100%; margin-bottom: .25rem; font-family: Georgia, serif; font-size: 1.12rem; font-weight: 700; }
.support-card { position: relative; display: grid; align-content: start; gap: .55rem; min-height: 126px; padding: .85rem; border: 2px solid transparent; border-radius: 1rem; background: var(--white); box-shadow: 0 9px 24px rgba(34, 31, 32, .06); cursor: pointer; transition: border-color .2s ease, transform .2s ease; }
.support-card:hover { transform: translateY(-2px); }
.support-card.is-selected { border-color: var(--green); background: rgba(162, 191, 26, .09); }
.support-card input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.support-card:focus-within { outline: 3px solid rgba(251, 186, 0, .35); outline-offset: 2px; }
.support-icon { display: grid; width: 35px; height: 35px; border-radius: 50%; color: var(--ink); background: var(--yellow); place-items: center; font-size: 1.05rem; font-weight: 900; }
.support-card > span:last-child { display: grid; gap: .2rem; }
.support-card strong { font-size: .8rem; line-height: 1.28; }
.support-card small { color: var(--muted); font-size: .68rem; font-weight: 800; }
.builder-controls, .custom-amount { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; padding: .9rem 1rem; border-radius: 1rem; background: var(--soft); }
.builder-controls > label, .custom-amount > label { font-size: .78rem; font-weight: 900; }
.stepper { display: grid; grid-template-columns: 40px 52px 40px; overflow: hidden; border: 1px solid var(--line); border-radius: 999px; background: var(--white); }
.stepper button { border: 0; background: transparent; font-size: 1.25rem; font-weight: 900; cursor: pointer; }
.stepper input { width: 100%; min-height: 40px; border: 0; outline: 0; background: transparent; text-align: center; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { margin: 0; appearance: none; }
.money-input { display: flex; align-items: center; gap: .35rem; padding: .2rem .7rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-weight: 900; }
.money-input input { width: 90px; min-height: 36px; border: 0; outline: 0; background: transparent; }
.identity-grid { display: grid; grid-template-columns: 1fr; gap: .85rem; margin-top: 1rem; }
.identity-grid label { display: grid; gap: .4rem; }
.identity-grid label > span { font-size: .72rem; font-weight: 900; }
.identity-grid input, .identity-grid select { width: 100%; min-height: 48px; padding: .8rem .9rem; border: 1px solid var(--line); border-radius: .8rem; color: var(--ink); background: var(--white); outline: none; }
.identity-grid input:focus, .identity-grid select:focus, .money-input:focus-within { border-color: var(--green-dark); box-shadow: 0 0 0 3px rgba(162, 191, 26, .18); }
.privacy-choice { display: flex; align-items: flex-start; gap: .7rem; margin-top: 1rem; color: var(--muted); font-size: .72rem; line-height: 1.45; }
.privacy-choice input { width: 18px; height: 18px; margin: 0; accent-color: var(--green-dark); }
.builder-summary { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: .3rem 1rem; margin-top: 1.25rem; padding: 1rem; border-radius: 1rem; color: var(--white); background: var(--brown); }
.builder-summary > span { grid-column: 1 / -1; color: rgba(255, 255, 255, .68); font-size: .64rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.builder-summary strong { font-family: Georgia, serif; font-size: 1rem; }
.builder-summary b { color: var(--yellow); font-size: 1.05rem; }
.submit-button { width: 100%; margin-top: 1rem; }
.form-note { margin: .8rem .25rem 0; color: var(--muted); font-size: .68rem; line-height: 1.5; text-align: center; }

.payment-panel { min-height: 440px; overflow: hidden; background: linear-gradient(150deg, #3a3230, #181617); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.payment-placeholder { display: grid; min-height: 440px; padding: 2rem; place-content: center; text-align: center; }
.payment-placeholder > img { width: 84px; margin: 0 auto 1.25rem; filter: drop-shadow(0 12px 26px rgba(0, 0, 0, .25)); }
.payment-placeholder .eyebrow, .payment-ready .eyebrow { color: var(--green); }
.payment-placeholder > p:not(.eyebrow) { max-width: 340px; margin: 1rem auto 0; color: rgba(255, 255, 255, .65); line-height: 1.65; }
.payment-ready { padding: 1.4rem; }
.prepared-summary { display: grid; gap: .28rem; margin-top: 1.3rem; padding: 1rem; border-radius: 1rem; background: rgba(255, 255, 255, .08); }
.prepared-summary span { color: rgba(255, 255, 255, .62); font-size: .72rem; }
.prepared-summary strong { font-family: Georgia, serif; font-size: 1.1rem; }
.prepared-summary b { color: var(--yellow); font-size: 1.35rem; }
.reference-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; padding: .85rem 1rem; border: 1px dashed rgba(255, 255, 255, .26); border-radius: 1rem; }
.reference-row span { display: grid; gap: .2rem; }
.reference-row small { color: rgba(255, 255, 255, .56); }
.reference-row strong { letter-spacing: .08em; }
.reference-row button { padding: .45rem .7rem; border: 0; border-radius: 999px; color: var(--ink); background: var(--green); font-size: .65rem; font-weight: 900; cursor: pointer; }
.reference-note, .payment-note { color: rgba(255, 255, 255, .58); font-size: .7rem; line-height: 1.5; }
.donation-details { margin-top: 1rem; padding: 1rem; border-radius: 1rem; color: var(--ink); background: var(--white); }
.donation-method { display: inline-flex; padding: .35rem .6rem; border-radius: 999px; background: var(--green); font-size: .62rem; font-weight: 900; text-transform: uppercase; }
.donation-details > strong { display: block; margin: .7rem 0 1rem; overflow-wrap: anywhere; font-family: Georgia, serif; font-size: clamp(1.05rem, 5vw, 1.45rem); }
.copy-feedback { min-height: 1.2em; margin: .55rem 0 0; color: var(--green-dark); font-size: .7rem; font-weight: 800; }
.confirmation-actions { display: grid; gap: .6rem; margin-top: 1rem; }
.button.notify { color: var(--ink); background: var(--green); }
.light-text { justify-self: center; color: var(--white); }

.supporters { padding: 4.5rem 0; border-bottom: 1px solid var(--line); }
.supporters-heading { max-width: 700px; text-align: center; margin-inline: auto; }
.supporter-list { display: grid; grid-template-columns: 1fr; gap: .8rem; margin-top: 2rem; }
.supporter-card { display: grid; gap: .3rem; padding: 1rem; border-radius: 1rem; background: var(--white); box-shadow: 0 10px 28px rgba(34, 31, 32, .06); }
.supporter-card strong { font-family: Georgia, serif; font-size: 1.05rem; }
.supporter-card span { color: var(--muted); font-size: .75rem; }

.closing { position: relative; margin-top: 4.5rem; margin-bottom: 4.5rem; padding: 3.75rem 1.25rem; overflow: hidden; border-radius: 1.5rem; background: var(--green); text-align: center; }
.closing > img { position: absolute; right: -7%; bottom: -42%; width: 47%; opacity: .1; transform: rotate(-10deg); }
.closing > *:not(img) { position: relative; z-index: 1; }
.closing .eyebrow { color: var(--ink); }
.closing h2 { max-width: 820px; margin-inline: auto; }
.closing > p:not(.eyebrow) { max-width: 620px; margin: 1.25rem auto 1.75rem; color: rgba(34, 31, 32, .75); line-height: 1.7; }
.campaign-footer { display: flex; align-items: center; flex-direction: column; gap: .6rem; padding: 2rem var(--gutter) 6rem; color: rgba(255, 255, 255, .7); background: var(--ink); font-size: .72rem; text-align: center; }
.campaign-footer img { width: 106px; margin-bottom: .35rem; }
.campaign-footer p { margin: 0; line-height: 1.5; }
.floating-contribute { position: fixed; right: 1rem; bottom: 1rem; z-index: 25; display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .8rem 1.15rem; border-radius: 999px; color: var(--ink); background: var(--yellow); box-shadow: 0 16px 38px rgba(34, 31, 32, .24); font-size: .7rem; font-weight: 900; text-transform: uppercase; }

@media (min-width: 560px) {
  :root { --gutter: 1.5rem; }
  .back-link { display: inline-block; }
  .progress-card, .contribution-builder, .payment-ready { padding: 1.7rem; }
  .support-card { grid-template-columns: auto 1fr; align-items: center; min-height: 100px; }
  .identity-grid { grid-template-columns: 1.2fr .8fr; }
  .supporter-list { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 840px) {
  .campaign-header { padding-inline: max(1.5rem, calc((100vw - 1120px) / 2)); }
  .campaign-hero { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: center; gap: 2.75rem; padding-top: 3.5rem; }
  .hero-copy { text-align: left; }
  .hero-copy h1, .hero-intro { margin-left: 0; }
  .hero-actions { justify-content: flex-start; }
  .hero-photo img { min-height: 510px; aspect-ratio: 4 / 3.3; }
  .progress-card { grid-column: 1 / -1; margin-top: -1.2rem; }
  .progress-stats strong { font-size: 1.05rem; }
  .vision { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 4rem; padding-block: 6rem; }
  .vision-photo { order: -1; }
  .contribution-section { padding-block: 6rem; }
  .contribution-layout { grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); align-items: start; }
  .payment-panel { position: sticky; top: 88px; }
  .supporter-list { grid-template-columns: repeat(3, 1fr); }
  .closing { padding: 5rem 2rem; }
}

@media (min-width: 1100px) {
  .campaign-hero { grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); }
  .progress-card { grid-column: 1; align-self: end; margin-top: -12.5rem; margin-right: -3.5rem; z-index: 2; }
  .support-options { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
