/* Contact keeps the warm section background; the form is a quiet ivory surface. */
.contact.contact-with-form {
  padding-block: clamp(80px, 8vw, 120px);
  scroll-margin-top: 0;
  font-family: "iCast Open Sans", Arial, sans-serif;
}
.contact.contact-with-form .contact-grid {
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(40px, 5vw, 76px);
}
.contact.contact-with-form .contact-introduction { min-width: 0; padding-top: 12px; }
.contact.contact-with-form .eyebrow { margin-bottom: 30px; font-size: 14px; line-height: 1.5; }
.contact.contact-with-form h2 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(44px, 4.1vw, 64px);
  line-height: 1.12;
  letter-spacing: -.045em;
}
.contact.contact-with-form .contact-introduction > p {
  max-width: 37ch;
  margin: 30px 0 0;
  color: #203c2d;
  font-size: 18px;
  line-height: 1.75;
}
.contact.contact-with-form .contact-panel { min-width: 0; padding-top: 0; }
.contact-form {
  position: relative;
  width: 100%;
  margin: 0;
  padding: clamp(28px, 3.2vw, 46px);
  background: #f9f6ef;
  border: 1px solid rgba(23, 59, 46, .18);
  color: #173b2e;
}
.contact-form-heading { margin-bottom: 30px; }
.contact-form-heading h3 {
  margin: 0 0 15px;
  font-size: clamp(25px, 2.3vw, 33px);
  line-height: 1.25;
  font-weight: 400;
  letter-spacing: -.03em;
}
.contact-form-heading > p { margin: 0; font-size: 16px; line-height: 1.7; color: #536659; }
.contact-form-heading .contact-form-instructions { margin-top: 18px; font-size: 14px; line-height: 1.6; }
.contact-form-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px 22px; }
.contact-field { min-width: 0; }
.contact-field-wide { grid-column: 1 / -1; }
.contact-field label { display: block; margin-bottom: 9px; font-size: 14px; font-weight: 700; line-height: 1.5; }
.contact-field-optional { font-weight: 400; color: #536659; }
.contact-field input,
.contact-field select,
.contact-field textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 52px;
  margin: 0;
  padding: 13px 14px;
  border: 1px solid #7d8b7b;
  border-radius: 0;
  background: #fffdfa;
  color: #173b2e;
  font: 400 16px/1.5 "iCast Open Sans", Arial, sans-serif;
  transition: border-color .18s ease, background-color .18s ease;
}
.contact-field textarea { min-height: 152px; resize: vertical; }
.contact-field input::placeholder,
.contact-field textarea::placeholder { color: #6c786e; opacity: 1; }
.contact-field select {
  appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23173b2e' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 17px 17px;
  background-position: right 14px center;
}
.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus { border-color: #173b2e; outline: 2px solid #173b2e; outline-offset: 2px; }
.contact-field [aria-invalid="true"] { border-color: #934829; }
.contact-field .contact-field-hint { margin: 10px 0 0; font-size: 14px; line-height: 1.6; color: #536659; }
.contact-field .contact-field-error { margin: 9px 0 0; font-size: 14px; line-height: 1.5; color: #843b24; }
.contact-form-footer { margin-top: 27px; }
.contact-form-notice { margin: 0 0 21px; max-width: 46ch; font-size: 14px; line-height: 1.65; color: #536659; }
.contact-form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  max-width: 100%;
  padding: 15px 25px;
  border: 1px solid #173b2e;
  border-radius: 0;
  background: #173b2e;
  color: #fffdfa;
  font: 400 16px/1.4 "iCast Open Sans", Arial, sans-serif;
  text-align: center;
  transition: background-color .18s ease;
}
.contact-form-submit:hover { background: #2e5140; }
.contact-form-submit:focus-visible { outline: 2px solid #173b2e; outline-offset: 4px; }
.contact-form-submit:disabled { opacity: .65; cursor: wait; }
.contact-form-status {
  margin: 24px 0 0;
  padding: 16px 18px;
  border-left: 3px solid #173b2e;
  background: #e8eee2;
  color: #173b2e;
  font-size: 16px;
  line-height: 1.65;
}
.contact-form-status[data-state="error"] { border-color: #934829; background: #f4e9dd; color: #633c29; }
.contact-form-status:focus { outline: 2px solid currentColor; outline-offset: 4px; }
.contact-form-noscript { margin: 22px 0 0; font-size: 14px; line-height: 1.65; color: #536659; }
.contact-form [hidden] { display: none !important; }
.contact-visually-hidden,
.contact-form-honeypot { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.contact-form-honeypot { left: -10000px; }
@media(max-width:1100px) {
  .contact.contact-with-form .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 38px; }
  .contact.contact-with-form .contact-introduction { padding-top: 0; }
  .contact.contact-with-form h2 { max-width: 17ch; font-size: clamp(42px, 6vw, 60px); }
  .contact.contact-with-form .contact-introduction > p { max-width: 58ch; margin-top: 25px; }
}
@media(max-width:600px) {
  .contact.contact-with-form { padding-block: 72px; }
  .contact.contact-with-form h2 { font-size: clamp(38px, 9.3vw, 50px); line-height: 1.16; }
  .contact.contact-with-form .contact-introduction > p { font-size: 16px; }
  .contact-form { padding: 26px 20px; }
  .contact-form-fields { grid-template-columns: minmax(0, 1fr); gap: 21px; }
  .contact-form-heading h3 { font-size: 26px; }
  .contact-form-submit { width: 100%; }
}
@media(prefers-reduced-motion:reduce) {
  .contact-field input,
  .contact-field select,
  .contact-field textarea,
  .contact-form-submit { transition: none; }
}
