.donation-page {
  overflow: hidden;
  background: var(--paper);
}

.donation-hero,
.donation-thanks {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  background: var(--bark-deep);
}

.donation-hero {
  min-height: 560px;
}

.donation-hero > img,
.donation-thanks > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.donation-hero > img {
  object-position: center 35%;
}

.donation-hero-shade,
.donation-thanks-shade {
  position: absolute;
  inset: 0;
}

.donation-hero-shade {
  background:
    linear-gradient(90deg, rgba(45,26,16,.94), rgba(45,26,16,.48) 54%, rgba(45,26,16,.12) 86%),
    linear-gradient(0deg, rgba(45,26,16,.54), transparent 58%);
}

.donation-hero-inner,
.donation-section,
.donation-thanks-inner {
  width: min(var(--content-max), calc(100% - (2 * var(--page-pad))));
  margin-inline: auto;
}

.donation-hero-inner {
  position: relative;
  z-index: 1;
  padding: 100px 0 78px;
}

.donation-hero h1 {
  font-size: clamp(78px, 8.2vw, 124px);
}

.donation-hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.92);
  font-size: 20px;
  line-height: 1.65;
}

.donation-hero .button {
  margin-top: 34px;
}

.donation-section {
  display: grid;
  grid-template-columns: minmax(300px, .76fr) minmax(0, 1.24fr);
  gap: clamp(50px, 7vw, 110px);
  align-items: start;
  padding-block: 105px 125px;
}

.donation-details {
  position: sticky;
  top: 120px;
  min-width: 0;
}

.donation-details h2,
.donation-form-panel h2,
.donation-thanks h2 {
  margin: 0;
  line-height: 1.04;
}

.donation-details h2,
.donation-form-panel h2 {
  color: var(--ink);
  font-size: clamp(42px, 4vw, 64px);
}

.donation-details > p:not(.eyebrow) {
  margin: 30px 0 0;
  color: #5f6864;
  font-size: 19px;
  line-height: 1.72;
}

.donation-impact {
  display: grid;
  margin-top: 42px;
  border-top: 1px solid rgba(111,67,43,.2);
}

.donation-impact > div {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 4px 14px;
  padding: 21px 0;
  border-bottom: 1px solid rgba(111,67,43,.2);
}

.donation-impact span {
  grid-row: 1 / span 2;
  color: var(--rust-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
}

.donation-impact strong {
  color: var(--ink);
  font-size: 17px;
}

.donation-impact p {
  margin: 0;
  color: #6a716e;
  font-size: 15px;
  line-height: 1.55;
}

.donation-form-panel {
  min-width: 0;
  padding: clamp(34px, 5vw, 70px);
  background: #fffdf9;
  border: 1px solid rgba(111,67,43,.17);
  border-radius: 6px;
}

.donation-form-panel > header {
  max-width: 710px;
  margin-bottom: 46px;
}

.donation-form-panel > header > p:not(.eyebrow) {
  margin: 24px 0 0;
  color: #626b67;
  font-size: 17px;
  line-height: 1.65;
}

.donation-form-panel .gform_wrapper {
  margin: 0;
}

.donation-form-panel .gform_heading {
  display: none;
}

.donation-form-panel .gform_fields {
  row-gap: 28px;
}

.donation-form-panel .gfield_label,
.donation-form-panel .gform-field-label {
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
}

.donation-form-panel .gfield_description {
  color: #66706b;
  font-size: 14px;
  line-height: 1.55;
}

.donation-form-panel input[type="text"],
.donation-form-panel input[type="email"],
.donation-form-panel input[type="number"] {
  width: 100%;
  max-width: 100%;
  min-height: 56px;
  padding: 14px 16px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(72,72,63,.25);
  border-radius: 4px;
  box-shadow: none;
}

.donation-form-panel input:focus {
  outline: 2px solid var(--honey);
  outline-offset: 2px;
  border-color: var(--rust);
}

.donation-form-panel .ginput_container_name {
  gap: 16px;
}

.donation-form-panel .ginput_container_email input[type="email"] {
  width: 100% !important;
  max-width: none;
  inline-size: 100% !important;
}

.donation-form-panel #field_2_3 input {
  font-size: 21px;
  font-weight: 800;
}

