/* Homepage logo marquee. Card size, radius, and gap match the live clients row. */
[data-framer-name="Clients"] .framer-pmib21 {
  display: none;
}

.brands-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, transparent 28px, #000 80px, #000 calc(100% - 80px), transparent calc(100% - 28px), transparent);
  mask-image: linear-gradient(90deg, transparent 0, transparent 28px, #000 80px, #000 calc(100% - 80px), transparent calc(100% - 28px), transparent);
}

.brands-marquee:focus {
  outline: 2px solid #0a0a0a;
  outline-offset: 2px;
}

.brands-marquee-track {
  display: flex;
  width: max-content;
  animation: brands-marquee var(--marquee-duration, 40s) linear infinite;
}

.brands-marquee:hover .brands-marquee-track,
.brands-marquee:focus .brands-marquee-track,
.brands-marquee:focus-within .brands-marquee-track {
  animation-play-state: paused;
}

.brands-marquee-set {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0 4px 0 0;
  list-style: none;
  flex: none;
}

.brands-marquee-card {
  flex: none;
  width: 220px;
  height: 161px;
  border-radius: 14px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.brands-marquee-card img {
  height: calc(40px * var(--logo-scale, 1));
  width: auto;
  max-width: 70%;
  object-fit: contain;
  opacity: 1;
  filter: grayscale(1);
  display: block;
}

.brands-marquee-card img.is-knockout {
  filter: brightness(0);
}

.brands-marquee-card img.is-solid {
  filter: grayscale(1) brightness(0);
}

.brands-marquee-card img.is-faint {
  filter: grayscale(1) brightness(0.35) contrast(1.2);
}

@keyframes brands-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-33.333333333%, 0, 0);
  }
}

@media (max-width: 1199.98px) and (min-width: 810px) {
  .brands-marquee-card {
    width: 313px;
    height: 177px;
  }
}

@media (max-width: 809.98px) {
  .brands-marquee {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, transparent 14px, #000 32px, #000 calc(100% - 32px), transparent calc(100% - 14px), transparent);
    mask-image: linear-gradient(90deg, transparent 0, transparent 14px, #000 32px, #000 calc(100% - 32px), transparent calc(100% - 14px), transparent);
  }

  .brands-marquee-card {
    width: 173px;
    height: 130px;
  }

  .brands-marquee-card img {
    height: calc(28px * var(--logo-scale, 1));
  }
}

@media (prefers-reduced-motion: reduce) {
  .brands-marquee {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .brands-marquee-track {
    animation: none;
    transform: none;
  }

  .brands-marquee-set[aria-hidden="true"] {
    display: none;
  }

  .brands-marquee-card {
    scroll-snap-align: start;
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 809.98px) {
  .brands-marquee {
    width: 378px;
    max-width: none;
  }
}
