@media (max-width: 767px) {
    html:has(body.home),
    html:has(body.page-portfolio:not(.page-case)) {
        scroll-snap-type: none;
        scroll-padding-top: var(--nav-height);
    }

    body.home .home-hero,
    body.home .home-section,
    body.home .home-section--bleed,
    body.home .home-manifesto,
    body.home .home-closing,
    body.home .home-footer {
        scroll-snap-align: none;
    }

    body.home .home-hero,
    body.home .home-section,
    body.home .home-section--bleed,
    body.home .home-manifesto,
    body.home .home-closing {
        height: auto;
        min-height: calc(100svh - var(--nav-height));
    }
    body.home .home-hero { order: 0; }

    body.page-portfolio:not(.page-case) .pf-cover,
    body.page-portfolio:not(.page-case) .pf-fase,
    body.page-portfolio:not(.page-case) .home-footer {
        scroll-snap-align: none;
    }
}
