/* One shared, existing slideshow stays behind the entire homepage. */
body.compact-home{isolation:isolate;background:#171817}
.compact-home>.homepage-scenes{position:fixed;inset:0;z-index:-1;pointer-events:none;transform:none;overflow:hidden;background:#171817}
.compact-home>.homepage-scenes .hero-scene{translate:none!important}
.compact-home>.homepage-scenes:after{content:'';position:absolute;inset:0;background:rgba(10,11,10,.12);pointer-events:none}
.compact-home .hero{background:transparent;perspective:none}
.compact-home .hero-overlay{background:linear-gradient(90deg,rgba(10,11,10,.8),rgba(10,11,10,.56) 58%,rgba(10,11,10,.2))}
.compact-home .combined-services,.compact-home .combined-info{background:rgba(243,241,234,.8);--muted:#3e403a;color:#171817}
.compact-home .combined-services .section-head>p,.compact-home .combined-info .section-head>p,.compact-home .combined-info .steps p{color:#3e403a}
.compact-home .combined-work,.compact-home #estimate{background:rgba(17,18,16,.73)}
.compact-home footer{background:rgba(17,18,16,.78)}
.compact-home .site-header{background:rgba(23,24,23,.86)}
.compact-home #fall-cleanout-special{background:rgba(17,18,16,.78)}
.compact-home details.service-family,.compact-home details.audience-disclosure,.compact-home .help-columns>.help-group{background:rgba(255,255,255,.82)}
.compact-home .service-family .service-card{background:rgba(255,255,255,.88)}
.compact-home .service-family .junk-service-feature{background:rgba(23,24,23,.9)}
.compact-home .help-group .guide-disclosure,.compact-home .help-group .faq-list>details{background:rgba(255,255,255,.88)}
.compact-home .combined-review .review-card{background:rgba(35,36,33,.86)}
.compact-home #estimate .estimate-form{background:rgba(232,230,223,.95)}
@media(max-width:700px){.compact-home .hero-overlay{background:rgba(10,11,10,.64)}}
@media(prefers-reduced-motion:reduce){.compact-home>.homepage-scenes .hero-scene{transition:none;transform:none}.compact-home>.homepage-scenes .hero-scene:not(:first-child){display:none}}
.compact-home .footer-bottom{color:#d9dad6}
/* User-supplied video replaces the photo rotation without changing section layout. */
.compact-home>.homepage-video-layer{position:fixed;inset:0;z-index:-1;pointer-events:none;overflow:hidden;background:#171817 url('/media/homepage-background-poster.webp') center/cover no-repeat}
.compact-home>.homepage-video-layer video{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.compact-home>.homepage-video-layer:after{content:'';position:absolute;inset:0;background:rgba(10,11,10,.12)}
.compact-home .background-video-controls{min-height:44px}
.compact-home .background-video-toggle{min-height:44px;padding:8px 12px;border:1px solid #c4c6c0;border-radius:7px;background:rgba(17,18,16,.7);color:white;font-size:14px;line-height:1.3;cursor:pointer}
.compact-home .background-video-toggle:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
@media(max-width:700px){.compact-home .background-video-controls .hero-service-name{min-width:0}.compact-home .background-video-toggle{max-width:180px}}
@media(prefers-reduced-motion:reduce){.compact-home .background-video-controls{display:flex}}
/* Leave a clear view of the trailer between the offer and the entrance text. */
.compact-home .hero{--video-reveal-space:clamp(160px,calc(100svh - 510px),420px)}
.compact-home .hero .hero-inner,.compact-home .hero:has(>.promotion-panel[data-mode="announcement"]:not([hidden])) .hero-inner{padding-top:var(--video-reveal-space)!important}
.compact-home .hero-overlay{background:linear-gradient(to bottom,rgba(10,11,10,.06) 0,rgba(10,11,10,.06) calc(var(--video-reveal-space) - 60px),rgba(10,11,10,.78) var(--video-reveal-space),rgba(10,11,10,.78) 100%)}
@media(max-width:700px){.compact-home .hero{--video-reveal-space:clamp(170px,calc(100svh - 360px),520px)}}
/* Override the legacy active-promotion dark overlay only in this video entrance. */
.compact-home .hero .hero-overlay{background:linear-gradient(to bottom,rgba(10,11,10,.06) 0,rgba(10,11,10,.06) calc(var(--video-reveal-space) - 60px),rgba(10,11,10,.78) var(--video-reveal-space),rgba(10,11,10,.78) 100%)!important}
