/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* Intro curtain */
.moira-intro {
	position: fixed; inset: 0; z-index: 9999;
	background: #15140F; color: #F5F1E8;
	display: flex; align-items: center; justify-content: center;
}
.moira-intro__mask { overflow: hidden; }
.moira-intro__word {
	font-family: 'Noto Serif Display', serif; font-weight: 300;
	font-size: clamp(40px, 8vw, 96px); letter-spacing: .32em; padding-left: .32em;
	display: block;
}

/* Hero title line masks */
.moira-line { display: block; overflow: hidden; padding-bottom: .08em; }
.moira-line > span { display: block; will-change: transform; }

/* Parallax images get room to travel */
.moira-parallax { height: 120% !important; top: -10% !important; position: relative; object-fit: cover; will-change: transform; }

/* Marquee */
.moira-marquee { overflow: hidden; justify-content: flex-start !important; }
.moira-marquee__track { display: inline-flex; white-space: nowrap; will-change: transform; }
.moira-marquee__track > * { flex: none; padding-right: 56px; text-align: left !important; }

/* Manifesto words */
.moira-word { display: inline-block; opacity: .14; will-change: opacity; }

/* Pre-hide while JS boots (removed by JS or a 4s safety timeout) */
html.moira-fx [data-id="7d13ae46"],
html.moira-fx [data-interaction-id="7d13ae46"],
html.moira-fx [data-id="6e53a66c"],
html.moira-fx [data-interaction-id="6e53a66c"],
html.moira-fx [data-id="43adca7b"],
html.moira-fx [data-interaction-id="43adca7b"],
html.moira-fx [data-id="52802a8f"],
html.moira-fx [data-interaction-id="52802a8f"] { visibility: hidden; }

@media (prefers-reduced-motion: reduce) {
	.moira-intro { display: none; }
	.moira-word { opacity: 1; }
}
