/**
 * @file
 * Lenis companion styles — loaded unaggregated so production always picks them up.
 */

html.bec-lenis,
html.lenis {
  scroll-behavior: auto !important;
  overscroll-behavior: none;
}

html.bec-lenis,
html.bec-lenis body {
  overscroll-behavior: none;
}

html.lenis.lenis-stopped {
  overflow: hidden;
}

@media (min-width: 1024px) {
  html.bec-lenis {
    scrollbar-width: none;
  }

  html.bec-lenis::-webkit-scrollbar {
    display: none;
  }
}

/* Always-visible desktop scroller — clear proof Lenis is running. */
.bec-scroller {
  display: none;
  position: fixed;
  top: 50%;
  right: 14px;
  z-index: 2500;
  transform: translateY(-50%);
  padding: 14px 12px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  opacity: 0.92;
  pointer-events: auto;
}

.bec-scroller.is-scrolling {
  opacity: 1;
}

.bec-scroller__track {
  position: relative;
  width: 6px;
  height: 180px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
}

.bec-scroller__thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 32px;
  border-radius: inherit;
  background: #c9a227;
  box-shadow: 0 0 0 1px rgba(166, 132, 26, 0.45);
  will-change: transform;
}

@media (min-width: 1024px) {
  html.bec-lenis .bec-scroller {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bec-scroller {
    display: none !important;
  }
}
