/* Hùng Thiên Tires — lớp nền cho hệ motion 2 chiều */

.scroll-progress {
  position: fixed;
  z-index: 950;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  pointer-events: none;
  background: rgba(15, 91, 54, .07);
  opacity: 1;
  transition: opacity .5s ease .2s;
}

body[data-gate="locked"] .scroll-progress { opacity: 0; transition-delay: 0s; }

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #0f5b36, #c8a94d 78%, #e2c268);
  box-shadow: 0 0 12px rgba(200, 169, 77, .45);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

/* motion 3 (17/11/2026): ảnh lớn mở màn 1 lần rồi xoá style — không giữ will-change cố định (tốn lớp GPU suốt phiên) */

/* Hướng cuộn hiện tại, để CSS bắt nhịp cùng GSAP khi cần */
html[data-scroll-direction="up"] .site-header { transition-duration: 320ms; }
