/* Scroll choreography. All content has a static, readable fallback. */
html.lenis,
html.lenis body {
  height: auto;
}
html.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
html.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
html.lenis.lenis-stopped {
  overflow: hidden;
}
html.lenis.lenis-smooth iframe {
  pointer-events: none;
}
.motion-word {
  display: inline-block;
  white-space: nowrap;
}
.hero h1 .hero-word-mask,
.hero h1 .motion-word,
.trust-layout h2 .motion-word {
  color: inherit;
}
.scroll-title {
  transform-origin: 0 50%;
}
.scroll-title .motion-word {
  transform-origin: 0 50%;
}
.hero-word-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-block: 0.05em;
  margin-block: -0.05em;
}
.hero-word-mask > .motion-word {
  display: inline-block;
}
.feature-stage {
  display: none;
}
.feature-stage-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  isolation: isolate;
}
.feature-stage-layer .feature-art {
  height: 100%;
  min-height: 0;
  border-radius: 0;
}
.feature-stage-layer .formats-art {
  align-items: center;
}
.feature-stage-layer .format-sample {
  margin: 0;
}
.feature-stage-layer .articles-screen {
  margin-top: 4%;
  width: 38%;
}
.feature-stage-layer .articles-tag {
  right: 10%;
}
.feature-stage-label {
  position: absolute;
  z-index: 5;
  top: 19px;
  left: 19px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: #fff;
  background: #121212db;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.feature-stage-label svg {
  width: 13px;
  height: 13px;
}
.feature-stage-meter {
  position: absolute;
  z-index: 5;
  bottom: 18px;
  right: 19px;
  display: flex;
  gap: 5px;
  align-items: center;
  background: #121212db;
  color: white;
  padding: 9px 11px;
  border-radius: 8px;
}
.feature-stage-meter i {
  width: 18px;
  height: 3px;
  border-radius: 3px;
  background: #9a9994;
}
.feature-stage-meter i.is-active {
  background: var(--orange);
}
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  html.scroll-motion-active .feature-story {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(36px, 5vw, 84px);
    align-items: start;
  }
  html.scroll-motion-active .feature-stage {
    display: block;
    position: sticky;
    top: clamp(102px, 15vh, 152px);
    height: clamp(390px, 60vh, 580px);
    border-radius: var(--radius);
    overflow: hidden;
    isolation: isolate;
    background: #deded7;
    align-self: start;
  }
  html.scroll-motion-active .feature-track {
    min-width: 0;
  }
  html.scroll-motion-active .feature-track > .feature-row {
    display: flex;
    align-items: center;
    min-height: 58vh;
    padding: 48px 0;
    gap: 0;
  }
  html.scroll-motion-active .feature-track > .feature-row > .feature-art {
    display: none;
  }
  html.scroll-motion-active .feature-track .feature-copy {
    max-width: 480px;
  }
  html.scroll-motion-active .feature-track .feature-copy h3 {
    font-size: clamp(2rem, 3.25vw, 3.4rem);
  }
  html.scroll-motion-active .feature-track .feature-copy p {
    font-size: 1.06rem;
  }
  html.scroll-motion-active .feature-track > .feature-row:last-child {
    min-height: 64vh;
  }
  html.scroll-motion-active .path-layout {
    align-items: start;
  }
  html.scroll-motion-active .path-visual {
    position: sticky;
    top: clamp(102px, 15vh, 152px);
    height: clamp(440px, 63vh, 600px);
  }
  html.scroll-motion-active .steps article {
    min-height: 30vh;
    align-items: center;
  }
  html.scroll-motion-active .steps {
    justify-content: flex-start;
  }
  html.scroll-motion-active .steps > .text-link {
    margin-bottom: 32px;
  }
}
/* A fixed frame with an oversized moving image creates genuine depth. */
html.scroll-motion-active .path-visual img,
html.scroll-motion-active .closing-inner img {
  animation: none !important;
}
html.scroll-motion-active .path-visual,
html.scroll-motion-active .closing-inner,
html.scroll-motion-active .feature-art {
  overflow: hidden;
}
@media (max-width: 900px) {
  html.scroll-motion-active .feature-track {
    display: block;
  }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-title,
  .scroll-title .motion-word,
  .hero-word-mask > .motion-word {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }
  .feature-stage {
    display: none !important;
  }
  .path-visual img,
  .closing-inner img,
  .raw-photo > img {
    transform: none !important;
  }
  .device,
  .feature-art,
  .path-caption,
  .closing-price {
    translate: none !important;
  }
}
