.story{height:600svh}
.stage{overflow:clip;background:#091711}
#journey{position:absolute;inset:0;z-index:1;opacity:0}#journey canvas{display:block;width:100%;height:100%}
.journey-ready #journey{opacity:1}
.shade{opacity:calc(1 - var(--passage,0)*.95);background:linear-gradient(90deg,#081a12e8 0,#081a1290 28%,transparent 62%),linear-gradient(0deg,#08150ee0,transparent 20%)}
.chapters{will-change:opacity}
.journey-fallback #journey{display:none}.journey-fallback .stage{background-image:url('./assets/exterieur-entree-ouverte.jpg');background-position:60% center;background-size:cover}.journey-fallback .story{height:100svh}.journey-fallback .motion-toggle,.journey-fallback .scroll-hint{display:none}
@media(max-width:600px){.story{height:540svh}.shade{background:linear-gradient(180deg,#102219 0,#102219df 19%,#102219a0 35%,transparent 64%,transparent 83%,#07120ed9)}.chapter[data-chapter="2"] h2{font-size:46px}.chapter[data-chapter="2"] .intro{font-size:14px;max-width:88%}}

.stage>.motion-toggle{position:absolute;right:5.2%;bottom:25px;z-index:4;background:#0b1a1499;backdrop-filter:blur(8px)}
.chapter .scroll-hint{display:flex;min-width:0;font-size:13px;line-height:1.5;color:#c8cfc5}.chapter .scroll-track{height:42px}
@media(max-width:600px){.stage>.motion-toggle{right:7%;bottom:22px;padding:9px 11px;min-height:44px;min-width:44px}.stage{min-height:0}}

/* Keep the caquelon unobstructed during the final close-up. */
.stage[data-chapter="2"] .scroll-hint{visibility:hidden}
.stage[data-chapter="2"] .scroll-track i{animation:none}
@media(max-width:600px){
  .stage[data-chapter="0"] .shade{background:linear-gradient(180deg,#102219 0,#102219ef 35%,#102219c9 50%,transparent 56%,transparent 83%,#07120ed9)}
  .stage[data-chapter="2"] .shade{background:linear-gradient(180deg,#102219 0,#102219 19%,#102219e8 35%,#102219c2 44%,#1022197d 50%,transparent 61%,transparent 83%,#07120ed9)}
}

/* A stopped scene occupies one screen; the rest of the site scrolls normally. */
.reduced-motion .story{height:auto}
.reduced-motion .stage{position:relative}
