/*
 * Marquee — Slice 3 / WOW 7.
 * Editorial keyword ticker between Hero and Services.
 * Pure CSS infinite loop, decorative (aria-hidden). Runs continuously —
 * no pause-on-hover (the stop/start felt jarring on cursor-over).
 */

.marquee {
  position: relative;
  /* Charcoal continues the hero's dark backdrop. Editorial transition into
     the next (white) section — services. */
  background: var(--color-charcoal);
  padding-block: clamp(2rem, 3vw, 2.75rem);
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

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

.marquee__item {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(0.875rem, 1.5vw, 1.25rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--color-white);
  padding-inline: 0.75rem;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Brand-red bullet separator between items.
   Uses the CSS Unicode escape for U+00B7 (MIDDLE DOT) instead of the literal
   character — pure ASCII in the file, so it renders correctly no matter how
   the browser interprets the stylesheet's encoding (the literal `·` showed
   as `Â·` when the CSS was read as Latin-1 instead of UTF-8). */
.marquee__item::after {
  content: '\00B7';
  margin-left: 1.5rem;
  color: var(--color-red);
  font-weight: 900;
}

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

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