/* Client wordmarks, running word strip, tilted AI-art gallery */
.clients { padding: 26px 0 8px; overflow: hidden; position: relative; z-index: 3; background: var(--bg); }
.clients__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.clients__track span {
  padding-inline: clamp(24px, 3.4vw, 54px);
  font-size: clamp(1rem, 1.5vw, 1.35rem); white-space: nowrap;
  color: rgba(255, 255, 255, .5); transition: color .3s;
}
.clients__track span:hover { color: #fff; }
.clients__track .w1 { font-family: var(--f-display); font-weight: 900; letter-spacing: -.02em; }
.clients__track .w2 { font-weight: 300; letter-spacing: .3em; }
.clients__track .w3 { font-family: Georgia, serif; font-style: italic; }
.clients__track .w4 { font-weight: 800; letter-spacing: .08em; }
.clients::before, .clients::after { content: ""; position: absolute; top: 0; bottom: 0; width: 12vw; z-index: 1; pointer-events: none; }
.clients::before { right: 0; background: linear-gradient(to left, var(--bg), transparent); }
.clients::after { left: 0; background: linear-gradient(to right, var(--bg), transparent); }

.strip {
  border-block: 1px solid var(--line-soft);
  overflow: hidden; padding-block: 16px; margin-top: 18px;
}
.strip__track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.strip__track span {
  display: inline-flex; align-items: center; gap: 20px; padding-inline: 26px;
  font-family: var(--f-display); font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1; font-weight: 900; letter-spacing: -.02em;
}
.strip__track img { width: 46px; height: 46px; object-fit: contain; }
/* RTL page: content travels to the right */
@keyframes marquee { to { transform: translateX(50%); } }

.gallery { padding-block: clamp(70px, 9vw, 130px) clamp(40px, 6vw, 90px); overflow: hidden; }
.gallery__caption { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(30px, 4vw, 54px); }
.gallery__caption h2 { font-size: clamp(2.6rem, 6vw, 5.4rem); }
.gallery__caption p { max-width: 380px; color: var(--ink-dim); }
/* tilted 3D plane, like the reference's slanted image grid */
.gallery__plane { transform: perspective(1400px) rotateX(16deg) rotateZ(-5deg) scale(1.12); transform-origin: center; }
.gallery__rows { display: grid; gap: 14px; }
.gallery__row { display: flex; gap: 14px; width: max-content; animation: marquee 70s linear infinite; }
.gallery__row--rev { animation-direction: reverse; animation-duration: 80s; }
.gallery__row img {
  /* vertical frames like the reels themselves, so faces are never cropped out */
  height: clamp(240px, 26vw, 380px); width: auto; aspect-ratio: 9 / 15; object-fit: cover; object-position: center 30%;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8);
}
/* intro under the gallery title */
.gallery__intro { max-width: 560px; color: var(--ink-dim); }
.gallery__intro p { margin-bottom: .7em; }
.gallery__wink { color: var(--ink); font-weight: 800; }
