.display-1 {
    font-family: 'Tondu', 'Outfit', sans-serif !important;
}

.background-radial-blur {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    background: radial-gradient(circle at 30% 60%, rgba(54, 94, 255, 0.15) 0%, rgba(54, 94, 255, 0.1) 25%, rgba(88, 107, 250, 0.08) 50%, rgba(133, 137, 242, 0.06) 75%, rgba(234, 236, 249, 0.3) 100%);
    filter: blur(60px) saturate(150%);
    z-index: -5;
    /* Promote to its own composite layer so the blur is rasterized once,
       not recomputed every scroll frame */
    will-change: transform;
    transform: translateZ(0);
}

.snap-section {
    height: 100vh !important;
    min-height: 100vh !important;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    /* Each section is its own paint/layout boundary so off-screen sections
       don't trigger paints when scrolling */
    contain: layout paint;
}

/* Mobile: disable fixed 100vh sections — let content dictate height */
@media (max-width: 991px) {
    .snap-section {
        height: auto !important;
        min-height: auto !important;
        overflow: visible;
        contain: none;
    }

    /* Hero stays fullscreen */
    .snap-section:first-of-type {
        height: 100vh !important;
        height: 100dvh !important;
        min-height: 100vh !important;
    }
}

.gallery-snap-section {
    padding: var(--space-section-y) 0;
    background: transparent;
}

.sliders-snap-section {
    gap: 1rem;
    padding: 2rem 0 0 0;
    background: transparent;
    justify-content: space-between;
    overflow: hidden;
}

.mortal-mage-section.snap-section {
    flex-direction: row;
    padding: var(--space-section-y) var(--space-section-x);
}

/* Parallax images for about section (desktop only) */
@media (min-width: 992px) {
    .about-parallax-images {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        z-index: 100;
        overflow: visible;
    }

    .about-parallax-img {
        position: absolute;
        width: 220px;
        height: 220px;
        border-radius: 1.5rem;
        box-shadow: 0 12px 32px rgba(26, 18, 64, 0.25);
        z-index: 101;
        opacity: 0;
        transform: translateY(24px) scale(0.92);
        object-fit: cover;
        background: #1a1240;
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .about-parallax-images.is-revealed .about-parallax-img {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    .about-sticky {
        position: relative;
        z-index: 102;
    }
}

@media (max-width: 991px) {
    .about-parallax-images,
    .about-parallax-img {
        display: none !important;
    }
}
