/**
 * Homepage sections: scroll-triggered entrance (fade + lift).
 * Easing tuned for a smooth “material” ease-out; mobile slightly snappier.
 */

#main-content .tcl-scroll-reveal {
  opacity: 0;
  transform: translate3d(0, 1.2rem, 0);
  transition:
    opacity 0.72s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.78s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--tcl-reveal-delay, 0ms);
  will-change: opacity, transform;
}

#main-content .tcl-scroll-reveal.tcl-scroll-reveal--in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

@media (max-width: 576px) {
  #main-content .tcl-scroll-reveal {
    transform: translate3d(0, 0.9rem, 0);
    transition-duration: 0.58s, 0.64s;
  }
}

@media (prefers-reduced-motion: reduce) {
  #main-content .tcl-scroll-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
  }
}
