/* Consultation form. Deliberately inherits the theme's type and colour rather
   than declaring its own, so it sits inside the existing design unchanged.

   /assets/:path* is served with a 1-year immutable Cache-Control header
   (vercel.json), and this file is referenced by a fixed URL from every
   page. Bump the "?v=" query string on that <link> everywhere it's
   referenced whenever this file changes, or cached browsers/edges will
   keep serving the old CSS indefinitely. */

.pps-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
}

.pps-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

/* Full-width rows. */
.pps-field--wide,
.pps-form > .pps-form-actions,
.pps-form > .pps-form-status {
  grid-column: 1 / -1;
}

.pps-field label {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.pps-field .req {
  color: #b3261e;
  margin-left: 0.15em;
}

.pps-field input,
.pps-field select,
.pps-field textarea {
  width: 100%;
  font: inherit;
  padding: 0.7rem 0.85rem;
  border: 1px solid #c9c9c9;
  border-radius: 4px;
  background: #fff;
  color: inherit;
}

.pps-field textarea {
  min-height: 8rem;
  resize: vertical;
}

.pps-field input:focus,
.pps-field select:focus,
.pps-field textarea:focus {
  outline: 2px solid #1a1a1a;
  outline-offset: 1px;
  border-color: #1a1a1a;
}

.pps-field.has-error input,
.pps-field.has-error select,
.pps-field.has-error textarea {
  border-color: #b3261e;
}

.pps-field-error {
  color: #b3261e;
  font-size: 0.82rem;
}

/* Honeypot — off-screen rather than display:none, which some bots detect. */
.pps-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.pps-form-actions button {
  font: inherit;
  font-weight: 600;
  padding: 0.8rem 2rem;
  border: 0;
  border-radius: 4px;
  background: #1a1a1a;
  color: #fff;
  cursor: pointer;
}

.pps-form-actions button:hover:not(:disabled) {
  opacity: 0.85;
}

.pps-form-actions button:disabled {
  opacity: 0.6;
  cursor: default;
}

.pps-form-status {
  margin: 0;
  min-height: 1.4em;
  font-size: 0.92rem;
}

.pps-form-status.is-ok { color: #146c2e; }
.pps-form-status.is-error { color: #b3261e; }

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

/* This form also gets dropped into a few dark-background layouts (the
   "Request a Consultation" modal, the side flyout, and the mid-page
   form-bg.png section) where the inherited body text colour is nearly
   invisible. Force light text and higher-contrast accents there. */
.request-consultation .pps-field label,
.right-consultation-from .pps-field label,
.form-section .pps-field label {
  color: #fff;
}

.request-consultation .pps-field .req,
.right-consultation-from .pps-field .req,
.form-section .pps-field .req {
  color: #ff8a80;
}

.request-consultation .pps-form-status.is-ok,
.right-consultation-from .pps-form-status.is-ok,
.form-section .pps-form-status.is-ok {
  color: #6fe08f;
}

.request-consultation .pps-form-status.is-error,
.right-consultation-from .pps-form-status.is-error,
.form-section .pps-form-status.is-error {
  color: #ff8a80;
}

/* Mid-page consultation band. The Gravity Form title and description used
   to render here; the replacement form has to carry them itself. */
.form-section .pps-form-title {
  color: #fff;
  font-family: "tenon", serif;
  font-weight: 500;
  font-size: 55px;
  line-height: normal;
  letter-spacing: 1px;
  text-align: center;
  width: 100%;
  margin: 0 auto 5px;
}

.form-section .pps-form-lead {
  color: #fff;
  font-family: "europa", sans-serif;
  font-weight: 300;
  font-size: 25px;
  line-height: 1.4;
  text-align: center;
  display: block;
  margin: 0 0 30px;
}

.form-section .consultation-form .pps-form-actions {
  text-align: center;
}

.form-section .consultation-form .pps-form-actions button {
  font-family: "europa", sans-serif;
  font-weight: 700;
  color: #fff;
  background: #cb7ea7;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 15px 40px;
  border: 0;
  border-radius: 0;
}

.form-section .consultation-form .pps-form-actions button:hover:not(:disabled) {
  background: #5c5e65;
  opacity: 1;
}

@media (max-width: 1199px) {
  .form-section .pps-form-title { font-size: 50px; }
  .form-section .pps-form-lead { font-size: 21px; }
}

@media (max-width: 1024px) {
  .form-section .pps-form-title { font-size: 40px; }
}

@media (max-width: 770px) {
  .form-section .pps-form-title {
    font-size: 33px;
    padding-bottom: 6px;
  }
  .form-section .pps-form-lead {
    font-size: 17px;
    line-height: 26px;
    margin-left: 5px;
    margin-right: 5px;
  }
}

/* Homepage "Stay in the Know" band. The theme styles `.footer_filter form`
   as one email field beside a button. This slot is a consultation form, so
   those rules have to be reset or the fields collide. */
.footer_filter:has(.pps-form) {
  max-width: 760px;
}
.footer_filter form.pps-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  text-align: left;
}
.footer_filter .pps-form input,
.footer_filter .pps-form select,
.footer_filter .pps-form textarea {
  max-width: none;
  width: 100%;
  height: auto;
  padding: 0.7rem 0.85rem;
  font-size: 16px;
  line-height: 1.4;
}
.footer_filter .pps-form input:focus,
.footer_filter .pps-form select:focus,
.footer_filter .pps-form textarea:focus {
  outline: 2px solid #fff;
  outline-offset: 1px;
}
.footer_filter .pps-field label {
  color: #fff;
}
.footer_filter .pps-field .req {
  color: #ff8a80;
}
.footer_filter .pps-form textarea {
  min-height: 6.5rem;
}
.footer_filter .pps-form-actions {
  text-align: left;
}
.footer_filter .pps-form-actions button {
  background: #cb7ea7;
  border-radius: 0;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.footer_filter .pps-form-actions button:hover:not(:disabled) {
  background: #5c5e65;
  opacity: 1;
}
.footer_filter .pps-form-status.is-ok { color: #b6f3c8; }
.footer_filter .pps-form-status.is-error { color: #ff8a80; }

@media (max-width: 700px) {
  .footer_filter form.pps-form {
    grid-template-columns: 1fr;
  }
}

.pps-privacy-note{font-size:12px;line-height:1.5;opacity:.8;margin:8px 0 0;}
.pps-privacy-note a{text-decoration:underline;color:inherit;}
