/* ═════════ SECTION 2 · CLIENTS (logo wall, columns scroll in opposite directions) ═════════ */
.section2 {
  position: relative;
  padding: 140px 0 120px;
}

.s2-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.s2-text .eyebrow { margin-bottom: 20px; }
.s2-text .section-title { margin-bottom: 20px; }
.s2-text .section-lead { margin-bottom: 32px; }

/* small numbers row (moved here from the old numbers section) */
.s2-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 0;
  margin-bottom: 36px;
  border-top: 1px dashed var(--border-strong);
  padding-top: 22px;
}

.s2-stats div {
  padding-inline-end: 28px;
}

.s2-stats div + div {
  padding-inline-start: 28px;
  border-inline-start: 1px solid var(--border);
}

.s2-stats b {
  display: block;
  font-family: var(--font-head);
  font-weight: 300;
  font-size: clamp(2.2rem, 3.6vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--text);
  margin-bottom: 6px;
}

.s2-stats span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.s2-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  height: 560px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent);
}

.s2-col {
  overflow: hidden;
}

/* content is duplicated by JS; padding-bottom = gap keeps the loop seamless */
.s2-track {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 14px;
  animation: s2-up 42s linear infinite;
}

.s2-col--down .s2-track {
  animation-name: s2-down;
  animation-duration: 48s;
}

.s2-wall:hover .s2-track {
  animation-play-state: paused;
}

@keyframes s2-up {
  to { transform: translateY(-50%); }
}

@keyframes s2-down {
  from { transform: translateY(-50%); }
  to { transform: translateY(0); }
}

.s2-tile {
  height: 112px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  padding: 16px;
  text-align: center;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  color: var(--text-dim);
  transition: color 0.3s, border-color 0.3s;
}

.s2-tile.glass {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.s2-tile.is-tall {
  height: 164px;
}

.s2-tile img {
  max-height: 48px;
  width: auto;
  filter: grayscale(1) brightness(1.8);
  opacity: 0.75;
  transition: filter 0.3s, opacity 0.3s;
}

.s2-tile:hover {
  color: var(--text);
  border-color: rgba(91, 149, 255, 0.4);
}

.s2-tile:hover img {
  filter: none;
  opacity: 1;
}

.s2-inner > * {
  min-width: 0;
}

@media (max-width: 480px) {
  .s2-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .s2-stats div { padding-inline-end: 12px; }
  .s2-stats div + div { padding-inline-start: 12px; }
  .s2-stats span { font-size: 0.6rem; }
}

@media (max-width: 900px) {
  .section2 { padding: 100px 0 80px; }
  .s2-inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .s2-wall { height: 420px; gap: 10px; }
  .s2-track { gap: 10px; padding-bottom: 10px; }
  .s2-tile { height: 90px; font-size: 0.8rem; padding: 10px; }
  .s2-tile.is-tall { height: 124px; }
}
