/* Interior logo: 80% of the accepted visible artwork, with its existing
   surrounding gaps retained. The portal does not load this stylesheet. */
body {
 --interior-old-logo-width:300px;
 --interior-logo-ink-scale:.972026;
 --interior-header-reduction:calc(var(--interior-old-logo-width) * var(--interior-logo-ink-scale) * 422 / 1921 * .2);
 --interior-content-top:110px;
}
body #masthead > .container { min-height:0; }
body #masthead .container .site-branding .custom-logo-link {
 width:calc(var(--interior-old-logo-width) * .8);
 height:calc(var(--interior-old-logo-width) * 555 / 2500 - var(--interior-header-reduction));
 aspect-ratio:auto;
}
@media(min-width:901px) {
 body #masthead .container .navs-wrapper #primary-menu > .menu-brand { justify-self:center; }
}
@media(max-width:1199px) {
 body { --interior-old-logo-width:280px; --interior-content-top:106px; }
}
@media(max-width:900px) {
 body { --interior-old-logo-width:min(280px,70vw); --interior-content-top:100px; }
 body #masthead { --header-bar-height:calc(88px - var(--interior-header-reduction)); }
 body #masthead > .container { min-height:var(--header-bar-height); }
 body #masthead .container .navs-wrapper #site-navigation.toggled #primary-menu { padding-top:calc(84px - var(--interior-header-reduction)); }
}
@media(max-width:599px) {
 body { --interior-old-logo-width:min(280px,calc(100vw - 110px)); --interior-content-top:90px; }
 body #masthead { --header-bar-height:calc(78px - var(--interior-header-reduction)); }
}
@media(max-width:419px) { body { --interior-logo-ink-scale:.88366; } }
/* Static headers release their height in flow. Fixed-header templates release
   the same amount from their existing content offset, keeping every inner gap. */
body #page main:is(.story-refined,.testimonials-page,.contact-visit-page) { padding-top:calc(var(--interior-content-top) - var(--interior-header-reduction)); }
body.search { margin-top:calc(15vh - var(--interior-header-reduction)); }
body.privacy-policy #page #primary { padding-top:calc(15vh - var(--interior-header-reduction)); }
body #page section#products-selection.portal-product-panels { padding-top:calc(max(80px,133px - 10vh) - var(--interior-header-reduction)); }
/* Contact/map markup and its photographic wrapper are removed in the build.
   Only natural short-page surplus remains above the unchanged bottom bar. */
body #page #colophon.footer-bar-only {
 padding:0; margin-top:var(--footer-bottom-space,0px);
 background:var(--cactus-content-background)!important;
}
body #page #colophon.footer-bar-only::before,
body #page #colophon.footer-bar-only::after { content:none; }
body #page #colophon.footer-bar-only .footer-bottom { padding:0; margin:0; }
