/* Logo strip below the homepage hero: a title cell and a looping row of customer logos. */
.customers {
  position: relative;
  z-index: 1;
  background: var(--background);
}
.customers-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  align-items: stretch;
  border-block: 1px solid var(--border);
}
.customers-title {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 28px 24px;
  border-right: 1px solid var(--border);
  color: var(--foreground);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.customers-title em {
  color: var(--primary);
  font-style: normal;
}
.customers-track {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.customers-list {
  display: flex;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: customers-scroll 60s linear infinite;
}
.customers-track:hover .customers-list {
  animation-play-state: paused;
}
.customers-logo {
  display: grid;
  place-items: center;
  width: 200px;
  height: 104px;
  border-right: 1px solid var(--border);
}
.customers-logo img {
  max-width: 132px;
  max-height: 34px;
  object-fit: contain;
  filter: grayscale(1);
  mix-blend-mode: multiply;
  opacity: 0.8;
}
.customers-logo--invert img {
  filter: grayscale(1) invert(1);
}
.customers-logo--darken img {
  filter: grayscale(1) brightness(0.55) contrast(1.4);
}
@keyframes customers-scroll {
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .customers-list {
    animation: none;
  }
  .customers-track {
    overflow-x: auto;
  }
}
@media (max-width: 720px) {
  .customers-row {
    grid-template-columns: 1fr;
  }
  .customers-title {
    justify-content: center;
    padding: 20px 16px 4px;
    border-right: 0;
    font-size: 15px;
    color: var(--muted);
  }
  .customers-logo {
    width: 150px;
    height: 80px;
  }
  .customers-logo img {
    max-width: 104px;
    max-height: 28px;
  }
}
