/* Contact landing page */
.project-contact {
  background: #142f29;
  color: #f5f6ef;
  border-bottom: 1px solid #ffffff26;
}
.project-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(32px, 6vw, 90px);
  padding-block: clamp(46px, 5.6vw, 84px);
}
.project-contact-intro { padding-top: clamp(8px, 2vw, 28px); }
.project-contact-intro :is(h1, h2) {
  font: 500 clamp(42px, 4.55vw, 66px)/1.08 Manrope, sans-serif;
  letter-spacing: -.055em;
  margin: 0;
}
.project-contact-intro :is(h1, h2) em { color: #b5d9c9; font-style: normal; }
.project-contact-lead {
  max-width: 38ch;
  color: #d2e3d8;
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.75;
  margin: 26px 0 0;
}
.project-contact-direct {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-top: 36px;
  color: #e2eee7;
  font-style: normal;
}
.project-contact-mark {
  flex: none;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e4ede2;
}
.project-contact-mark img { width: 28px; height: 36px; display: block; }
.project-contact-direct strong { display: block; margin-bottom: 5px; color: #fff; }
.project-contact-direct a { display: table; font-size: 15px; line-height: 1.8; }
.project-contact-direct a:hover { text-decoration: underline; }
.project-contact-shortcuts { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 30px; }
.project-contact-shortcuts a {
  border-bottom: 1px solid #8eb3a4;
  color: #c0e0cf;
  font-size: 14px;
  font-weight: 600;
  padding: 5px 0;
}
.project-contact-shortcuts a:hover { color: white; border-color: white; }
.project-contact-form-jump { display: none; }
.project-contact-form {
  min-width: 0;
  background: #f8f8f2;
  color: #163c36;
  border-radius: 22px;
  padding: clamp(24px, 3.2vw, 44px);
}
.project-contact .project-contact-form #inquiry-title {
  margin: 0;
  color: #163c36;
  font: 600 clamp(26px, 2.25vw, 34px)/1.2 Manrope, sans-serif;
  letter-spacing: -.045em;
}
.inquiry-intro { color: #48645a; margin: 9px 0 25px; font-size: 15px; line-height: 1.6; }
.inquiry-fields, .inquiry-services > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.project-contact-form label, .inquiry-services legend {
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
}
.inquiry-fields label, .inquiry-message { display: grid; gap: 6px; }
.inquiry-fields input, .inquiry-message textarea {
  display: block;
  width: 100%;
  min-width: 0;
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  color: #163c36;
  background: #fff;
  border: 1px solid #b8c9bf;
  border-radius: 9px;
  padding: 11px 13px;
}
.inquiry-fields input::placeholder, .inquiry-message textarea::placeholder { color: #63746b; }
.project-contact :focus-visible { outline: 2px solid #b5d9c9; outline-offset: 4px; }
.project-contact-form :focus-visible { outline-color: #12685c; }
.inquiry-services { border: 0; padding: 0; min-width: 0; margin: 22px 0; }
.inquiry-services legend { padding: 0; margin-bottom: 7px; }
.inquiry-services > div { gap: 2px 12px; }
.inquiry-services label { display: flex; align-items: center; gap: 9px; padding: 4px 0; font-weight: 400; cursor: pointer; }
.inquiry-services input { flex: none; width: 17px; height: 17px; margin: 0; accent-color: #12685c; }
.inquiry-message textarea { resize: vertical; min-height: 88px; }
.inquiry-note, .project-contact-form #form-status { color: #52675d; font-size: 13px; line-height: 1.55; margin: 16px 0; }
.inquiry-note a, #copy-inquiry { color: #115e53; text-decoration: underline; }
.inquiry-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 15px 22px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #12685c;
  font: 700 15px Manrope, sans-serif;
  transition: background .2s;
}
.inquiry-action:hover { background: #0c5046; }
.inquiry-action svg { flex: none; }
.project-contact-form #copy-inquiry { border: 0; padding: 5px 0; background: none; }
.project-contact-form #inquiry-review dl { margin: 0; }
@media (max-width: 760px) {
  .project-contact-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 35px; }
  .project-contact-intro { padding-top: 0; }
  .project-contact-direct { margin-top: 22px; }
  .project-contact-shortcuts { margin-top: 17px; }
  .project-contact-form-jump { display: inline-block; }
}
@media (max-width: 480px) {
  .project-contact-form { padding: 22px 18px; border-radius: 16px; }
  .inquiry-fields { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .inquiry-services > div { column-gap: 7px; }
}

.project-contact [id] { scroll-margin-top: 100px; }
.project-contact-form [hidden] { display: none; }

.contact-page .detail-header { padding-bottom: 0; }
.detail-header nav.contact-subnav {
  flex: 0 0 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 3px 6px;
  padding: 7px 0;
  border-top: 1px solid #d0dfd6;
}
.contact-subnav a {
  display: block;
  padding: 8px 13px;
  border-radius: 5px;
  color: #385b51;
  font: 650 15px/1.35 Manrope, sans-serif;
}
.contact-subnav a:hover { background: #e9f1eb; }
.contact-subnav a[aria-current="location"] { color: #fff; background: #12685c; }
.contact-subnav a:focus-visible { outline: 2px solid #12685c; outline-offset: 2px; }
html:has(> body.contact-page) { scroll-padding-top: 0; }
.contact-page main [id] { scroll-margin-top: var(--contact-anchor-offset, 175px); }
@media (max-width: 650px) {
  .detail-header nav.contact-subnav { gap: 2px 4px; padding: 5px 0; }
  .contact-subnav a { padding: 9px 10px; font-size: 14px; }
}

.contact-menu-toggle, .contact-sections-toggle { display: none; }
.contact-page .detail-header { display: grid; grid-template-columns: auto 1fr auto; align-items: center; }
.contact-page #contact-mainnav { justify-self: end; }
.contact-page .contact-header-actions { width: auto; }
.contact-page #contact-subnav { grid-column: 1 / -1; }
.on-call-number { display: inline-block; font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 760px) {
  .contact-page .detail-header { grid-template-columns: 1fr auto; column-gap: 8px; row-gap: 4px; padding: 6px 4% 0; }
  .contact-page #contact-mainnav { grid-column: 1 / -1; justify-self: start; }
  .contact-page .contact-header-actions { grid-column: 2; grid-row: 1; justify-content: flex-end; gap: 6px; }
  .contact-page .detail-header img { display: block; width: clamp(90px, 26vw, 128px); height: 44px; }
  .contact-page .detail-header[data-menu-ready] { grid-template-columns: 1fr auto auto; }
  .contact-page [data-menu-ready] .contact-header-actions { grid-column: 2; }
  .contact-page [data-menu-ready] .contact-menu-toggle, .contact-page [data-menu-ready] .contact-sections-toggle {
    display: flex; align-items: center; justify-content: center; gap: 5px; background: transparent;
    border: 0; color: #163c36; font: 650 13px/1.3 Manrope,sans-serif; cursor: pointer;
  }
  .contact-page [data-menu-ready] .contact-menu-toggle { grid-column: 3; grid-row: 1; min-height: 44px; }
  .contact-page [data-menu-ready] .contact-sections-toggle { grid-column: 1/-1; justify-content: space-between; padding: 9px 2px; border-top: 1px solid #d0dfd6; }
  .contact-page [data-menu-ready] nav:is(#contact-mainnav,#contact-subnav) { display: none; }
  .contact-page [data-menu-ready] #contact-mainnav[data-open], .contact-page [data-menu-ready] #contact-subnav[data-open] { display: flex; padding-block: 6px; gap: 5px; width: 100%; }
  .contact-page #contact-mainnav a { padding: 8px 5px; }
  .contact-sections-toggle[aria-expanded="true"] span { transform: rotate(180deg); }
}
@media (max-width: 360px) {
  .contact-page .detail-header img { width: 78px; }
  .contact-page .contact-header-actions .detail-button { padding: 9px 7px; }
}
