.clients {

  position: relative;

  isolation: isolate;

  overflow: hidden;

  display: grid;

  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);

  gap: clamp(55px, 8vw, 120px);

  align-items: start;

  background:

    radial-gradient(circle at 90% 5%, rgba(70, 126, 255, 0.2), transparent 30%),

    radial-gradient(circle at 12% 88%, rgba(198, 224, 62, 0.2), transparent 27%),

    radial-gradient(circle at 68% 74%, rgba(255, 156, 111, 0.17), transparent 25%),

    radial-gradient(circle at 38% 12%, rgba(162, 122, 255, 0.14), transparent 27%),

    radial-gradient(circle at 58% 45%, rgba(58, 207, 198, 0.12), transparent 26%),

    #f4f3ee;

  background-size: 125% 125%, 140% 140%, 130% 130%, 145% 145%, 135% 135%, auto;

  animation: clients-background-drift 16s ease-in-out infinite alternate;

  transform-origin: 50% 45%;

  will-change: transform, opacity;

}

html.clients-motion-ready .clients {

  opacity: 0;

  transform: perspective(1200px) translateY(110px) rotateX(9deg) scale(0.94);

  transition:

    opacity 0.9s ease,

    transform 1.15s cubic-bezier(0.16, 1, 0.3, 1);

}

html.clients-motion-ready .clients.clients-in-view {

  opacity: 1;

  transform: perspective(1200px) translateY(0) rotateX(0) scale(1);

}

.clients::before {

  content: "PARTNERS";

  position: absolute;

  right: -22px;

  top: 36px;

  z-index: -1;

  color: rgba(13, 39, 72, 0.035);

  font-family: Georgia, serif;

  font-size: clamp(90px, 15vw, 220px);

  line-height: 0.8;

  letter-spacing: -8px;

  pointer-events: none;

  animation: clients-word-drift 12s ease-in-out infinite alternate;

}

.clients::after {

  content: "";

  position: absolute;

  right: clamp(-190px, -10vw, -90px);

  bottom: clamp(-230px, -13vw, -120px);

  z-index: -1;

  width: clamp(330px, 38vw, 610px);

  aspect-ratio: 1;

  border: 1px solid rgba(23, 62, 111, 0.11);

  border-radius: 50%;

  box-shadow:

    0 0 0 42px rgba(70, 126, 255, 0.045),

    0 0 0 108px rgba(198, 224, 62, 0.04),

    0 0 90px rgba(162, 122, 255, 0.12);

  pointer-events: none;

  animation: clients-orbit 18s ease-in-out infinite alternate;

}

@keyframes clients-background-drift {

  0% {

    background-position: 100% 0%, 0% 100%, 72% 80%, 30% 0%, 55% 42%, 0 0;

  }

  100% {

    background-position: 78% 22%, 22% 74%, 54% 58%, 48% 20%, 68% 56%, 0 0;

  }

}

@keyframes clients-word-drift {

  0% {

    transform: translate3d(0, 0, 0);

  }

  100% {

    transform: translate3d(-28px, 14px, 0);

  }

}

@keyframes clients-orbit {

  0% {

    transform: translate3d(0, 0, 0) rotate(-8deg) scale(0.96);

  }

  100% {

    transform: translate3d(-38px, -28px, 0) rotate(8deg) scale(1.04);

  }

}

@keyframes clients-vertical-loop {

  0% {

    transform: translate3d(0, 0, 0);

  }

  100% {

    transform: translate3d(0, -50%, 0);

  }

}

.clients-heading {

  position: sticky;

  top: 32px;

  display: block;

  margin: 0;

  will-change: transform;

}

.clients-heading h2 span {

  color: #173e6f;

}

.clients-heading > p {

  max-width: 500px;

  margin: 28px 0 0;

  color: #627080;

  font-size: 16px;

  line-height: 1.75;

}

.clients-grid {

  position: relative;

  display: block;

  height: clamp(360px, 42vw, 540px);

  overflow: hidden;

  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 9%, #000 91%, transparent);

  mask-image: linear-gradient(to bottom, transparent, #000 9%, #000 91%, transparent);

}

.clients-track {

  will-change: transform;

}

.clients.clients-in-view .clients-track {

  animation: clients-vertical-loop 24s linear infinite;

}

.clients-set {

  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 0 38px;

  border-top: 1px solid rgba(13, 39, 72, 0.2);

}

.clients-grid article {

  position: relative;

  display: grid;

  grid-template-columns: minmax(88px, 0.36fr) minmax(0, 1fr);

  gap: 24px;

  align-items: center;

  min-height: 108px;

  padding: 24px 0;

  overflow: hidden;

  border: 0;

  border-bottom: 1px solid rgba(13, 39, 72, 0.2);

  background: transparent;

  transition:

    transform 0.3s ease,

    padding-left 0.3s ease;

}

.clients-grid article::before {

  display: none;

}

.clients-grid article::after {

  content: "";

  position: absolute;

  left: 0;

  right: 100%;

  bottom: 0;

  height: 2px;

  background: #bdd54a;

  transition: right 0.38s ease;

}

.clients-grid article:hover {

  transform: translateX(7px);

  padding-left: 8px;

}

.clients-grid article:hover::after {

  right: 0;

}

.clients-grid b {

  display: block;

  margin: 0;

  color: #173e6f;

  font-family: Georgia, serif;

  font-size: 21px;

  letter-spacing: -0.4px;

}

.clients-grid span {

  display: block;

  max-width: 360px;

  color: #526273;

  font-size: 12px;

  font-weight: 700;

  line-height: 1.55;

  letter-spacing: 0.35px;

  text-transform: uppercase;

}

@media (max-width: 900px) {

  .clients {

    grid-template-columns: 1fr;

    gap: 45px;

  }

  .clients-heading {

    position: relative;

    top: auto;

  }

}

@media (max-width: 800px) {

  .clients-heading {

    margin: 0;

  }

  .clients-grid {

    height: 460px;

  }

  .clients-set {

    grid-template-columns: 1fr;

  }

  .clients-grid article {

    grid-template-columns: 82px minmax(0, 1fr);

    min-height: 100px;

    padding: 20px 0;

  }

  .clients-grid article:hover {

    transform: translateX(4px);

  }

  .clients::before {

    top: 48px;

    font-size: 82px;

    letter-spacing: -4px;

  }

}

@media (prefers-reduced-motion: reduce) {

  .clients,

  .clients::before,

  .clients::after,

  .clients-heading,

  .clients-grid,

  .clients-track,

  .clients-grid article,

  .clients-grid article::after {

    transition: none;

    animation: none;

  }

  html.clients-motion-ready .clients,

  html.clients-motion-ready .clients.clients-in-view {

    opacity: 1;

    transform: none;

    transition: none;

  }

}
