.contact-section {
  scroll-margin-top: 5rem;
  border-top: 1px solid var(--htn-line);
  background: var(--htn-mist);
}

.contact-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.contact-copy {
  max-width: 35rem;
}

.contact-copy h2 {
  margin: .75rem 0 0;
  color: var(--htn-ink);
  font-size: 1.875rem;
  line-height: 1.2;
}

.contact-copy > p:not(.eyebrow) {
  margin: 1.25rem 0 0;
  color: #334155;
  font-size: 1rem;
  line-height: 2;
}

.contact-details {
  margin-top: 2rem;
  border-left: 3px solid var(--htn-green);
  padding: .25rem 0 .25rem 1rem;
}

.contact-details .contact-details-label {
  margin: 0;
  color: #475569;
  font-size: .8rem;
  font-weight: 700;
}

.contact-details a {
  display: inline-block;
  margin-top: .35rem;
  color: var(--htn-green);
  font-size: 1rem;
  font-weight: 800;
}

.contact-details a:hover {
  text-decoration: underline;
}

.contact-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  border: 1px solid var(--htn-line);
  border-radius: 8px;
  background: var(--white);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.form-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: .5rem;
}

.form-field label {
  color: var(--htn-ink);
  font-size: .875rem;
  font-weight: 800;
}

.form-field label span {
  display: inline-block;
  margin-left: .4rem;
  border-radius: 999px;
  background: var(--htn-green);
  padding: .2rem .45rem;
  color: var(--white);
  font-size: .65rem;
  line-height: 1;
}

.form-field label small {
  color: #64748b;
  font-size: .75rem;
  font-weight: 600;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid #b8c9be;
  border-radius: 6px;
  background: var(--white);
  padding: .8rem .9rem;
  color: var(--htn-ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.form-field select {
  cursor: pointer;
}

.form-field textarea {
  min-height: 9rem;
  resize: vertical;
}

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
  border-color: #7f9f8b;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--htn-green);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(0, 132, 68, .14);
}

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

.form-note {
  margin: 0;
  color: #64748b;
  font-size: .75rem;
  line-height: 1.7;
}

.form-success {
  border: 1px solid rgba(0, 132, 68, .3);
  border-radius: 6px;
  background: var(--htn-mist);
  padding: 1rem;
  color: var(--htn-green);
  font-size: .875rem;
  font-weight: 800;
}

.form-error {
  border: 1px solid rgba(185, 28, 28, .25);
  border-radius: 6px;
  background: #fff1f2;
  padding: 1rem;
  color: #9f1239;
  font-size: .875rem;
  font-weight: 800;
  line-height: 1.7;
}

.contact-submit {
  width: 100%;
  cursor: pointer;
  border: 0;
  font: inherit;
  font-size: .875rem;
}

@media (min-width: 640px) {
  .contact-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 2rem;
  }

  .form-field-full {
    grid-column: 1 / -1;
  }

  .contact-copy h2 {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: .8fr 1.2fr;
    gap: 4rem;
  }

  .contact-copy > p:not(.eyebrow) {
    font-size: 1.125rem;
  }
}

@media (max-width: 420px) {
  .contact-copy h2 {
    font-size: 1.6rem;
  }

  .contact-form {
    padding: 1.25rem;
  }
}
