/* Natural document flow: reading is never timed, pinned or internally scrollable. */
html{scroll-behavior:auto}
.q-intro{height:auto!important}
.q-intro .q-sticky{position:relative;height:100svh;min-height:620px}
.story-enhanced .cinema.hero,.story-enhanced [data-story]{height:auto;min-height:0;--copy:1;--chapter:1;--reading:1}
.story-enhanced .hero>.stage{position:relative;height:auto;min-height:0;overflow:visible;display:block;padding:0}
.story-enhanced .hero .hero-copy{position:relative;opacity:1;transform:none;padding-top:clamp(80px,12svh,140px);padding-bottom:64px}
.story-enhanced .hero .chapter-reveal{position:relative;display:block;inset:auto;opacity:1;transform:none;padding:32px 0 100px;pointer-events:auto}
.story-enhanced .hero .chapter-reveal::before{display:none}
.story-enhanced .hero .scene-bottom{display:none}
.story-enhanced [data-story]>.stage{position:absolute;inset:0;height:100%;min-height:0;pointer-events:none}
.story-enhanced [data-story]>.story-content,.story-enhanced [data-story]>.room-story{position:relative;top:auto;height:auto;min-height:0;margin-top:0;padding:56px 0 110px;display:block}
.story-enhanced [data-story] .chapter-heading{padding:0 0 24px}
.story-enhanced .chapter-reading{opacity:1;visibility:visible;transform:none;max-height:none;overflow:visible;overscroll-behavior-y:auto}
.story-enhanced .chapter-cue{display:none}
.story-enhanced .service-foot{padding-top:24px}
.cinema-plane::after,.cinema-plane[data-camera=disjuntor]::after,.cinema-plane[data-camera=ambiente]::after{opacity:1;background:linear-gradient(90deg,#101113eb 0%,#101113b0 40%,#10111330 76%),linear-gradient(0deg,#10111366,transparent 30%,transparent 70%,#10111344)}
.cinema-world{perspective:none;mask-image:none}
.cinema-plane{will-change:opacity}
.story-enhanced .hero .scene-media{position:absolute;inset:0;margin:0;aspect-ratio:auto;transform:none}
.story-enhanced .hero .frame{width:100%;height:100%;inset:0;transform:none;object-fit:cover;object-position:95% center}
.story-enhanced .hero .shade{display:block;opacity:1}
.story-enhanced .hero .scene-media,.story-enhanced [data-story] .scene-media{mask-image:none}
.story-enhanced:not(.cinema-active) .cinema{background:#101113}
.story-enhanced:not(.cinema-active) .scene-media{opacity:.35}
@media(max-width:700px),(max-height:600px){
 .q-intro .q-sticky{min-height:560px}
 .cinema-plane:not([data-camera=ambiente]) img,.cinema-plane:not([data-camera=ambiente]) video{width:100%;height:100%;inset:0;transform:none;object-fit:cover;object-position:70% center;mask-image:none}
 .cinema-plane[data-camera=quadro] img,.cinema-plane[data-camera=quadro] video{object-fit:cover;object-position:95% center}
 .cinema-plane::after,.cinema-plane[data-camera=disjuntor]::after,.cinema-plane[data-camera=ambiente]::after{background:linear-gradient(90deg,#101113da,#101113a8 68%,#10111380),linear-gradient(0deg,#10111355,transparent 40%)}
 .story-enhanced .hero .hero-copy{padding-top:64px;padding-bottom:48px}
 .story-enhanced .hero .chapter-reveal{padding:24px 0 72px}
 .story-enhanced [data-story]>.story-content,.story-enhanced [data-story]>.room-story{padding:40px 0 84px}
 .chapter-reading{max-height:none;overflow:visible;overscroll-behavior:auto}
}
@media(prefers-reduced-motion:reduce){.q-intro .q-sticky{height:auto;min-height:620px}}
/* Keep the complete panel inside a portrait screen, including its opening door. */
@media(max-width:700px){
 .cinema-plane[data-camera=quadro] img,.cinema-plane[data-camera=quadro] video{width:200%;height:100%;left:-100%;right:auto;top:0;object-fit:contain;object-position:center;mask-image:linear-gradient(transparent 10%,#000 28%,#000 72%,transparent 90%)}
}
