/* Footer view switch: keeps the same URL/content and only changes presentation. */
html.view-desktop{min-width:1180px}html.view-desktop body{min-width:1180px}

html.view-mobile{background:#ece7e0}html.view-mobile body.external-home{width:390px;max-width:100%;margin:0 auto;background:#fffdf9;box-shadow:0 0 0 1px #ddd5cd}
html.view-mobile .ext-header{height:80px;padding:0 6vw;justify-content:space-between}
html.view-mobile .ext-brand img{height:38px}
html.view-mobile .ext-nav{display:none}
html.view-mobile .ext-menu-toggle{width:44px;height:44px;margin-left:auto;background-size:22px 2px;background-position:center 13px,center 21px,center 29px}
html.view-mobile .mobile-overlay{left:50%;right:auto;width:390px;max-width:100vw;transform:translateX(-50%);padding:20px 6vw 40px}
html.view-mobile .mobile-overlay-header{margin-bottom:28px;padding-bottom:16px}
html.view-mobile .mobile-overlay-header img{height:38px!important}
html.view-mobile .mega-menu{grid-template-columns:1fr!important;gap:30px!important}
html.view-mobile .mega-menu-title{margin-bottom:18px!important;padding-bottom:14px!important;font-size:22px!important}
html.view-mobile .mega-menu-links{gap:13px!important}
html.view-mobile .mega-menu-links a{font-size:17px!important}

html.view-mobile .ext-hero{min-height:520px;padding:108px 6vw 38px}
html.view-mobile .ext-hero::before{inset:0;background-image:linear-gradient(90deg,rgba(25,15,9,.12),transparent 65%),url('/assets/hero-warm-study-mobile.webp');background-position:left 42%;background-size:cover}
html.view-mobile .ext-hero-copy{max-width:100%}
html.view-mobile .ext-hero h1{font-size:26px;line-height:1.55;letter-spacing:-.045em}
html.view-mobile .ext-hero h1 span{white-space:normal;word-break:keep-all}
html.view-mobile .ext-hero-lead{display:block;max-width:19em;margin-top:17px;font-size:14px;line-height:1.7}
html.view-mobile .ext-hero-actions{gap:8px;margin-top:22px}
html.view-mobile .ext-hero-button{min-height:46px;padding:0 14px;gap:7px;font-size:14px}

html.view-mobile .home-strengths,html.view-mobile .home-services,html.view-mobile .home-experts,html.view-mobile .home-contact{padding:78px 6vw}
html.view-mobile .home-strengths-intro,html.view-mobile .home-services-head{display:block}
html.view-mobile .home-section-title{font-size:34px;line-height:1.44}
html.view-mobile .home-section-lead{font-size:16px;line-height:1.78;margin-top:22px}
html.view-mobile .home-strength-grid{grid-template-columns:1fr;margin-top:44px}
html.view-mobile .home-strength-card,html.view-mobile .home-strength-card+.home-strength-card{min-height:0;padding:30px 0;border-right:0;border-bottom:1px solid #e3dcd4}
html.view-mobile .home-strength-card:last-child{border-bottom:0}
html.view-mobile .home-service-list{grid-template-columns:1fr}
html.view-mobile .home-service-item{min-height:210px;padding:26px 22px;border-right:0;border-bottom:1px solid #d6cec5}
html.view-mobile .home-experts{grid-template-columns:1fr;gap:44px}
html.view-mobile .home-experts-copy{max-width:100%;margin:0}
html.view-mobile .home-experts h2,html.view-mobile .home-contact h2{font-size:33px}
html.view-mobile .home-expert-metrics{grid-template-columns:repeat(2,minmax(0,1fr));max-width:none}
html.view-mobile .home-expert-metrics>div{min-height:132px;padding:25px 18px}
html.view-mobile .home-contact-inner{display:block}
html.view-mobile .home-contact-button{width:100%;min-height:58px;margin-top:34px}
html.view-mobile .ext-footer{grid-template-columns:1fr;padding:42px 6vw}
