/* ProAxis Preview 12 — genuine transparent globe extraction.
   Unlike the previous mask on the *whole hero*, the WebP has a real alpha
   channel (including zero-alpha straight edges). Neither dark nor light
   image has an opaque rectangle to blend. Original AVIF assets preserved. */
.hero.hero-cosmic,
.hero.hero-cosmic[data-theme]{
  background:#061626!important;
  isolation:isolate;
}
.hero.hero-cosmic .hero-reference-art{
  position:absolute;
  z-index:0;
  inset:0;
  width:100%;
  height:100%;
  overflow:hidden;
  pointer-events:none;
  background:transparent!important;
  -webkit-mask-image:none!important;
  mask-image:none!important;
  opacity:1!important;
}
.hero.hero-cosmic .hero-reference-image{
  position:absolute!important;
  inset:auto 0 auto auto!important;
  top:50%!important;
  translate:0 -50%;
  width:min(61vw,940px)!important;
  max-width:none!important;
  height:auto!important;
  aspect-ratio:1;
  object-fit:contain!important;
  object-position:center center!important;
  image-rendering:auto;
}
.hero.hero-cosmic .hero-reference-shade{
  background:
    linear-gradient(0deg,#061626 0%,rgba(6,22,38,.18) 24%,transparent 44%),
    linear-gradient(180deg,rgba(6,22,38,.28),transparent 19%),
    linear-gradient(90deg,#061626 0%,rgba(6,22,38,.89) 17%,rgba(6,22,38,.25) 42%,transparent 63%)!important;
}
html[dir="rtl"] .hero.hero-cosmic .hero-reference-image{
  inset:auto auto auto 0!important;
  top:50%!important;
  transform:scaleX(-1)!important;
}
html[dir="rtl"] .hero.hero-cosmic .hero-reference-shade{
  background:
    linear-gradient(0deg,#061626 0%,rgba(6,22,38,.18) 24%,transparent 44%),
    linear-gradient(180deg,rgba(6,22,38,.28),transparent 19%),
    linear-gradient(270deg,#061626 0%,rgba(6,22,38,.89) 17%,rgba(6,22,38,.25) 42%,transparent 63%)!important;
}
html[data-theme="light"] .hero.hero-cosmic{
  background:#f8f4ec!important;
}
html[data-theme="light"] .hero.hero-cosmic .hero-reference-shade{
  background:
    linear-gradient(0deg,#f8f4ec 0%,rgba(248,244,236,.19) 25%,transparent 44%),
    linear-gradient(180deg,rgba(248,244,236,.28),transparent 19%),
    linear-gradient(90deg,#f8f4ec 0%,rgba(248,244,236,.87) 17%,rgba(248,244,236,.19) 43%,transparent 65%)!important;
}
html[dir="rtl"][data-theme="light"] .hero.hero-cosmic .hero-reference-shade{
  background:
    linear-gradient(0deg,#f8f4ec 0%,rgba(248,244,236,.19) 25%,transparent 44%),
    linear-gradient(180deg,rgba(248,244,236,.28),transparent 19%),
    linear-gradient(270deg,#f8f4ec 0%,rgba(248,244,236,.87) 17%,rgba(248,244,236,.19) 43%,transparent 65%)!important;
}
/* Text remains in the foreground and receives no blend-mode or alpha mask. */
.hero.hero-cosmic .hero-grid{z-index:2;}
.hero.hero-cosmic .hero-content{z-index:3;}
@media(max-width:1060px){
  .hero.hero-cosmic .hero-reference-image{
    width:min(68vw,820px)!important;
  }
}
@media(max-width:760px){
  .hero.hero-cosmic .hero-reference-image{
    width:min(110vw,760px)!important;
    top:40%!important;
    opacity:.58!important;
  }
  .hero.hero-cosmic .hero-reference-shade,
  html[dir="rtl"] .hero.hero-cosmic .hero-reference-shade{
    background:linear-gradient(0deg,#061626 0%,rgba(6,22,38,.94) 38%,rgba(6,22,38,.64) 84%,rgba(6,22,38,.66) 100%)!important;
  }
  html[data-theme="light"] .hero.hero-cosmic .hero-reference-shade,
  html[dir="rtl"][data-theme="light"] .hero.hero-cosmic .hero-reference-shade{
    background:linear-gradient(0deg,#f8f4ec 0%,rgba(248,244,236,.96) 40%,rgba(248,244,236,.69) 84%,rgba(248,244,236,.73) 100%)!important;
  }
}
@media(max-width:440px){
  .hero.hero-cosmic .hero-reference-image{
    width:120vw!important;
    top:31%!important;
    opacity:.39!important;
  }
}
