/* Inline inquiry follows the shared Pricing palette and native form controls. */
@layer base, components, utilities;
@layer components {
.company-page { margin: 0; color: var(--header-ink); background: var(--site-color-paper); font-family: var(--type-font-text); font-weight: var(--type-weight-regular); }
.contact-page, .contact-page * { box-sizing: border-box; }
.contact-page {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--site-space-32) var(--site-space-64);
  padding-bottom: var(--site-space-64);
  color: var(--header-ink);
}
.contact-intro { grid-column: 1; grid-row: 1; }
.contact-intro h1 { margin: 0 0 var(--site-space-24); }
.contact-intro p { max-width: 36ch; margin: 0; color: var(--header-muted); font-size: var(--type-body-size); line-height: var(--type-line-body); text-wrap: pretty; }
.contact-form-area { grid-column: 2; grid-row: 1; min-width: 0; }
.contact-page a:focus-visible { outline: var(--site-focus-ring); outline-offset: var(--site-space-2); }
.contact-offices { grid-column: 1 / -1; margin-top: var(--site-space-32); padding-top: var(--site-space-48); border-top: 1px solid var(--header-line); }
.contact-offices h2 { letter-spacing: var(--type-heading-3-track); margin: 0 0 var(--site-space-32); color: inherit; font-size: var(--type-heading-3-size); font-weight: var(--type-heading-3-weight); line-height: var(--type-heading-3-line); }
.contact-office-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--site-space-64); }
/* The heading stays first in the markup; only the photo moves above it on screen. */
.contact-office-list > section { display: flex; flex-direction: column; }
.contact-office-list .contact-office-photo { order: -1; }
.contact-offices h3 { letter-spacing: var(--type-heading-4-track); margin: 0 0 var(--site-space-24); color: inherit; font-size: var(--type-heading-4-size); font-weight: var(--type-heading-4-weight); line-height: var(--type-heading-4-line); }
.contact-offices .contact-office-photo { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; margin: 0 0 var(--site-space-24); }
.contact-offices address { font-style: normal; }
.contact-offices dl { display: grid; row-gap: var(--site-space-24); margin: 0; }
.contact-offices dt { margin: 0 0 var(--site-space-8); font-size: var(--type-body-sm-size); font-weight: var(--type-weight-semibold); line-height: var(--type-line-body); }
.contact-offices dd { margin: 0; color: var(--header-muted); font-size: var(--type-body-size); font-weight: var(--type-weight-regular); line-height: var(--type-line-body); }
/* Each fact is a dt/dd group. From 1024px the address fills the left column and the other facts stack on the right. */
@media (min-width: 1024px) {
  .contact-offices dl { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--site-space-32); row-gap: var(--site-space-16); align-items: start; }
  .contact-offices dl > div { grid-column: 2; }
  .contact-offices .contact-office-address { grid-column: 1; grid-row: 1 / span 2; }
  /* An office with only an address keeps the full width. */
  .contact-offices .contact-office-address:only-child { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  .contact-page { grid-template-columns: minmax(0, 1fr); gap: var(--site-space-32); padding-bottom: var(--site-space-48); }
  .contact-intro, .contact-form-area { grid-column: auto; grid-row: auto; }
  .contact-intro p { max-width: none; }
  .contact-office-list { grid-template-columns: minmax(0, 1fr); gap: var(--site-space-48); }
}
}
