.ois-story { position: relative; width: 100%; background: #0b0e12; }
.ois-story-stage { position: relative; width: 100%; height: 100vh; height: 100svh; overflow: hidden; background: #0b0e12; color: #fff; }

.ois-story-media, .ois-story-layer { position: absolute; inset: 0; }
.ois-story-layer { will-change: opacity, transform; }
.ois-story-layer video,
.ois-story-layer img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ois-story-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.5) 100%); }

.ois-story-texts { position: absolute; inset: 0; pointer-events: none; }
.ois-story-text {
	position: absolute; bottom: 9vh; margin: 0;
	max-width: min(86vw, 640px);
	font-family: "Lexend Giga", "Helvetica Neue", Arial, sans-serif;
	font-size: clamp(22px, 2.4vw, 44px); font-weight: 300; line-height: 1.15; letter-spacing: -0.01em;
	text-align: left;
}
.ois-story-text.is-left  { left: 5vw; }
.ois-story-text.is-right { right: 5vw; }
.ois-sline { display: block; overflow: hidden; padding-bottom: .1em; }
.ois-sline > span { display: inline-block; will-change: transform; }

/* Before JS is ready (or if GSAP fails to load): show only the first slide, no pin. */
.ois-story:not(.is-ready) .ois-story-layer:not(:first-child),
.ois-story:not(.is-ready) .ois-story-text:not(:first-child) { display: none; }

@media (max-width: 600px) {
	.ois-story-text { bottom: 12vh; }
}
