/**
 * Featured & launched on — continuous press rail.
 */
.lm-featured-launch {
  --lm-featured-cell: 16.25rem;
  --lm-featured-rail-h: 8.85rem;
  --lm-featured-duration: 56s;
  --lm-featured-ease: cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1.2rem, 2.8vw, 1.75rem) 0 clamp(1.35rem, 3vw, 2rem);
  background:
    radial-gradient(ellipse 50% 80% at 12% 0%, rgba(20, 184, 166, 0.06), transparent 60%),
    linear-gradient(180deg, var(--lm-cream, #faf8f5) 0%, #fff 100%);
  border-top: 1px solid var(--lm-border, #e8e4dc);
}

.lm-featured-launch::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  mix-blend-mode: soft-light;
}

.lm-featured-launch__head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  width: min(72rem, calc(100% - 2rem));
  margin: 0 auto 0.95rem;
}

.lm-featured-launch__rule {
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(12, 18, 34, 0.12), transparent);
}

.lm-featured-launch .lm-featured-launch__title {
  flex: 0 1 auto;
  margin: 0;
  padding: 0;
  font-family: var(--lm-font-display, 'Bricolage Grotesque', Georgia, serif);
  font-size: clamp(0.7rem, 2.4vw, 0.8rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lm-muted, #64748b);
  text-align: center;
  background: none;
}

.lm-featured-launch__rail {
  position: relative;
  z-index: 1;
  height: var(--lm-featured-rail-h);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), #fff);
  border-block: 1px solid rgba(12, 18, 34, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 28px rgba(12, 18, 34, 0.04);
}

.lm-featured-launch__rail--mobile {
  display: none;
}

.lm-featured-launch__rail::before,
.lm-featured-launch__rail::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(2.25rem, 8vw, 5.5rem);
  z-index: 3;
  pointer-events: none;
}

.lm-featured-launch__rail::before {
  left: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 100%);
}

.lm-featured-launch__rail::after {
  right: 0;
  background: linear-gradient(270deg, #fff 0%, rgba(255, 255, 255, 0) 100%);
}

.lm-featured-launch__viewport {
  height: 100%;
  overflow: hidden;
}

.lm-featured-launch__track {
  display: flex;
  width: max-content;
  height: 100%;
  will-change: transform;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  animation: lm-featured-marquee var(--lm-featured-duration) linear infinite;
}

.lm-featured-launch__group {
  display: flex;
  flex: 0 0 auto;
  height: 100%;
}

.lm-featured-launch__item {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  flex: 0 0 var(--lm-featured-cell);
  width: var(--lm-featured-cell);
  height: 100%;
  padding: 0.7rem 1.05rem 0.65rem;
  text-decoration: none;
  color: inherit;
  background: transparent;
}

.lm-featured-launch__item::after {
  content: '';
  position: absolute;
  top: 18%;
  bottom: 18%;
  right: 0;
  width: 1px;
  background: rgba(12, 18, 34, 0.08);
}

.lm-featured-launch__item:hover,
.lm-featured-launch__item:focus-visible {
  z-index: 2;
}

.lm-featured-launch__item:focus-visible {
  outline: 2px solid var(--lm-accent-deep, #0f766e);
  outline-offset: -3px;
}

.lm-featured-launch__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 100%;
  min-height: 3.2rem;
}

.lm-featured-launch__mark img,
.lm-featured-launch__bowora {
  transform: translateZ(0) scale(1);
  transform-origin: center center;
  transition: transform 420ms var(--lm-featured-ease);
}

.lm-featured-launch__mark img {
  display: block;
  width: auto;
  max-width: 12rem;
  height: auto;
  max-height: 3.15rem;
  object-fit: contain;
  pointer-events: none;
}

.lm-featured-launch__item--press .lm-featured-launch__mark img {
  max-height: 3.05rem;
}

.lm-featured-launch__item--play .lm-featured-launch__mark img {
  max-height: 2.85rem;
}

.lm-featured-launch__bowora {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 9.6rem;
  height: 2.85rem;
  padding: 0.28rem 0.7rem;
  background: #fff;
  color: #000;
  border: 1px solid #e8e8e8;
  border-radius: 0.5rem;
}

.lm-featured-launch__bowora svg {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  display: block;
}

.lm-featured-launch__bowora-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.lm-featured-launch__bowora-meta {
  font-family: var(--lm-font-body, 'IBM Plex Sans', sans-serif);
  font-size: 0.58rem;
  font-weight: 400;
  color: #000;
}

.lm-featured-launch__bowora-name {
  font-family: var(--lm-font-display, 'Bricolage Grotesque', Georgia, serif);
  font-size: 0.92rem;
  font-weight: 700;
  color: #000;
}

.lm-featured-launch__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  min-height: 2.05rem;
  text-align: center;
}

