/**
 * Featured & launched on — continuous press rail.
 */
.lm-featured-launch + .lm-footer-cta-wrap--light {
  border-top: 0;
}

.lm-featured-launch {
  --lm-featured-cell: 15.5rem;
  --lm-featured-rail-h: 6.35rem;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1.2rem, 2.8vw, 1.75rem) 0 0;
  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::before,
.lm-featured-launch__rail::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(2.25rem, 8vw, 5.5rem);
  z-index: 2;
  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%;
  animation: lm-featured-marquee 28s linear infinite;
}

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

.lm-featured-launch__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  flex: 0 0 var(--lm-featured-cell);
  width: var(--lm-featured-cell);
  height: 100%;
  padding: 0.55rem 1.15rem;
  text-decoration: none;
  color: inherit;
  background: transparent;
  transition: background-color 160ms ease;
}

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

.lm-featured-launch__item:hover,
.lm-featured-launch__item:focus-visible {
  background: rgba(15, 118, 110, 0.045);
}

.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: 100%;
  min-height: 2.35rem;
}

.lm-featured-launch__mark img {
  display: block;
  width: auto;
  max-width: 8.4rem;
  height: auto;
  max-height: 2.35rem;
  object-fit: contain;
}

.lm-featured-launch__item--press .lm-featured-launch__mark {
  min-height: 2.55rem;
  padding: 0.28rem 0.55rem;
  background: #111;
  border-radius: 0.55rem;
}

.lm-featured-launch__item--press .lm-featured-launch__mark img {
  max-height: 2.15rem;
  max-width: 7.8rem;
}

.lm-featured-launch__item--play .lm-featured-launch__mark img {
  max-height: 2.2rem;
  max-width: 8.6rem;
}

.lm-featured-launch__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.08rem;
  text-align: center;
}

.lm-featured-launch__name {
  font-family: var(--lm-font-display, 'Bricolage Grotesque', Georgia, serif);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--lm-ink, #0c1222);
  line-height: 1.15;
}

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

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

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

@media (max-width: 720px) {
  .lm-featured-launch {
    --lm-featured-cell: 11.25rem;
    --lm-featured-rail-h: 5.7rem;
    padding-top: 1.05rem;
  }

  .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::before,
  .lm-featured-launch__rail::after {
    width: 1.6rem;
  }

  .lm-featured-launch__track {
    animation-duration: 18s;
  }

  .lm-featured-launch__item {
    padding: 0.45rem 0.7rem;
  }

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

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

@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 {
    animation: none;
  }

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

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