/* Contact: the same full-photo and form composition as Career. */
.ab-contact-page, .ab-contact-page main { background: var(--ab-surface); color: var(--ab-ink); }
.ab-contact-page main { --site-font-size-scale: 1; font-family: var(--ab-font); }
.ab-contact-page main :is(h1,h2,p,dl,dd,figure) { margin: 0; }
.ab-contact-page main :is(h1,h2) { overflow-wrap: anywhere; }
.ab-contact-main { padding-block: 152px 48px; }
.ab-contact-intro { position: sticky; top: 120px; min-width: 0; }
.ab-contact-banner { position: relative; isolation: isolate; min-height: 430px; overflow: hidden; border-radius: var(--ab-radius-control); background: var(--ab-brand); }
.ab-contact-banner::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgb(48 14 85 / 24%) 0%, rgb(48 14 85 / 96%) 100%); }
.ab-contact-banner__media { position: absolute; z-index: -2; inset: 0; display: block; margin: 0; }
.ab-contact-banner__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.ab-contact-banner .ab-page-intro { display: flex; min-height: inherit; height: 100%; flex-direction: column; justify-content: flex-end; padding: 28px; }
.ab-contact-banner .ab-page-back { color: rgb(255 255 255 / 78%); }
.ab-contact-banner .ab-page-intro__eyebrow { color: var(--ab-accent) !important; }
body.ab-contact-page main .ab-contact-banner header.ab-page-intro.ab-page-intro h1 { max-width: 13ch; color: #fff !important; font-size: clamp(2rem, 2.7vw, 2.5rem); }
body.ab-contact-page main .ab-contact-banner .ab-page-intro__description { color: rgb(255 255 255 / 86%) !important; }
.ab-contact-page .ab-contact-eyebrow { margin-bottom: 16px; color: #fff; font-size: .75rem; font-weight: 500; line-height: 1.5; }
.ab-contact-intro h1 { max-width: 18ch; color: #fff; font-size: clamp(2rem,3vw,2.625rem); font-weight: 500; line-height: 1.15; letter-spacing: -.035em; text-wrap: balance; }
.ab-contact-page .ab-contact-intro__description { max-width: 40ch; margin-top: 16px; color: #fff; font-size: .875rem; line-height: 1.8; }
.ab-contact-intro__links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 16px; margin-top: 12px; }
.ab-contact-intro__links a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: #fff; font-size: .75rem; text-underline-offset: 5px; }
.ab-contact-intro__links a:hover { text-decoration: underline; }
.ab-contact-intro__links svg { transition: transform var(--ab-motion) var(--ab-ease); }
.ab-contact-intro__links a:hover svg { transform: translateX(3px); }
.ab-contact-information-wrap { padding-bottom: 40px; }
.ab-contact-information { min-width: 0; border-top: 1px solid var(--ab-border); padding-top: 24px; }
.ab-contact-section-heading h2 { color: var(--ab-brand); font-size: clamp(1.375rem,2vw,1.75rem); font-weight: 500; line-height: 1.3; letter-spacing: -.025em; text-wrap: balance; }
.ab-contact-page .ab-contact-section-heading p { max-width: 60ch; margin-top: 10px; color: var(--ab-muted); font-size: .8125rem; line-height: 1.8; }
.ab-contact-channels { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0 28px; padding-top: 8px; }
.ab-contact-channels > div { min-width: 0; padding-block: 16px; }
.ab-contact-channels > div:has(.ab-contact-social) { grid-column: 1/-1; display: flex; align-items: center; gap: 24px; border-top: 1px solid var(--ab-border); padding-block: 4px; }
.ab-contact-channels dt { margin-bottom: 6px; color: var(--ab-muted); font-size: .6875rem; font-weight: 500; line-height: 1.5; }
.ab-contact-channels > div:has(.ab-contact-social) dt { margin-bottom: 0; }
.ab-contact-channels dd { color: var(--ab-ink); font-size: .8125rem; line-height: 1.9; overflow-wrap: anywhere; }
.ab-contact-channels address { font-style: normal; }
.ab-contact-channels a { color: var(--ab-brand); }
.ab-contact-channels a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ab-contact-channels__phones { display: grid; justify-items: start; gap: 2px; }
.ab-contact-channels__phones a { display: inline-flex; align-items: center; min-height: 36px; font-size: .9375rem; line-height: 1.6; }
.ab-contact-channels__email { display: inline-flex; align-items: center; min-height: 36px; font-size: .9375rem; }
.ab-contact-social { display: flex; flex-wrap: wrap; gap: 0 20px; }
.ab-contact-social a { display: inline-flex; align-items: center; min-height: 44px; font-size: .75rem; }
.ab-contact-page .ab-contact-empty { padding-block: 20px; color: var(--ab-muted); font-size: .875rem; line-height: 1.75; }
/* An open form on the page, using the existing public controls. */
.ab-contact-page .contact-form { min-width: 0; padding: 0; border: 0; border-radius: 0; background: transparent; animation: contact-enter 500ms var(--ab-ease) both; }
.contact-form__heading { margin-bottom: 20px; }
.contact-form__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.contact-field { display: grid; min-width: 0; align-content: start; gap: 8px; }
.contact-field--full { grid-column: 1/-1; }
.ab-contact-page .contact-field .ab-ui-error { font-size: .75rem; line-height: 1.6; }
.contact-form__footer { display: flex; align-items: start; justify-content: space-between; gap: 20px; margin-top: 24px; }
.contact-form__footer > div { flex: 1; min-width: 0; }
.ab-contact-page .contact-form__terms { display: flex; align-items: start; gap: 10px; margin: 0; color: var(--ab-muted); font-size: .75rem; line-height: 1.8; cursor: pointer; }
.contact-form__terms input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ab-brand); }
.ab-contact-page .contact-form__footer .ab-ui-error { margin-top: 8px; font-size: .75rem; }
.ab-contact-page .contact-form__submit { flex: none; gap: 24px; min-width: 140px; margin: 0; padding-inline: 24px; }
.ab-contact-page .contact-form__submit:disabled { opacity: .65; cursor: wait; }
.contact-feedback { padding: 16px 20px; margin-bottom: 24px; border-left: 2px solid currentColor; border-radius: 0; font-size: .8125rem; line-height: 1.75; }
.contact-feedback--success { color: var(--ab-success); background: #f0f8f3; }
.contact-feedback--error { color: var(--ab-error); background: #fff5f4; }
.contact-feedback ul { margin-top: 8px; padding-left: 16px; list-style: disc; }
.contact-feedback a { text-decoration: underline; text-underline-offset: 3px; }
.ab-contact-location { padding-top: 0; border-top: 1px solid var(--ab-border); }
.ab-contact-location__heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 28px; }
.ab-contact-location h2 { color: var(--ab-brand); font-size: 1.375rem; font-weight: 500; line-height: 1.3; letter-spacing: -.025em; }
.ab-contact-location__heading a { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; color: var(--ab-brand); font-size: .75rem; }
.ab-contact-location__heading a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ab-contact-location__map { background: var(--ab-surface-subtle); }
.ab-contact-location__map iframe { display: block; width: 100%; height: clamp(280px,30vw,420px); border: 0; }
@keyframes contact-enter { from { opacity: .65; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (min-width:961px) and (max-height:900px) { .ab-contact-intro { position: static; } }
@media (max-width:1000px) and (min-width:961px) {
  .contact-form__grid { grid-template-columns: minmax(0,1fr); }
  .contact-form__footer { flex-direction: column; }
}
@media (max-width:960px) {
  .ab-contact-intro { position: static; }
  .ab-contact-banner { min-height: 360px; }
  .ab-contact-intro h1 { max-width: 22ch; font-size: 2rem; }
  .ab-contact-channels { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width:600px) {
  .ab-contact-main { padding-block: 112px 32px; }
  .ab-contact-banner { min-height: 400px; }
  .ab-contact-banner .ab-page-intro { padding: 24px; }
  .ab-contact-intro h1 { font-size: clamp(1.875rem,8vw,2.125rem); }
  .contact-form__grid { grid-template-columns: minmax(0,1fr); }
  .contact-form__footer { flex-direction: column; gap: 20px; }
  .ab-contact-page .contact-form__submit { width: 100%; justify-content: space-between; }
  .ab-contact-information-wrap { padding-bottom: 28px; }
  .ab-contact-section-heading h2 { font-size: 1.375rem; }
  .ab-contact-channels { display: block; }
  .ab-contact-channels > div, .ab-contact-channels > div:has(.ab-contact-social) { display: grid; grid-template-columns: 78px minmax(0,1fr); gap: 12px; align-items: baseline; border: 0; border-bottom: 1px solid var(--ab-border); padding-block: 12px; }
  .ab-contact-channels dt { margin-bottom: 0; }
  .ab-contact-location__heading { padding-block: 20px; }
}
@media (max-width:359px) { .ab-contact-channels > div, .ab-contact-channels > div:has(.ab-contact-social) { grid-template-columns: 68px minmax(0,1fr); } }
@media (prefers-reduced-motion:reduce) { .ab-contact-page .contact-form { animation: none; } .ab-contact-intro__links svg { transition: none; } }
@media print { .ab-contact-main { padding-top: 20px; } .ab-contact-intro { position: static; } .ab-contact-intro__links, .contact-form, .ab-contact-location__map { display: none !important; } }
