/* North Sea Core — motion styles. Reveal hiding is gated on `.nsc-js` (added to
   <html> before paint) so content is fully visible if JS fails; reduced-motion
   disables all transforms. */

.nsc-js .nsc-reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity .55s cubic-bezier(.16, .8, .3, 1), transform .55s cubic-bezier(.16, .8, .3, 1);
	transition-delay: var(--nsc-reveal-delay, 0ms);
	will-change: opacity, transform;
}
.nsc-js .nsc-reveal.is-visible {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.nsc-js .nsc-reveal {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
	html { scroll-behavior: auto !important; }
}

/* Native smooth scroll as a baseline (JS handles offset + reduced-motion). */
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}
