html {
  scroll-snap-type: none;
}

.contact-page {
  background: #f8f7fa;
  overscroll-behavior-y: auto;
}

.contact-page main > section,
.contact-page .site-footer {
  min-height: auto;
  scroll-snap-align: none;
  scroll-snap-stop: normal;
}

.contact-page .main-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.contact-page .site-footer {
  padding-top: 0;
}

.contact-page .site-footer .footer-logo,
.contact-page .site-footer .footer-brand p,
.contact-page .site-footer .footer-contact,
.contact-page .site-footer .footer-link-group,
.contact-page .site-footer .footer-bottom p,
.contact-page .site-footer .footer-bottom a {
  opacity: 1;
}

.contact-page .inquiry-screen {
  min-height: 720px;
  padding-top: 154px;
}

.contact-page .inquiry-copy h1 {
  margin: 0 0 18px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}

.contact-hero {
  position: relative;
  min-height: 860px;
  padding: 144px max(72px, calc((100vw - 1240px) / 2)) 88px;
  overflow: hidden;
  background: #f8f7fa;
}

.contact-ambient {
  position: absolute;
  top: var(--header-height);
  right: 0;
  left: 0;
  width: 100%;
  height: 170px;
  object-fit: cover;
  opacity: 0.16;
  filter: saturate(0.9);
  pointer-events: none;
}

.contact-hero::after {
  position: absolute;
  top: var(--header-height);
  right: 0;
  left: 0;
  height: 238px;
  background: linear-gradient(180deg, rgba(248, 247, 250, 0.24), #f8f7fa 84%);
  content: "";
  pointer-events: none;
}

.contact-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 650px) minmax(380px, 430px);
  justify-content: space-between;
  gap: clamp(56px, 8vw, 118px);
  width: min(1240px, 100%);
  margin: 0 auto;
}

.contact-copy {
  padding-top: 36px;
}

.contact-mark {
  position: relative;
  width: 92px;
  height: 5px;
  margin-bottom: 24px;
}

.contact-mark span {
  position: absolute;
  top: 0;
  height: 5px;
}

.contact-mark span:first-child {
  left: 0;
  width: 92px;
  background: #dbc6ac;
}

.contact-mark span:last-child {
  left: 18px;
  width: 74px;
  background: var(--green);
}

.contact-eyebrow {
  margin: 0 0 17px;
  color: var(--green);
  font-family: var(--font-accent);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.contact-copy h1 {
  width: min(650px, 100%);
  margin: 0 0 20px;
  color: var(--ink);
  font-family: var(--font-title);
  font-size: clamp(46px, 5.4vw, 78px);
  font-weight: 500;
  line-height: 1.06;
}

.contact-lead {
  width: min(560px, 100%);
  margin: 0 0 34px;
  color: rgba(4, 25, 17, 0.62);
  font-size: 16px;
  line-height: 1.7;
  text-transform: capitalize;
}

.contact-photo {
  position: relative;
  width: min(560px, 100%);
  aspect-ratio: 1816 / 1020;
  margin: 0 0 28px;
  overflow: hidden;
  background: #dfe8e1;
}

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

.contact-photo:hover img {
  transform: scale(1.025);
}

.contact-photo figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  color: var(--white);
  background: rgba(4, 25, 17, 0.72);
  backdrop-filter: blur(14px);
}

.contact-photo figcaption span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.contact-photo figcaption strong {
  font-size: 16px;
  line-height: 1.3;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: min(560px, 100%);
}

