/* Client logo wall: three tilted bands of full-color logos that loop on their own at different speeds.
   With reduced motion, the logos sit flat and still in a wrapped grid. */
.client-wall { display: grid; gap: 44px; }
.client-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 44px 72px; }
.client-row li { flex: none; }
.client-row .client-repeat { display: none; }
.client-row img { max-width: none; }
@media (prefers-reduced-motion: no-preference) {
  /* The bands run edge to edge, past the screen so the tilt never shows a bare corner, and fade out at both sides. */
  .clients-band { overflow: hidden; }
  /* The stage leaves room above and below for the tilt, since the mask clips anything outside it. */
  .client-stage { width: 100vw; margin-left: calc(50% - 50vw); padding-block: 4.5vw; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
  .client-wall { gap: 40px; width: 112vw; margin-left: -6vw; transform: rotate(-3deg); }
  /* Spacing sits on each logo rather than in a flex gap, so half the band is exactly two passes and the loop is seamless. */
  .client-row { flex-wrap: nowrap; width: max-content; gap: 0; animation: client-band 90s linear infinite; }
  .client-row li { margin-right: 72px; }
  .client-row .client-repeat { display: block; }
  .client-row:nth-child(2) { animation-duration: 60s; animation-direction: reverse; }
  .client-row:nth-child(3) { animation-duration: 120s; }
  .client-wall:hover .client-row { animation-play-state: paused; }
}
@keyframes client-band {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
@media (max-width: 760px) {
  .client-wall { gap: 32px; }
  .client-row { gap: 32px 48px; }
}
@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  .client-stage { padding-block: 7vw; }
  .client-wall { gap: 28px; transform: rotate(-4deg); }
  .client-row { gap: 0; }
  .client-row li { margin-right: 48px; }
}
