/* ═══════ Sticky Scroll-Direction Logo ═══════ */

.scroll-logo {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(180px, 22vw, 300px);
  height: auto;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.12;
  transition: opacity 0.3s ease;
}

.scroll-logo svg {
  width: 100%;
  height: auto;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: rotate(0deg); /* default: pointing down (natural orientation) */
}

/* Scrolling down — logo points up */
.scroll-logo.scroll-down svg {
  transform: rotate(180deg);
}

/* Scrolling up — logo points down (natural orientation) */
.scroll-logo.scroll-up svg {
  transform: rotate(0deg);
}

/* Always visible — no fade out at top */

@media (max-width: 600px) {
  .scroll-logo {
    width: 140px;
    opacity: 0.05;
  }
}
