.client-showcase {
  position: relative;
  z-index: 21;
  overflow: hidden;
  padding: 0;
  background: #0e0e0e;
  color: #fff;
  font-family: var(--calone-font-sans);
}

.client-showcase__media {
  position: relative;
  overflow: hidden;
  min-height: clamp(420px, 62vw, 780px);
  background: #090909;
}

.client-showcase__video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.82) contrast(1.06) brightness(.82);
}

.client-showcase__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(14, 14, 14, .08) 52%, rgba(14, 14, 14, .92) 100%),
    radial-gradient(circle at center, transparent 42%, rgba(14, 14, 14, .26) 100%);
}

.client-showcase__quote {
  position: absolute;
  top: clamp(88px, 16%, 150px);
  left: clamp(28px, 6vw, 104px);
  z-index: 2;
  width: min(520px, 42vw);
  margin: 0;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(30px, 3.15vw, 54px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-align: left;
  text-wrap: balance;
  text-shadow: 0 3px 30px rgba(0, 0, 0, .76);
  pointer-events: none;
}

.client-showcase__quote-mark {
  position: absolute;
  top: -.55em;
  left: -.42em;
  color: rgba(255, 255, 255, .18);
  font-family: var(--calone-font-display);
  font-size: 2.4em;
  font-style: italic;
  line-height: 1;
}

.client-showcase__quote .font-display {
  font-style: italic;
  white-space: nowrap;
}

.client-showcase__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid #202020;
  border-left: 1px solid #202020;
  background: #0e0e0e;
}

.client-showcase__client {
  display: flex;
  min-width: 0;
  min-height: clamp(92px, 8vw, 124px);
  align-items: center;
  justify-content: center;
  padding: 18px;
  border-right: 1px solid #202020;
  border-bottom: 1px solid #202020;
  transition: background-color 240ms ease;
}

.client-showcase__client img {
  display: block;
  width: min(100%, 168px);
  height: clamp(48px, 4.6vw, 72px);
  object-fit: contain;
  filter: brightness(0) invert(.68);
  transition: filter 300ms ease;
}

.client-showcase.is-logo-enhanced:not(.is-logo-expanded) .client-showcase__client--additional {
  display: none;
}

.client-showcase.is-logo-expanded .client-showcase__client--additional {
  animation: client-showcase-logo-reveal 420ms ease both;
}

.client-showcase__more-wrap {
  display: flex;
  justify-content: center;
  padding: 32px 20px 56px;
  background: #0e0e0e;
}

.client-showcase__more {
  border: 1px solid rgba(255, 255, 255, .24);
  padding: 13px 30px;
  background: transparent;
  color: rgba(255, 255, 255, .86);
  font: 500 12px var(--calone-font-sans);
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease;
}

@keyframes client-showcase-logo-reveal {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (hover: hover) {
  .client-showcase__client:hover {
    background: rgba(255, 255, 255, .025);
  }

  .client-showcase__client:hover img {
    filter: brightness(0) invert(1);
  }

  .client-showcase__more:hover {
    border-color: rgba(255, 255, 255, .56);
    background: #fff;
    color: #0e0e0e;
  }
}

@media (max-width: 1024px) {
  .client-showcase__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .client-showcase__media {
    min-height: 62svh;
  }

  .client-showcase__quote {
    top: 72px;
    left: 24px;
    width: min(82vw, 380px);
    font-size: clamp(28px, 9vw, 42px);
    text-shadow: 0 3px 24px rgba(0, 0, 0, .9);
  }

  .client-showcase__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .client-showcase__client {
    min-height: 84px;
    padding: 14px 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .client-showcase__client img {
    transition: none;
  }

  .client-showcase__client,
  .client-showcase__more {
    transition: none;
  }

  .client-showcase.is-logo-expanded .client-showcase__client--additional {
    animation: none;
  }
}