.donation-form-panel .gfield_total {
  padding: 22px 24px;
  background: rgba(222,169,75,.13);
  border-block: 1px solid rgba(111,67,43,.17);
}

.donation-form-panel .gfield_total input {
  min-height: 0;
  padding: 0;
  color: var(--rust-dark);
  background: transparent;
  border: 0;
  font-size: 28px;
  font-weight: 800;
}

.donation-form-panel .donation-total-source {
  display: none !important;
}

.donation-form-panel .donation-total-display {
  display: block;
  color: var(--rust-dark);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.25;
}

.donation-form-panel .gfield_html {
  color: #5f6864;
  font-size: 15px;
  line-height: 1.65;
}

.donation-form-panel .gform_footer {
  margin-top: 30px;
  padding: 0;
}

.donation-form-panel input[type="submit"] {
  width: 100%;
  min-height: 58px;
  margin: 0;
  padding: 16px 24px;
  color: var(--white);
  background: var(--rust);
  border: 1px solid var(--rust);
  border-radius: 3px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.donation-form-panel input[type="submit"]:hover,
.donation-form-panel input[type="submit"]:focus-visible {
  color: var(--white);
  background: var(--rust-dark);
  border-color: var(--rust-dark);
}

.donation-privacy,
.donation-form-unavailable {
  margin: 26px 0 0;
  color: #69716e;
  font-size: 14px;
  line-height: 1.6;
}

.donation-privacy a,
.donation-form-unavailable a {
  color: var(--rust-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.donation-thanks {
  min-height: 590px;
}

.donation-thanks > img {
  object-position: center 46%;
}

.donation-thanks-shade {
  background:
    linear-gradient(90deg, rgba(45,26,16,.92), rgba(45,26,16,.52) 58%, rgba(45,26,16,.18)),
    linear-gradient(0deg, rgba(45,26,16,.42), transparent 58%);
}

.donation-thanks-inner {
  position: relative;
  z-index: 1;
  padding-block: 100px;
}

.donation-thanks h2 {
  max-width: 860px;
  color: var(--white);
  font-size: clamp(48px, 5.6vw, 78px);
}

.donation-thanks .button {
  margin-top: 36px;
}

@media (max-width: 980px) {
  .donation-section {
    grid-template-columns: 1fr;
  }

  .donation-details {
    position: static;
  }
}

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

  .donation-hero > img {
    object-position: 58% center;
  }

  .donation-hero-shade {
    background: rgba(45,26,16,.63);
  }

  .donation-hero-inner,
  .donation-section,
  .donation-thanks-inner {
    width: calc(100% - 40px);
  }

  .donation-hero-inner {
    padding: 150px 0 42px;
  }

  .donation-hero h1 {
    font-size: 36px;
    line-height: 1.05;
  }

  .donation-hero-copy {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.55;
  }

  .donation-hero .button {
    width: 100%;
    margin-top: 24px;
  }

  .donation-section {
    gap: 52px;
    padding-block: 72px 82px;
  }

  .donation-details h2,
  .donation-form-panel h2 {
    font-size: 36px;
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .donation-details > p:not(.eyebrow) {
    margin-top: 24px;
    font-size: 17px;
    line-height: 1.65;
  }

  .donation-form-panel {
    padding: 30px 20px 34px;
  }

  .donation-form-panel > header {
    margin-bottom: 34px;
  }

  .donation-form-panel .gform_fields {
    row-gap: 24px;
  }

  .donation-form-panel .ginput_container_name {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .donation-form-panel .ginput_container_name > span {
    width: 100%;
    padding: 0;
  }

  .donation-form-panel .gfield_total {
    padding: 20px;
  }

  .donation-thanks {
    min-height: 520px;
  }

  .donation-thanks > img {
    object-position: 61% center;
  }

  .donation-thanks-shade {
    background: rgba(45,26,16,.7);
  }

  .donation-thanks h2 {
    font-size: 38px;
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .donation-thanks .button {
    width: 100%;
  }

  .motion-ready .donation-section [data-v2-reveal] {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-ready .donation-section [data-v2-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
