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

.contact-hero {
  position: relative;
  min-height: 570px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  background: var(--bark-deep);
}

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

.contact-hero > img {
  object-position: center 38%;
}

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

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

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

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

.contact-hero h1 {
  font-size: clamp(82px, 8.5vw, 128px);
}

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

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

.contact-hero-actions .text-link {
  color: var(--white);
  border-color: rgba(255,255,255,.55);
}

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

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

.contact-details h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(38px, 3.1vw, 52px);
  line-height: 1.08;
}

.contact-form-panel h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(42px, 3.4vw, 58px);
  line-height: 1.06;
}

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

.contact-primary-donation {
  margin-top: 34px;
}

.contact-methods {
  display: grid;
  margin: 45px 0 34px;
  border-top: 1px solid rgba(111,67,43,.2);
}

.contact-methods a {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 24px 0;
  color: var(--ink);
  border-bottom: 1px solid rgba(111,67,43,.2);
}

.contact-methods span {
  color: var(--rust-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.6px;
}

.contact-methods strong {
  max-width: 100%;
  font-size: 17px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

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

.contact-form-panel > header {
  max-width: 700px;
  margin-bottom: 48px;
}

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

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

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

.contact-form-panel .gform_fields {
  row-gap: 30px;
}

.contact-form-panel .ginput_container_name .name_first {
  flex: 1 1 100%;
  max-width: 100%;
}

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

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

.contact-form-panel textarea {
  min-height: 170px;
  resize: vertical;
}

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

.contact-form-panel .gfield_radio {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}

.contact-form-panel .gchoice {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-width: 0;
}

.contact-form-panel .gchoice input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--rust);
}

.contact-form-panel .gchoice label {
  margin: 0;
  color: #4e5853;
  font-size: 15px;
  line-height: 1.48;
}

.contact-form-panel .gform_footer {
  margin-top: 34px;
  padding: 0;
}

.contact-form-panel input[type="submit"] {
  min-height: 54px;
  margin: 0;
  padding: 15px 30px;
  color: var(--white);
  background: var(--rust);
  border: 1px solid var(--rust);
  border-radius: 3px;
  font-weight: 800;
  cursor: pointer;
}

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

.contact-form-panel .gfield_validation_message,
.contact-form-panel .gform_validation_errors {
  color: #8f241d;
  background: #fff3f1;
  border-color: #c85148;
}

.contact-privacy {
  margin: 24px 0 0;
  color: #6b726e;
  font-size: 14px;
  line-height: 1.6;
}

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

.contact-donation {
  position: relative;
  min-height: 590px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--bark-deep);
}

.contact-donation > img {
  object-position: center 28%;
}

.contact-donation-shade {
  background: linear-gradient(90deg, rgba(45,26,16,.92), rgba(45,26,16,.58) 52%, rgba(45,26,16,.22));
}

.contact-donation-inner {
  position: relative;
  z-index: 1;
}

.contact-donation h2 {
  max-width: 820px;
  margin: 0 0 38px;
  color: var(--white);
  font-family: Georgia, serif;
  font-size: clamp(46px, 5vw, 76px);
  line-height: 1.04;
}

.contact-donation .button {
  min-width: 250px;
}

.motion-ready .contact-section [data-v2-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .75s ease, transform .75s ease;
}

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

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

  .contact-details {
    position: static;
  }
}

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

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

  .contact-hero-shade {
    background: linear-gradient(0deg, rgba(45,26,16,.94), rgba(45,26,16,.2) 84%);
  }

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

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

  .contact-hero h1 {
    font-size: 44px;
    line-height: 1;
  }

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

  .contact-hero-actions {
    display: grid;
    gap: 18px;
    margin-top: 24px;
  }

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

  .contact-hero-actions .text-link {
    width: max-content;
  }

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

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

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

  .contact-methods {
    margin-top: 34px;
  }

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

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

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

  .contact-form-panel .gfield_radio {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-form-panel .gchoice {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 11px;
  }

  .contact-form-panel input[type="submit"] {
    width: 100%;
  }

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

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

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

  .contact-donation h2 {
    margin-bottom: 30px;
    font-size: 38px;
    line-height: 1.08;
  }

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

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

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