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

.contact-banner {
  position: relative;
  min-height: 68dvh;
  margin-top: var(--header-height);
  overflow: hidden;
  color: #fff;
  background: #d8d0c5;
}

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

.contact-banner__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(24, 33, 28, 0.72) 0%, rgba(24, 33, 28, 0.42) 34%, rgba(24, 33, 28, 0.04) 76%);
}

.contact-banner__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: inherit;
  padding-block: 48px;
  text-align: center;
}

.contact-banner__copy {
  width: 100%;
  max-width: 560px;
}

.contact-banner__title {
  position: relative;
  isolation: isolate;
}

.contact-banner__english {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  width: max-content;
  margin: 0;
  transform: translate(-50%, -70%);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.62) 0%, rgba(255, 255, 255, 0.38) 52%, rgba(255, 255, 255, 0.12) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(32px, 10vw, 160px);
  font-weight: 800;
  letter-spacing: 0.025em;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.contact-banner__copy h1 {
  margin: 0;
  font-size: clamp(48px, 7vw, 92px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.96;
}

.contact-banner__copy > p:last-child {
  max-width: 100%;
  text-wrap: balance;
  margin: 20px auto 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.8;
}

.contact-section {
  min-height: calc(100dvh - var(--header-height));
  margin-top: 0;
  padding: clamp(82px, 9vw, 138px) 0 clamp(88px, 11vw, 160px);
  border-bottom: 1px solid #ece9e4;
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(500px, 1.14fr);
  gap: clamp(56px, 9vw, 148px);
  align-items: start;
}

.contact-intro {
  padding-top: 9px;
}

.contact-intro .section-kicker,
.contact-panel .section-kicker {
  margin-bottom: 23px;
}

.contact-intro h2 {
  max-width: 590px;
  margin: 0;
  font-size: clamp(44px, 5vw, 74px);
  font-weight: 500;
  line-height: 1.08;
}

.contact-intro h2 span {
  color: #303b35;
}

.contact-lead {
  max-width: 41ch;
  margin: 35px 0 0;
  color: var(--muted);
  line-height: 1.95;
}

.contact-data {
  margin-top: 52px;
  border-top: 1px solid var(--line);
}

.contact-data div {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 24px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.contact-data span {
  color: var(--muted);
  font-size: 13px;
}

.contact-data strong {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.65;
}

.contact-note {
  max-width: 39ch;
  margin: 28px 0 0;
  color: #8a8d89;
  font-size: 13px;
  line-height: 1.8;
}

.contact-panel {
  padding-top: 9px;
  border-top: 2px solid var(--ink);
}

.contact-panel__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.8fr);
  column-gap: 32px;
  align-items: end;
  padding: 0 0 32px;
  border-bottom: 1px solid var(--line);
}

.contact-panel__heading .section-kicker {
  grid-column: 1 / -1;
}

.contact-panel__heading h2 {
  margin: 0;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 500;
  line-height: 1.08;
}

.contact-panel__heading > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.contact-form {
  padding-top: 34px;
}

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

.contact-form .field {
  gap: 9px;
}

.contact-form .field label {
  color: #343a36;
  font-size: 13px;
}

.contact-form .field input,
.contact-form .field textarea {
  padding: 0 0 12px;
  border-bottom-color: #b9bbb8;
  color: var(--ink);
  font-size: 15px;
}

.contact-form .field input::placeholder,
.contact-form .field textarea::placeholder {
  color: #a3a6a2;
}

.contact-form .field input {
  height: 45px;
}

.contact-form .field textarea {
  min-height: 118px;
  padding-top: 10px;
  resize: vertical;
}

.contact-form .field input:focus,
.contact-form .field textarea:focus {
  border-bottom-color: var(--accent);
  background: linear-gradient(180deg, transparent 72%, #fff8f3 100%);
}

.captcha-field {
  min-width: 0;
}

.captcha-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px 16px;
  width: 100%;
  max-width: 480px;
}

.captcha-controls input {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}

.captcha-controls .field-error {
  grid-column: 1 / -1;
  grid-row: 2;
}

.contact-form .captcha-refresh {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  display: flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-height: 45px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
}

.captcha-refresh img {
  width: 110px;
  height: 38px;
  object-fit: contain;
}

.contact-submit {
  width: 100%;
  min-height: 54px;
  justify-content: space-between;
  padding: 0 20px;
  border-radius: 2px;
  font-size: 14px;
}

.contact-submit span:last-child {
  font-size: 21px;
  line-height: 1;
}

.contact-form .form-status {
  margin-top: 16px;
}

@media (max-width: 1180px) {
  .contact-banner {
    min-height: 62dvh;
  }

  .contact-banner__inner {
    width: auto;
    margin-inline: 0;
    padding-right: 20px;
    padding-left: 20px;
    padding-block: 48px;
  }

  .contact-shell {
    grid-template-columns: 1fr;
    gap: 76px;
  }

  .contact-intro h2 {
    max-width: 660px;
  }

  .contact-lead,
  .contact-note {
    max-width: 60ch;
  }
}

@media (max-width: 680px) {
  .contact-banner > img {
    object-position: 62% center;
  }

  .contact-banner__shade {
    background: linear-gradient(90deg, rgba(24, 33, 28, 0.78) 0%, rgba(24, 33, 28, 0.34) 100%);
  }

  .contact-section {
    padding-top: 62px;
  }

  .contact-shell {
    gap: 56px;
  }

  .contact-intro h2 {
    font-size: clamp(40px, 11vw, 58px);
  }

  .contact-data div {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 16px;
  }

  .contact-panel__heading {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-panel__heading > p:last-child {
    max-width: 36ch;
  }

  .contact-form .form-grid {
    grid-template-columns: 1fr;
    gap: 27px;
  }

  .contact-form .field--wide {
    grid-column: auto;
  }

  .captcha-controls {
    gap: 9px 10px;
  }
}
