.zenith-stack-marquee {
  width: 100%;
  overflow: hidden;
  padding: 38px 0;
  margin-top: var(--space-xl);
  background: #fff;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.zenith-stack-track {
  display: flex;
  width: max-content;
  animation: zenith-stack-scroll 42s linear infinite;
  will-change: transform;
}

.zenith-stack-marquee:hover .zenith-stack-track,
.zenith-stack-marquee:focus-within .zenith-stack-track {
  animation-play-state: paused;
}

.zenith-stack-group {
  display: flex;
  align-items: center;
  gap: clamp(34px, 4.5vw, 72px);
  padding: 0 clamp(24px, 3vw, 48px);
  flex: 0 0 auto;
}

.zenith-stack-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #a2a5ac;
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(1.7rem, 2.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  white-space: nowrap;
  opacity: 0.82;
  transition: color 180ms ease, opacity 180ms ease;
}

.zenith-stack-logo {
  display: block;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.58;
}

.zenith-stack-logo--wordmark {
  width: 132px;
  height: 36px;
}

.zenith-stack-label {
  display: inline-block;
}

.zenith-stack-wordmark:hover {
  color: #727782;
  opacity: 1;
}

.zenith-stack-wordmark--supabase {
  letter-spacing: -0.06em;
}

.zenith-stack-wordmark--vscode {
  letter-spacing: -0.07em;
}

.zenith-stack-wordmark--flutter {
  font-weight: 600;
}

@keyframes zenith-stack-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .zenith-stack-marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .zenith-stack-track {
    animation: none;
  }
}
