/* XLOUD CINEMATIC v2.2: uncropped official logo and looping cinematic hero.
   Loads after v2.1 so no existing themes/pages or page data are replaced. */
/* The v2.1 smoke image baked in a cut-off logo; place a complete independent logo
   on top of a smoky backdrop instead. */
body.xloud-is-home #header,body.xloud-is-home #header.scrolled,
body.xloud-is-inner #header,body.xloud-is-inner #header.scrolled {
 background: linear-gradient(90deg,rgba(5,5,14,.16) 0%,rgba(6,5,15,.24) 24%,rgba(5,7,17,.40) 42%,#050811 64%,#05070d 100%),
 url('../images/cinematic/header-backdrop-v22.webp') left center / auto 100px no-repeat,#05070d!important;
}
body.xloud-is-home #header .navbar-section.logo,
body.xloud-is-inner #header .navbar-section.logo {min-width:242px!important;overflow:visible!important;}
body.xloud-is-home #header .navbar-brand.xloud-brand-c,
body.xloud-is-inner #header .navbar-brand.xloud-brand-c {
 display:flex!important;align-items:center!important;justify-content:flex-start!important;
 width:232px!important;max-width:232px!important;min-width:0!important;height:98px!important;
 overflow:visible!important;position:relative!important;
}
body.xloud-is-home #header .navbar-brand.xloud-brand-c img,
body.xloud-is-inner #header .navbar-brand.xloud-brand-c img {
 display:block!important;opacity:1!important;visibility:visible!important;
 width:222px!important;max-width:222px!important;height:92px!important;max-height:92px!important;
 object-fit:contain!important;object-position:center!important;
 filter:drop-shadow(0 0 9px rgba(105,30,244,.23))!important;
}
/* Prevent logo clipping by header descendants. */
body.xloud-is-home #header .navbar,body.xloud-is-inner #header .navbar,
body.xloud-is-home #header .navbar-section.logo,body.xloud-is-inner #header .navbar-section.logo {
 overflow:visible!important;
}
/* Video is real motion from the approved still, not a live camera recording.
   If video cannot play, the exact still art below it remains visible. */
@keyframes xcFallbackPan{0%,100%{background-position:48% 50%}50%{background-position:53% 50%}}
.xc-hero-photography{overflow:hidden!important;isolation:isolate!important;
 background-size:108% 108%!important;animation:xcFallbackPan 18s ease-in-out infinite!important;}
.xc-hero-video{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:fill;
 pointer-events:none;z-index:1;opacity:1;}
.xc-motion-toggle{position:absolute;right:1.2vw;bottom:9px;z-index:8;
 border:1px solid rgba(255,255,255,.38);background:rgba(4,4,14,.76);color:#f5eaf5;
 padding:6px 8px;font:800 9px/1.2 Arial,sans-serif;letter-spacing:.12em;cursor:pointer;
 border-radius:2px;backdrop-filter:blur(5px);}
.xc-motion-toggle:hover,.xc-motion-toggle:focus-visible{color:#fff;border-color:#eb14e6;outline-offset:3px;}
.xc-motion-toggle span{margin-left:5px;color:#e64bdc;}
/* Footer brand was clipped in v2.1 by a shorter container. */
.xc-footer-brand{height:70px!important;overflow:visible!important;align-self:center!important;}
.xc-footer-brand img{width:200px!important;height:68px!important;max-height:68px!important;
 object-fit:contain!important;}
.xc-footer-main{min-height:72px!important;}
@media(max-width:850px){
 body.xloud-is-home #header .navbar-section.logo,body.xloud-is-inner #header .navbar-section.logo{min-width:170px!important;}
 body.xloud-is-home #header .navbar-brand.xloud-brand-c,
 body.xloud-is-inner #header .navbar-brand.xloud-brand-c {width:170px!important;max-width:170px!important;height:75px!important;}
 body.xloud-is-home #header .navbar-brand.xloud-brand-c img,
 body.xloud-is-inner #header .navbar-brand.xloud-brand-c img {width:170px!important;max-width:170px!important;height:72px!important;max-height:72px!important;}
 .mobile-container .mobile-logo .navbar-brand img{max-width:210px!important;height:auto!important;}
 .xc-motion-toggle{bottom:9px;right:9px;}
}
@media(max-width:620px){
 .xc-footer-brand{height:auto!important;width:150px!important;flex-basis:150px!important;}
 .xc-footer-brand img{width:150px!important;height:auto!important;max-height:58px!important;}
}
@media(prefers-reduced-motion:reduce){
 .xc-hero-video{display:none!important;}
 .xc-hero-photography{animation:none!important;background-size:100% 100%!important;}
 .xc-motion-toggle{display:none!important;}
}
