/* estratto da 10-intro.html con _wp/build/atomizza.py: non modificare qui */
/* ===== nl-gf-hero: apertura senza foto. La materia liquida del sito diventa aeriforme:
   una nebbia bassa (l'aria inquinata) che una macchia verde attraversa lentamente,
   schiarendola, mentre qualche particella si dirada sullo sfondo. ===== */
.nl-gf-hero{
  position:relative; overflow:hidden;
  background:var(--ink);
  min-height:clamp(420px,58svh,620px);
  display:flex; flex-direction:column; justify-content:flex-end;
  padding-top:calc(var(--header-h) + 1.5rem);
  padding-bottom:clamp(3.5rem,8vw,5.5rem);
}

.nl-gf-hero__field{position:absolute; inset:0; z-index:0; overflow:hidden}

/* la nebbia: due fuochi sfocati, uno torbido (l'aria com'e') e uno verde (l'aria trattata) */
.nl-gf-hero__haze{
  position:absolute; inset:-20%;
  background:
    radial-gradient(circle at 20% 42%, rgba(120,132,110,.38), transparent 55%),
    radial-gradient(circle at 82% 58%, rgba(148,187,84,.3), transparent 58%);
  filter:blur(46px);
  animation:nl-gf-haze-drift 22s ease-in-out infinite alternate;
}
@keyframes nl-gf-haze-drift{
  from{transform:translate3d(0,0,0) scale(1)}
  to{transform:translate3d(3%,-2%,0) scale(1.06)}
}

/* il passaggio: una sola sciabolata verde che attraversa lo schermo, avanti e indietro */
.nl-gf-hero__wipe{
  position:absolute; inset:0; mix-blend-mode:soft-light;
  background:linear-gradient(100deg, transparent 20%, rgba(148,187,84,.16) 50%, transparent 80%);
  animation:nl-gf-wipe-pass 11s ease-in-out infinite;
}
@keyframes nl-gf-wipe-pass{
  0%,100%{transform:translateX(-22%)}
  50%{transform:translateX(22%)}
}

.nl-gf-hero__motes{position:absolute; inset:0}
.nl-gf-hero__mote{
  position:absolute; left:var(--x); top:var(--y);
  width:var(--s); height:var(--s); border-radius:50%;
  background:radial-gradient(circle, rgba(222,227,217,.6), rgba(222,227,217,0) 70%);
  filter:blur(1px);
  opacity:.4;
  animation:nl-gf-mote-drift var(--d) ease-in-out var(--dl) infinite alternate;
}
@keyframes nl-gf-mote-drift{
  from{transform:translate3d(0,0,0) scale(1); opacity:.4}
  to{transform:translate3d(-16px,-24px,0) scale(.65); opacity:.1}
}

.nl-gf-hero__inner{position:relative; z-index:2; width:100%}
.nl-gf-hero__title{margin-bottom:1rem}
.nl-gf-hero__lead{margin-bottom:0}

@media (max-width:767px){
  .nl-gf-hero{min-height:clamp(380px,54svh,520px)}
  .nl-gf-hero__haze{
    background:
      radial-gradient(circle at 50% 22%, rgba(120,132,110,.4), transparent 58%),
      radial-gradient(circle at 50% 78%, rgba(148,187,84,.28), transparent 60%);
  }
  .nl-gf-hero__wipe{background:linear-gradient(190deg, transparent 20%, rgba(148,187,84,.16) 50%, transparent 80%)}
}
