/* AXXENTURE homepage hero polish - loaded last to override legacy rules */
html,body{max-width:100%;overflow-x:clip}
body:has(.hero) .site-header{
  position:sticky!important;top:0!important;z-index:100!important;
  background:rgba(19,6,11,.36)!important;
  border-bottom:1px solid rgba(255,255,255,.16)!important;
  -webkit-backdrop-filter:blur(13px) saturate(140%)!important;
  backdrop-filter:blur(13px) saturate(140%)!important;
  margin-bottom:-80px!important;
  box-shadow:0 3px 26px rgba(0,0,0,.08);
}
body:has(.hero) .site-header.is-scrolled{background:rgba(19,6,11,.70)!important}
body:has(.hero) .hero{
  position:relative!important;isolation:isolate!important;overflow:hidden!important;
  background:#17050c!important;min-height:min(830px,100svh)!important;
  padding:170px 0 80px!important;
}
body:has(.hero) .hero::before{
  content:""!important;display:block!important;position:absolute!important;
  inset:-7% -6%!important;z-index:-2!important;pointer-events:none!important;
  width:auto!important;height:auto!important;opacity:1!important;
  background-image:url('../images/hero-team.webp')!important;
  background-repeat:no-repeat!important;background-size:cover!important;
  background-position:center 46%!important;
  border:0!important;border-radius:0!important;
  -webkit-mask-image:none!important;mask-image:none!important;
  transform-origin:50% 50%!important;
  animation:axxFullHeroDrift 17s ease-in-out infinite alternate!important;
  will-change:transform;
}
body:has(.hero) .hero::after{
  content:""!important;display:block!important;position:absolute!important;
  inset:0!important;width:100%!important;height:100%!important;z-index:-1!important;
  border-radius:0!important;pointer-events:none!important;
  background:linear-gradient(90deg,rgba(13,3,8,.92) 0%,rgba(19,3,8,.81) 38%,rgba(22,3,9,.42) 72%,rgba(18,3,7,.20) 100%),linear-gradient(0deg,rgba(21,2,9,.65),transparent 48%)!important;
}
@keyframes axxFullHeroDrift{
  0%{transform:translate3d(-1.3%,.5%,0) scale(1.03)}
  100%{transform:translate3d(1.3%,-1%,0) scale(1.14)}
}
body:has(.hero) .hero-stage{position:relative!important;z-index:2!important}
body:has(.hero) .hero-stage-grid{display:grid!important;grid-template-columns:minmax(0,770px)!important;min-height:410px!important;align-items:center!important}
body:has(.hero) .hero-message{width:100%;max-width:750px;animation:axxTextArrive 1s ease-out both!important}
body:has(.hero) .hero-message h1{
  font-family:'DM Sans',Arial,sans-serif!important;font-weight:800!important;
  font-size:clamp(2.5rem,5vw,5.1rem)!important;line-height:1.09!important;
  letter-spacing:-.045em!important;max-width:730px!important;
  animation:axxHeadlineFloat 6s ease-in-out 1s infinite!important;
  text-shadow:0 6px 24px rgba(0,0,0,.38)!important;
}
body:has(.hero) .hero-message h1 em{font-family:inherit!important;color:#ff3445!important}
body:has(.hero) .hero-message p{color:#fff0f0!important;text-shadow:0 2px 8px #110005a6!important}
body:has(.hero) .hero-visual.hero-art{display:none!important}
body:has(.hero) .hero-footer{position:relative!important;z-index:3!important}
body:has(.hero) .hero-bottom-curve{z-index:4!important}
@keyframes axxTextArrive{from{opacity:0;transform:translateY(23px)}to{opacity:1;transform:translateY(0)}}
@keyframes axxHeadlineFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
@media(max-width:800px){
 body:has(.hero) .site-header{margin-bottom:-72px!important;background:rgba(19,6,11,.47)!important}
 body:has(.hero) .navlinks{background:rgba(21,5,12,.96)!important}
 body:has(.hero) .hero{padding:132px 0 75px!important;min-height:680px!important}
 body:has(.hero) .hero::before{background-position:61% center!important}
 body:has(.hero) .hero::after{background:linear-gradient(90deg,rgba(13,3,8,.87),rgba(19,3,8,.62)),linear-gradient(0deg,rgba(17,2,8,.75),transparent)!important}
 body:has(.hero) .hero-stage-grid{grid-template-columns:minmax(0,1fr)!important;min-height:410px!important}
 body:has(.hero) .hero-message h1{font-size:clamp(2.4rem,7.2vw,4.4rem)!important}
}
@media(max-width:540px){
 body:has(.hero) .hero{padding:122px 0 58px!important;min-height:0!important}
 body:has(.hero) .hero::before{background-position:62% center!important}
 body:has(.hero) .hero::after{background:linear-gradient(90deg,rgba(16,3,8,.86),rgba(21,3,10,.70)),linear-gradient(0deg,rgba(16,2,7,.75),transparent)!important}
 body:has(.hero) .hero-stage-grid{min-height:0!important}
 body:has(.hero) .hero-message h1{font-size:clamp(2.05rem,9.1vw,3.1rem)!important;animation:axxHeadlineFloat 7s ease-in-out 1s infinite!important}
 body:has(.hero) .hero-message .buttons .btn{white-space:normal;width:100%;min-height:48px}
 body:has(.hero) .hero-services{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(prefers-reduced-motion:reduce){body:has(.hero) .hero::before,body:has(.hero) .hero-message,body:has(.hero) .hero-message h1{animation:none!important;will-change:auto!important}}
