.header-contact {
  display: flex;
  gap: 6px;
  align-items: center;
}

.header-contact a {
  display: inline-flex;
  min-width: 112px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: 1px solid rgba(16, 43, 63, .18);
  border-radius: 999px;
  color: var(--navy);
  font-size: .72rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.header-contact .email {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.contact-options {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1.1rem;
  align-items: center;
  margin-top: 1.15rem;
  color: var(--muted);
  font-size: .79rem;
}

.contact-options span {
  width: 100%;
}

.contact-options a {
  color: var(--teal);
  font-weight: 900;
  text-underline-offset: 3px;
}

.contact-page { background: #edf1f3; }
.contact-main { min-height: calc(100vh - 88px); display: grid; grid-template-columns: .9fr 1.1fr; gap: 7vw; align-items: start; padding: clamp(4rem, 8vw, 8rem) 6vw; }
.contact-intro { position: sticky; top: 140px; max-width: 650px; }
.contact-intro h1 { margin: .25em 0; font-family: Georgia, serif; font-size: clamp(3.4rem, 6.2vw, 6.4rem); font-weight: 500; letter-spacing: -.065em; line-height: .92; }
.contact-intro > p { max-width: 610px; color: var(--muted); font-size: 1.13rem; line-height: 1.75; }
.contact-direct { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 2rem; }
.contact-direct a { padding: .75rem 1rem; border: 1px solid rgba(16,43,63,.17); border-radius: 999px; color: var(--teal); font-size: .78rem; font-weight: 900; text-decoration: none; }
.contact-card { border-radius: 26px; background: #fff; box-shadow: 0 32px 90px rgba(16,43,63,.14); overflow: hidden; }
.contact-form { padding: clamp(1.6rem, 4vw, 3.6rem); }
.contact-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.contact-fields label { display: flex; flex-direction: column; gap: .5rem; color: var(--ink); font-size: .78rem; font-weight: 900; }
.contact-fields .field-heading { display: flex; min-height: 1rem; align-items: baseline; gap: .55rem; }
.contact-fields .field-heading .optional { margin-left: auto; }
.contact-fields label.full { grid-column: 1 / -1; }
.contact-fields input,.contact-fields select,.contact-fields textarea { width: 100%; padding: .95rem 1rem; border: 1px solid #cad4da; border-radius: 10px; background: #f9fbfc; color: var(--ink); font: inherit; font-size: .95rem; font-weight: 500; }
.contact-fields textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.contact-fields input:focus,.contact-fields select:focus,.contact-fields textarea:focus { outline: 3px solid rgba(47,120,160,.18); border-color: var(--accent); }
.contact-fields .website-none { flex-direction: row; align-items: center; gap: .7rem; margin-top: -.35rem; padding: .8rem 1rem; border: 1px solid #d7e0e5; border-radius: 10px; background: #f5f8f9; cursor: pointer; }
.contact-fields .website-none input { width: 18px; height: 18px; flex: 0 0 auto; margin: 0; padding: 0; }
.contact-fields .website-none span { font-size: .9rem; font-weight: 750; }
.contact-fields input:disabled { background: #e8edef; color: #78858d; cursor: not-allowed; }
.optional { color: var(--muted); font-size: .68rem; font-weight: 600; }
.field-error { display: block; color: #a12e21; font-size: .72rem; font-weight: 800; }
.form-error { margin: 0 0 1.3rem; padding: 1rem 1.1rem; border-left: 4px solid #b63f2d; background: #fff0ed; color: #7e2418; line-height: 1.5; }
.captcha-wrap { display: grid; gap: .5rem; margin: 1.5rem 0; }
.contact-submit { border: 0; cursor: pointer; font-size: .95rem; }
.contact-submit:disabled { cursor: not-allowed; opacity: .55; }
.privacy-note { margin: 1rem 0 0; color: var(--muted); font-size: .75rem; line-height: 1.55; }
.bot-field { position: absolute!important; left: -10000px!important; width: 1px!important; height: 1px!important; overflow: hidden!important; }
.contact-success { padding: clamp(2.2rem, 6vw, 5rem); }
.contact-success > span { color: var(--teal); font-size: .72rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.contact-success h2 { margin: .35em 0; font-family: Georgia, serif; font-size: clamp(3rem, 5vw, 5rem); font-weight: 500; letter-spacing: -.06em; line-height: .95; }
.contact-success p { color: var(--muted); font-size: 1.08rem; line-height: 1.7; }
.contact-footer { display: flex; justify-content: space-between; gap: 1rem; padding: 1.3rem 6vw; background: #0b2232; color: #b8c8d0; font-size: .78rem; }

@media (max-width: 900px) {
  .contact-main { grid-template-columns: 1fr; }
  .contact-intro { position: static; }
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 132px;
  }

  .header {
    height: auto;
    min-height: 88px;
    flex-wrap: wrap;
    gap: 8px 14px;
    padding: 7px 5vw 11px;
  }

  .header .wordmark {
    order: 1;
  }

  .header nav {
    display: flex;
    order: 3;
    width: 100%;
    justify-content: center;
    gap: clamp(.9rem, 5vw, 2rem);
    padding-top: 10px;
    border-top: 1px solid rgba(16, 43, 63, .12);
  }

  .header nav a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    font-size: .76rem;
  }

  .header .button {
    display: none;
  }

  .header-contact {
    order: 2;
  }

  .header-contact a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    font-size: .7rem;
  }
}

@media (max-width: 430px) {
  .wordmark img {
    height: 59px;
  }

  .header-contact a {
    min-width: 104px;
    padding: 7px 14px;
  }

  .header nav {
    justify-content: space-between;
    gap: 7px;
  }

  .header nav a {
    font-size: .68rem;
  }

  .contact-main { padding: 3.5rem 5vw; }
  .contact-intro h1 { font-size: 3.5rem; }
  .contact-fields { grid-template-columns: 1fr; }
  .contact-fields label.full { grid-column: auto; }
}
