/* Phone/tablet reading mode. Desktop keeps its cinematic scroll treatment. */
@media (max-width: 900px) {
  html {
    scroll-behavior: auto;
    scroll-padding-top: 5.5rem;
  }

  .home-page .hero-scroll {
    display: grid;
    height: auto;
  }

  /* Flatten the sticky wrapper so the existing #paths anchor can sit between
     the hero and the direction panel, including on direct fragment visits. */
  .home-page .hero-sticky {
    display: contents;
    position: static;
    height: auto;
    min-height: 0;
  }

  .home-page .hero-scene {
    grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    height: auto;
    min-height: 100svh;
    padding: 8.5rem 1.25rem 2rem;
    isolation: isolate;
  }

  .home-page .hero-copy,
  .home-page .hero-details,
  .home-page .scroll-invitation {
    position: relative;
    inset: auto;
    width: 100%;
    opacity: 1;
    transform: none;
    will-change: auto;
  }

  .home-page .hero-copy h1 {
    font-size: clamp(3.1rem, 15vw, 7rem);
    max-width: 100%;
  }

  html[lang="es"] .home-page .hero-copy h1 {
    font-size: clamp(2.65rem, 12.4vw, 5.8rem);
  }

  .home-page .hero-details {
    max-width: 34rem;
    margin-top: auto;
  }

  .home-page .hero-support {
    margin-bottom: 0;
  }

  .home-page .scroll-invitation {
    min-height: 2.75rem;
    max-width: 34rem;
  }

  .home-page .scroll-invitation-copy strong {
    white-space: normal;
  }

  .home-page .hero-art,
  .home-page .hero-art-grid,
  .home-page .hero-art::before {
    transform: none;
    will-change: auto;
  }

  .home-page .hero-shade::after {
    opacity: 0;
  }

  .home-page .paths-anchor {
    grid-row: 2;
    position: relative;
    inset: auto;
    height: 0;
  }

  .home-page .intent-curtain--photo {
    grid-row: 3;
    position: relative;
    inset: auto;
    min-height: 0;
    padding-top: 2.5rem;
    clip-path: none;
    transform: none;
    will-change: auto;
  }

  .home-page .intent-curtain > * {
    opacity: 1;
    transform: none;
    will-change: auto;
  }

  .home-page .intent-path-agent .intent-copy h3 span {
    white-space: normal;
  }

  .home-page .intent-actions {
    align-items: stretch;
  }

  .home-page .intent-curtain-topline::after,
  .home-page .scroll-invitation-line i {
    transform: scaleX(1);
  }

  /* Keep already-readable content readable when a visitor reverses a swipe. */
  .js .recruit-reveal,
  .js .editorial-page .scroll-motion {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }

  .editorial-hero-visual {
    transform: none;
    will-change: auto;
  }

  .js .footer-social-stage .footer-social-list a,
  .js .footer-social-stage .social-icon {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .experience-menu-links {
    overscroll-behavior-y: contain;
  }
}