.contact-methods a {
  display: grid;
  min-width: 0;
  min-height: 104px;
  padding: 18px;
  background: var(--white);
  border: 1px solid rgba(4, 25, 17, 0.08);
  gap: 7px;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.contact-methods a:hover,
.contact-methods a:focus-visible {
  border-color: rgba(16, 150, 95, 0.42);
  box-shadow: 0 18px 40px rgba(4, 25, 17, 0.08);
  transform: translateY(-2px);
}

.contact-methods img {
  width: 32px;
  height: 32px;
  padding: 4px;
  background: var(--green);
  object-fit: contain;
}

.contact-methods span {
  color: rgba(4, 25, 17, 0.52);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.contact-methods strong {
  overflow-wrap: anywhere;
  font-size: 15px;
  line-height: 1.25;
}

.quick-panel {
  position: relative;
  align-self: start;
  margin-top: 58px;
  background: var(--green);
  box-shadow: 0 32px 70px rgba(4, 25, 17, 0.14);
}

.quick-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 0 22px;
  color: var(--white);
  background: var(--green);
}

.quick-panel-head h2 {
  margin: 0;
  font-family: var(--font-accent);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.quick-panel-head span {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(45deg) translateY(-2px);
}

.quick-form {
  display: grid;
  padding: 18px;
  gap: 12px;
}

.quick-form label {
  display: grid;
  gap: 6px;
}

.quick-form label span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
}

.quick-form input,
.quick-form textarea {
  width: 100%;
  border: 0;
  color: var(--ink);
  background: #eef0ef;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.35;
  outline: none;
  transition:
    background 160ms ease,
    box-shadow 160ms ease;
}

.quick-form input {
  height: 44px;
  padding: 0 14px;
}

.quick-form textarea {
  min-height: 142px;
  padding: 13px 14px;
  resize: vertical;
}

.quick-form input:focus,
.quick-form textarea:focus {
  background: var(--white);
  box-shadow: inset 0 0 0 2px rgba(4, 25, 17, 0.2);
}

.quick-submit {
  display: grid;
  width: 100%;
  height: 44px;
  margin-top: 4px;
  border: 0;
  color: var(--white);
  background: #05301e;
  font-family: var(--font-accent);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  place-items: center;
  transition:
    background 160ms ease,
    transform 160ms ease;
}

.quick-submit:hover,
.quick-submit:focus-visible {
  background: var(--ink);
  transform: translateY(-1px);
}

.quick-tools {
  position: absolute;
  top: 56px;
  right: -44px;
  display: grid;
  gap: 10px;
}

.quick-tools a {
  display: grid;
  width: 34px;
  height: 34px;
  color: var(--white);
  background: var(--green);
  border: 1px solid rgba(4, 25, 17, 0.08);
  box-shadow: 0 10px 24px rgba(4, 25, 17, 0.08);
  place-items: center;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.quick-tools a:hover,
.quick-tools a:focus-visible {
  box-shadow: 0 16px 34px rgba(4, 25, 17, 0.14);
  transform: translateX(2px);
}

.quick-tools img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.quick-tools span {
  display: grid;
  width: 24px;
  height: 24px;
  color: var(--ink);
  background: var(--white);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  place-items: center;
}

.contact-support {
  padding: 0 max(72px, calc((100vw - 1240px) / 2)) 94px;
  background: #f8f7fa;
}

.support-inner {
  display: grid;
  grid-template-columns: minmax(0, 500px) minmax(360px, 1fr);
  align-items: center;
  gap: clamp(38px, 7vw, 96px);
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: 34px;
  background: var(--white);
}

.support-inner figure {
  aspect-ratio: 1324 / 974;
  margin: 0;
  overflow: hidden;
}

.support-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.support-kicker {
  margin: 0 0 18px;
  color: var(--green);
  font-family: var(--font-accent);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.support-inner h2 {
  width: min(520px, 100%);
  margin: 0 0 16px;
  font-family: var(--font-title);
  font-size: 40px;
  font-weight: 500;
  line-height: 1.12;
  text-transform: capitalize;
}

.support-inner p:last-child {
  width: min(520px, 100%);
  margin: 0;
  color: rgba(4, 25, 17, 0.62);
  font-size: 15px;
  line-height: 1.7;
  text-transform: capitalize;
}

.contact-mark,
.contact-eyebrow,
.contact-copy h1,
.contact-lead,
.contact-photo,
.contact-methods a,
.quick-panel,
.support-inner {
  animation: contactIn 760ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.contact-eyebrow {
  animation-delay: 80ms;
}

.contact-copy h1 {
  animation-delay: 150ms;
}

.contact-lead {
  animation-delay: 230ms;
}

.contact-photo {
  animation-delay: 310ms;
}

.contact-methods a:nth-child(1) {
  animation-delay: 390ms;
}

.contact-methods a:nth-child(2) {
  animation-delay: 470ms;
}

.quick-panel {
  animation-delay: 210ms;
}

.support-inner {
  animation-delay: 520ms;
}

@keyframes contactIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1180px) {
  .contact-page .inquiry-screen {
    min-height: 680px;
    padding-top: 134px;
  }

  .contact-hero {
    padding-right: 64px;
    padding-left: 64px;
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 410px);
    gap: 44px;
  }

  .contact-copy h1 {
    font-size: 56px;
  }

  .quick-tools {
    right: 14px;
  }

  .contact-support {
    padding-right: 64px;
    padding-left: 64px;
  }
}

@media (max-width: 900px) {
  .contact-page .inquiry-screen {
    min-height: auto;
    padding-top: 118px;
  }

  .contact-page .inquiry-copy h1 {
    font-size: 42px;
  }

  .contact-hero {
    min-height: auto;
    padding: 112px 24px 58px;
  }

  .contact-ambient {
    height: 132px;
  }

  .contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 34px;
  }

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

  .contact-copy h1 {
    font-size: 42px;
    line-height: 1.12;
  }

  .contact-lead {
    margin-bottom: 26px;
  }

  .contact-methods {
    grid-template-columns: 1fr;
  }

  .quick-panel {
    width: min(460px, 100%);
    margin-top: 0;
  }

  .quick-tools {
    position: static;
    display: flex;
    padding: 0 18px 18px;
  }

  .contact-support {
    padding: 0 24px 68px;
  }

  .support-inner {
    display: grid;
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .support-inner h2 {
    font-size: 30px;
  }
}

@media (max-width: 480px) {
  .contact-page .inquiry-copy h1 {
    font-size: 38px;
  }

  .contact-hero {
    padding-right: 18px;
    padding-left: 18px;
  }

  .contact-copy h1 {
    font-size: 36px;
  }

  .contact-photo figcaption {
    right: 10px;
    bottom: 10px;
    left: 10px;
    padding: 12px;
  }

  .contact-photo figcaption strong {
    font-size: 14px;
  }

  .quick-panel-head,
  .quick-form {
    padding-right: 14px;
    padding-left: 14px;
  }

  .contact-support {
    padding-right: 18px;
    padding-left: 18px;
  }
}
