.site-footer {
    z-index: -1;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    padding-top: 100px;
    background-color: var(--quaternary-color, #1a1a1a);
}

.page-content {
    position: relative;
    z-index: 2;
    margin-bottom: 507px;
}

/* ============================================
   BLUR-IN REVEAL ANIMATION (Desktop / Normal View)
   Starts blurred + faded, sharpens as it scrolls into view.
============================================ */
.blur-reveal {
    opacity: 0;
    filter: blur(14px);
    transform: translateY(24px);
    transition: opacity .9s ease,
                filter .9s ease,
                transform .9s ease;
}

.blur-reveal.is-visible {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE VIEW (Mobile & Tablet <= 1280px)
   Normal flow, no 507px margin, no blur/black shadow before footer
============================================ */
@media (max-width: 1280px) {
    .page-content {
        margin-bottom: 0;
    }
    .site-footer {
        position: relative;
        left: auto;
        bottom: auto;
        padding-top: 50px;
        z-index: 1;
    }
    /* Disable blur-reveal on responsive so black shadow never appears before footer */
    .blur-reveal,
    .blur-reveal.is-visible {
        opacity: 1 !important;
        filter: none !important;
        transform: none !important;
        transition: none !important;
    }
}
