/* marquee.css — the two crossing tapes with scrolling words */

.marquee {
  position: relative;
  height: 170px;
  --band: var(--ivory);
  overflow: hidden;
}

.marquee__tape {
  position: absolute;
  left: -5%;
  width: 110%;
  padding: 12px 0;
  border-block: 2px solid var(--ink);
  overflow: hidden;
}

.marquee__tape--back { top: 62px; background: var(--honey); transform: rotate(2deg); }

.marquee__tape--front { top: 62px; background: var(--yellow); transform: rotate(-2deg); }

.marquee__track {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.marquee__track--reverse { animation-direction: reverse; }

.marquee__track span {
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.marquee__track--reverse span { font-weight: 600; }

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@media (max-width: 760px) {
  .marquee__tape--back  { top: 34px; }
  .marquee__tape--front { top: 96px; }
}
