/* Featured introduction typography. The case wheel and its layout stay in the homepage stylesheet. */
.home-editorial .featured-scroll-copy .section-kicker {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--section-copy);
}

.home-editorial .featured-scroll-copy .featured-scroll-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(30px, 3.4vw, 50px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0;
  color: #262823;
}

.home-editorial .featured-scroll-copy .featured-scroll-title .text-gradient {
  color: inherit;
  background: none;
  -webkit-text-fill-color: currentColor;
}

.home-editorial .featured-scroll-copy > p:not(.section-kicker):not(.featured-scroll-hint) {
  font-size: 14px;
  line-height: 2;
  color: var(--section-copy);
}






@media (max-width: 767px) {
  .home-editorial .featured-scroll-copy > p:not(.section-kicker):not(.featured-scroll-hint) {
    display: block;
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: 16px;
  }
  .home-editorial .featured-scroll-actions {
    display: flex;
    grid-column: 1 / -1;
    grid-row: 4;
    margin-top: 18px;
  }
  .home-editorial .featured-scroll-status { grid-column: 2; grid-row: 2; }
  .home-editorial .featured-scroll-dots { grid-row: 5; margin-top: 20px; }
  .home-editorial .featured-scroll-copy .section-kicker {
    font-size: 10px;
  }

  .home-editorial .featured-scroll-copy .featured-scroll-title {
    font-size: 29px;
    line-height: 1.5;
  }
}

/* A readable list is the default, even when the optional GSAP CDN fails. */
.home-editorial #featured-grid:not(.featured-mode-wheel) .featured-scroll-journey {
  min-height: 0;
}
.home-editorial #featured-grid:not(.featured-mode-wheel) .featured-scroll-stage {
  position: static;
  display: block;
  height: auto;
  min-height: 0;
  overflow: visible;
}
.home-editorial #featured-grid:not(.featured-mode-wheel) .featured-scroll-copy {
  max-width: 42rem;
  margin-bottom: 2rem;
}
.home-editorial #featured-grid:not(.featured-mode-wheel) .featured-wheel {
  position: relative;
  top: auto;
  display: grid;
  align-items: start;
  gap: 2rem;
  height: auto;
  min-height: 0;
  overflow: visible;
  perspective: none;
}
.home-editorial #featured-grid:not(.featured-mode-wheel) .featured-case-card {
  position: relative;
  inset: auto;
  align-content: start;
  opacity: 1;
  visibility: visible;
  transform: none;
  will-change: auto;
  contain: none;
  scroll-margin-top: calc(var(--page-scroll-offset, 99px) + 16px);
}
.home-editorial #featured-grid:not(.featured-mode-wheel) .featured-scroll-status,
.home-editorial #featured-grid:not(.featured-mode-wheel) .featured-scroll-dots,
.home-editorial #featured-grid:not(.featured-mode-wheel) .featured-scroll-hint {
  display: none;
}
.home-editorial .featured-scroll-dot:focus-visible {
  outline: 2px solid var(--section-heading);
  outline-offset: 6px;
}
.home-editorial .featured-case-browser:focus-visible {
  outline: 3px solid var(--section-heading);
  outline-offset: 5px;
}

@media (max-width: 767px) {
  .home-editorial #featured-grid .featured-scroll-copy {
    grid-template-columns: 1fr;
    max-width: none;
  }
  .home-editorial #featured-grid .featured-wheel { gap: 1.5rem; }
  .home-editorial #featured-grid .featured-case-browser { background: #fff; }
  .home-editorial #featured-grid .featured-case-browserbar {
    min-height: 2.35rem;
    height: auto;
    padding-block: .65rem;
    background: #f6f3ee;
  }
  .home-editorial #featured-grid .featured-case-browserbar span { flex-shrink: 0; }
  .home-editorial #featured-grid .featured-case-browserbar b {
    max-width: none;
    font-size: .7rem;
    line-height: 1.6;
    letter-spacing: .03em;
    white-space: normal;
    overflow-wrap: anywhere;
    color: #526154;
  }
}

/* Each card remains in flow. Later cards naturally cover earlier cards. */
@media (max-width: 767px) and (prefers-reduced-motion: no-preference) {
  .home-editorial #featured-grid.featured-mode-stack .featured-case-card {
    position: sticky;
    top: calc(var(--page-scroll-offset, 99px) + 16px);
    z-index: var(--featured-order);
  }
  .home-editorial #featured-grid.featured-mode-stack .featured-case-card:has(:focus-visible) {
    z-index: 100;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-editorial #featured-grid .featured-case-card { visibility: visible !important; }
  .home-editorial #featured-grid .featured-case-browser { transition: none; }
}
