.customer-logos {
  padding-bottom: clamp(2.75rem, 6vw, 4.75rem);
  background: var(--white);
}

.customer-logos > .wrap {
  border-top: 1px solid var(--line);
  padding-top: clamp(1.75rem, 4vw, 2.7rem);
}

.customer-logos-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .85rem 1.75rem;
  margin-bottom: 1.2rem;
}

.customer-logos h2 {
  margin: 0;
  font-size: clamp(1.85rem, 5vw, 3.15rem);
  line-height: 1.1;
  letter-spacing: -.055em;
}

.customer-logo-note,
.customer-logo-help {
  margin: .55rem 0 0;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.5;
}

.customer-motion {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 44px;
  padding: .45rem .8rem;
  border: 1px solid var(--line);
  border-radius: .6rem;
  background: #f0f4e8;
  color: var(--ink);
  font-weight: 700;
  font-size: .875rem;
  cursor: pointer;
}

.customer-motion:hover {
  background: #e6efd6;
}

.customer-motion-icon {
  width: .92rem;
  height: .92rem;
  display: grid;
  place-items: center;
}

.customer-motion-icon::before {
  content: "";
  width: .5rem;
  height: .7rem;
  border-inline: 2px solid currentColor;
}

.customer-motion[data-playing="false"] .customer-motion-icon::before {
  width: .58rem;
  height: .75rem;
  border: 0;
  background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.customer-motion:focus-visible,
.customer-logo-viewport:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.customer-logo-viewport {
  --logo-gap: .65rem;
  position: relative;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: auto;
  scrollbar-width: none;
  border: 1px solid #e3e9dc;
  border-radius: .85rem;
  padding: .65rem;
  background: #f1f4eb;
}

.customer-logo-viewport::-webkit-scrollbar {
  display: none;
}

.customer-logo-track,
.customer-logo-list {
  display: flex;
  width: max-content;
  gap: var(--logo-gap);
}

.customer-logo-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.customer-logo-tile {
  display: grid;
  place-items: center;
  width: clamp(8.5rem, 28vw, 11.5rem);
  height: clamp(5rem, 16vw, 6.7rem);
  padding: .6rem;
  border: 1px solid #e4e9df;
  border-radius: .65rem;
  background: #fff;
}

.customer-logo-tile img {
  display: block;
  width: min(100%, 9.25rem);
  height: clamp(3rem, 9vw, 4rem);
  object-fit: contain;
  object-position: center;
}

.customer-logo-tile[data-placeholder] {
  grid-auto-flow: column;
  place-content: center;
  gap: .45rem;
  border-color: #c8d5c6;
  border-style: dashed;
  color: var(--muted);
  font-size: .875rem;
  font-weight: 600;
  white-space: nowrap;
}

.customer-logo-icon {
  width: 1.05rem;
  height: .86rem;
  border: 1px solid currentColor;
  border-radius: .2rem;
  background:
    radial-gradient(circle at 73% 27%, currentColor 0 1px, transparent 1.5px),
    linear-gradient(135deg, transparent 48%, currentColor 49% 54%, transparent 55%) 1px bottom / 70% 75% no-repeat;
  opacity: .78;
}

.customer-logo-help {
  margin-top: .75rem;
}

.customer-logos [hidden] {
  display: none;
}
