:root {
  --ink: #171c19;
  --muted: #5f6762;
  --green: #073c2d;
  --green-dark: #042b20;
  --gold: #c49a35;
  --gold-pale: #ead8a9;
  --red: #ce1126;
  --warm: #f8f6f0;
  --line: #dcded9;
  --white: #ffffff;
  --serif: "Cormorant Garamond", "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: "Outfit", "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  --shadow: 0 28px 70px rgba(12, 31, 23, 0.16);
  --shell: min(1180px, calc(100% - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: 3px;
  background: linear-gradient(90deg, #007a5e 0 33.333%, #ce1126 33.333% 66.666%, #fcd116 66.666%);
}

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 2000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--green);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 3px;
  z-index: 40;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: rgba(23, 28, 25, 0.08);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(7, 60, 45, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
}

.header-nav {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.header-nav a {
  position: relative;
  text-decoration: none;
  transition: color 160ms ease;
}

.header-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

.header-nav a:hover,
.header-nav a.is-current {
  color: var(--green);
}

.header-nav a:hover::after,
.header-nav a.is-current::after {
  transform: scaleX(1);
  transform-origin: left;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.brand img,
.footer-brand img {
  object-fit: contain;
}

.brand-copy,
.footer-brand div {
  display: grid;
  line-height: 1.2;
}

.brand-copy strong,
.footer-brand strong {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-copy span,
.footer-brand span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.header-action {
  border-bottom: 1px solid currentColor;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease, transform 160ms ease;
}

.header-action:hover {
  color: var(--red);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(94svh, 980px);
  overflow: hidden;
  color: var(--white);
  background: var(--green-dark);
}

.hero-media,
.hero-veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  inset: 0;
  height: 100%;
  overflow: hidden;
}

.hero-media .slideshow-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media .slideshow-slide {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-media .slideshow-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: hero-drift 28s ease-in-out alternate infinite;
}

.hero-media .slideshow-slide:nth-child(1) img { object-position: center 46%; }
.hero-media .slideshow-slide:nth-child(2) img { object-position: center 44%; }
.hero-media .slideshow-slide:nth-child(3) img { object-position: center 34%; }

.slideshow-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 450ms ease;
}

.slideshow-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-veil {
  inset: -2px 0;
  height: calc(100% + 4px);
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4, 43, 32, 0.78) 0%, rgba(4, 43, 32, 0.64) 48%, rgba(4, 43, 32, 0.56) 100%),
    linear-gradient(180deg, rgba(4, 43, 32, 0.16) 0%, rgba(4, 43, 32, 0.52) 100%);
  background-color: rgba(4, 43, 32, 0.62);
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 392px;
  gap: clamp(40px, 6vw, 88px);
  align-items: end;
  min-height: inherit;
  padding-block: 72px 80px;
}

.hero-story {
  opacity: var(--hero-copy-opacity, 1);
  transform: translate3d(0, var(--hero-copy-shift, 0), 0);
  will-change: opacity, transform;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 27px;
  color: var(--gold-pale);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow-divider {
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.flag {
  display: grid;
  grid-template-columns: repeat(3, 7px);
  width: 21px;
  height: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.flag i:nth-child(1) { background: #007a5e; }
.flag i:nth-child(2) { background: #ce1126; }
.flag i:nth-child(3) { background: #fcd116; }
.flag i { position: relative; }
.flag b {
  position: absolute;
  left: -5px;
  top: 0;
  color: #fcd116;
  font-size: 8px;
  font-style: normal;
  line-height: 13px;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(62px, 7.2vw, 108px);
  font-weight: 500;
  letter-spacing: -0.062em;
  line-height: 0.88;
}

.hero h1 span {
  display: block;
}

.typing-line {
  min-height: 0.88em;
}

.typing-line.is-typing::after {
  content: "";
  display: inline-block;
  width: 0.055em;
  height: 0.72em;
  margin-left: 0.055em;
  background: currentColor;
  animation: typing-caret 720ms steps(1, end) infinite;
  vertical-align: -0.02em;
}

.hero h1 span:last-child {
  color: var(--gold-pale);
  font-style: italic;
}

.hero-intro {
  max-width: 640px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.6;
}

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

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.035em;
  line-height: 1;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.button > span[aria-hidden="true"] {
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.button:hover {
  transform: translateY(-2px);
}

.button:hover > span[aria-hidden="true"] {
  transform: translateX(4px);
}

.button:active {
  transform: translateY(0) scale(0.985);
}

.button-primary {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 10px 24px rgba(7, 60, 45, 0.22);
}

.hero-story .button-primary {
  border-radius: 999px;
  background: var(--gold);
  color: var(--green-dark);
  box-shadow: 0 12px 28px rgba(196, 154, 53, 0.28);
}

.hero-story .button-primary:hover {
  background: var(--gold-pale);
}

.button-primary:hover {
  background: var(--green-dark);
}

.text-link {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-underline-offset: 5px;
}

.hero .text-link {
  color: var(--white);
}

.text-link span {
  display: inline-block;
  margin-left: 7px;
  color: var(--red);
}

.hero .text-link span {
  color: var(--gold-pale);
}

.supporting-line {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero .supporting-line {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
  letter-spacing: 0.025em;
}

.supporting-line span {
  margin-right: 5px;
  color: var(--gold);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 560px;
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
}

.hero-stats li {
  padding-right: 12px;
  border-top: 1px solid rgba(234, 216, 169, 0.28);
  padding-top: 14px;
}

.hero-stats strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.hero-stats span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sponsor-card {
  position: sticky;
  top: 108px;
  padding: 29px;
  border-top: 4px solid var(--gold);
  border-radius: 4px;
  color: var(--ink);
  background: var(--warm);
  box-shadow: var(--shadow);
  animation: card-rise 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
  transition: box-shadow 260ms ease, border-color 260ms ease;
}

.card-kicker,
.section-label {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.sponsor-card h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.sponsor-card > p {
  margin: 13px 0 21px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

legend,
.custom-field label {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 9px;
  color: #39413c;
  font-size: 12px;
  font-weight: 800;
}

legend span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.12em;
}

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

.amount-option {
  min-height: 44px;
  border: 1px solid #cdd1cc;
  border-radius: 2px;
  color: var(--ink);
  background: var(--white);
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.amount-option:hover {
  border-color: var(--green);
  transform: translateY(-1px);
}

.amount-option.is-selected {
  border-color: var(--green);
  color: var(--white);
  background: var(--green);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 5px 12px rgba(7, 60, 45, 0.14);
}

.amount-option:active,
.amount-step:active {
  transform: scale(0.96);
}

.custom-field {
  margin-top: 14px;
}

.input-shell {
  display: grid;
  grid-template-columns: 42px auto 1fr 42px;
  align-items: center;
  min-height: 48px;
  padding: 0 4px;
  border: 1px solid #cdd1cc;
  border-radius: 2px;
  background: var(--white);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.input-shell:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196, 154, 53, 0.18);
}

.input-shell input {
  min-width: 0;
  height: 46px;
  padding: 0 8px;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-weight: 700;
  -moz-appearance: textfield;
}

.input-shell input::-webkit-outer-spin-button,
.input-shell input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.amount-step {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 2px;
  color: var(--green);
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease;
}

.amount-step:hover {
  color: var(--white);
  background: var(--green);
}

.custom-field small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 10px;
}

.field-error {
  margin: 7px 0 0;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
}

.selection {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 17px 0 11px;
  padding-top: 13px;
  border-top: 1px solid #d8d8d2;
  font-size: 12px;
}

.selection strong {
  color: var(--green);
  font-size: 15px;
}

.sponsor-submit {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.sponsor-submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

.checkout-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.checkout-note svg {
  width: 13px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.checkout-status {
  margin-top: 14px;
  padding: 11px 13px;
  border-left: 3px solid var(--gold);
  color: #5c4310;
  background: #fff7df;
  font-size: 12px;
  line-height: 1.5;
}

.checkout-status.is-success {
  border-color: var(--green);
  color: var(--green);
  background: #edf7f2;
}

.checkout-status.is-error {
  border-color: var(--red);
  color: #86101e;
  background: #fff0f2;
}

body.modal-open {
  overflow: hidden;
}

.donor-dialog {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 16px;
  overflow: auto;
  border: 0;
  color: var(--ink);
  background: rgba(4, 20, 15, 0.76);
}

.donor-dialog[hidden] {
  display: none;
}

.donor-dialog-inner {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100dvh - 32px);
  padding: clamp(28px, 6vw, 46px);
  overflow: auto;
  border-top: 5px solid var(--gold);
  border-radius: 4px;
  background: var(--warm);
  box-shadow: 0 32px 100px rgba(4, 43, 32, 0.34);
  animation: dialog-enter 260ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.dialog-close {
  position: absolute;
  top: 15px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--green);
  background: var(--white);
  font-family: Arial, sans-serif;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.donor-dialog h2 {
  max-width: 440px;
  margin: 0;
  padding-right: 30px;
  font-family: var(--serif);
  font-size: clamp(34px, 6vw, 44px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

#donor-dialog-copy {
  margin: 18px 0 24px;
  padding-left: 16px;
  border-left: 2px solid var(--gold);
  color: var(--green);
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  line-height: 1.35;
}

#donor-dialog-copy span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.dialog-amount {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  padding: 14px 0;
  border-block: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.dialog-amount strong {
  color: var(--green);
  font-size: 17px;
}

.donor-field + .donor-field {
  margin-top: 14px;
}

.donor-field label {
  display: block;
  margin-bottom: 7px;
  color: #39413c;
  font-size: 12px;
  font-weight: 800;
}

.donor-field input {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid #cdd1cc;
  border-radius: 2px;
  color: var(--ink);
  background: var(--white);
  outline: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.donor-field input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196, 154, 53, 0.18);
}

.donor-field input[aria-invalid="true"] {
  border-color: var(--red);
}

.donor-error {
  margin-block: 12px 0;
}

.donor-submit {
  width: 100%;
  margin-top: 22px;
  border: 0;
  cursor: pointer;
}

.donor-submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

.dialog-privacy {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.dialog-privacy svg {
  flex: 0 0 auto;
  width: 14px;
  margin-top: 1px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.progress-copy h2,
.story-heading h2,
.edition h2,
.film-heading h2,
.closing h2,
.scripture-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.045em;
}

.campaign-progress {
  border-block: 1px solid #e5e1d7;
  background: var(--warm);
}

.progress-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(480px, 1.18fr);
  gap: clamp(64px, 9vw, 128px);
  align-items: center;
  padding-block: 88px;
}

.progress-copy h2 {
  max-width: 470px;
  font-size: clamp(44px, 5vw, 64px);
  line-height: 0.98;
}

.progress-copy > p:last-child {
  max-width: 490px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.progress-panel {
  position: relative;
  padding: 38px 40px 36px;
  border: 1px solid #ded9cc;
  border-top: 4px solid var(--gold);
  border-radius: 3px;
  background: var(--white);
  box-shadow: 0 22px 55px rgba(20, 37, 29, 0.09);
}

.progress-panel::after {
  content: "";
  position: absolute;
  top: -4px;
  right: 0;
  width: 33.333%;
  height: 4px;
  background: linear-gradient(90deg, #007a5e 0 33.333%, #ce1126 33.333% 66.666%, #fcd116 66.666%);
}

.progress-heading,
.progress-values,
.progress-targets {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.progress-heading {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.progress-heading strong {
  color: var(--red);
  font-size: 18px;
}

.progress-panel progress {
  display: block;
  width: 100%;
  height: 13px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: #e8e4d9;
  appearance: none;
}

.progress-panel progress::-webkit-progress-bar {
  border-radius: 999px;
  background: #e8e4d9;
}

.progress-panel progress::-webkit-progress-value {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green) 0%, var(--gold) 72%, var(--red) 100%);
}

.progress-panel progress::-moz-progress-bar {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green) 0%, var(--gold) 72%, var(--red) 100%);
}

.progress-values {
  align-items: flex-end;
  margin-top: 20px;
}

.progress-values > div {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.progress-values > div:last-child {
  text-align: right;
}

.progress-values strong {
  color: var(--green-dark);
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 46px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
}

.progress-values span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.progress-targets {
  justify-content: flex-start;
  margin-top: 27px;
  padding-top: 21px;
  border-top: 1px solid var(--line);
}

.progress-targets span {
  position: relative;
  padding-left: 16px;
  color: #465049;
  font-size: 12px;
  font-weight: 700;
}

.progress-targets span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateY(-50%);
}

.progress-action {
  min-height: 48px;
  margin-top: 27px;
  border-radius: 999px;
  color: var(--white);
  background: var(--green);
}

.progress-action:hover {
  color: var(--green-dark);
  background: var(--gold);
}

.story {
  display: grid;
  grid-template-columns: 80px 1.05fr 1fr;
  gap: clamp(34px, 6vw, 88px);
  padding-block: 128px 40px;
}

.story-number {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 19px;
  font-style: italic;
}

.story-heading h2 {
  max-width: 480px;
  font-size: clamp(46px, 5.4vw, 72px);
  line-height: 0.98;
}

.story-copy {
  padding-top: 20px;
}

.story-copy p {
  margin: 0 0 20px;
  color: #414943;
  font-size: 17px;
}

.story-copy p:first-child::first-letter {
  float: left;
  margin: 8px 9px 0 0;
  color: var(--green);
  font-family: var(--serif);
  font-size: 64px;
  line-height: 0.66;
}

.editions {
  padding-bottom: 150px;
}

.edition {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.72fr);
  gap: clamp(52px, 9vw, 130px);
  align-items: center;
}

.edition + .edition {
  margin-top: 128px;
}

.edition-image {
  position: relative;
  width: 100%;
  min-width: 0;
}

.edition-image::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  z-index: -1;
  border: 1px solid var(--gold-pale);
}

.edition-gallery-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 3px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 2px;
  background: #e9e6dd;
}

.edition-slide {
  position: relative;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px) scale(1.015);
  transition: opacity 650ms ease, transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
}

.edition-slide:nth-child(2) { transition-delay: 90ms; }
.edition-slide:nth-child(3) { transition-delay: 170ms; }

.edition-image.is-visible .edition-slide {
  opacity: 1;
  transform: none;
}

.edition-slide:first-child {
  grid-row: 1 / -1;
}

.edition-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.edition-slide:hover img {
  transform: scale(1.025);
}

.edition-children .edition-slide:first-child img {
  object-position: center 30%;
}

.edition-copy {
  max-width: 470px;
}

.edition-count {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.edition-count strong {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 39px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.edition h2 {
  color: var(--green);
  font-size: clamp(54px, 6vw, 78px);
  line-height: 1;
}

.edition-copy > p:not(.section-label):not(.edition-count) {
  margin: 24px 0 0;
  color: #414943;
  font-size: 17px;
}

.edition-teens {
  grid-template-columns: minmax(360px, 0.72fr) minmax(0, 0.92fr);
}

.edition-teens .edition-copy {
  justify-self: end;
}

.edition .context-note {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted) !important;
  font-size: 12px !important;
  line-height: 1.6;
}

.scripture {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  min-height: 640px;
  color: var(--white);
  background: var(--green-dark);
}

.scripture-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92);
  transform: scale(1.04);
  transition: filter 900ms ease, transform 1200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.scripture-image.is-visible img {
  filter: saturate(1);
  transform: scale(1);
}

.scripture-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(54px, 8vw, 110px);
}

.scripture blockquote {
  margin: 0;
}

.scripture blockquote p {
  max-width: 16ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(42px, 5.6vw, 72px);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.scripture-cta {
  margin: 28px 0 32px;
  color: var(--gold-pale);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.film-section {
  padding-block: 105px 112px;
  color: var(--white);
  background: var(--green);
}

.film-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
}

.section-label-light {
  color: var(--gold-pale);
}

.film-heading h2 {
  font-size: clamp(48px, 6.2vw, 78px);
  line-height: 0.98;
}

.film-lead {
  max-width: 560px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
}

.button-gold {
  flex: 0 0 auto;
  color: var(--green-dark);
  background: var(--gold-pale);
}

.button-gold:hover {
  background: var(--white);
}

.video-wrap {
  position: relative;
}

.video-wrap::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid rgba(234, 216, 169, 0.36);
  pointer-events: none;
}

.video-wrap video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #020705;
  object-fit: contain;
}

.closing {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
  height: 760px;
  margin-block: 0;
  overflow: hidden;
  background: var(--warm);
}

.closing-collage {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: 1.2fr 0.8fr;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.closing-collage img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.045);
  transition: opacity 720ms ease, transform 1100ms cubic-bezier(0.16, 1, 0.3, 1);
}

.closing-collage img:nth-child(2) { transition-delay: 100ms; }
.closing-collage img:nth-child(3) { transition-delay: 190ms; }

.closing-collage.is-visible img {
  opacity: 1;
  transform: scale(1);
}

.closing-collage img:first-child {
  grid-row: 1 / -1;
}

.closing-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(54px, 8vw, 110px);
  overflow: hidden;
  min-width: 0;
  height: 100%;
  min-height: 0;
  color: var(--ink);
  opacity: 1;
  transform: none;
}

.closing-copy.reveal {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

.closing h2 {
  max-width: 600px;
  font-size: clamp(52px, 6.5vw, 84px);
  line-height: 0.94;
}

.closing-copy > p:not(.section-label) {
  max-width: 520px;
  margin: 27px 0 32px;
  color: #414943;
  font-size: 18px;
}

.goal-seal {
  position: absolute;
  right: -24px;
  bottom: -28px;
  display: grid;
  width: 168px;
  height: 168px;
  align-content: center;
  padding: 28px;
  border: 1px solid rgba(7, 60, 45, 0.23);
  border-radius: 50%;
  color: var(--green);
  text-align: center;
  transform: rotate(-7deg);
}

.goal-seal span,
.goal-seal small {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.goal-seal strong {
  margin: 1px 0;
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 500;
  line-height: 1;
}

.site-footer {
  padding-block: 52px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr auto;
  gap: 36px;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: var(--green);
  font-weight: 750;
  text-underline-offset: 3px;
}

.mobile-cta {
  display: none;
}

.mobile-cta.is-hidden {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(3px);
  transition:
    opacity 720ms ease var(--reveal-delay, 0ms),
    transform 850ms cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms),
    filter 650ms ease var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

@keyframes hero-drift {
  to {
    transform: scale(1.14) translate(-1.4%, -1%);
  }
}

@keyframes card-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes typing-caret {
  0%, 48% { opacity: 1; }
  49%, 100% { opacity: 0; }
}

@keyframes dialog-enter {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1100px) {
  .header-nav {
    display: none;
  }
}

@media (max-width: 980px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 32px;
  }

  .hero h1 {
    font-size: clamp(52px, 8vw, 78px);
  }

  .sponsor-card {
    padding: 27px;
  }

  .progress-inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }

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

  .story-copy {
    grid-column: 2;
    padding-top: 0;
  }

  .edition,
  .edition-teens {
    gap: 55px;
  }

  .closing-copy,
  .scripture-copy {
    padding: 56px;
  }

  .goal-seal {
    display: none;
  }

}

@media (min-width: 761px) and (max-height: 800px) {
  .hero-layout {
    padding-top: 42px;
  }

  .sponsor-card {
    top: 88px;
    padding: 22px 25px;
  }

  .sponsor-card h2 {
    font-size: 29px;
  }

  .sponsor-card > p {
    margin: 10px 0 15px;
    line-height: 1.45;
  }

  .amount-option {
    min-height: 40px;
  }

  .custom-field {
    margin-top: 10px;
  }

  .input-shell {
    min-height: 43px;
  }

  .input-shell input {
    height: 41px;
  }

  .selection {
    margin: 12px 0 8px;
    padding-top: 10px;
  }

  .sponsor-submit {
    min-height: 48px;
  }

  .checkout-note {
    margin-top: 8px;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: min(100% - 32px, 620px);
  }

  .header-inner {
    min-height: 72px;
  }

  .brand img {
    width: 43px;
    height: 43px;
  }

  .brand-copy strong {
    font-size: 17px;
  }

  .brand-copy span,
  .header-action span {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-media .slideshow-slide img {
    animation: none;
    transform: none;
  }

  .hero-media {
    inset: 0;
    height: 100%;
    transform: none;
  }

  .hero-layout {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-block: 48px 28px;
  }

  .hero-story {
    display: contents;
  }

  .eyebrow { order: 1; }
  .hero h1 { order: 2; }
  .hero-intro { order: 3; }
  .hero-actions { order: 4; }
  .supporting-line { order: 5; }
  .hero-stats { order: 6; }
  .sponsor-card { order: 7; }

  .eyebrow {
    flex-wrap: wrap;
    margin-bottom: 23px;
  }

  .hero h1 {
    font-size: clamp(48px, 13vw, 72px);
  }

  .hero-intro {
    margin-top: 25px;
    font-size: 17px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    margin-top: 28px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .supporting-line {
    margin-top: 17px;
  }

  .hero-stats {
    max-width: none;
    margin-top: 28px;
    gap: 10px;
  }

  .hero-stats strong {
    font-size: 24px;
  }

  .sponsor-card {
    position: static;
    width: calc(100% + 16px);
    margin: 32px -8px 0;
    padding: 28px 24px;
    animation: none;
  }

  .progress-inner {
    gap: 34px;
    padding-block: 64px;
  }

  .progress-copy h2 {
    font-size: 44px;
  }

  .progress-panel {
    padding: 28px 22px 26px;
  }

  .progress-values strong {
    font-size: 36px;
  }

  .progress-targets {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .progress-action {
    width: 100%;
  }

  .story {
    grid-template-columns: 1fr;
    gap: 27px;
    padding-block: 80px 24px;
  }

  .story-number {
    display: none;
  }

  .story-copy {
    grid-column: auto;
  }

  .story-heading h2 {
    font-size: 46px;
  }

  .story-copy p {
    font-size: 16px;
  }

  .editions {
    padding-bottom: 88px;
  }

  .edition,
  .edition-teens {
    display: flex;
    flex-direction: column;
    gap: 50px;
  }

  .edition-teens .edition-copy {
    order: 2;
  }

  .edition-teens .edition-image {
    order: 1;
  }

  .edition + .edition {
    margin-top: 102px;
  }

  .edition-image::before {
    inset: 14px -8px -14px 14px;
  }

  .edition-gallery-stage {
    aspect-ratio: 16 / 9;
  }

  .edition h2 {
    font-size: 52px;
  }

  .scripture,
  .closing {
    grid-template-columns: minmax(0, 1fr);
    height: auto;
    min-height: 0;
  }

  .scripture-image,
  .closing-collage {
    height: 360px;
    min-height: 0;
    overflow: hidden;
  }

  .scripture-copy,
  .closing-copy {
    width: 100%;
    height: auto;
    padding: 56px max(16px, calc((100vw - min(100% - 32px, 620px)) / 2));
  }

  .film-section {
    padding-block: 72px 88px;
  }

  .film-heading {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 34px;
  }

  .film-heading h2 {
    font-size: 44px;
  }

  .film-heading .button {
    width: 100%;
  }

  .video-wrap::before {
    inset: 9px -8px -9px 8px;
  }

  .closing-copy > * {
    max-width: 100%;
  }

  .closing h2 {
    font-size: 48px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-bottom: 28px;
  }

  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }

  .mobile-cta {
    position: fixed;
    left: 50%;
    right: auto;
    bottom: max(12px, env(safe-area-inset-bottom, 0px));
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(330px, calc(100% - 24px));
    min-height: 54px;
    padding: 0 21px;
    border: 3px solid transparent;
    border-radius: 999px;
    color: var(--green-dark);
    background:
      linear-gradient(var(--white), var(--white)) padding-box,
      linear-gradient(90deg, #007a5e 0 33.333%, #ce1126 33.333% 66.666%, #fcd116 66.666%) border-box;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: 0 14px 34px rgba(4, 27, 20, 0.24);
    transform: translateX(-50%);
  }

  .mobile-cta.is-hidden {
    display: none;
  }

  .header-action {
    display: grid;
    place-items: center;
    min-height: 40px;
    padding: 0 14px;
    border: 0;
    border-radius: 999px;
    color: var(--white);
    background: var(--green);
    box-shadow: 0 7px 18px rgba(7, 60, 45, 0.18);
  }

  .hero-veil {
    background:
      linear-gradient(180deg, rgba(4, 22, 17, 0.28) 0%, rgba(4, 22, 17, 0.62) 42%, rgba(4, 22, 17, 0.78) 100%);
  }

  .donor-dialog {
    padding: 10px;
  }

  .donor-dialog-inner {
    max-height: calc(100dvh - 20px);
    padding: 32px 22px 25px;
  }

  .donor-dialog h2 {
    font-size: 36px;
  }
}

@media (max-width: 390px) {
  .brand-copy strong {
    font-size: 15px;
  }

  .header-action {
    font-size: 11px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .eyebrow-divider {
    width: 14px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .sponsor-card h2 {
    font-size: 31px;
  }

  .progress-values strong {
    font-size: 31px;
  }

  .progress-values > div {
    display: grid;
    gap: 3px;
  }

  .progress-values > div:last-child {
    justify-items: end;
  }

  .story-heading h2,
  .film-heading h2,
  .closing h2 {
    font-size: 42px;
  }
}

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

  .hero-media .slideshow-slide img,
  .reveal {
    animation: none !important;
  }

  .reveal,
  .edition-slide,
  .closing-collage img {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .hero-media,
  .hero-story,
  .scripture-image img {
    opacity: 1;
    transform: none;
    filter: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* Cameroon donor country selector */
.donor-field select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(7,60,45,.2);
  border-radius: 12px;
  padding: 0 14px;
  background: #fff;
  color: #16332b;
  font: inherit;
  outline: none;
}
.donor-field select:focus {
  border-color: #c89b3c;
  box-shadow: 0 0 0 3px rgba(200,155,60,.14);
}
.donor-field select[aria-invalid="true"] {
  border-color: #b42318;
}
