/*
 * Home marquee framing the studio introduction, phones only.
 * The track holds two identical groups: sliding it by exactly half its width loops without a jump.
 */
.marquee {
  display: none;
}

@media (max-width: 719.98px) {
  .marquee {
    display: block;
    overflow: hidden;
    padding-block: 11px;
    border-block: 1px solid rgb(248 245 239 / 18%);
    background-color: var(--color-brown);
    color: var(--color-cream);
  }

  .marquee--olive {
    background-color: var(--color-olive);
  }

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

  .marquee__group {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    font-family: var(--font-serif);
    font-size: 1.0625rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .marquee__star {
    margin-inline: 1.1em 1.3em;
    color: rgb(248 245 239 / 70%);
    font-size: 0.8em;
    letter-spacing: 0;
  }
}

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

@media (max-width: 719.98px) and (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
  }
}
