/* home-snap2 (2026-11-01): desktop — one module = exactly one screen, aligned snap, centred content.
   Loaded after home-fix-v3.css so it wins on equal specificity. Below 1024px nothing here applies. */
@media (min-width:1024px){
  html:has(.home-story),body.home-story{height:100%;overflow:hidden}
  body.home-story>.wrap{height:100dvh;min-height:0;max-height:100dvh;display:flex;flex-direction:column;overflow:hidden}

  /* the scroller keeps its own height; JS drives the 700ms eased jump */
  .story-scroll{flex:1 1 auto;height:auto;min-height:0;overflow-y:auto;overflow-x:hidden;
    scroll-snap-type:none;scroll-behavior:auto;overscroll-behavior-y:contain}

  /* every module is exactly one viewport minus the fixed header */
  .story-screen{height:100%;min-height:0;max-height:100%;box-sizing:border-box;overflow:hidden;
    display:flex;align-items:center;justify-content:center;
    padding:10px 84px 10px 40px;scroll-snap-align:start}
  .story-screen.first-screen{padding:0}

  /* the card is centred and never scrolls on its own */
  .story-screen .story-content{max-height:100%;overflow:hidden;box-sizing:border-box;
    width:100%;max-width:min(1280px,88vw);padding:20px 30px;
    display:flex;flex-direction:column;justify-content:center}
  .home-story .solutions-content{max-width:min(1280px,88vw)}

  /* hero screen: artwork is a fixed backdrop, the copy sits centred */
  .home-story .story-screen .hero{height:100%;min-height:0;max-height:100%;overflow:hidden;
    display:flex;align-items:center;justify-content:center;padding:0}
  .home-story .hero-copy{height:100%;min-height:0;max-height:100%;overflow:hidden;box-sizing:border-box;
    display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;
    padding:16px 72px}
  .home-story .hero-copy::before,.home-story .hero-copy::after{display:none}
  .home-story .hero-copy>*{flex-shrink:0;max-width:100%}

  /* a bit more air on tall screens, still one screen */
  @media (min-height:960px){
    .story-screen .story-content{padding:28px 40px;font-size:clamp(15px,1vw,18px)}
    .story-screen{padding:16px 96px 16px 56px}
  }
}

/* Safety net for long translations: JS sets a uniform zoom so nothing is clipped. */
.story-screen .story-content{transform-origin:center center}
