/* Adaptive phone chapters: one viewport minimum, no internal scrolling. */
@media(max-width:768px){
 html:has(>body.about-light){scroll-snap-type:none!important;scroll-behavior:auto!important}
 body.about-light{--about-chapter-top:24px;--about-chapter-bottom:24px}
 body.about-light .jp .jp-main>:is(#company,#coverage,#creds,#adv,#culture,#journey){
  display:flex;flex-direction:column;justify-content:center;align-items:stretch;
  box-sizing:border-box;min-height:100vh;min-height:100dvh;height:auto;max-height:none;
  padding-top:calc(var(--about-nav-height,68px) + var(--about-chapter-top));
  padding-bottom:calc(var(--about-chapter-bottom) + env(safe-area-inset-bottom,0px));
  margin-block:0;overflow:visible;scroll-snap-align:none;scroll-snap-stop:normal;scroll-margin-top:0;
 }
 body.about-light .jp .jp-main>.jp-panel>*{flex-shrink:0}
 body.about-light .about-opening{box-sizing:border-box;min-height:100vh;min-height:100dvh;height:auto;max-height:none;scroll-snap-align:none;scroll-snap-stop:normal;padding-bottom:calc(34px + env(safe-area-inset-bottom,0px))}
 body.about-light .cta--end{box-sizing:border-box;min-height:100vh;min-height:100dvh;height:auto;max-height:none;scroll-snap-align:none;scroll-snap-stop:normal;padding-top:calc(var(--about-nav-height,68px) + var(--about-chapter-top));padding-bottom:calc(var(--about-chapter-bottom) + env(safe-area-inset-bottom,0px))}
}

.about-chapter-next{display:none}
@media(max-width:768px){
 body.about-light .jp .jp-main>:is(#company,#coverage,#creds,#adv,#culture,#journey){padding-bottom:calc(72px + env(safe-area-inset-bottom,0px))}
 body.about-light .jp .jp-main>.jp-panel>.about-chapter-next{display:flex;position:absolute;left:50%;bottom:calc(12px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);align-items:center;justify-content:center;width:48px;height:48px;padding:0;margin:0;border:0;background:transparent;color:var(--blue);cursor:pointer;box-shadow:none;border-radius:4px}
 body.about-light .about-chapter-next svg{width:36px;height:36px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
 body.about-light .about-chapter-next:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
}
/* Native chapter reading: retain the initial inset through expand/collapse. */
@media(max-width:768px){
 body.about-light .jp .jp-main>:is(#company,#coverage,#creds,#adv,#culture,#journey).chapter-native{
  justify-content:flex-start;overflow-anchor:none;
  padding-top:var(--chapter-stable-top);
  padding-bottom:var(--chapter-reading-tail,72px);
 }
 body.about-light .jp .jp-main>.jp-panel>.about-chapter-next{bottom:28px}
}
