/* MINGMAN · steel and cobalt edition. Load after site.css. */
:root {
  --ink: #14283f;
  --stage: #101f32;
  --navy: #14283f;
  --paper: #f3f5f7;
  --line: #c6cfd8;
  --muted: #506174;
  --blue: #2457c5;
  --blue-dark: #194396;
  --champagne: #d9e7ff;
  --frost-ink: var(--ink);
  --frost: #f6f9fc;
  --frost-dark: #192b40;
  --frost-shadow: inset 0 1px 0 #ffffffab, 0 4px 18px #15233712;
  --control-line: #81909f;
  --light-ink: #e4ebf2;
  --error-ink: #963a31;
  --machined-surface: url("https://staging-files.votrix.ai/0a192eb5-ab46-429a-bff1-87f691f3ec63/published/mingman-media/machined-aluminium.webp");
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  :root { --frost: rgb(246 249 252 / .83); --frost-dark: rgb(21 36 54 / .88); }
}

/* Let the current destination read independently of hover. */
.utility, .site-header, .nav-toggle, .header-actions .icon-button { color: var(--ink); }
.nav-item > a[aria-current], .nav-item > a:hover { color: var(--ink); }
.nav-item > a[aria-current] { text-decoration-color: var(--blue); text-underline-offset: 6px; }
.nav-flyout { background: #f4f7fbf5; color: var(--ink); border-color: #d2dce5; }
.nav-flyout a:is(:hover, :focus-visible), .header-actions .icon-button:hover, .nav-toggle:hover { background: #e2e9f1; }
.dialog:not(.mobile-dialog) { background: #f7f9fcfa; }
.dialog::backdrop { background: #12223966; }

.site-header .header-quote, .hero .hero-actions .button:first-child,
.inquiry-submit .button, .search-form .button, .vehicle-request .button,
.client-content .button, .part-example-actions .button {
  background: var(--blue); color: #fff; border-color: var(--blue);
}
.site-header .header-quote:hover, .hero .hero-actions .button:first-child:hover,
.inquiry-submit .button:hover, .search-form .button:hover, .vehicle-request .button:hover,
.client-content .button:hover, .part-example-actions .button:hover {
  background: var(--blue-dark); border-color: var(--blue-dark);
}
.hero:has(.slide:first-child:not([hidden])) { background: var(--paper); color: var(--ink); }
.hero:has(.slide:first-child:not([hidden])) .hero-copy > p, .component-caption span { color: var(--muted); }
.hero:has(.slide:first-child:not([hidden])) :is(.button.hero-secondary, .slide figcaption a) { color: var(--ink); }
.hero:has(.slide:first-child[hidden]) .hero-actions .button:first-child { color: var(--ink); background: white; border-color: white; }
.hero:has(.slide:first-child[hidden]) .hero-actions .button:first-child:hover { background: #e2ebfa; border-color: #e2ebfa; }

/* Light to the left of the part, with fine calibration marks and an unfiltered photograph. */
.component-scene {
  background: linear-gradient(103deg, #f7f9fbbe 6%, #f3f6f860 60%, #eef2f64a),
    var(--machined-surface) center / cover no-repeat, #d2dbe2;
}
.component-rig::before { border-color: #14283f2b; }
.component-scene .component-rig img { filter: drop-shadow(4px 12px 8px #18233533); }
.component-caption { color: var(--ink); border-color: #738293; }
.component-caption::before { background: #738293; }
.slider-controls .slider-dots button[aria-pressed="true"]::after { background: var(--blue); }
.slider-controls .slide-count { color: var(--muted); }
.slider-controls .slide-count b { color: var(--ink); }
.slider-controls .icon-button:hover { background: #dce5ee; }
.hero-progress { background: #71839a36; }
.hero-progress span { background: #687f99; }
.catalog-overview { background: var(--navy); border-color: var(--navy); }
.catalog-facts strong, .catalog-facts a:hover .fact-label { color: white; }
.catalog-facts .fact-label { color: var(--light-ink); }
.catalog-facts .arrow { color: #b1c6df; }
.catalog-facts a, .catalog-facts a:nth-child(-n+3) { border-color: #ffffff36; }
.catalog-facts strong, .slide-count, .part-number, .vehicle-spec strong { font-variant-numeric: tabular-nums; }

.home-featured, .tinted { background: #eaf0f4; }
.home-packing, .home-page .home-packing, .site-footer { background: var(--stage); }
.home-packing .shipment-grid p, .site-footer .quick-inquiry { color: var(--light-ink); }
.footer-grid h2 { color: #c5d7f3; }
.footer-end { border-color: #34485e; }
.callout .button { color: var(--ink); background: #ecf2fa; border-color: #ecf2fa; }
.callout .button:hover { background: white; border-color: white; }
.interior-object:not(.interior-cbu):has(.art-reference) { background: linear-gradient(108deg,#152536 5%,#2b4055 52%,#7b8c9b); }
.interior-object:not(.interior-cbu):has(.art-reference) :is(.crumbs,p) { color: #e0e8f0; }
.art-reference { background: #15263be8; border-color: #9dbaf0; }
.interior-cbu .art-reference { color: var(--ink); background: #f5f7fbf0; border-color: var(--blue); }
.catalog-material-cover {
  color: var(--ink);
  background: linear-gradient(95deg, #f6f9fbb8, #f6f9fb33 53%, transparent 83%),
    var(--machined-surface) center / cover no-repeat, #d2dbe2;
}
body:has(main > .catalog-material-cover.interior-media) .utility {
  color: var(--ink); background: transparent; text-shadow: none;
}
.catalog-material-cover :is(.crumbs, p) { color: #354757; }
.catalog-material-cover .interior-art {
  display: grid; grid-template-rows: minmax(0, 1fr) auto; justify-items: center; gap: 10px;
  inset: var(--header-space) max(5vw, calc((100vw - 1320px) / 2)) 0 53%;
  padding-block: clamp(18px, 2.5vw, 38px) clamp(24px, 2.5vw, 40px);
  mask-image: none; overflow: visible;
}
.catalog-material-cover .interior-art img {
  min-height: 0; max-width: 600px; object-fit: contain; object-position: center;
  filter: drop-shadow(2px 10px 7px #2233463d);
}
.catalog-material-cover .art-reference {
  position: static; justify-self: end; max-width: 100%; padding: 0 0 0 12px;
  border: 0; border-inline-start: 1px solid #5f7386; border-radius: 0;
  background: transparent; color: var(--ink); backdrop-filter: none; -webkit-backdrop-filter: none;
}
.section-nav, .reader-page, .inquiry-page { background: var(--paper); border-color: var(--line); }
.section-nav a { color: #314965; }
.section-nav a:is(:hover,:focus-visible), .inquiry-intro .text-link { color: var(--blue-dark); }
.reader-intro h1, .inquiry-intro h1, .model-gallery-heading h2 { color: var(--ink); }
.reader-intro p, .inquiry-intro p, .model-gallery-heading p { color: var(--muted); }

.model-gallery-section .model-gallery-media { background: #eef1f4; }
.model-gallery-card .model-gallery-label, .brand-card .brand-card-copy {
  padding-block: 10px 7px; border-color: var(--line); color: var(--ink);
}
.model-gallery-card .model-gallery-label { align-items: baseline; gap: 9px; line-height: 1.23; }
.model-gallery-heading, .model-gallery-label, .brand-card-copy { text-wrap: pretty; }
.model-gallery-label .arrow, .brand-card .arrow { color: var(--blue); }
.model-gallery-card:is(:hover,:focus-visible) .model-gallery-label,
.brand-card:is(:hover,:focus-visible) strong { color: var(--blue-dark); text-underline-offset: 4px; }
.photo-catalog-copy .part-number, .featured-caption .part-number { color: var(--muted); line-height: 1.5; }
.home-featured .featured-caption { border-color: var(--line); }
.client-nav a[aria-current="true"] { box-shadow: inset 3px 0 var(--blue); background: #e9eff8; color: var(--blue-dark); }
.client-nav a:hover { background: #e9eef4; }
.accordion details[open] summary { color: var(--blue-dark); }
.spec-table thead th, .market-table thead th { color: #fff; background: var(--navy); border-color: #536477; }
.spec-table tbody tr:nth-child(even) { background: #f0f4f7; }
.table-scroll tbody th[scope="row"] { color: var(--ink); background: #e8eef3; box-shadow: inset -1px 0 var(--line); }

#inquiry-form label, .inquiry-options summary { color: var(--ink); }
#inquiry-form .fields :is(input,select,textarea), .search-form input {
  background: #fff; color: var(--ink); border-color: var(--control-line);
}
#inquiry-form :is(input,textarea)::placeholder, .search-form input::placeholder { color: var(--muted); }
.inquiry-options, .inquiry-options:last-of-type { border-color: var(--line); }
.inquiry-options summary { min-height: 48px; }
.inquiry-options summary small, .inquiry-submit > span { color: var(--muted); }
.inquiry-options[open] summary { color: var(--blue-dark); }
.inquiry-options[open] summary::after { color: var(--blue); }
#inquiry-form .fields :is(input,select,textarea):focus-visible, .search-form input:focus-visible {
  outline: 2px solid var(--blue); outline-offset: 2px; border-color: var(--blue);
}
#inquiry-form .fields :is(input,textarea):user-invalid {
  border-color: var(--error-ink); box-shadow: inset 3px 0 var(--error-ink);
}
.site-header :focus-visible, .slider-controls :focus-visible,
.model-gallery-card:focus-visible, .brand-card:focus-visible, .section-nav a:focus-visible,
.inquiry-options summary:focus-visible, .inquiry-submit .button:focus-visible {
  outline: 2px solid var(--blue); outline-offset: 3px;
}
@media (max-width: 840px) {
  .component-scene::before { background: linear-gradient(transparent,var(--paper)); }
  .slide:has(.component-scene) figcaption a { background: var(--frost); }
}
@media (max-width: 720px) {
  .catalog-material-cover { background-position: center, 66% center; }
  .catalog-material-cover .interior-art {
    position: relative; inset: auto; width: var(--wrap); height: clamp(220px, 60vw, 320px);
    margin-inline: auto; padding-block: 6px 20px;
  }
  .catalog-material-cover .interior-art::after { display: none; }
}
@media (max-width: 599px) {
  .section-nav a { min-height: 44px; }
  #inquiry-form .fields input, #inquiry-form .fields select, .inquiry-submit .button { min-height: 46px; }
  .model-gallery-card .model-gallery-label { padding-block: 8px 6px; }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  :root { --frost: #f4f7fa; --frost-dark: #192b40; }
  .nav-flyout, .dialog:not(.mobile-dialog) { background: var(--frost); }
}
