/* Version B is opt-in on the initial Home document. Version A stays untouched. */
#sitePreloader[data-home-blend-preloader] { --composition-width: 205px; }
#sitePreloader[data-home-blend-preloader] .home-preloader-symbols { mix-blend-mode: normal; }
#sitePreloader[data-home-blend-preloader] .home-preloader-mark {
  width: 175px; height: 134px; aspect-ratio: auto; left: 50%; top: 50%; margin: 0;
  transform: translate(-50%, -50%); mix-blend-mode: normal; opacity: 0;
}
#sitePreloader[data-home-blend-preloader] .home-preloader-outline { opacity: 0; }
.home-blend-outline { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
#sitePreloader[data-home-blend-preloader] .home-preloader-fill { filter: brightness(0); opacity: 1; }
#sitePreloader[data-home-blend-preloader] .preloader-percentage { opacity: 1; }
html.home-blend-active #sitePreloader[data-home-blend-preloader] { background: transparent; }
html.home-blend-active #cookieBanner { opacity: var(--home-blend-ui, 0) !important; }
@layer mobile-navigation {
  html.home-blend-active body[data-page-type="home"] #hero {
    background: rgb(var(--home-blend-gray) var(--home-blend-gray) var(--home-blend-gray)) !important;
  }
  html.home-blend-active body[data-page-type="home"] #hero .video-stage {
    left: var(--home-blend-x) !important; top: var(--home-blend-y) !important;
    width: var(--home-blend-width) !important; height: var(--home-blend-height) !important;
    max-width: none !important; max-height: none !important; aspect-ratio: auto !important;
    transform: none !important; opacity: var(--home-blend-opacity, 0) !important; isolation: auto !important;
    background: transparent !important; box-shadow: none !important;
    mix-blend-mode: var(--home-blend-mode, difference) !important;
  }
  html.home-blend-active body[data-page-type="home"] #hero #heroVideo {
    filter: grayscale(var(--home-blend-desaturation, 1)) !important;
    opacity: 1 !important; transition: none !important;
  }
  html.home-blend-active body[data-page-type="home"] #hero .video-stage::before { opacity: calc(var(--home-blend-vignette, 0) * var(--home-blend-before, 1)) !important; }
  html.home-blend-active body[data-page-type="home"] #hero .video-stage::after { opacity: calc(var(--home-blend-vignette, 0) * var(--home-blend-after, 1)) !important; }
  html.home-blend-active body[data-page-type="home"] #hero :is(.hero-content, .hero-touch-hint),
  html.home-blend-active body[data-page-type="home"] .site-header { opacity: var(--home-blend-ui, 0) !important; }
  html.home-blend-active body[data-page-type="home"] .site-header :is(.brand-logo, .header-actions) { opacity: 1 !important; transition: none !important; }
}
