/* Home — client logo band under About.
   Teal strip, 121px tall, logos at one shared width with a 99px gap.
   The moving row is full-bleed (same idea as the project track).
   prefers-reduced-motion shows one static row inset by the page padding. */

.home-clients {
  background: var(--color-teal);
  padding-bottom: 50px;
  overflow: hidden;
}

.home-clients__viewport {
  overflow: hidden;
}

.home-clients__track {
  display: flex;
  align-items: center;
  width: max-content;
  min-height: 121px;
  animation: home-clients-marquee 32s linear infinite;
}

.home-clients__group {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-clients__logo {
  display: block;
  flex: none;
  width: var(--logo-w, 160px);
  height: auto;
  max-width: none;
  margin: 0 99px 0 0;
  opacity: 0.8;
  object-fit: contain;
}

@keyframes home-clients-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-clients__track {
    animation: none;
    width: 100%;
    max-width: var(--page-max);
    margin: 0 auto;
  }

  .home-clients__group[aria-hidden="true"] {
    display: none;
  }

  .home-clients__group {
    flex-wrap: wrap;
    width: 100%;
    gap: 1.5rem 99px;
    padding: 1.25rem var(--pad-x);
    box-sizing: border-box;
  }

  .home-clients__logo {
    margin: 0;
  }
}
