/* Only the two scroll studies load these styles; original routes are untouched. */
.sceny{--scene-cream:#f3ecdf;--scene-sage:#dfe3d3;--scene-ink:#2e3329;--scene-width:min(100%,88rem)}
.sceny .between-note{position:relative;text-align:center;padding:1.15rem max(1.15rem,4vw);color:#293428;background:var(--scene-sage)}
.sceny.atlas .between-note{background:#242d24;color:#f5edd6}
.sceny .between-note a{font:650 .9rem/1.3 Raleway,system-ui,sans-serif;display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;text-underline-offset:.32em;letter-spacing:.045em}
.sceny .fresh-hero .exposure{translate:0 calc(var(--hero-drift,0) * clamp(26px,7svh,70px));scale:calc(1 + .058 * var(--hero-drift,0))}
.sceny .fresh-hero .fresh-heading{transform:translateY(calc(-26px * var(--hero-drift,0)))}
.sceny .motion-chapter,.sceny .motion-stop{margin:0 auto;scroll-margin-top:3rem}
.sceny .motion-label{margin:0 0 .7rem;font:700 .85rem/1.4 system-ui,sans-serif;letter-spacing:.14em;text-transform:uppercase}
.sceny .chapter-txt h2{margin:0;font:500 clamp(2.42rem,6.45vw,6.15rem)/.99 Raleway,Georgia,serif;letter-spacing:-.06em;text-wrap:balance}
.sceny .chapter-txt h2 i{font-weight:500}
.sceny .chapter-txt p:not(.motion-label){font:500 clamp(1.04rem,1.67vw,1.25rem)/1.53 Raleway,system-ui,sans-serif;max-width:37ch;margin:.85rem 0 0}
.sceny .chapter-photo{margin:0;min-width:0;overflow:hidden;position:relative;isolation:isolate}
.sceny .chapter-photo img{display:block;width:100%;height:100%;object-fit:cover}
.sceny .split-chapter{width:var(--scene-width);display:grid;grid-template-columns:1fr 1.12fr;align-items:center;gap:clamp(1.25rem,4vw,4.35rem);padding:clamp(1.4rem,5vw,4.8rem) clamp(1.2rem,4vw,4.2rem);background:var(--scene-cream);color:var(--scene-ink)}
.sceny .split-chapter .chapter-photo{aspect-ratio:1.3;mask-image:linear-gradient(180deg,#000 86%,transparent 100%)}
.sceny .split-chapter img{object-position:center 65%}
.sceny .chapter-turn{background:var(--scene-sage)}
.sceny .chapter-turn .chapter-photo{grid-area:1/1}
.sceny .chapter-turn .chapter-txt{grid-area:1/2}
.sceny .chapter-turn img{object-position:center 70%}
.sceny .motion-stop{position:relative;background:var(--scene-sage);color:#293629;padding:0 0 clamp(1.75rem,4vw,4.75rem)}
.sceny .motion-stop .ribbon{height:clamp(24rem,60vw,45rem);mask-image:linear-gradient(to bottom,transparent 0%,#000 9%,#000 83%,transparent 100%)}
.sceny .ribbon img{object-position:center 53%;transform:translateY(calc(var(--ribbon-drift,0) * -29px)) scale(1.085);transform-origin:center}
.sceny .ribbon-copy{position:relative;width:min(88%,63rem);margin:-1.55rem auto 0;padding:0 0 .25rem}
.sceny .ribbon-copy h2{max-width:17ch}
.sceny .motion-stop.second-stop{background:var(--scene-cream);color:#302720}
.sceny .second-stop .ribbon img{object-position:center 61%}
.sceny .second-stop .ribbon-copy{margin-left:auto;margin-right:auto;padding-left:clamp(0px,12vw,13rem)}
.sceny .section-entrance{--entrance-y:28px;--entrance-x:0;--entrance-delay:0ms;opacity:1;translate:0 0;transition:opacity .52s ease,translate .6s cubic-bezier(.18,.7,.25,1),clip-path .65s cubic-bezier(.18,.7,.25,1);transition-delay:var(--entrance-delay);clip-path:inset(0)}
.sceny .section-entrance.pending:not(:focus-within){opacity:.46;translate:var(--entrance-x) var(--entrance-y)}
.sceny .chapter-photo.section-entrance.pending{clip-path:inset(6% 6% 5% 0)}
.sceny .chapter-txt.section-entrance h2{transform:none}
.sceny .chapter-txt.section-entrance{--entrance-y:36px}
.sceny-rozdzialy .chapter-turn .chapter-photo.section-entrance.pending{clip-path:inset(6% 0 5% 6%)}
.sceny-pasma .ribbon.section-entrance{--entrance-y:13px}
.sceny-pasma .ribbon.section-entrance.pending{clip-path:inset(4% 0 5% 0)}
.sceny-pasma .ribbon-copy.section-entrance{--entrance-y:33px;--entrance-delay:60ms}
.sceny .table-rail article.section-entrance{--entrance-y:14px}
@media(min-width:55rem){
 .sceny-rozdzialy .split-chapter .chapter-txt.section-entrance{--entrance-x:-15px}
 .sceny-rozdzialy .chapter-turn .chapter-txt.section-entrance{--entrance-x:15px}
}
@media(max-width:46rem){
 .sceny .split-chapter{grid-template-columns:1fr;gap:1.1rem;padding:1.6rem 1.1rem 1rem}
 .sceny .chapter-turn .chapter-photo,.sceny .chapter-turn .chapter-txt{grid-area:auto}
 .sceny .split-chapter .chapter-photo{aspect-ratio:1.07}
 .sceny .motion-stop .ribbon{height:clamp(19.5rem,89vw,26rem)}
 .sceny .ribbon-copy{margin-top:-.6rem}
 .sceny .second-stop .ribbon-copy{padding-left:0}
}
@media(prefers-reduced-motion:reduce){
 .sceny .section-entrance,.sceny .section-entrance.pending:not(:focus-within){transition:none!important;opacity:1;translate:none;clip-path:none}
 .sceny .ribbon img,.sceny .fresh-hero .fresh-heading{transform:none!important}
 .sceny .fresh-hero .exposure{translate:none!important;scale:none!important}
}
