.contact-page .primary-navigation a[aria-current="page"] { color: var(--orange); }
.contact-hero { position: relative; min-height: 455px; display: flex; align-items: center; overflow: hidden; color: var(--white); background: var(--navy-deep); }
.contact-hero::after { position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(7,24,39,.94), rgba(7,24,39,.76) 58%, rgba(7,24,39,.58)); content: ""; }
.contact-hero-image { position: absolute; inset: 0; background: var(--navy) url("../assets/images/mpi-hero-factory.png") center 54% / cover no-repeat; }
.contact-hero-content { position: relative; z-index: 1; padding-block: 76px; }
.contact-breadcrumb { display: flex; align-items: center; gap: 12px; margin-bottom: 38px; color: rgba(255,255,255,.72); font-size: 12px; }
.contact-breadcrumb a { color: var(--white); }
.contact-breadcrumb a:hover, .contact-breadcrumb [aria-current="page"] { color: #f0925e; }
.contact-hero h1 { max-width: 850px; margin: 0; font-size: clamp(48px, 7vw, 82px); font-weight: 600; letter-spacing: -.055em; line-height: .98; }
.contact-hero-intro { max-width: 710px; margin: 22px 0 0; color: rgba(255,255,255,.84); font-size: clamp(16px, 2vw, 19px); line-height: 1.65; }
.contact-image-note { position: absolute; right: 18px; bottom: 10px; z-index: 1; margin: 0; color: rgba(255,255,255,.72); font-size: 10px; }
.contact-section { padding-block: 88px; }
.contact-categories { background: var(--paper); }
.contact-section-intro { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 34px; }
.contact-section-intro h2, .contact-form-heading h2, .contact-information h2 { max-width: 620px; margin: 0; font-size: clamp(32px, 4vw, 48px); font-weight: 600; letter-spacing: -.045em; line-height: 1.08; }
.contact-categories .contact-section-intro .eyebrow { color: var(--orange); }
.contact-categories .contact-section-intro h2 { color: var(--navy); }
.contact-section-intro > p { max-width: 370px; margin: 0 0 5px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.contact-category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.contact-category-card { position: relative; display: grid; min-width: 0; min-height: 180px; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr auto; align-items: end; gap: 12px; overflow: hidden; padding: 20px; border: 1px solid rgba(16,43,67,.14); background: rgba(255,255,255,.7); transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.contact-category-card:hover { transform: translateY(-4px); border-color: var(--orange); box-shadow: 0 12px 25px rgba(16,43,67,.08); }
.contact-category-index { grid-column: 1 / -1; color: var(--orange); font-size: 10px; font-weight: 700; letter-spacing: .13em; }
.contact-category-card svg { width: 44px; height: 44px; grid-column: 1; grid-row: 2; align-self: center; fill: none; stroke: var(--navy); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.contact-category-card svg .contact-icon-accent { stroke: var(--orange); }
.contact-category-card > span:nth-of-type(2) { grid-column: 1 / -1; color: var(--navy); font-size: 15px; font-weight: 600; line-height: 1.3; }
.contact-category-card i { grid-column: 2; grid-row: 2; color: var(--orange); font-size: 18px; font-style: normal; }
.contact-main { background: #fff; }
.contact-main-grid { display: grid; grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr); align-items: start; gap: 34px; }
.contact-information { padding: 34px; color: var(--white); background: var(--navy); }
.contact-information .eyebrow { color: #f0925e; }
.contact-information h2 { margin-bottom: 28px; color: var(--white); font-size: clamp(27px, 3vw, 36px); }
.contact-detail { display: grid; gap: 4px; padding-block: 15px; border-top: 1px solid rgba(255,255,255,.16); }
.contact-detail-label { color: rgba(255,255,255,.58); font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.contact-detail a, .contact-detail address { color: rgba(255,255,255,.9); font-size: 15px; font-style: normal; line-height: 1.75; overflow-wrap: anywhere; }
.contact-detail a:hover, .directions-link:hover { color: #f8a174; }
.directions-link { display: inline-flex; gap: 12px; align-items: center; margin-top: 12px; padding-bottom: 5px; border-bottom: 1px solid var(--orange); color: var(--white); font-size: 12px; font-weight: 700; }
.company-identifiers { margin-top: 28px; padding: 17px 18px; background: rgba(255,255,255,.07); }
.company-identifiers .contact-detail-label { margin: 0 0 10px; }
.company-identifiers dl { display: grid; gap: 9px; margin: 0; }
.company-identifiers dl > div { display: flex; justify-content: space-between; gap: 10px; }
.company-identifiers dt { color: rgba(255,255,255,.6); font-size: 11px; }
.company-identifiers dd { margin: 0; color: var(--white); font-size: 12px; font-weight: 600; letter-spacing: .02em; overflow-wrap: anywhere; }
.contact-form-panel { min-width: 0; padding: 28px 34px 34px; border: 1px solid rgba(16,43,67,.12); background: #fff; }
.contact-form-heading { margin-bottom: 26px; }
.contact-form-heading h2 { color: var(--navy); }
.contact-form-heading > p:last-child { max-width: 570px; margin: 14px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.contact-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-field { min-width: 0; }
.form-field-wide { grid-column: 1 / -1; }
.form-field label, .consent-field > label { display: block; margin-bottom: 7px; color: var(--charcoal); font-size: 12px; font-weight: 700; }
.form-field label > span:not(.optional-label), .consent-field label > span { color: var(--orange); }
.optional-label { color: var(--muted); font-size: 11px; font-weight: 400; }
.form-field input, .form-field select, .form-field textarea { display: block; width: 100%; min-height: 46px; padding: 11px 12px; border: 1px solid rgba(16,43,67,.24); border-radius: 0; color: var(--charcoal); background: #fff; font: inherit; font-size: 14px; }
.form-field textarea { min-height: 132px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--orange); outline: 2px solid rgba(230,109,50,.2); outline-offset: 1px; }
.form-field [aria-invalid="true"], .consent-field [aria-invalid="true"] { border-color: #b42318; }
.field-hint, .privacy-note { margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.field-error { display: none; margin: 5px 0 0; color: #a4261d; font-size: 11px; line-height: 1.45; }
.field-error:not(:empty) { display: block; }
.consent-field { display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: start; column-gap: 10px; }
.consent-field > input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--orange); }
.consent-field > label { margin: 0; font-size: 12px; font-weight: 500; line-height: 1.55; }
.consent-field .field-error, .consent-field .privacy-note { grid-column: 2; }
.contact-honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; white-space: nowrap !important; }
.form-submit-row { display: grid; justify-items: start; gap: 13px; margin-top: 24px; }
.submit-button { min-width: 180px; justify-content: center; border: 0; cursor: pointer; }
.submit-button:disabled { cursor: wait; opacity: .78; }
.submit-spinner { display: none; width: 15px; height: 15px; border: 2px solid rgba(255,255,255,.45); border-top-color: var(--white); border-radius: 50%; }
.submit-button[aria-busy="true"] .submit-spinner { display: inline-block; animation: contact-spin .8s linear infinite; }
@keyframes contact-spin { to { transform: rotate(360deg); } }
.contact-form-status { max-width: 100%; margin: 0; padding: 10px 13px; font-size: 13px; line-height: 1.5; }
.contact-form-status[data-state="success"] { color: #155b36; background: #e8f5ed; }
.contact-form-status[data-state="error"] { color: #8d211a; background: #fff0ee; }
.contact-form-status[data-state="loading"] { color: var(--navy); background: var(--paper); }
.noscript-note { margin: 18px 0 0; padding: 12px; color: var(--navy); background: var(--paper); font-size: 13px; }
@media (max-width: 950px) {
  .contact-category-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-main-grid { grid-template-columns: minmax(250px, .8fr) minmax(0, 1.2fr); gap: 20px; }
  .contact-information { padding: 26px; }
  .contact-form-panel { padding-inline: 26px; }
}
@media (max-width: 800px) {
  .contact-hero { min-height: 420px; }
  .contact-hero-image { background-position: 57% center; }
  .contact-section { padding-block: 76px; }
  .contact-section-intro { display: block; }
  .contact-section-intro > p { margin-top: 15px; }
  .contact-main-grid { grid-template-columns: 1fr; gap: 22px; }
  .contact-information { order: 2; }
  .contact-form-panel { order: 1; }
}
@media (max-width: 520px) {
  .contact-hero { min-height: 390px; }
  .contact-hero-content { padding-block: 62px; }
  .contact-breadcrumb { margin-bottom: 30px; }
  .contact-hero h1 { font-size: clamp(42px, 12vw, 60px); }
  .contact-hero-intro { font-size: 15px; }
  .contact-image-note { right: 12px; font-size: 9px; }
  .contact-section { padding-block: 64px; }
  .contact-category-grid { grid-template-columns: 1fr; }
  .contact-category-card { min-height: 145px; }
  .contact-information { padding: 24px 21px; }
  .contact-form-panel { padding: 24px 20px; }
  .contact-form-grid { grid-template-columns: 1fr; gap: 15px; }
  .form-field-wide { grid-column: auto; }
  .submit-button { width: 100%; min-height: 52px; }
  .company-identifiers dl > div { align-items: flex-start; flex-direction: column; gap: 3px; }
}
@media (min-width: 521px) {
  .contact-page .footer-navigation > ul { grid-template-columns: minmax(42px, .6fr) minmax(58px, .85fr) minmax(150px, 1.9fr) minmax(70px, 1fr); gap: 8px; }
}
@media (max-width: 520px) {
  .contact-page .footer-navigation > ul { grid-template-columns: 1fr; gap: 8px; }
  .contact-page .footer-nav-group { grid-row: auto; }
  .contact-page .footer-nav-group > ul { margin-left: 4px; padding-left: 12px; border-left: 1px solid var(--orange); }
}
@media (prefers-reduced-motion: reduce) {
  .contact-category-card, .submit-spinner { transition-duration: .01ms; animation-duration: .01ms; animation-iteration-count: 1; }
}
