
/* XSIDE unified H2 typography — none of the section headings may exceed 80px. */
main h2{font-size:clamp(38px,5.55vw,80px)!important;line-height:1.04!important;overflow-wrap:normal;}
@media(max-width:700px){main h2{font-size:clamp(30px,7.7vw,48px)!important;line-height:1.07!important}}
/* Work section has stable height; no sticky region or dynamic height on direction changes. */
main>section.xs-work-section{height:100svh!important;min-height:660px!important;padding:0!important;overflow:hidden!important;}
.xs-work-section .xs-work-pin{position:relative!important;top:auto!important;height:100svh!important;min-height:660px!important;width:100%!important;display:flex;align-items:center;}
.xs-work-section .xs-work-layout.container{box-sizing:border-box!important;width:min(1400px,calc(100% - 8vw))!important;max-width:1400px!important;margin-inline:auto!important;padding:0!important;transform:none!important;left:auto!important;right:auto!important;}
.xs-work-section .xs-work-intro h2{max-width:100%;font-size:clamp(38px,5.55vw,80px)!important;line-height:1.03!important;letter-spacing:-.065em!important;}
.xs-work-section .xs-work-step{opacity:calc(.1 + var(--stage-alpha)*.9);transition:opacity .15s ease,transform .15s ease;}
@media(max-width:850px){
  .xs-work-section .xs-work-layout.container{width:calc(100% - 40px)!important;}
  .xs-work-section .xs-work-intro h2{font-size:clamp(30px,7.7vw,48px)!important;}
  .xs-work-section .xs-work-pin{min-height:660px!important;}
}
@media(max-width:500px){
 main>section.xs-work-section{min-height:700px!important;}
 .xs-work-section .xs-work-pin{min-height:700px!important;}
 .xs-work-section .xs-work-layout.container{gap:20px!important;}
 .xs-work-section .xs-work-intro h2{font-size:clamp(32px,9vw,44px)!important;margin-bottom:10px!important;}
 .xs-work-section .xs-work-intro>p{font-size:13px!important;}
 .xs-work-section .xs-work-step strong{font-size:clamp(21px,5.6vw,27px)!important;}
}
