/* About-page color rhythm: white introduction, dark operations, then
   related pale reading and contact surfaces. */
#engineering.engineering-path {
  background: #e9f1ec;
}

#cooperation.section {
  background: #fafcfb;
  border-top-color: #d5e3dc;
}

#contact.contact {
  min-height: 710px;
  align-items: start;
  padding-top: clamp(86px, 8vw, 118px);
  padding-bottom: clamp(112px, 10vw, 150px);
  color: var(--ink);
  background: #e9f1ec;
}

#contact .contact-content {
  max-width: 550px;
}

#contact .contact-content > p {
  max-width: 31ch;
  margin-top: 24px;
  color: #405257;
  line-height: 1.75;
}

#contact .contact-methods {
  gap: 15px;
  margin-top: clamp(46px, 5vw, 70px);
  color: #405257;
}

#contact .contact-methods a {
  width: fit-content;
  color: var(--ink);
  text-decoration-color: #0b7258;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

#contact .contact-methods a:first-child {
  font-size: clamp(24px, 2.3vw, 32px);
  line-height: 1.3;
  letter-spacing: -.025em;
}

#contact .contact-methods a:nth-child(2) {
  font-size: 17px;
}

#contact .contact-methods > span {
  max-width: none;
  line-height: 1.7;
}

#contact .contact-room {
  white-space: nowrap;
}

#contact .contact-form {
  gap: 17px;
  padding: 0 0 0 clamp(32px, 4vw, 54px);
  color: var(--ink);
  background: none;
  border: 0;
  border-left: 1px solid #bfd1c7;
  box-shadow: none;
}

#contact .contact-form label {
  gap: 8px;
  color: #33434a;
  font-size: 14px;
}

#contact .contact-form input,
#contact .contact-form textarea {
  min-height: 48px;
  color: var(--ink);
  caret-color: #0b7258;
  background: #fff;
  border-color: #78968a;
}

#contact .contact-form input:hover,
#contact .contact-form textarea:hover {
  border-color: #0b7258;
}

#contact .contact-form input:focus,
#contact .contact-form textarea:focus {
  border-color: #0b7258;
  outline: 2px solid #0b7258;
  outline-offset: 2px;
}

#contact .contact-form button {
  color: #fff;
  background: #0b7258;
  transition: background-color .2s ease;
}

#contact .contact-form button:hover,
#contact .contact-form button:focus-visible {
  background: #095a47;
}

#contact .contact-form button:focus-visible {
  outline: 2px solid #0b7258;
  outline-offset: 3px;
}

#contact .form-note {
  color: #405257;
  line-height: 1.6;
}

@media (min-width: 1024px) {
  #contact .contact-address {
    white-space: nowrap;
  }
}

@media (max-width: 860px) {
  #contact.contact {
    min-height: 0;
    gap: 44px;
    padding-top: 78px;
    padding-bottom: 112px;
  }

  #contact .contact-form {
    padding: 36px 0 0;
    border-left: 0;
    border-top: 1px solid #bfd1c7;
  }

  #contact .contact-methods {
    margin-top: 38px;
  }
}

@media (max-width: 640px) {
  #contact.contact {
    gap: 36px;
    padding-top: 64px;
    padding-bottom: 100px;
  }

  #contact .contact-content > p {
    max-width: 34ch;
  }
}
