/* Full-width scrolling chapter text — automotive launch style */

.home-marquee {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 1.05rem 0;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: #000;
  color: rgba(255, 255, 255, 0.38);
  font-family: 'Outfit', system-ui, sans-serif;
}

.home-marquee--light {
  background: #fff;
  border-top-color: rgba(17, 17, 17, 0.08);
  border-bottom-color: rgba(17, 17, 17, 0.08);
  color: rgba(17, 17, 17, 0.38);
}

.home-marquee__track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 0;
  animation: homeMarquee 42s linear infinite;
  will-change: transform;
}

.home-marquee.is-reverse .home-marquee__track {
  animation-name: homeMarqueeReverse;
  animation-duration: 48s;
}

.home-marquee:hover .home-marquee__track {
  animation-play-state: paused;
}

.home-marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 1.35rem;
  padding-right: 1.35rem;
  font-size: clamp(0.78rem, 1.15vw, 0.92rem);
  font-weight: 600;
  letter-spacing: 0.28em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.home-marquee__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ayenyx-secondary, #fbaa25);
  opacity: 0.9;
  flex-shrink: 0;
}

@keyframes homeMarquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@keyframes homeMarqueeReverse {
  from { transform: translate3d(-50%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}

@media (hover: none) {
  .home-marquee:hover .home-marquee__track {
    animation-play-state: running;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-marquee__track {
    animation: none;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 0.65rem;
    padding: 0 1rem;
  }
}

/* Split-title scroll words — shared */
[data-split-title]::before,
[data-split-title]::after,
.split-word::before,
.split-word::after {
  content: none !important;
  display: none !important;
}

.split-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding: 0.06em 0.04em 0.14em 0;
  margin: 0 0 -0.12em;
}

.split-word__inner {
  display: inline-block;
  will-change: transform;
}
