.hero{position:relative;isolation:isolate;overflow:hidden}
.hero h1{position:relative;z-index:1}
.welcome-bg{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden;animation:ambient-arrival 2.8s ease both;mask-image:linear-gradient(#000 0 72%,transparent 100%)}
.welcome-bg span{position:absolute;display:block;will-change:transform}
.welcome-bg::after{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 50% 50%,rgba(1,0,18,.52),transparent 68%)}
/* Halo: broad, quiet light that moves through the upper corners. */
.welcome-halo .layer-a{width:100vmax;height:100vmax;left:-55vmax;top:-68vmax;background:radial-gradient(ellipse,rgba(42,63,247,.5),rgba(14,19,91,.35) 34%,transparent 65%);filter:blur(35px);animation:halo-drift 18s ease-in-out infinite alternate}
.welcome-halo .layer-b{width:80vmax;height:80vmax;right:-48vmax;top:-33vmax;background:radial-gradient(ellipse,rgba(42,63,247,.3),rgba(10,11,34,.45) 40%,transparent 67%);filter:blur(45px);animation:halo-drift 23s ease-in-out -8s infinite alternate-reverse}
@keyframes halo-drift{from{transform:translate(-2%,0) scale(.95)}to{transform:translate(13%,15%) scale(1.12)}}
/* Reflets: wide blue light washes, with a very slow diagonal sweep. */
.welcome-reflets .layer-a{width:150%;height:65%;left:-25%;top:-34%;background:linear-gradient(180deg,transparent 10%,rgba(10,11,34,.6) 33%,rgba(42,63,247,.38) 52%,rgba(14,19,75,.3) 68%,transparent 90%);filter:blur(32px);animation:reflection-sweep 20s ease-in-out infinite alternate}
.welcome-reflets .layer-b{width:150%;height:70%;left:-20%;bottom:-44%;background:linear-gradient(180deg,transparent,rgba(10,11,34,.7) 35%,rgba(42,63,247,.3) 57%,transparent 92%);filter:blur(40px);animation:reflection-return 24s ease-in-out -8s infinite alternate}
@keyframes reflection-sweep{from{transform:translate(-8%,0) rotate(-22deg)}to{transform:translate(8%,33%) rotate(-13deg)}}
@keyframes reflection-return{from{transform:translate(0,8%) rotate(-25deg)}to{transform:translate(-10%,-12%) rotate(-15deg)}}
/* Matière: a bolder blue surface, with a gently changing upper contour. */
.welcome-matiere .layer-a{width:150%;height:90%;left:-25%;bottom:-69%;border-radius:48% 52% 0 0 / 38% 55% 0 0;background:linear-gradient(180deg,#2436cf 0%,#10165c 26%,#0a0b22 61%,#010012 92%);box-shadow:0 -16px 60px rgba(42,63,247,.14);animation:surface-drift 16s ease-in-out infinite alternate}
.welcome-matiere .layer-b{width:145%;height:70%;left:-30%;bottom:-60%;border-radius:55% 45% 0 0 / 48% 36% 0 0;background:linear-gradient(180deg,rgba(10,11,34,.8),#010012 80%);animation:surface-drift 21s ease-in-out -7s infinite alternate-reverse}
.welcome-matiere::after{background:linear-gradient(180deg,transparent 38%,rgba(1,0,18,.15) 65%,transparent)}
@keyframes surface-drift{from{transform:translate(-3%,0) rotate(-3deg);border-radius:48% 52% 0 0 / 38% 55% 0 0}to{transform:translate(6%,-15%) rotate(4deg);border-radius:58% 42% 0 0 / 62% 40% 0 0}}
@keyframes ambient-arrival{from{opacity:0}to{opacity:1}}
.welcome-bg.is-paused,.welcome-bg.is-paused *{animation-play-state:paused}
@media(max-width:900px){
 .welcome-halo .layer-a{left:-65vmax;top:-60vmax}
 .welcome-halo .layer-b{right:-58vmax;top:-15vmax}
 .welcome-reflets .layer-a{width:220%;left:-60%;filter:blur(24px)}
 .welcome-reflets .layer-b{width:220%;left:-60%;filter:blur(28px)}
 .welcome-matiere .layer-a{width:190%;left:-45%;bottom:-71%}
}
@media(prefers-reduced-motion:reduce){.welcome-bg,.welcome-bg span{animation:none;will-change:auto}}
