/* Keep the open drawer's parent out of the sticky header's scroll chain. */
.bcm-export.bdt-shell.lock { overflow: clip !important; }

/* Keep the fixed decorative plane independent of SVG/content layout during startup. */
.bdt-shell > .soft-convergence-bg { height: 100vh; contain: strict; }

/* Match the 1800px hero animation's JS fit() before its initializer runs. */
.bdt-shell .hp-hero-vis .pc-anim .pc-stage { visibility: hidden; }
.bdt-shell .hp-hero-vis .pc-anim .pc-stage[style*="scale("] { visibility: visible; }
@supports (container-type: inline-size) and (transform: scale(tan(atan2(100px, 1800px)))) {
    .bdt-shell .hp-hero-vis .pc-anim { container-type: inline-size; }
    .bdt-shell .hp-hero-vis .pc-anim .pc-stage {
        visibility: visible;
        transform: scale(tan(atan2(100cqw, 1800px)));
    }
}

/* Keep existing content readable when the design module cannot run. */
.bdt-shell[data-bcm-error="true"] main .reveal {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

/* Below-the-fold blocks: skip their style, layout and paint until they near the viewport.
   Content stays in the HTML (search engines, find-in-page and screen readers see it). The first
   blocks are never skipped: two on phones, three on wider screens where the third can be in view. */
@media (max-width: 767px) {
    main.page > :nth-child(n+3) { content-visibility: auto; contain-intrinsic-size: auto 900px; }
}
@media (min-width: 768px) {
    main.page > :nth-child(n+4) { content-visibility: auto; contain-intrinsic-size: auto 900px; }
}
.bdt-shell > footer.bcm-footer { content-visibility: auto; contain-intrinsic-size: auto 900px; }
