/* Contact — calm, direct and conversion-focused */

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

.contact-page {
  padding: clamp(64px, 7vw, 108px) 0 clamp(76px, 8vw, 124px);
}

.contact-page__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(500px, 1.1fr);
  gap: clamp(58px, 7vw, 112px);
  align-items: start;
}

.contact-page__intro {
  min-width: 0;
}

.contact-page__intro h1 {
  max-width: 680px;
  margin: 0 0 30px;
  font-size: clamp(68px, 7.2vw, 112px);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.contact-page__lead {
  max-width: 590px;
  margin-bottom: 42px;
  color: #5b514c;
  font-size: clamp(18px, 1.45vw, 21px);
  line-height: 1.7;
}

.contact-primary-path {
  padding: 28px 0 30px;
  border-top: 1px solid var(--service-line);
  border-bottom: 1px solid var(--service-line);
}

.contact-primary-path span,
.contact-details span {
  display: block;
  margin-bottom: 8px;
  color: #7d6a60;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.45;
  text-transform: uppercase;
}

.contact-primary-path a {
  display: inline-block;
  color: var(--service-ink);
  font-family: "Noto Serif Display", Georgia, serif;
  font-size: clamp(34px, 3.2vw, 49px);
  line-height: 1.15;
  text-decoration: none;
  text-underline-offset: 6px;
}

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

.contact-details {
  display: grid;
  margin: 0;
  color: #544c48;
  font-style: normal;
}

.contact-details > div {
  padding: 25px 0;
  border-bottom: 1px solid var(--service-line);
}

.contact-details p {
  max-width: 520px;
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}

.contact-details a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--service-ink);
  font-size: 15px;
  font-weight: 700;
  text-decoration-color: rgba(74, 51, 42, 0.42);
  text-underline-offset: 5px;
}

.contact-details__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.contact-page__photo {
  margin: 42px 0 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #e7e2da;
}

.contact-page__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
}

.contact-page__map {
  width: 100%;
  height: clamp(380px, 42vw, 620px);
  margin: clamp(54px, 6vw, 92px) 0 0;
  overflow: hidden;
  background: #dedad3;
}

.contact-page__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) contrast(0.92) brightness(1.04);
}

.contact-form-panel {
  padding: clamp(42px, 4.6vw, 72px);
  background: #e7eeea;
}

.contact-form-panel__heading {
  padding-bottom: 33px;
  border-bottom: 1px solid rgba(74, 51, 42, 0.18);
}

.contact-form-panel__heading .service-eyebrow {
  margin-bottom: 18px;
  color: #667d74;
}

.contact-form-panel h2 {
  margin: 0;
  font-size: clamp(44px, 4.2vw, 66px);
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.contact-form {
  display: grid;
  gap: 25px;
  padding-top: 33px;
}

.contact-form__field {
  position: relative;
}

.contact-form label {
  display: block;
  margin-bottom: 9px;
  color: #4f4039;
  font-size: 14px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  min-height: 54px;
  padding: 13px 15px;
  border: 1px solid rgba(74, 51, 42, 0.26);
  border-radius: 0;
  outline: 0;
  color: #372722;
  background: rgba(251, 248, 243, 0.76);
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.contact-form textarea {
  min-height: 154px;
  resize: vertical;
}

.contact-form input:hover,
.contact-form textarea:hover {
  border-color: rgba(74, 51, 42, 0.48);
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  border-color: var(--service-ink);
  background: var(--service-paper);
  box-shadow: 0 0 0 3px rgba(145, 166, 158, 0.35);
}

.contact-form input[aria-invalid="true"],
.contact-form textarea[aria-invalid="true"] {
  border-color: #a34f5c;
}

.contact-form__error {
  display: block;
  min-height: 20px;
  padding-top: 5px;
  color: #8d3c49;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.contact-form__submit {
  display: inline-flex;
  width: fit-content;
  min-width: 178px;
  min-height: 54px;
  padding: 15px 28px;
  border: 1px solid var(--service-espresso);
  align-items: center;
  justify-content: center;
  color: #fffaf2;
  background: var(--service-espresso);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: color 160ms ease, background-color 160ms ease;
}

.contact-form__submit:hover {
  color: var(--service-espresso);
  background: transparent;
}

.contact-form__submit:disabled {
  cursor: wait;
  opacity: 0.62;
}

.contact-form__status {
  min-height: 25px;
  color: #435c53;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.6;
}

.contact-form__status[data-state="error"] {
  color: #8d3c49;
}

.contact-form__status:focus-visible,
.contact-page a:focus-visible,
.contact-form__submit:focus-visible {
  outline: 3px solid #b95769;
  outline-offset: 4px;
}

@media (max-width: 980px) {
  .contact-page__layout {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
    gap: 42px;
  }

  .contact-page__intro h1 {
    font-size: clamp(62px, 8.5vw, 82px);
  }

  .contact-form-panel {
    padding: 42px;
  }
}

@media (max-width: 780px) {
  .contact-page {
    padding: 52px 0 76px;
  }

  .contact-page__layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-page__intro h1 {
    margin-bottom: 24px;
    font-size: clamp(56px, 16vw, 76px);
  }

  .contact-page__lead {
    margin-bottom: 31px;
  }

  .contact-page__photo {
    display: none;
  }

  .contact-page__map {
    height: 360px;
    margin-top: 48px;
  }

  .contact-form-panel {
    margin-inline: -20px;
    padding: 42px 20px 48px;
  }

  .contact-form-panel h2 {
    font-size: clamp(42px, 12vw, 58px);
  }
}

@media (max-width: 520px) {
  .contact-page {
    padding-top: 42px;
  }

  .contact-page__lead {
    font-size: 17px;
  }

  .contact-primary-path a {
    font-size: clamp(31px, 9vw, 40px);
  }

  .contact-details__row {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .contact-form {
    gap: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-form input,
  .contact-form textarea,
  .contact-form__submit {
    transition: none;
  }
}
.contact-form__honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}
