/* Mobile composition: content-driven banners, intact branding, touch navigation.
   Loaded last. Desktop identity and the cinematic first-paint guard stay intact. */
@media (max-width:1100px){
 .brand-home .site-header{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:12px 20px}
 .brand-home .site-header nav{display:flex;grid-column:1/-1;grid-row:2;justify-content:flex-start;gap:28px;margin:0;border-top:1px solid #ffffff26;padding-top:8px;flex-wrap:wrap}
 .brand-home .site-header #language{margin:0}
 .brand-home .hero-content{padding-top:230px}
}
@media (max-width:900px){
 .brand-home .intro-section{grid-template-columns:1fr 1fr}
 .brand-home .intro-section>div{grid-column:1/-1}
 .brand-home .platform-invitation{align-items:flex-start;flex-direction:column;gap:24px}
 .brand-home .platform-invitation>div{min-width:0}
 .brand-home .platform-invitation .button{margin:0;max-width:100%}
 .brand-home .section-heading{flex-direction:column;gap:20px;align-items:flex-start}
 .brand-home .section-heading>p{max-width:600px}
}
@media (max-width:720px){
 html{scroll-padding-top:24px}
 .brand-home .site-header{position:relative;inset:auto;background:#091e31;padding:20px 24px 16px;grid-template-columns:minmax(0,1fr) 52px;gap:14px 12px}
 .brand-home .site-header::after{left:24px;width:44px}
 .brand-home .brand{min-width:0;gap:10px;flex-shrink:1}
 .brand-home .brand>span:last-child{min-width:0}
 .brand-home .symbol{width:40px;height:32px;flex:none}
 .brand-home .brand b{font-size:clamp(18px,4.7vw,25px);letter-spacing:.5px}
 .brand-home .brand small{font-size:7px;letter-spacing:.7px;line-height:1.5;margin-top:4px}
 .brand-home .site-header #language{width:52px;max-width:52px;min-height:44px;font-size:16px;padding:8px 2px;justify-self:end}
 .brand-home .site-header nav{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding-top:8px}
 .brand-home .site-header nav a{font-size:12px;line-height:1.4;min-height:44px;justify-content:center;text-align:center;white-space:normal;overflow-wrap:anywhere;padding:8px 4px}
 .brand-home .header-cta{grid-column:1/-1;grid-row:3;width:100%;min-width:0;margin:0;min-height:48px;padding:12px 16px;justify-content:space-between;font-size:13px;gap:16px}
 .brand-home .hero{display:flex;flex-direction:column;min-height:0;height:auto;background:#051a2b;overflow:hidden}
 .brand-home .hero-content{order:1;padding:40px 24px 24px;max-width:none;width:100%}
 .brand-home .hero-content::before{display:none}
 .brand-home .hero h1{font-size:clamp(32px,8.5vw,49px);line-height:1.09;letter-spacing:-1.2px;max-width:620px;overflow-wrap:break-word;text-wrap:balance}
 .brand-home .hero .eyebrow{font-size:10px;letter-spacing:1px;line-height:1.7;margin-bottom:20px}
 .brand-home .audience-welcome{font-size:15px;line-height:1.6;margin-bottom:20px}
 .brand-home .hero-intro{font-size:16px;line-height:1.75;margin-top:22px;max-width:600px}
 .brand-home .audience-support{font-size:14px;max-width:600px}
 .brand-home .hero-actions{display:grid;grid-template-columns:1fr;gap:12px;margin-top:26px;width:100%}
 .brand-home .hero-actions .button{justify-content:space-between;width:100%;min-height:52px;padding:15px 18px;font-size:14px;white-space:normal}
 .brand-home .button>span:first-child{min-width:0;overflow-wrap:anywhere}
 .brand-home .button>span:last-child{flex-shrink:0}
 .brand-home .map-scene{order:2;position:relative;inset:auto;left:auto;top:auto;width:100%;height:auto;aspect-ratio:3/2;z-index:0;transform-origin:center;flex:none}
 .brand-home .map-scene svg{display:block;width:100%;height:100%}
 .brand-home .hero-shade{display:none}
 .brand-home .hero-bottom{order:3;position:relative;inset:auto;margin:0 24px;padding:18px 0 24px;display:flex;flex-direction:column;align-items:flex-start;gap:16px;font-size:12px}
 .brand-home .hero-bottom>span{max-width:none;font-size:11px;line-height:1.6;letter-spacing:.6px}
 .brand-home .hero-bottom>div{flex-wrap:wrap;gap:12px;width:100%}
 .brand-home #motionToggle{font-size:12px;min-height:44px;padding:10px 12px}
 .brand-home .map-note{display:block;font-size:11px;line-height:1.6;max-width:100%}
 .brand-home .scroll-cue{display:none}
 .brand-home .intro-section,.brand-home .capabilities,.brand-home .process-section,.brand-home .about-section,.brand-home .platform-invitation{padding:44px 24px}
 .brand-home .intro-section,.brand-home .process-section,.brand-home .about-section{grid-template-columns:minmax(0,1fr);gap:30px}
 .brand-home .intro-section>div{grid-column:auto}
 .brand-home .intro-section article+article{border-left:0;border-top:1px solid #bdcbd5;padding:25px 0 0}
 .brand-home .intro-section h2,.brand-home .section-heading h2,.brand-home .process-heading h2,.brand-home .about-section h2,.brand-home .platform-invitation h2{font-size:clamp(27px,7.2vw,36px);line-height:1.2;letter-spacing:-.7px;overflow-wrap:break-word;text-wrap:balance}
 .brand-home .capability-grid{grid-template-columns:minmax(0,1fr)}
 .brand-home .capability-grid a,.brand-home .capability-grid a+a,.brand-home .capability-grid a:nth-child(3){min-width:0;min-height:0;padding:24px;border-left:0}
 .brand-home .capability-grid a+a{border-top:1px solid #aebfcb}
 .brand-home .capability-grid h3{font-size:23px;line-height:1.3;overflow-wrap:break-word}
 .brand-home .capability-grid p,.brand-home .fineprint{font-size:13px}
 .brand-home .process-section li{gap:16px}
 .brand-home .process-section li>div{min-width:0}
 .brand-home .about-origin{padding:28px;min-height:240px}
 .brand-home .about-origin strong{font-size:clamp(40px,11vw,64px);letter-spacing:-1.5px;overflow-wrap:break-word;max-width:100%}
 .brand-home .platform-invitation{display:flex;flex-direction:column;gap:24px}
 .brand-home .platform-invitation .button{width:100%;justify-content:space-between;padding:16px 18px;margin:0}
 .brand-home footer{padding:30px 24px;gap:24px;align-items:flex-start;flex-direction:column}
 .brand-home footer>a{margin:0;font-size:14px;min-height:44px;display:flex;align-items:center}
 .brand-home footer p{font-size:12px;max-width:100%}
 .brand-home footer .legal-links{gap:12px 24px}
 /* Account header and sign-in. */
 .brand-account>header{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;padding:20px 24px}
 .brand-account>header .brand{gap:12px;min-width:0}
 .brand-account>header .brand svg{width:42px;height:32px;flex:none}
 .brand-account>header .wordmark{font-size:23px}
 .brand-account>header .brand small{font-size:8px;letter-spacing:.8px;line-height:1.5}
 .brand-account>header select{width:100%;max-width:none;min-height:44px;font-size:16px}
 .brand-account #desk{margin:24px auto 36px;padding:0 20px;gap:24px;grid-template-columns:minmax(0,1fr)}
 .brand-account .intro h1{font-size:clamp(29px,8vw,38px);line-height:1.12;letter-spacing:-.8px;text-wrap:balance}
 .brand-account .intro p{font-size:15px}
 .brand-account .login{padding:24px 20px;border-radius:4px;box-shadow:none}
 .brand-account .tabs{gap:16px}
 .brand-account .tabs button{flex:1;font-size:14px;line-height:1.5;text-align:left}
 .brand-account .provider{padding:14px;gap:12px;font-size:14px;line-height:1.5}
 .brand-account .provider span{min-width:0}
 /* Private workspace: maintain hierarchy without squeezed columns. */
 #clientPortal{padding:0 16px;margin:24px auto 40px;min-height:0}
 #clientPortal .p-sidebar{padding:20px 16px}
 #clientPortal .p-identity{grid-template-columns:42px minmax(0,1fr)}
 #clientPortal .p-sidebar nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 #clientPortal .p-sidebar nav button{min-width:0;gap:8px;line-height:1.4;overflow-wrap:anywhere}
 #clientPortal .p-sidebar nav .p-profile-edit{grid-column:1/-1;order:1;border-top:1px solid #3b5366;padding:12px}
 #clientPortal .p-side-bottom{gap:8px;flex-wrap:wrap}
 #clientPortal .p-side-bottom button{min-width:0;font-size:13px}
 #clientPortal .p-content{padding:24px 16px}
 #clientPortal .p-heading{flex-direction:column;gap:12px;margin-top:8px}
 #clientPortal .p-heading>div{min-width:0;max-width:100%}
 #clientPortal .p-heading h1{font-size:clamp(27px,7.5vw,34px);line-height:1.15;letter-spacing:-.6px}
 #clientPortal .p-heading>.p-primary{width:100%}
 #clientPortal .p-empty{padding:28px 16px}
 #clientPortal .p-content button{white-space:normal;overflow-wrap:anywhere;line-height:1.4;max-width:100%}
 #clientPortal .p-stats>div{min-width:0;padding:16px 12px;overflow-wrap:anywhere}
 #clientPortal .p-fields{gap:20px}
 #clientPortal .p-request{flex-direction:column;align-items:stretch;gap:12px}
 #clientPortal .p-request>div,#clientPortal .p-documents li>div{min-width:0}
 #clientPortal .p-request>button{align-self:flex-start}
 #clientPortal .p-documents .p-toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 #clientPortal .p-upload input{min-width:0;width:100%;font-size:13px;padding:12px}
 #clientPortal .p-profile-complete{min-height:300px;padding:28px 0}
 .brand-account .p-viewer{width:calc(100% - 24px);max-width:calc(100% - 24px);height:85dvh;padding:14px}
 .brand-account .p-viewer .p-toolbar{flex-wrap:wrap;gap:12px}
 .brand-account footer{padding:24px 20px;gap:16px;line-height:1.6}
}
@media(max-width:360px){
 .brand-home .site-header,.brand-home .hero-content,.brand-home .intro-section,.brand-home .capabilities,.brand-home .process-section,.brand-home .about-section,.brand-home .platform-invitation{padding-left:18px;padding-right:18px}
 .brand-home .hero-bottom{margin-left:18px;margin-right:18px}
 .brand-home .site-header::after{left:18px}
 .brand-account #desk{padding:0 14px}
 .brand-account .login{padding:22px 16px}
 #clientPortal{padding:0 10px}
}
