/* Motion: atterraggio, scroll, header (identico a index.html) */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@keyframes fd-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
html.fd-motion header {
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
}
html.fd-motion header.is-scrolled {
  box-shadow: 0 10px 40px -12px rgba(15, 23, 42, 0.12);
}
html.fd-motion .fd-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
html.fd-motion .fd-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}
html.fd-motion.fd-page-ready .fd-hero-col > * {
  opacity: 0;
  animation: fd-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
html.fd-motion.fd-page-ready .fd-hero-col > *:nth-child(1) { animation-delay: 0.04s; }
html.fd-motion.fd-page-ready .fd-hero-col > *:nth-child(2) { animation-delay: 0.1s; }
html.fd-motion.fd-page-ready .fd-hero-col > *:nth-child(3) { animation-delay: 0.16s; }
html.fd-motion.fd-page-ready .fd-hero-col > *:nth-child(4) { animation-delay: 0.22s; }
html.fd-motion.fd-page-ready .fd-hero-col > *:nth-child(5) { animation-delay: 0.28s; }
html.fd-motion.fd-page-ready .fd-hero-col > *:nth-child(6) { animation-delay: 0.34s; }
html.fd-motion.fd-page-ready .fd-hero-col > *:nth-child(7) { animation-delay: 0.4s; }
html.fd-motion.fd-page-ready .fd-hero-visual {
  opacity: 0;
  animation: fd-rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.12s forwards;
}
html.fd-motion .fd-reveal.is-visible img.press-logo {
  animation: fd-rise 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}
html.fd-motion .fd-reveal.is-visible img.press-logo:nth-child(1) { animation-delay: 0.05s; }
html.fd-motion .fd-reveal.is-visible img.press-logo:nth-child(2) { animation-delay: 0.12s; }
html.fd-motion .fd-reveal.is-visible img.press-logo:nth-child(3) { animation-delay: 0.19s; }
html.fd-motion .fd-reveal.is-visible img.press-logo:nth-child(4) { animation-delay: 0.26s; }
header a.rounded-full,
section a.rounded-full,
section button.rounded-full {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  header a.rounded-full:hover,
  section a.rounded-full:hover,
  section button.rounded-full:hover { transform: translateY(-1px); }
  header a.rounded-full:active,
  section a.rounded-full:active,
  section button.rounded-full:active { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  html.fd-motion .fd-reveal,
  html.fd-motion .fd-reveal.is-visible,
  html.fd-motion.fd-page-ready .fd-hero-col > *,
  html.fd-motion.fd-page-ready .fd-hero-visual {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
