/* Contact form (shown in the "Let's Talk" overlay and at /talk-to-us-form).
   Matches the form that Squarespace rendered: white rounded fields, amber pill button. */
:root {
  --field-border: #D8CFC2;
  --field-text: #1D2B24;
  --field-placeholder: #7B766A;
  --amber-btn: #C08635;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: transparent; }
body { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; color: var(--field-text); }

.talk-form { display: block; width: 100%; }
[hidden] { display: none !important; }
.field { position: relative; margin: 0 0 20px; }
.field label {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.field input[type="text"],
.field input[type="email"] {
  display: block; width: 100%; height: 48px; margin: 0; padding: 0 18px;
  font: 400 17px/1.2 "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: 0.01em; color: var(--field-text);
  background: #fff; border: 2px solid var(--field-border); border-radius: 14px; outline: none;
  -webkit-appearance: none; appearance: none;
}
.field input::placeholder { color: var(--field-placeholder); opacity: 1; }
.field input:focus, .select-wrap:focus-within { border-color: var(--field-text); }

.select-wrap { height: 48px; display: flex; background: #fff; border: 2px solid var(--field-border); border-radius: 14px; }
.select-wrap select {
  width: 100%; height: 100%; margin: 0; padding: 0 40px 0 18px; border: 0; background: transparent; outline: none;
  font: 400 17px/1.2 "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: 0.01em; color: var(--field-text);
  -webkit-appearance: none; appearance: none; cursor: pointer;
}
.select-wrap select:invalid { color: var(--field-placeholder); }
.select-wrap .chevron { position: absolute; right: 12px; top: 50%; width: 24px; height: 24px; margin-top: -12px; pointer-events: none; color: var(--field-text); }

.trap { position: absolute; left: -5000px; width: 40px; height: 48px; }

.send {
  display: block; width: 100%; height: 52px; margin: 0; padding: 0 24px; border: 0; border-radius: 999px;
  font: 600 18px "Helvetica Neue", Helvetica, Arial, sans-serif; color: #fff; background: var(--amber-btn); cursor: pointer;
}
.send:hover { filter: brightness(0.95); }
.send:disabled { opacity: 0.7; cursor: default; }

.err { margin: 12px 0 0; font-size: 14px; color: #b3261e; }
.thanks { padding: 8px 0; font-size: 17px; line-height: 1.5; color: var(--field-text); }
.thanks p { margin: 0 0 8px; }
.thanks-title { font-size: 22px; font-weight: 600; }
