/* Scroll-reveal "ignite" for Fire-Press marketing pages.
   Elements only hide under .reveal-on (added by reveal.js). If JS fails the
   class never appears and everything stays visible.
   reveal.js removes the reveal classes once an element has finished animating,
   so the cards' / tiles' own hover effects are never overridden. */
.reveal-on .reveal{
  transition:opacity .9s cubic-bezier(.2,.7,.2,1),transform .9s cubic-bezier(.2,.7,.2,1),filter .9s cubic-bezier(.2,.7,.2,1);
}
.reveal-on .reveal:not(.in){opacity:0;transform:translateY(30px);filter:blur(6px);}
/* Glow lines draw out from the centre like a fuse catching */
.reveal-on .reveal-line{transition-duration:1.2s;}
.reveal-on .reveal-line:not(.in){transform:scaleX(0);filter:none;}
/* Headings get a one-time heat flash as they land */
.flare-go{animation:fp-flare 1.5s ease-out .15s;}
@keyframes fp-flare{
  0%{text-shadow:0 0 0 rgba(255,0,212,0);}
  35%{text-shadow:0 0 34px rgba(255,0,212,.95),0 0 64px rgba(232,255,0,.45);}
  100%{text-shadow:0 0 20px rgba(121,0,255,.6);}
}

/* ---------- Hero: ignites on page load (not on scroll), ends fully visible ---------- */
.hero-logo,.hero h1 .ig,.hero-tag,.hero-actions{
  animation:fp-ignite .9s cubic-bezier(.2,.7,.2,1) both;
}
.hero h1 .ig{display:inline-block;}
.hero-logo{animation-delay:.05s;}
.hero h1 .ig:first-child{animation-delay:.22s;}
.hero h1 em.ig{animation-delay:.42s,1s;animation-name:fp-ignite,fp-loud;animation-duration:.9s,1.6s;}
.hero-tag{animation-delay:.65s;}
.hero-actions{animation-delay:.82s;}
@keyframes fp-ignite{
  from{opacity:0;transform:translateY(30px);filter:blur(6px);}
  to{opacity:1;transform:none;filter:none;}
}
/* "loud." catches fire a beat after it lands */
@keyframes fp-loud{
  0%{text-shadow:0 0 18px rgba(232,255,0,.35);}
  30%{text-shadow:0 0 30px rgba(232,255,0,.95),0 0 70px rgba(255,0,212,.7);}
  100%{text-shadow:0 0 18px rgba(232,255,0,.35);}
}

@media (prefers-reduced-motion: reduce){
  .reveal-on .reveal:not(.in){opacity:1;transform:none;filter:none;}
  .reveal-on .reveal{transition:none;}
  .flare-go,.hero-logo,.hero h1 .ig,.hero-tag,.hero-actions{animation:none !important;}
}
