/* ===== Marquee Section ===== */

/* --- Base (Mobile) --- */
.marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--az-dark-2);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.1rem 0;
  z-index: 5;
}

/* Faint layer-line texture behind the strip */
.marquee::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
  background: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 2px,
    rgba(244, 131, 46, 0.012) 2px,
    rgba(244, 131, 46, 0.012) 3px
  );
}

.marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marqueeScroll 45s linear infinite;
}

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

.marquee__item {
  display: flex;
  align-items: center;
  gap: 0;
  font-family: var(--font-body);
  font-size: clamp(0.72rem, 0.4vw + 0.6rem, 0.82rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  white-space: nowrap;
  padding: 0 0.4rem;
  transition: color 0.3s ease;
}

.marquee:hover .marquee__item {
  color: var(--text-secondary);
}

/* Diamond separator — the layer-line motif */
.marquee__sep {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 clamp(1.2rem, 2.5vw, 2rem);
  background: var(--az-orange);
  opacity: 0.3;
  transform: rotate(45deg);
  flex-shrink: 0;
  position: relative;
}

/* Subtle double-diamond: a second smaller diamond inside */
.marquee__sep::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  height: 3px;
  background: transparent;
  border: 0.5px solid var(--az-orange);
  opacity: 0.5;
  transform: translate(-50%, -50%);
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Tablet (768px+) --- */
@media (min-width: 768px) {
  .marquee {
    padding: 1.3rem 0;
  }

  .marquee__item {
    font-size: 0.82rem;
  }
}

/* --- Desktop (1024px+) --- */
@media (min-width: 1024px) {
  .marquee {
    padding: 1.4rem 0;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
  }
}
