/* Inherit the homepage palette and typography; this page focuses on completing an inquiry. */
.contact-page { min-height: 100vh; display: flex; flex-direction: column; }
.contact-page .contact-header { position: static; }
.contact-header-inner { width: min(1120px, calc(100% - 64px)); min-height: 88px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.contact-home-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 700; text-underline-offset: 5px; }
.contact-home-link:hover { color: var(--blue); text-decoration: underline; }
.contact-main { width: min(640px, calc(100% - 48px)); margin-inline: auto; padding-block: 56px 72px; flex: 1; }
.contact-page h1 { font-size: clamp(27px, 3.4vw, 38px); line-height: 1.5; letter-spacing: -.025em; font-weight: 750; overflow-wrap: anywhere; }
.contact-intro > p { margin-top: 18px; color: var(--muted); line-height: 1.9; }
.contact-form-intro { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.contact-form-intro > p:first-child { font-weight: 700; }
.contact-required-note { margin-top: 4px; color: var(--muted); font-size: 14px; }
.contact-form { margin-top: 24px; }
.contact-field + .contact-field { margin-top: 24px; }
.contact-field > label { display: block; margin-bottom: 8px; font-size: 16px; font-weight: 700; }
.contact-required, .contact-optional { display: inline-block; margin-left: 8px; font-size: 12px; font-weight: 700; vertical-align: middle; }
.contact-required { color: var(--blue); }
.contact-optional { color: var(--muted); font-weight: 400; }
.contact-field input, .contact-field select, .contact-field textarea { display: block; width: 100%; max-width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid #8491a3; border-radius: 4px; color: var(--ink); background: #fff; font: inherit; font-size: 16px; line-height: 1.6; caret-color: var(--blue); transition: border-color .15s, background-color .15s; }
.contact-field select { padding-right: 36px; }
.contact-field textarea { min-height: 200px; resize: vertical; }
.contact-field input:hover, .contact-field select:hover, .contact-field textarea:hover { border-color: var(--ink); }
.contact-field input:focus-visible, .contact-field select:focus-visible, .contact-field textarea:focus-visible, .contact-consent input:focus-visible { outline: 3px solid #bd6700; outline-offset: 3px; border-color: var(--blue); }
.contact-field [aria-invalid="true"] { border-color: #a52234; background: #fffafb; }
.contact-hint { margin-top: 7px; color: var(--muted); font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; }
.contact-message-field { padding-top: 24px; border-top: 1px solid var(--line); }
.contact-message-hint { margin: 0 0 10px; }
.contact-field-error { color: #a52234; font-size: 14px; margin-top: 7px; font-weight: 700; line-height: 1.7; }
.contact-errors { margin-top: 26px; padding: 18px 20px; border: 1px solid #b83343; border-radius: 4px; background: #fff6f7; color: #881f30; }
.contact-errors h2 { font-size: 17px; line-height: 1.6; }
.contact-errors p { margin-top: 8px; font-size: 14px; }
.contact-errors ul { margin: 10px 0 0; padding-left: 20px; font-size: 14px; }
.contact-errors li + li { margin-top: 5px; }
.contact-errors a { text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.contact-consent { margin-top: 26px; }
.contact-consent label { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; cursor: pointer; font-size: 14px; line-height: 1.9; }
.contact-consent input { width: 22px; height: 22px; margin: 3px 0 0; flex: 0 0 22px; accent-color: var(--blue); cursor: pointer; }
.contact-consent input[aria-invalid="true"] { outline: 2px solid #a52234; outline-offset: 2px; }
.contact-consent .contact-required { margin-left: 6px; }
.contact-submit { display: flex; width: 100%; justify-content: center; margin-top: 24px; min-height: 58px; cursor: pointer; font-size: 16px; }
.contact-submit:disabled { background: #566479; cursor: wait; box-shadow: none; }
.contact-alternative { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.contact-alternative a { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue); text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.contact-success { padding-block: 18px 28px; }
.contact-success > p { margin-top: 24px; color: var(--muted); }
.contact-success .contact-success-note { margin-top: 16px; font-size: 14px; }
.contact-success .button { margin-top: 30px; justify-content: center; min-width: 220px; }
.contact-footer { border-top: 1px solid var(--line); padding: 24px; background: #f7f9fc; color: var(--muted); font-size: 12px; }
.contact-footer > div { width: min(1120px, 100%); margin-inline: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.contact-footer small { font: 400 11px/1.8 Arial, sans-serif; }
.contact-trap { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; pointer-events: none; }
@media (max-width: 620px) {
  .contact-header-inner { width: calc(100% - 40px); min-height: 76px; gap: 16px; }
  .contact-page .wordmark { font-size: 28px; }
  .contact-page .wordmark > span { font-size: 18px; }
  .contact-home-link { font-size: 12px; white-space: nowrap; }
  .contact-main { width: calc(100% - 40px); padding-block: 32px 48px; }
  .contact-page h1 { font-size: 27px; line-height: 1.5; }
  .contact-intro > p { margin-top: 15px; font-size: 15px; }
  .contact-desktop-break { display: none; }
  .contact-form-intro { margin-top: 24px; padding-top: 20px; }
  .contact-field + .contact-field { margin-top: 22px; }
  .contact-errors { padding: 16px; }
  .contact-success { padding-top: 10px; }
  .contact-success .button { width: 100%; }
  .contact-footer > div { flex-direction: column; align-items: flex-start; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-field input, .contact-field select, .contact-field textarea { transition: none; }
}
