.closing {
  padding: 82px 24px 112px;
}

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

.contact-header {
  position: relative;
}

.contact-main {
  display: grid;
  grid-template-columns: minmax(340px, .82fr) minmax(560px, 1.18fr);
  min-height: calc(100vh - 92px);
}

.contact-intro {
  position: relative;
  overflow: hidden;
  padding: 112px clamp(36px, 6vw, 96px) 90px;
  color: white;
  background: var(--navy);
}

.contact-intro::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .14;
  background-image: linear-gradient(rgb(255 255 255 / 24%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 24%) 1px, transparent 1px);
  background-size: 74px 74px;
}

.contact-intro > * {
  position: relative;
  z-index: 1;
}

.contact-intro h1 {
  margin: 0;
  font-size: clamp(54px, 5.8vw, 84px);
  font-weight: 480;
  letter-spacing: -.058em;
  line-height: .98;
}

.contact-intro > p:not(.eyebrow) {
  max-width: 570px;
  margin: 32px 0 0;
  color: #b7c6d5;
  font-size: 17px;
  line-height: 1.7;
}

.contact-points {
  margin-top: 76px;
  border-top: 1px solid rgb(255 255 255 / 18%);
}

.contact-points article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 21px 0;
  border-bottom: 1px solid rgb(255 255 255 / 18%);
}

.contact-points span {
  color: #62bced;
  font: 11px monospace;
}

.contact-points p {
  max-width: 440px;
  margin: 0;
  color: #a8b9ca;
  font-size: 14px;
  line-height: 1.55;
}

.form-panel {
  padding: 108px clamp(36px, 6vw, 96px) 96px;
  background: white;
}

.form-heading h2 {
  max-width: 610px;
  margin: 0;
  font-size: clamp(38px, 3.8vw, 58px);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.06;
}

.form-heading > p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.project-form {
  max-width: 780px;
  margin-top: 54px;
}

.project-form fieldset {
  margin: 0;
  padding: 0 0 50px;
  border: 0;
}

.project-form fieldset + fieldset {
  padding-top: 46px;
  border-top: 1px solid var(--line);
}

.project-form legend {
  width: 100%;
  margin: 0 0 30px;
  padding: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
}

.project-form legend span {
  margin-right: 14px;
  color: var(--blue);
  font: 11px monospace;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 24px;
}

.project-form label:not(.consent) {
  display: grid;
  gap: 9px;
}

.project-form label > span {
  color: #33465a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
}

.full-field {
  margin-bottom: 26px;
}

.project-form input,
.project-form select,
.project-form textarea {
  width: 100%;
  border: 1px solid #cbd7e0;
  border-radius: 0;
  outline: 0;
  background: #fbfcfd;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.project-form input,
.project-form select {
  height: 54px;
  padding: 0 15px;
}

.project-form textarea {
  min-height: 150px;
  padding: 15px;
  resize: vertical;
  line-height: 1.55;
}

.project-form input:focus,
.project-form select:focus,
.project-form textarea:focus {
  border-color: var(--blue);
  background: white;
  box-shadow: 0 0 0 3px rgb(36 124 187 / 12%);
}

.project-form input::placeholder,
.project-form textarea::placeholder {
  color: #8290a0;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 620px;
  margin: 3px 0 28px;
}

.consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--blue);
}

.consent span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden;
}

.submit-button {
  min-width: 218px;
  border: 0;
  cursor: pointer;
}

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

  .contact-intro {
    padding: 92px clamp(24px, 7vw, 70px) 76px;
  }

  .contact-points {
    max-width: 700px;
    margin-top: 58px;
  }

  .form-panel {
    padding: 88px clamp(24px, 7vw, 70px);
  }
}

@media (max-width: 620px) {
  .closing {
    padding: 64px 22px 80px;
  }

  .contact-main {
    min-height: auto;
  }

  .contact-intro {
    padding: 74px 22px 66px;
  }

  .contact-intro h1 {
    font-size: clamp(50px, 15vw, 68px);
  }

  .form-panel {
    padding: 72px 22px;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .project-form {
    margin-top: 44px;
  }
}
