/* ==========================================================================
   Marquee: scrolling band of service keywords (scripts/features/marquee.js)
   The word list is written twice in the HTML so the loop is seamless.
   ========================================================================== */

.marquee {
  overflow: hidden;
  padding: clamp(20px, 2.4vw, 34px) 0;
  border-bottom: 1px solid var(--color-line);
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
  width: max-content;
  font-family: var(--font-display);
  font-stretch: var(--stretch-display);
  font-weight: var(--weight-display);
  font-size: clamp(30px, 4.6vw, 68px);
  line-height: 1;
  letter-spacing: var(--tracking-display);
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--color-ink);
  will-change: transform;
}

/* Every other word: light weight, taupe */
.marquee__track .is-light {
  font-weight: 300;
  color: var(--color-accent);
}

/* Separator dots: the "." in the markup is hidden and drawn as a circle */
.marquee__track i {
  flex: none;
  width: clamp(5px, .6vw, 8px);
  height: clamp(5px, .6vw, 8px);
  border-radius: 50%;
  background: var(--color-ink);
  font-size: 0;
}