.lm-featured-launch__name {
  font-family: var(--lm-font-display, 'Bricolage Grotesque', Georgia, serif);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--lm-ink, #0c1222);
  line-height: 1.15;
  white-space: nowrap;
  transition: color 280ms var(--lm-featured-ease);
}

.lm-featured-launch__meta {
  font-family: var(--lm-font-body, 'IBM Plex Sans', sans-serif);
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--lm-muted, #64748b);
  line-height: 1.15;
  white-space: nowrap;
}

.lm-featured-launch__item:hover .lm-featured-launch__name,
.lm-featured-launch__item:focus-visible .lm-featured-launch__name {
  color: var(--lm-accent-deep, #0f766e);
}

.lm-featured-launch__item:hover .lm-featured-launch__mark img,
.lm-featured-launch__item:focus-visible .lm-featured-launch__mark img,
.lm-featured-launch__item:hover .lm-featured-launch__bowora,
.lm-featured-launch__item:focus-visible .lm-featured-launch__bowora {
  transform: translateZ(0) scale(1.05);
}

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

@keyframes lm-featured-marquee-rev {
  from { transform: translate3d(-50%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}

@media (hover: hover) and (pointer: fine) {
  .lm-featured-launch__track:has(.lm-featured-launch__item:hover),
  .lm-featured-launch__track:has(.lm-featured-launch__item:focus-visible) {
    animation-play-state: paused;
  }
}

@media (max-width: 720px) {
  .lm-featured-launch {
    --lm-featured-cell: 8.7rem;
    --lm-featured-rail-h: 6.05rem;
    --lm-featured-duration: 32s;
    padding: 1.05rem 0 1.15rem;
  }

  .lm-featured-launch__head {
    width: calc(100% - 1.5rem);
    gap: 0.55rem;
    margin-bottom: 0.8rem;
  }

  .lm-featured-launch .lm-featured-launch__title {
    letter-spacing: 0.1em;
    white-space: nowrap;
    max-width: none;
  }

  .lm-featured-launch__rail--desktop {
    display: none;
  }

  .lm-featured-launch__rail--mobile {
    display: flex;
    flex-direction: column;
    height: auto;
  }

  .lm-featured-launch__row {
    height: var(--lm-featured-rail-h);
    overflow: hidden;
  }

  .lm-featured-launch__row + .lm-featured-launch__row {
    border-top: 1px solid rgba(12, 18, 34, 0.06);
  }

  .lm-featured-launch__rail::before,
  .lm-featured-launch__rail::after {
    width: 1.6rem;
  }

  .lm-featured-launch__track--reverse {
    animation-name: lm-featured-marquee-rev;
    animation-duration: 38s;
  }

  .lm-featured-launch__item {
    padding: 0.38rem 0.36rem 0.32rem;
    gap: 0.22rem;
  }

  .lm-featured-launch__item::after {
    top: 16%;
    bottom: 16%;
  }

  .lm-featured-launch__mark {
    min-height: 2.15rem;
  }

  .lm-featured-launch__mark img {
    max-width: 6.55rem;
    max-height: 2.05rem;
  }

  .lm-featured-launch__bowora {
    min-width: 6.35rem;
    height: 2.05rem;
    padding: 0.12rem 0.38rem;
    gap: 0.3rem;
  }

  .lm-featured-launch__bowora svg {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }

  .lm-featured-launch__bowora-name {
    font-size: 0.8rem;
  }

  .lm-featured-launch__copy {
    min-height: 1.55rem;
    max-width: 100%;
  }

  .lm-featured-launch__name,
  .lm-featured-launch__meta {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .lm-featured-launch__name {
    font-size: 0.64rem;
  }

  .lm-featured-launch__meta {
    font-size: 0.52rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lm-featured-launch__viewport {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }

  .lm-featured-launch__track,
  .lm-featured-launch__track--reverse {
    animation: none;
    will-change: auto;
  }

  .lm-featured-launch__group:last-child {
    display: none;
  }

  .lm-featured-launch__item {
    scroll-snap-align: start;
  }

  .lm-featured-launch__item:hover .lm-featured-launch__mark img,
  .lm-featured-launch__item:focus-visible .lm-featured-launch__mark img,
  .lm-featured-launch__item:hover .lm-featured-launch__bowora,
  .lm-featured-launch__item:focus-visible .lm-featured-launch__bowora {
    transform: none;
  }
}
