/* Modified Install Inc. — cross-page professional polish, 2026-10-16.
   Intentionally additive: preserves the previously approved page layouts. */
:root{--mi-content-gutter:clamp(20px,4vw,76px);--mi-focus:#c995ff;}
html{scroll-behavior:smooth;scroll-padding-top:clamp(105px,9vw,134px);}
body{font-family:"Barlow",Arial,sans-serif;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;}
button,input,textarea,select{font:inherit;}
button,a{-webkit-tap-highlight-color:transparent;}
:where(a,button,input,select,textarea,[tabindex]):focus-visible{outline:2px solid var(--mi-focus);outline-offset:4px;}
img,video{max-width:100%;}
/* Standardized premium section-title treatments, maintaining Palindrome brand font. */
body .gallery-header h2,body .gallery-header h1.gallery-main-title,
body:has([data-mi-promo]) .mi-promo-heading h2{
 font-family:"Palindrome","Barlow Condensed",sans-serif!important;
 font-size:clamp(2.5rem,5vw,4rem)!important;
 font-weight:900!important;line-height:.95!important;letter-spacing:-.005em!important;
 text-transform:uppercase;color:var(--white,#f0ede8)!important;
 margin:0 0 1rem!important;
}
body .gallery-header .mi-hero-kicker,body .mi-promo-heading .mi-hero-kicker{
 color:var(--accent,#ad63ff);font-family:"Barlow Condensed",sans-serif;
 font-size:12px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;
}
/* The featured-services header shares the same width and alignment as the gallery. */
body:has([data-mi-promo]) .mi-promo-heading{padding-left:var(--mi-content-gutter)!important;padding-right:var(--mi-content-gutter)!important;}
/* Preserve banner ratio and prevent unstable carousel jumps. */
.mi-promo-viewport{aspect-ratio:2454 / 641;overflow:hidden;}
.mi-promo-slide img{display:block;}
.mi-promo-dot{cursor:pointer;}
.mi-promo-explore{font-family:"Barlow Condensed",sans-serif;font-weight:700;letter-spacing:.035em;}
/* Tap, hover, and keyboard behavior should feel deliberate rather than jarring. */
@media (hover:hover){a,button{transition-property:color,background-color,border-color,opacity,transform;transition-duration:.22s;transition-timing-function:ease;}}
@media(max-width:768px){
 html{scroll-padding-top:105px;}
 body:has([data-mi-promo]) .mi-promo-heading{padding-left:20px!important;padding-right:20px!important;}
 body .gallery-header h2,body .gallery-header h1.gallery-main-title,body:has([data-mi-promo]) .mi-promo-heading h2{font-size:clamp(2.15rem,9vw,3.25rem)!important;line-height:.98!important;}
 .mi-promo-dot{min-width:14px;min-height:14px;touch-action:manipulation;}
 .mi-promo-explore{min-height:38px;display:inline-flex;align-items:center;justify-content:flex-end;}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important;}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;}}

/* MAIN HOMEPAGE HERO: 8-slide promotional carousel */
body .mi-hero-carousel { width:100%; margin:0; padding:118px 0 0 !important; background:#0d0718; }
body .mi-hero-carousel .mi-promo-viewport { aspect-ratio:2454 / 641; width:100%; height:auto; overflow:hidden; }
body .mi-hero-carousel .mi-promo-slide picture { display:block; width:100%; height:100%; }
body .mi-hero-carousel .mi-promo-slide img { display:block; width:100%; height:100%; object-fit:cover; object-position:center center; }
body .mi-hero-carousel .mi-promo-slide .mi-excellence-img { object-position:center center; }
body .mi-hero-carousel .mi-promo-controls { position:absolute; z-index:5; bottom:0; left:0; right:0; min-height:0; display:flex; align-items:center; justify-content:space-between; padding:20px clamp(20px,4vw,76px) 16px; background:linear-gradient(to top,rgba(0,0,0,.65),transparent); }
body .mi-hero-carousel .mi-promo-explore[hidden] { display:none!important; }
body .mi-hero-carousel .mi-promo-dot { width:9px; height:9px; }
@media (max-width:768px) {
 body .mi-hero-carousel {padding-top:95px!important;}
 body .mi-hero-carousel .mi-promo-viewport { aspect-ratio:auto; height:clamp(300px,92vw,550px)!important; }
 body .mi-hero-carousel .mi-promo-slide img:not(.mi-excellence-img) { width:175%!important; max-width:none; height:100%; object-fit:cover; object-position:left center; }
 body .mi-hero-carousel .mi-promo-slide .mi-excellence-img { width:100%!important; height:100%; object-fit:cover; object-position:center; }
 body .mi-hero-carousel .mi-promo-controls { bottom:0!important; padding:14px 16px; min-height:54px; gap:12px; }
 body .mi-hero-carousel .mi-promo-dot {width:9px; height:9px; min-width:9px; min-height:9px;}
 body .mi-hero-carousel .mi-promo-dots {gap:10px;}
 body .mi-hero-carousel .mi-promo-explore {font-size:11px; white-space:normal; text-align:right;}
}
@media (max-width:420px) {body .mi-hero-carousel .mi-promo-viewport{height:90vw!important;min-height:340px;}}
@media (prefers-reduced-motion:reduce){body .mi-hero-carousel .mi-promo-slide{transition:none!important;}}
