/* Keep the stacked desktop heading and animate the single line on phones. */
#hero-title .hero-title-track {
  display: contents;
  color: inherit;
  -webkit-text-stroke: 0;
  text-shadow: none;
}
#hero-title .hero-title-track::before { content: none; }
.hero-title-pass { font-weight: inherit; }

@media (max-width: 767px) {
  .hero > .hero-copy { container-type: inline-size; min-width: 0; }
  .hero { padding-top: clamp(24px, 6vw, 34px); }
  .hero-copy .hero-description { margin: 12px 0 0; }
  .hero #hero-title {
    margin: 0;
    padding: .07em 0 .12em;
    overflow: hidden;
    font-size: 9.8vw;
    font-size: 11.5cqi;
    line-height: 1.02;
    white-space: nowrap;
    letter-spacing: -.015em;
  }
  #hero-title .hero-title-track {
    display: block;
    width: max-content;
    min-width: 100%;
    animation: hero-title-roll 7s linear -.3s infinite;
  }
  #hero-title .hero-title-pass br { display: none; }
  #hero-title .hero-title-pass span { display: inline; }
  @keyframes hero-title-roll {
    from { transform: translateX(100%); }
    to { transform: translateX(-100%); }
  }
}

@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  #hero-title .hero-title-track { display: block; width: 100%; animation: none; transform: none; }
}
