
/* Contact page: text left, form right.
   Kept separate from the main site stylesheet so the rest of the site is untouched. */

.contact-page-hero {
  padding-bottom: clamp(72px, 7vw, 112px);
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(390px, 0.85fr);
  gap: clamp(56px, 7vw, 110px);
  align-items: start;
}

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

.contact-copy .page-intro {
  max-width: 700px;
}

.contact-email {
  margin: 42px 0 0;
}

.contact-email a {
  color: inherit;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
}

.contact-email a:hover,
.contact-email a:focus-visible {
  opacity: .72;
}

.contact-form-card {
  width: 100%;
  max-width: 560px;
  justify-self: end;
  padding-top: 6px;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label {
  font: inherit;
  font-weight: 700;
}

.form-field input,
.form-field textarea {
  width: 100%;
  box-sizing: border-box;
  font: inherit;
  color: inherit;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(20,30,40,.22);
  border-radius: 10px;
  padding: 13px 15px;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.form-field input {
  min-height: 48px;
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.5;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: currentColor;
  box-shadow: 0 0 0 3px rgba(80,95,110,.12);
  background: rgba(255,255,255,.94);
}

.form-help,
.form-privacy {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  opacity: .72;
}

.form-actions {
  margin-top: 2px;
}

.form-submit {
  cursor: pointer;
  border: 0;
}

.form-status {
  margin: 0 0 20px;
  padding: 13px 15px;
  border: 1px solid rgba(20,30,40,.22);
  border-radius: 10px;
  background: rgba(255,255,255,.72);
  line-height: 1.5;
}

.form-status.is-success {
  border-width: 2px;
}

.form-status.is-error {
  border-style: dashed;
}

.form-required {
  white-space: nowrap;
}

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

@media (max-width: 1050px) {
  .contact-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, .78fr);
    gap: 48px;
  }

  .contact-form-card {
    max-width: 500px;
  }
}

@media (max-width: 860px) {
  .contact-hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .contact-form-card {
    max-width: 680px;
    justify-self: start;
  }

  .contact-copy .page-intro {
    max-width: 760px;
  }
}

@media (max-width: 620px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-email {
    margin-top: 32px;
  }
}


/* Cloudflare Turnstile */
.turnstile-wrap {
  min-height: 1px;
  width: 100%;
  overflow: visible;
}

.turnstile-wrap .cf-turnstile {
  max-width: 100%;
}
