/* Sinfluent mobile-only native scrolling stability, 30 Oct 2026.
   Keep desktop styling, snap-based horizontal sliders and touch events unchanged.
   Stable viewport units prevent browser chrome from repeatedly changing the
   document height while a finger scroll is in progress. */
@media screen and (max-width: 1023px) {
  /* Never animate the vertical document position after a swipe or route update. */
  html { scroll-behavior: auto !important; }

  /* Homepage six-card sequence: dynamic 760dvh causes substantial document
     reflow whenever mobile browser UI changes visible viewport height.
     vh/lvh is stable through browser chrome expansion and collapse. */
  main#main-content .sf-story-scroll {
    height: 760vh !important;
  }
  main#main-content .sf-story-sticky {
    height: 100vh !important;
  }

  /* Studio's full-screen production journey: keep sticky panel at a stable
     screen height instead of recalculating its height during each touch swipe. */
  #production-journey > .lg\:hidden .sticky[style*="100dvh"] {
    height: 100vh !important;
  }


}

/* Homepage mobile video showcase: remove only the "View All Productions" CTA strip.
   The video carousel remains intact and the desktop productions CTA is untouched. */
@media screen and (max-width: 1023px) {
  main#main-content .sf-experience-video-stage + div.py-6.flex.justify-center {
    display: none !important;
  }
}
