/* Choose-us — Infinite Slider (21st ibelick adaptation, vanilla). Staging only.
   2 rows 6+6 logos, reverse direction on row B, edge fade mask, pause on hover.
   Track = 4 identical copies, scrolls by one copy (-25%): 3 copies must cover the widest viewport. */

[data-choose-us] {
  padding: clamp(2.75rem, 7vw, 4.25rem) 0;
  overflow: hidden;
}

[data-choose-us] [data-choose-us-label] {
  margin: 0 0 clamp(1.5rem, 4vw, 2.25rem);
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

[data-choose-us-slider] {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}

[data-choose-us-row] {
  overflow: hidden;
}

[data-choose-us-track] {
  display: flex;
  gap: 0;
  width: max-content;
  animation: choose-us-scroll 44s linear infinite;
  will-change: transform;
}

[data-choose-us-track-reverse] {
  animation-direction: reverse;
  animation-duration: 50s;
}

[data-choose-us-row]:hover [data-choose-us-track] {
  animation-play-state: paused;
}

[data-choose-us-slide] {
  position: relative;
  flex: 0 0 auto;
  width: 10.5rem;
  height: 5.5rem;
  display: grid;
  place-items: center;
  background: #1c1c1f;
}

[data-choose-us-slide]:hover {
  background: #232327;
}

[data-choose-us-slide] img {
  max-width: 78%;
  max-height: 3.4rem;
  width: auto;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

[data-choose-us-track-reverse] [data-choose-us-slide] {
  background: #161619;
}

[data-choose-us-track-reverse] [data-choose-us-slide]:hover {
  background: #1c1c20;
}

@keyframes choose-us-scroll {
  to { transform: translateX(-25%); }
}

@media (max-width: 720px) {
  [data-choose-us] {
    padding: 2.25rem 0 3rem;
  }

  [data-choose-us-slider] {
    gap: 0.6rem;
  }

  [data-choose-us-slide] {
    width: 7.75rem;
    height: 4.25rem;
  }

  [data-choose-us-slide] img {
    max-width: 74%;
    max-height: 2.4rem;
  }

  [data-choose-us-track] {
    animation-duration: 34s;
  }

  [data-choose-us-track-reverse] {
    animation-duration: 38s;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-choose-us-track] {
    animation: none;
  }
}