/* =========================================================
   fragCihan GSAP + Lenis Scroll Restore CSS
   Keeps desktop ready for Lenis, avoids native smooth fighting JS.
   ========================================================= */

@media (min-width: 769px) and (pointer: fine) {
  html {
    scroll-behavior: auto !important;
  }

  body {
    overscroll-behavior-y: none;
  }

  html.lenis,
  html.lenis body {
    height: auto;
  }

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

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

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

  .lenis.lenis-smooth iframe {
    pointer-events: none;
  }
}

/* Mobile: no forced JS smooth-scroll. GSAP reveal animations stay untouched. */
@media (max-width: 768px), (pointer: coarse) {
  html,
  body {
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden;
  }
}
