/* Modified production refinement layer — intentionally conservative. */
:root { --mi-body-size: 1rem; --mi-section-gap: clamp(3.5rem, 6vw, 6rem); }
/* Keep all keyboard controls discoverable without changing the brand visuals. */
.mi-skip-to-content { position:fixed; left:1rem; top:-5rem; z-index:999999;
 background:#00bfff; color:#061019; font:700 0.95rem/1.3 Arial,sans-serif;
 padding:0.85rem 1.2rem; border-radius:2px; }
.mi-skip-to-content:focus {top:0.75rem;}
:where(a,button,input,select,textarea):focus-visible {outline:2px solid #00bfff;outline-offset:3px;}
/* Text should wrap naturally in flex/grid card layouts. */
:where(.service-card,.brand-card,.shop-card,.contact-item,.suspension-brand) {min-width:0;}
:where(.service-card,.brand-card,.shop-card,.suspension-brand) :where(h2,h3,p) {overflow-wrap:break-word;}
/* Keep logo proportions: never force cropping of transparent graphics. */
:where(.service-card,.suspension-brand) img {max-width:100%;}
@media (max-width:430px) {
  /* Prevent narrow phones from introducing an accidental horizontal document scroll. */
  body { min-width:0; }
  .suspension-section-head :where(h2,h3) {overflow-wrap:normal;}
}
@media(prefers-reduced-motion:reduce) {html {scroll-behavior:auto;}}

/* 2026-11-18 visual regression fix: service hero photos are now real <img> elements.
   This avoids relative URL resolution through CSS custom properties (and works on file://).
   Keep existing photographic crop except for the suspension image, which stays contained. */
html body .mi-hero-image { isolation:isolate; background-color:#03090d; background-image:none; }
html body .mi-hero-image > img.mi-hero-photo {
  position:absolute; inset:0; width:100%; height:100%; display:block;
  object-fit:cover; object-position:center; z-index:0; max-width:none;
}
html body .suspension-hero-image > img.mi-hero-photo { object-fit:contain; }
html body .mi-hero-image::after {
  content:""; position:absolute; inset:0; display:block; pointer-events:none;
  z-index:1;
  background:linear-gradient(90deg,rgba(0,0,0,.08),rgba(0,191,255,.18) 55%,rgba(0,0,0,.8));
}
html[data-halloween-active="true"] body .mi-hero-image::after {
  background:linear-gradient(90deg,rgba(0,0,0,.08),rgba(173,99,255,.18) 55%,rgba(0,0,0,.8));
}
