
@media (min-width: 1600px) {
    body.custom-header-relative {
        --nf-scale: 1.1;
    }
    /* Keep the fixed header itself unzoomed, including its stacking context.
       Scale its contents and vertical padding independently. */
    body.custom-header-relative .page-shell > header.topbar {
        padding-block: calc(1rem * var(--nf-scale));
    }
    body.custom-header-relative .page-shell > header.topbar.is-scrolled {
        padding-block: calc(.75rem * var(--nf-scale));
    }
    body.custom-header-relative header.topbar > .navbar,
    body.custom-header-relative .page-shell > footer.footer-ott {
        zoom: var(--nf-scale);
    }
    /* The original 1440px cap is now measured in scaled layout pixels.
       Use the laptop's relative content width and retain side gutters. */
    body.custom-header-relative header.topbar > .navbar > .site-container,
    body.custom-header-relative footer.footer-ott > .site-container {
        width: 93.75%;
        max-width: none;
        margin-inline: auto;
    }
    body.custom-header-relative header.topbar .navbar-nav .nav-link,
    body.custom-header-relative header.topbar .nav-tools {
        white-space: nowrap;
    }
    /* The fixed header is taller now. Reserve space on the three Swiper
       hero pages only; leave banner artwork and carousel sizing untouched. */
    body.custom-header-relative .page-shell > main > .hero-section:has(> .heroSwiper) {
        padding-top: calc(100px * var(--nf-scale));
    }
}
@media (min-width: 1920px) {
    body.custom-header-relative { --nf-scale: 1.25; }
}
@media (min-width: 2560px) {
    body.custom-header-relative { --nf-scale: 1.666667; }
}
@media (min-width: 3440px) {
    body.custom-header-relative { --nf-scale: 2.239583; }
}
@media (min-width: 3840px) {
    body.custom-header-relative { --nf-scale: 2.5; }
}
@media (min-width: 5120px) {
    body.custom-header-relative { --nf-scale: 3.333333; }
}
/* Continuous scaling where typed CSS arithmetic is supported. */
@supports (zoom: calc(100vw / 1536px)) {
    @media (min-width: 1600px) {
        body.custom-header-relative {
            --nf-scale: clamp(1, calc(100vw / 1536px), 3.333333);
        }
    }
}
