.site-main--home {
  overflow: hidden;
}

.home-hero {
  position: relative;
  display: grid;
  min-height: clamp(34rem, 82svh, 52rem);
  align-items: end;
  isolation: isolate;
  background: var(--rps-surface);
}

.home-hero__media,
.home-hero__overlay {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.home-hero__media picture {
  display: contents;
}

.home-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--rps-hero-x) var(--rps-hero-y);
}

.home-hero__overlay {
  z-index: -1;
  background: rgba(0, 0, 0, var(--rps-hero-overlay));
}

.home-hero.has-media .home-hero__overlay {
  background: linear-gradient(to bottom, rgba(3, 3, 4, 0.08) 12%, rgba(3, 3, 4, calc(var(--rps-hero-overlay) + 0.12)) 68%, var(--rps-black) 100%);
}

.home-hero__inner {
  display: grid;
  gap: 1.5rem;
  padding-block: clamp(5rem, 16svh, 9rem) 3.5rem;
}

.home-hero__copy {
  max-width: 47rem;
}

.home-hero .eyebrow {
  margin-bottom: 0.9rem;
}

.home-hero h1 {
  max-width: 13ch;
  margin: 0;
  font-size: var(--rps-heading-hero);
  line-height: 0.88;
  text-transform: uppercase;
}

.home-hero h1::first-line {
  color: var(--rps-heading-text);
}

.home-hero__copy > p {
  max-width: 35rem;
  margin: 1.35rem 0 0;
  color: var(--rps-text);
  font-size: clamp(0.98rem, 2.6vw, 1.12rem);
  line-height: 1.55;
}

.home-hero .button {
  margin-top: 1.5rem;
}

.home-hero__badge {
  display: inline-flex;
  width: fit-content;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(222, 102, 255, 0.7);
  border-radius: 0.25rem;
  background: rgba(5, 5, 5, 0.72);
  color: var(--rps-link-hover);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.home-section {
  padding-block: clamp(3rem, 8vw, 5.5rem);
  border-top: 1px solid var(--rps-line);
}

.home-section + .home-section {
  padding-top: clamp(2.75rem, 7vw, 5rem);
}

.content-rail {
  display: grid;
  overflow-x: auto;
  grid-auto-columns: min(78vw, 21rem);
  grid-auto-flow: column;
  gap: 1rem;
  padding: 0.15rem max(var(--rps-gutter), calc((100vw - var(--rps-shell)) / 2)) 1rem 0;
  scroll-padding-inline: var(--rps-gutter);
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}

.content-rail::-webkit-scrollbar {
  display: none;
}

.content-rail > * {
  scroll-snap-align: start;
}

.content-rail--stack-mobile {
  display: grid;
  overflow: visible;
  grid-auto-flow: row;
  grid-template-columns: 1fr;
  padding-right: 0;
}

.rail-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 2.5rem 0 1rem;
}

.rail-heading h3 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.rail-heading span {
  color: var(--rps-muted);
  font-size: 0.68rem;
}

.featured-story {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--rps-line);
  border-radius: 0.35rem;
  background: var(--rps-surface);
}

.featured-story__image {
  display: block;
  min-height: 16rem;
  background: var(--rps-surface);
}

