/* Explain: Styles for the soft reveal animation on elements. */
/* Artwork reveal — each framed piece rises softly into view as it enters the
   frame: it eases up from a slightly lower, faintly reduced position and
   settles fully lit and upright. The movement is carried on its own layer
   (opacity, transform) so nothing around it reflows, and the whole effect is
   dropped for anyone who prefers reduced motion. */
.nd-reveal {
    opacity: 0;
    transform: translate3d(0, 22px, 0) scale(1.015);
    transition: opacity 1200ms cubic-bezier(0.22, 1, 0.36, 1),
                transform 1400ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.nd-reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
    .nd-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}