/* PeakResults - contact form additions.
   Loaded only on /contact-us/ on top of style.css. */

/* Honeypot: hidden from people, still readable by a script that fills every
   input. Must not use display:none or a bot can detect the trap. */
.pr-hp {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.contact__form[aria-busy="true"] .form-actions {
  opacity: 0.85;
}

.contact__form button[type="submit"][disabled] {
  cursor: progress;
  opacity: 0.7;
}

.contact__form .field__error:empty {
  min-height: 0;
  margin-top: 0;
}

/* Screen-reader-only honeypot label text stays out of the visual flow. */
.pr-hp label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .contact__form button[type="submit"][disabled] {
    transition: none;
  }
}
