/* LORIN UX 1.7.1 – fluid type, rhythm, alignment, touch targets. Loaded last. */
:root{--ux-max:1200px;--ux-gut:clamp(20px,5vw,48px);--ux-sec:clamp(56px,8vw,104px);
--ux-h1:clamp(2.1rem,1.2rem + 3.6vw,4.2rem);--ux-h2:clamp(1.75rem,1.2rem + 2vw,2.9rem);--ux-h3:clamp(1.2rem,1.05rem + .6vw,1.6rem);--ux-p:clamp(1rem,.96rem + .2vw,1.125rem)}
body{font-size:var(--ux-p);line-height:1.65;-webkit-text-size-adjust:100%}
main p,main li{font-size:var(--ux-p);line-height:1.65;max-width:68ch}
main h1{font-size:var(--ux-h1);line-height:1.02;letter-spacing:-.005em;text-wrap:balance}
main h2{font-size:var(--ux-h2);line-height:1.08;text-wrap:balance;margin:0 0 .5em}
main h3{font-size:var(--ux-h3);line-height:1.2}
/* container + section rhythm */
main .shell,.client-page .shell{width:min(var(--ux-max),calc(100% - 2*var(--ux-gut)))!important;margin-inline:auto}
.master-strategy,.master-lifecycle,.home-projects,.home-leadership-preview,.home-contact-bridge{padding-block:var(--ux-sec)!important}
.master-strategy>.shell>*+*,.master-lifecycle>.shell>*+*{margin-top:clamp(20px,3vw,36px)}
/* hero */
.home-carousel{min-height:clamp(560px,78vh,760px)!important}
.home-carousel{display:block!important}
.home-carousel__slides{width:100%!important;flex:1 1 100%}
.home-carousel__content{max-width:780px!important;padding-block:clamp(96px,12vw,150px) clamp(72px,9vw,120px)!important}
.home-carousel__copy p{font-size:clamp(1.05rem,1rem + .3vw,1.25rem)!important;max-width:60ch;line-height:1.6}
.home-carousel__copy .wp-block-buttons,.home-carousel .wp-block-buttons{gap:14px;margin-top:28px}
/* buttons */
.wp-element-button,.wp-block-button__link,.button,button[type=submit]{font-size:.95rem!important;letter-spacing:.06em;min-height:52px;padding:.9em 1.6em!important;display:inline-flex;align-items:center;justify-content:center;line-height:1.2;text-align:center}
.eyebrow,.kicker,[class*=eyebrow]{font-size:.8rem;letter-spacing:.14em}
/* balanced columns: stop empty half layouts */
.master-strategy .wp-block-columns,.master-lifecycle .wp-block-columns,.home-projects .wp-block-columns{gap:clamp(24px,4vw,56px)!important;align-items:flex-start}
.master-strategy .wp-block-column,.master-lifecycle .wp-block-column{min-width:0}
.master-strategy .wp-block-group,.master-lifecycle .wp-block-group{max-width:none}
/* cards */
[class*=card],.wp-block-group.has-background{border-radius:6px}
.home-projects img,.home-leadership-preview img{width:100%;height:auto;object-fit:cover}
.home-contact-bridge{text-align:center}
.home-contact-bridge p{margin-inline:auto}
/* header */
.site-header .wp-block-button__link,header .wp-block-button__link{font-size:.8rem!important;min-height:44px;padding:.6em 1.1em!important}
@media(max-width:900px){
 .master-strategy .wp-block-columns,.master-lifecycle .wp-block-columns,.home-projects .wp-block-columns{flex-direction:column;flex-wrap:wrap!important}
 .master-strategy .wp-block-column,.master-lifecycle .wp-block-column{flex-basis:100%!important;width:100%}
}
@media(max-width:600px){
 .home-carousel{min-height:auto!important}
 .home-carousel__content{padding-block:88px 64px!important}
 .home-carousel .wp-block-buttons,.home-carousel .wp-block-button,.home-carousel .wp-block-button__link{width:100%}
 .home-contact-bridge .wp-block-button__link{width:100%}
 main p,main li{max-width:none}
}
.home-carousel__content{margin-left:max(var(--ux-gut),calc((100% - var(--ux-max))/2))!important;margin-right:auto!important}
.home-carousel__controls{width:min(var(--ux-max),calc(100% - 2*var(--ux-gut)))!important}
@media(max-width:600px){
 header .wp-block-button__link,.site-header .wp-block-button__link{font-size:.7rem!important;letter-spacing:0!important;padding:.55em .8em!important;white-space:nowrap;min-height:44px}
 header .wp-block-buttons,header .wp-block-group{gap:8px!important;flex-wrap:nowrap!important}
 header .wp-block-site-logo img,header .custom-logo{max-width:96px;height:auto}
 header .wp-block-navigation__responsive-container-open{min-width:44px;min-height:44px}
}
@media(max-width:600px){
 header img{max-width:84px!important;height:auto!important}
 header .wp-block-button__link{font-size:.66rem!important;padding:.5em .7em!important}
 header>.wp-block-group,header .wp-block-group{padding-inline:14px!important}
}
