/* Desktop Lenis support from the stable backup; mobile keeps native scrolling. */
html,
body {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

html.lenis,
html.lenis body {
  height: auto;
  width: 100%;
  overflow-x: clip;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

@media (max-width: 768px), (prefers-reduced-motion: reduce) {
  html.lenis,
  html.lenis body {
    overflow-x: hidden;
  }
}

