/* V09 · approved logo, stable hero, interactive header/footer */
html {scroll-behavior:smooth}
/* Always show the supplied PNG — never reconstruct the arrow or letters in CSS. */
.site-header .logo-pair,.footer-brand .logo-pair,
.brand-tile-stavi .logo-pair {display:block!important;aspect-ratio:2048/682!important;overflow:visible!important;position:relative}
.site-header .logo-pair{width:185px!important;max-width:185px!important}
.footer-brand .logo-pair{width:230px!important;max-width:230px!important}
.site-header .logo-pair img.approved-logo,.footer-brand .logo-pair img.approved-logo,
.brand-tile-stavi .logo-pair img.approved-logo {display:block!important;position:static!important;width:100%!important;height:100%!important;object-fit:contain!important;opacity:1!important;visibility:visible!important}
.v8-brand-brandtile img[src$="stavi-logo-user-original.png"]{width:min(100%,300px);max-height:170px;object-fit:contain}
/* Top header becomes semi-transparent ONLY after page scrolls. */
.site-header,body:not(.v6-home) .site-header,.v6-home .site-header{background:rgba(6,12,26,.97)!important;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);transition:background .32s ease,box-shadow .32s ease,border-color .32s ease!important}
.site-header.is-scrolled,body:not(.v6-home) .site-header.is-scrolled,.v6-home .site-header.is-scrolled{background:rgba(6,12,26,.58)!important;backdrop-filter:blur(18px) saturate(1.24)!important;-webkit-backdrop-filter:blur(18px) saturate(1.24)!important;box-shadow:0 14px 38px rgba(0,0,0,.18)!important;border-bottom-color:rgba(185,205,255,.15)!important}
/* Upper CTA: white background, dark text on hover */
.site-header .header-cta,.v6-home .header-cta{transition:color .24s ease,background-color .24s ease,box-shadow .24s ease,transform .24s ease!important}
.site-header .header-cta:hover,.site-header .header-cta:focus-visible,.v6-home .header-cta:hover{background:#ffffff!important;color:#0a1835!important;box-shadow:0 10px 28px rgba(255,255,255,.22)!important;transform:translateY(-2px)}
/* Footer CTA: white text and electric-blue underline on hover */
.site-footer .footer-cta{position:relative;text-decoration:none;transition:color .2s ease!important}
.site-footer .footer-cta:after{content:"";position:absolute;bottom:-5px;left:0;right:52px;height:2px;background:#327eff;transform:scaleX(0);transform-origin:left;transition:transform .3s ease}
.site-footer .footer-cta:hover,.site-footer .footer-cta:focus-visible{color:#ffffff!important}
.site-footer .footer-cta:hover:after,.site-footer .footer-cta:focus-visible:after{transform:scaleX(1)}
/* Back to top: underline and playful lift */
.site-footer .back-top{position:relative;text-decoration:none;display:inline-flex;align-items:center;gap:7px;transition:transform .25s ease,color .25s ease!important}
.site-footer .back-top:after{content:"";position:absolute;bottom:-4px;left:0;right:0;height:1px;background:currentColor;transform:scaleX(0);transform-origin:left;transition:transform .25s}
.site-footer .back-top:hover,.site-footer .back-top:focus-visible{color:#74aaff!important;transform:translateY(-6px)}
.site-footer .back-top:hover:after,.site-footer .back-top:focus-visible:after{transform:scaleX(1)}
/* Wide Home hero, correct natural image aspect; don't stretch the photograph. */
.v6-home .v6-hero{min-height:710px!important;background:#0a1223}
.v6-home .v6-hero-bg{background-image:url('assets/hero-studio-ui-v09.webp')!important;background-repeat:no-repeat!important;background-size:contain!important;background-position:center center!important;background-color:#08101f!important}
.v6-home .v6-hero-overlay{background:linear-gradient(90deg,rgba(2,7,18,.75) 0%,rgba(2,7,18,.52) 21%,rgba(2,7,18,.22) 46%,rgba(2,7,18,.05) 85%)!important}
.v6-home .v6-hero-inner{width:min(1470px,calc(100% - 96px))!important;min-height:710px!important;max-width:1470px!important;margin-inline:auto!important;justify-content:flex-start!important;align-items:center!important;padding:75px 0!important}
.v6-home .v6-hero-copy{margin-left:0!important;width:min(35vw,510px)!important;max-width:510px!important;position:relative;z-index:2}
.v6-home .v6-hero h1{font-size:clamp(39px,3.35vw,60px)!important;line-height:1.06!important}
.v6-home .v6-hero h1 em{white-space:normal!important}
@media(max-width:1150px){
 .v6-home .v6-hero-copy{width:50vw!important;max-width:510px!important}
 .v6-home .v6-hero-inner{width:calc(100% - 64px)!important}
 .v6-home .v6-hero-overlay{background:linear-gradient(90deg,rgba(3,8,21,.88),rgba(3,8,21,.50) 56%,rgba(3,8,21,.12))!important}
}
@media(max-width:900px){
 .v6-home .v6-hero{min-height:720px!important}
 .v6-home .v6-hero-bg{background-size:100% auto!important;background-position:center top!important}
 .v6-home .v6-hero-inner{min-height:720px!important;width:calc(100% - 44px)!important;align-items:flex-end!important;padding-bottom:42px!important}
 .v6-home .v6-hero-copy{width:100%!important;max-width:650px!important}
 .v6-home .v6-hero-overlay{background:linear-gradient(0deg,#060e1ff9 0%,#060e1fe6 31%,#060e1f26 85%)!important}
}
@media(max-width:600px){
 .site-header .logo-pair{width:136px!important;max-width:136px!important}
 .footer-brand .logo-pair{width:194px!important;max-width:194px!important}
 .v6-home .v6-hero{min-height:680px!important}
 .v6-home .v6-hero-inner{min-height:680px!important;width:calc(100% - 36px)!important;padding:32px 0 32px!important}
 .v6-home .v6-hero-copy{width:100%!important}
 .v6-home .v6-hero h1{font-size:clamp(30px,7vw,42px)!important}
 .v6-home .v6-hero-overlay{background:linear-gradient(0deg,#060e1fff 0%,#060e1fff 25%,#060e1fd7 47%,#060e1f10 100%)!important}
}
@media(prefers-reduced-motion:reduce){.site-header,.header-cta,.footer-cta,.back-top{transition:none!important}}
