/* 2026-11-23: background behind the vertical catchphrase = soft white haze (02) + sunbeam light particles (03).
   The haze has no visible edge; it only brightens the photo around the text. The particles rise slowly
   in the left part of the hero. Nothing moves with reduced motion. */

/* soft white haze */
.hero .hero-vertical-title{position:relative;isolation:isolate}
.hero .hero-vertical-title::before{content:'';position:absolute;z-index:-1;pointer-events:none;inset:-20% -110% -16% -110%;
  background:radial-gradient(closest-side,#fffdf7cc 0%,#fffcf3a6 48%,#fffaee59 74%,#fffaee00 100%)}
html.fx-ready .hero .hero-vertical-title[data-fx]::before{opacity:0;transform:scale(.85);transition:opacity 1.6s ease calc(var(--fx-delay,0s) + .1s),transform 2.2s cubic-bezier(.16,.7,.2,1) calc(var(--fx-delay,0s) + .1s)}
html.fx-ready .hero .hero-vertical-title[data-fx].is-in::before{opacity:1;transform:none}

/* sunbeam particles (added by hero-light.js) */
.hero .hero-copy{position:relative;z-index:1}
.hero-particles{position:absolute;inset:0 45% 0 0;z-index:0;pointer-events:none;overflow:hidden}
.hero-particles span{position:absolute;border-radius:50%;opacity:0;
  background:radial-gradient(circle,#fffef8 0%,#fff8dcf2 22%,#ffe9a8b3 45%,#f8d98a4d 62%,#f8d98a00 75%);
  box-shadow:0 0 10px 2px #fff3c440;
  animation:hero-float var(--d) linear var(--delay) infinite}
@keyframes hero-float{
  0%{transform:translate(0,40px) scale(.8);opacity:0}
  18%{opacity:var(--o)}
  82%{opacity:var(--o)}
  100%{transform:translate(var(--x),-120px) scale(1.06);opacity:0}
}
@media(max-width:760px){
  .hero-particles{inset:0 0 40% 0}
  .hero .hero-vertical-title::before{inset:-12% -80% -10% -80%}
}
@media(prefers-reduced-motion:reduce){
  .hero-particles{display:none}
  html.fx-ready .hero .hero-vertical-title[data-fx]::before{opacity:1!important;transform:none!important;transition:none!important}
}

/* The haze is wider than the catchphrase; keep the description and buttons painted above it
   (both positioned and later in the DOM than the title), so the haze never fades their text. */
.hero .hero-copy .hero-description,.hero .hero-copy .hero-contact-actions{position:relative;z-index:1}
