/* Continuous client-logo carousel and compact, accessible controls. */
.client-logos {
  scrollbar-width: none;
}
.client-logos::-webkit-scrollbar {
  display: none;
}
.client-logos.client-logos--marquee {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-behavior: auto;
  scroll-snap-type: none;
}
.client-logos--marquee .client-logos__list {
  display: flex;
  flex: 0 0 auto;
  gap: clamp(.65rem, 1.6vw, 1.5rem);
  width: max-content;
  padding-inline-end: clamp(.65rem, 1.6vw, 1.5rem);
  margin: 0;
  list-style: none;
}
.client-logos--marquee .client-logo {
  flex: 0 0 clamp(12rem, 20vw, 22rem);
  width: clamp(12rem, 20vw, 22rem);
}

.client-proof__heading {
  flex-direction: row;
  align-items: center;
  gap: .5rem;
  margin-block-end: .25rem;
}
.client-proof__heading h2 {
  flex: 1 1 auto;
  min-width: 0;
}
.client-carousel__controls {
  width: auto;
  max-width: none;
  justify-content: flex-end;
  gap: .125rem;
}
.client-carousel__controls button,
.client-carousel__controls [data-client-carousel-pause] {
  position: relative;
  display: grid;
  flex: 0 0 2.75rem;
  width: 2.75rem;
  min-width: 2.75rem;
  height: 2.75rem;
  min-height: 2.75rem;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--color-plum);
  font-size: 1rem;
  line-height: 1;
}
.client-carousel__controls button::before {
  position: absolute;
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: '';
  pointer-events: none;
}
.client-carousel__controls button:not(:disabled):hover {
  background: transparent;
  color: var(--color-magenta, #c40075);
}
.client-carousel__controls button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -1px;
}
.client-carousel__controls button[hidden] {
  display: none;
}

.site-footer__legal { display: flex; flex-wrap: wrap; gap: .8rem 1.25rem; }
.site-footer__legal button { color: inherit; font: inherit; background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }

@media (max-width: 767px) {
  .client-proof { padding-block: .6rem .7rem; }
  .client-logos--marquee .client-logo {
    flex-basis: min(58vw, 11rem);
    width: min(58vw, 11rem);
    min-height: 4.25rem;
  }
  .client-carousel__controls [data-client-carousel-prev],
  .client-carousel__controls [data-client-carousel-next] {
    display: none;
  }
}

@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  .client-carousel__controls [data-client-carousel-prev],
  .client-carousel__controls [data-client-carousel-next] {
    display: grid;
  }
}

