/* ════════════════════════════════════════
   MARQUEE — infinite vertical-video proof strip
════════════════════════════════════════ */

.marquee {
  position: relative;
  z-index: 1;
  padding-block: clamp(1rem, 2.5vw, 2rem) clamp(1rem, 2.5vw, 2rem);
  overflow: hidden;
}

.marquee__viewport {
  position: relative;
  width: 100%;
  -webkit-mask-image: linear-gradient(
    90deg, transparent 0%, #000 7%, #000 93%, transparent 100%
  );
          mask-image: linear-gradient(
    90deg, transparent 0%, #000 7%, #000 93%, transparent 100%
  );
}

.marquee__track {
  display: flex;
  gap: clamp(1rem, 1.8vw, 1.75rem);
  width: max-content;
  animation: marquee-scroll 60s linear infinite;
  will-change: transform;
}

.marquee:hover .marquee__track { animation-play-state: paused; }

@keyframes marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* ── Card ── */
.marquee__card {
  position: relative;
  flex-shrink: 0;
  width: clamp(180px, 22vw, 260px);
  aspect-ratio: 9 / 16;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  box-shadow:
    inset 0 0 0 1px rgba(216, 216, 221, 0.1),
    0 14px 32px -14px rgba(0, 0, 0, 0.65);
  transition:
    transform 0.55s var(--ease-expo),
    box-shadow 0.55s var(--ease-expo);
  perspective: 800px;
  cursor: pointer;
}

.marquee__card:hover {
  box-shadow:
    inset 0 0 0 1px rgba(245, 245, 247, 0.28),
    0 28px 56px -16px rgba(0, 0, 0, 0.85),
    0 0 50px -8px rgba(216, 216, 221, 0.22);
}

.marquee__card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.4s var(--ease-expo);
}

.marquee__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.marquee__overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(0.7rem, 1.6vw, 1.15rem);
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.35) 55%,
    transparent 100%
  );
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  z-index: 2;
}

.marquee__metric {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.75rem;
  background: rgba(10, 10, 10, 0.72);
  border: 1px solid rgba(216, 216, 221, 0.25);
  border-radius: 999px;
  font-family: var(--f-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--c-text);
  white-space: nowrap;
}

.marquee__metric svg {
  width: 11px;
  height: 11px;
  opacity: 0.9;
  flex-shrink: 0;
  color: var(--silver-1);
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation-duration: 240s; }
  .marquee__card-inner { transition: none; }
}