.featured-story__image img,
.featured-story__image .content-card__placeholder {
  width: 100%;
  height: 100%;
  min-height: 16rem;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.featured-story__body {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  padding: clamp(1.25rem, 5vw, 3rem);
}

.featured-story__body .eyebrow {
  margin-bottom: 1rem;
}

.featured-story__body .content-label {
  margin-bottom: 0.8rem;
}

.featured-story__body h3 {
  margin: 0;
  font-size: var(--rps-heading-feature);
}

.featured-story__body h3 a {
  text-decoration: none;
}

.featured-story__body p {
  margin: 1rem 0 0;
  color: var(--rps-muted);
}

.featured-story__body time {
  margin-top: 1rem;
  color: var(--rps-muted);
  font-size: 0.72rem;
}

.show-card,
.cq-card {
  min-width: 0;
}

.show-card__link,
.cq-card > a,
.cq-card__inner {
  display: block;
  color: inherit;
  text-decoration: none;
}

.show-card__image,
.cq-card__image {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 0.35rem;
  background: var(--rps-surface);
}

.show-card__image img,
.show-card__image .content-card__placeholder,
.cq-card__image img,
.cq-card__image .content-card__placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.show-card__image .content-label {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
}

.show-card__body,
.cq-card__body {
  padding-top: 0.9rem;
}

.show-card h3,
.cq-card h3 {
  margin: 0;
  font-family: var(--rps-sans);
  font-size: 1rem;
  font-weight: 760;
  line-height: 1.25;
}

.show-card__body p,
.show-card__body span,
.cq-card__body p {
  margin: 0.4rem 0 0;
  color: var(--rps-muted);
  font-size: 0.8rem;
}

.cq-card__body .content-label {
  margin-bottom: 0.6rem;
}

.home-cq {
  background: var(--rps-black);
}

.home-legacy {
  padding-block: clamp(1.25rem, 4vw, 2.5rem);
  background: var(--rps-black);
}

.home-legacy__inner {
  overflow: hidden;
  border: 1px solid var(--rps-line);
  border-radius: 0.4rem;
  background: var(--rps-surface);
}

.home-legacy__media {
  min-height: 19rem;
}

.home-legacy__media picture {
  display: contents;
}

.home-legacy__image {
  width: 100%;
  height: 100%;
  min-height: 19rem;
  max-height: 34rem;
  object-fit: cover;
}

.home-legacy__content {
  padding: clamp(1.5rem, 6vw, 4rem);
}

.home-legacy h2 {
  max-width: 13ch;
  margin-top: 0.5rem;
  font-size: var(--rps-heading-legacy);
  text-transform: uppercase;
}

.home-legacy__text {
  max-width: 41rem;
  color: var(--rps-text);
}

.legacy-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 2rem 0;
  background: var(--rps-line);
}

.legacy-stats > div {
  min-width: 0;
  padding: 1.1rem;
  background: var(--rps-surface);
  text-align: center;
}

.legacy-stats dt {
  color: var(--rps-link-hover);
  font-family: var(--rps-display);
  font-size: var(--rps-heading-stat);
  font-weight: 850;
  line-height: 1;
}

.legacy-stats dd {
  margin: 0.45rem 0 0;
  color: var(--rps-muted);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-transform: uppercase;
}

@media (min-width: 700px) {
  .home-hero__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .home-hero__badge {
    justify-self: end;
  }

  .featured-story {
    grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
  }

  .featured-story__image,
  .featured-story__image img,
  .featured-story__image .content-card__placeholder {
    min-height: 28rem;
  }
}

@media (min-width: 900px) {
  .home-hero {
    min-height: min(82vh, 55rem);
  }

  .home-hero__inner {
    padding-bottom: clamp(4rem, 8vh, 7rem);
  }

  .home-hero h1 {
    font-size: var(--rps-heading-hero-desktop);
  }

  .content-rail,
  .content-rail--stack-mobile {
    display: grid;
    overflow: visible;
    grid-auto-flow: row;
    grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
    gap: 1.25rem;
    padding: 0;
  }

  .news-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .show-rail,
  .exclusives-rail,
  .cq-rail {
    grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
  }

  .feature-stacked .featured-story {
    grid-template-columns: 1fr;
  }

  .feature-stacked .featured-story__image,
  .feature-stacked .featured-story__image img {
    max-height: 34rem;
  }

  .rail-heading span {
    display: none;
  }

  .home-legacy__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    min-height: 35rem;
  }

  .home-legacy__media,
  .home-legacy__image {
    min-height: 100%;
    max-height: none;
  }

  .home-legacy__content {
    align-self: center;
  }

  .legacy-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .news-rail {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
