/* Contact extends the existing pearl/navy surface and shared typography. */
.contact-section-form { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(36px, 7vw, 100px); margin-top: 80px; padding-top: 64px; border-top: 1px solid var(--line); scroll-margin-top: 110px; }
.contact-intro h2 { max-width: 12ch; font-size: clamp(38px, 4.5vw, 60px); line-height: 1.05; letter-spacing: -.035em; }
.contact-intro > p { max-width: 36ch; margin-top: 24px; color: var(--muted); line-height: 1.6; }
.contact-alternatives { display: grid; justify-items: start; gap: 18px; margin-top: 32px; }
.contact-form { min-width: 0; }
.contact-form > p:first-child { margin: 0 0 26px; color: var(--muted); font-size: 14px; }
.contact-field { margin-bottom: 24px; }
.contact-field label { display: block; margin-bottom: 9px; color: var(--ink); font-size: 15px; font-weight: 600; }
.contact-field input, .contact-field textarea { display: block; width: 100%; min-height: 52px; padding: 13px 15px; border: 1px solid #7D8DA2; border-radius: 4px; background: var(--surface); color: var(--ink); font: inherit; font-size: 16px; line-height: 1.5; caret-color: var(--accent); }
.contact-field textarea { min-height: 164px; resize: vertical; }
.contact-field input:focus-visible, .contact-field textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.contact-field :user-invalid { border-color: #A52A36; }
.contact-help, .contact-privacy { color: var(--muted); font-size: 13px; line-height: 1.55; }
.contact-help { margin-top: 8px; }
.contact-privacy { margin-bottom: 22px; max-width: 55ch; }
.contact-form .btn { min-height: 52px; cursor: pointer; }
.contact-form .btn:disabled { opacity: .65; cursor: wait; }
.contact-status { margin-top: 18px; color: #9A2430; font-size: 15px; line-height: 1.5; }
.contact-status:empty { display: none; }
.contact-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.contact-thanks { align-self: start; padding: 32px; border-radius: 6px; background: var(--pale); }
.contact-thanks[hidden], .contact-form[hidden] { display: none; }
.contact-thanks h3 { font-size: clamp(28px, 3vw, 38px); letter-spacing: -.03em; line-height: 1.15; }
.contact-thanks p { margin-top: 20px; color: var(--muted); line-height: 1.6; }
.contact-thanks .text-link { margin-top: 24px; }
.calendly-wrap { grid-column: 1 / -1; justify-self: center; width: min(100%, 440px); min-height: 0; padding: 0; gap: 0; border: 0; background: transparent; }
.calendly-note { margin: 0 0 14px; color: var(--muted); font-size: 15px; line-height: 1.4; text-align: center; }
.calendly-note a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.calendly-wrap:not(.is-hydrated) .calendly-inline-widget,
.calendly-wrap:not(.is-hydrated) .calendly-inline-widget iframe { height: 0; min-height: 0; }
.calendly-wrap.is-hydrated .calendly-inline-widget { height: 630px; border: 1px solid #7D8DA2; border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.calendly-wrap.is-hydrated .calendly-inline-widget iframe { display: block; width: 100%; height: 100%; min-height: 0; border: 0; opacity: 1; }
.contact-response { padding-block: 100px; max-width: 850px; }
.contact-response h1 { margin-top: 48px; font-size: clamp(36px, 6vw, 64px); }
.contact-response p { margin-top: 28px; }
@media (max-width: 900px) {
  .contact-section-form { grid-template-columns: 1fr; gap: 40px; }
  .contact-intro h2, .contact-intro > p { max-width: 34ch; }
}
@media (max-width: 600px) {
  .contact-section-form { margin-top: 56px; padding-top: 44px; }
  .contact-form .btn { width: 100%; }
  .contact-thanks { padding: 24px; }
}
