/* The manifesto's native document scroll is the rule for every page family.
   Keep this last: topic styles own colour and composition, not scrolling. */
html:has(body.mhb-consistent[data-mhb-scroll]){
 scroll-behavior:smooth;
 scroll-snap-type:y mandatory;
 scroll-padding-top:var(--mhb-sticky-height,0px);
}
.mhb-consistent[data-mhb-scroll] [data-mhb-chapter]{
 position:relative;
 box-sizing:border-box;
 min-height:calc(100svh - var(--mhb-sticky-height,0px));
 height:auto;
 max-height:none;
 scroll-snap-align:start;
 scroll-snap-stop:always;
 scroll-margin-top:0;
 padding-bottom:max(88px,var(--mhb-original-bottom,0px));
}
.mhb-consistent[data-mhb-scroll] [data-mhb-first]{
 min-height:calc(100svh - var(--mhb-first-offset,120px));
 scroll-margin-top:var(--mhb-first-offset,120px);
 scroll-snap-align:none;
}
.mhb-consistent[data-mhb-scroll] .masthead[data-mhb-first]{min-height:100svh}
.mhb-consistent[data-mhb-scroll] [data-mhb-footer]{
 min-height:calc(100svh - var(--mhb-sticky-height,0px));
 scroll-snap-align:start;
 scroll-snap-stop:always;
 scroll-margin-top:0;
}
.mhb-consistent[data-mhb-scroll] .mhb-section-arrow,
.mhb-consistent[data-mhb-scroll] #mhb-contact [data-mhb-chapter]>.mhb-section-arrow{
 position:absolute;
 left:calc(50% - 24px);
 right:auto;
 inset-inline-end:auto;
 bottom:max(14px,env(safe-area-inset-bottom));
 display:flex;
 align-items:center;
 justify-content:center;
 width:48px;
 height:52px;
 min-height:0;
 margin:0;
 padding:0;
 transform:none;
}
.mhb-consistent[data-mhb-scroll] .mhb-section-arrow svg{
 width:22px;height:38px;fill:none;stroke:currentColor;stroke-width:1.4;
 stroke-linecap:round;stroke-linejoin:round;
}
.mhb-consistent[data-mhb-scroll] .mhb-section-arrow[hidden]{display:none}
.mhb-consistent[data-mhb-scroll] .mhb-reference-chapter{display:flex;flex-direction:column;justify-content:center}
.mhb-consistent[data-mhb-scroll] .mhb-reference-chapter>.mhb-clients{flex:1}
.mhb-consistent[data-mhb-scroll] #mhb-contact .mhb-top>.mhb-section-arrow{color:#d9e7c8}
.mhb-consistent[data-mhb-scroll] .mhb-scene .hero-grid{min-height:0}
@media(prefers-reduced-motion:reduce){
 html:has(body.mhb-consistent[data-mhb-scroll]){scroll-behavior:auto;scroll-snap-type:none}
 .mhb-consistent[data-mhb-scroll] .mhb-section-arrow svg{transition:none}
 .mhb-consistent[data-mhb-scroll] .mhb-section-arrow:hover svg{transform:none}
}
@media print{
 html:has(body.mhb-consistent[data-mhb-scroll]){scroll-behavior:auto;scroll-snap-type:none}
 .mhb-consistent[data-mhb-scroll] [data-mhb-chapter],.mhb-consistent[data-mhb-scroll] [data-mhb-footer]{min-height:0;scroll-snap-align:none}
 .mhb-consistent[data-mhb-scroll] .mhb-section-arrow{display:none}
}
