/* Main site's mobile reading layout. Desktop retains the authored showcase. */
#mobile-home,.mobile-case-projects{display:none}
@media(max-width:1023px){
 html{scroll-padding-top:116px;scroll-padding-bottom:84px}
 html[data-v8-prism] body{padding-bottom:calc(68px + env(safe-area-inset-bottom));overflow-wrap:break-word}
 main{min-width:0}
 body>main,body>.foot{width:calc(100% - 32px);margin-inline:auto}
 .site-shell>#main{width:100%;min-width:0}
 #main>section{width:calc(100% - 32px);max-width:none;margin-inline:auto}
 #main>section>.wrap{width:100%;padding-inline:0}
 #v8io-header .site-switch{max-width:none;font-size:13px;min-height:44px}
 #v8io-header .brand{font-size:17px;gap:8px}
 #v8io-header .language-switch{min-height:44px;height:44px;font-size:14px;border-radius:0;border-block:0}
 #v8io-header .menu a{font-size:15px}
 #chapnav.page-chapters,.page-chapters{display:none!important}
 :is(button,a,input,textarea,select,summary){touch-action:manipulation}
 :is(input,textarea,select){font-size:16px!important}
 :is(button,a,summary):focus-visible{outline:2px solid #b9d9eb;outline-offset:3px}
 #mobile-home{display:block}
 #mobile-home~#journey{display:none!important}
 #mobile-home h1{font-size:clamp(28px,7.5vw,34px);line-height:1.3;font-weight:600;letter-spacing:-.025em;margin:0;text-wrap:balance}
 #mobile-home h2{font-size:26px;line-height:1.4;font-weight:500;letter-spacing:-.02em;margin:0 0 24px}
 #mobile-home h3{font-size:22px;line-height:1.4;font-weight:500;margin:0 0 12px}
 #mobile-home p{font-size:16px;line-height:1.8;color:#c2c8d1;margin:12px 0 0;max-width:none}
 #mobile-home .mobile-home-hero{padding:26px 0 36px}
 .mobile-light-logo{display:block;width:90px;height:104px;margin:0 0 24px;filter:drop-shadow(0 0 3px #c8e4ff55)}
 #mobile-home .mobile-home-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
 #mobile-home .mobile-home-actions .btn{height:auto;min-height:48px;min-width:0;flex:1 1 130px;padding:12px 14px;font-size:16px;line-height:1.5;white-space:normal;text-align:center;text-decoration:none;justify-content:center}
 #mobile-home .mobile-reading-section{padding:36px 0;border-top:1px solid #30343a;scroll-margin-top:0}
 #mobile-home .mobile-capabilities{display:grid;gap:28px}
 #mobile-home .cap{display:block;padding:0;margin:0;border:0}
 #mobile-home .cap .cap-t{font-size:21px;line-height:1.45;font-weight:500;margin:0}
 #mobile-home .cap p{margin-top:10px}
 .mobile-business-example+.mobile-business-example{margin-top:32px;padding-top:28px;border-top:1px solid #262a30}
 #mobile-home .mobile-business-title{font-size:18px;color:#f4f6fa;font-weight:500}
 #mobile-home details{margin-top:16px;border-top:1px solid #30343a;border-bottom:1px solid #30343a}
 #mobile-home summary{min-height:48px;padding:12px 0;font-size:16px;line-height:1.6;color:#edf3f8;cursor:pointer}
 #mobile-home ol{display:grid;gap:16px;padding:4px 0 20px 24px;margin:0}
 #mobile-home li{font-size:16px;line-height:1.7;color:#c2c8d1;padding-left:4px}
 #mobile-home li strong,#mobile-home li span{display:block}
 #mobile-home li strong{color:#f4f6fa;font-weight:500}
 #mobile-home .mobile-source-body .h2{margin:0;font-size:26px;line-height:1.4}
 #mobile-home .points{display:grid;gap:12px;padding:0;margin:20px 0;list-style:none;font-size:16px;line-height:1.7}
 #mobile-home .points li{display:flex;gap:10px;padding:0}
 #mobile-home .points svg{width:16px;height:16px;margin-top:5px;flex:none}
 #mobile-home .delivery-source-link{font-size:16px!important;line-height:1.7!important}
 #mobile-home .delivery-source-link a,.mobile-text-link{display:inline-block;min-height:44px;padding:10px 0;color:#bce5f5;font-size:16px;line-height:1.5;text-underline-offset:4px}
 #pain{padding-block:36px}
 #pain :is(.lead,.industry-intro,.industry-panel li p){font-size:16px;line-height:1.8}
 #pain .h2{font-size:28px;line-height:1.35;max-width:none}
 #pain .industry-choices{gap:8px}
 #pain .industry-choices button{font-size:15px;line-height:1.5;min-height:44px;padding:10px 12px;white-space:normal}
 #pain .industry-details{padding:20px 16px;min-height:0}
 #pain .industry-panel :is(h3,h4){font-size:19px;line-height:1.5}
 #pain .industry-contact-link{min-height:44px;font-size:16px;line-height:1.5}
 :is(#industry-lead,#footer-lead).home-contact .fde-band{padding:24px 16px!important}
 .home-contact :is(p,.fde-note,.fde-form-error){font-size:15px;line-height:1.7}
 .home-contact label{font-size:15px;line-height:1.6}
 .home-contact :is(input,button){min-height:48px}
 .home-contact .fde-btn{font-size:16px;white-space:normal}
 #day .h2{font-size:28px;line-height:1.4}
 #day .day-pick{display:grid;font-size:16px;line-height:1.6;grid-template-columns:52px minmax(0,1fr) 18px;gap:8px;min-height:48px;padding:12px 0}
 #day .day-pick .day-long{display:none}
 #day .as-shot{height:600px;max-height:none;transform:none!important}
 #day .as-history,#day .as-member,#day .as-brand{display:none}
 #day .as-layout{grid-template-columns:minmax(0,1fr)}
 #day .as-answer-body>p{font-size:16px;line-height:1.8}
 #day :is(.as-question,.as-user p,.as-card-foot){font-size:15px;line-height:1.75}
 #day .as-source{font-size:14px;line-height:1.6}
 #day .as-controls button{min-height:44px;font-size:14px;padding:8px}
 #day .as-controls{gap:4px;flex-wrap:wrap}
 #day .as-disclaimer{font-size:13px;line-height:1.6}
 #day .as-composer textarea{font-size:16px}
 #day .as-send-hint{display:none}
 #ba .h2{font-size:28px;line-height:1.4}
 #ba .flip{padding:20px 16px}
 #ba .fr :is(.b,.a){font-size:16px;line-height:1.8}
 /* Case galleries are grouped by project with native touch scrolling. */
 .case-curved-stage{display:none!important}
 .mobile-case-projects{display:block}
 .mobile-case-project{padding:24px 0;border-top:1px solid #30343a;min-width:0}
 #main .mobile-case-project h2{font-size:23px;line-height:1.4;margin:0 0 8px;font-weight:500}
 #main .mobile-case-project .mobile-case-count{font-size:15px;line-height:1.6;color:#b9c2cd;margin:0 0 16px}
 #main .mobile-case-strip{display:flex;gap:12px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scroll-padding-inline:0;padding-bottom:12px;scrollbar-width:thin;scrollbar-color:#74828e #15191e}
 .case-curved-preview #main .mobile-case-projects .case-wall-item{flex:0 0 88%;width:88%;max-width:none;height:auto;scroll-snap-align:start;min-width:0;margin:0}
 .case-curved-preview #main .mobile-case-projects [data-mobile-device="mobile"] .case-wall-item{flex-basis:56%;width:56%}
 .case-curved-preview #main .mobile-case-projects .case-image-trigger{display:block;width:100%;height:auto;aspect-ratio:auto;padding:0;min-height:44px;border:1px solid #3b444d;border-radius:8px;overflow:hidden;background:#0e1115}
 .case-curved-preview #main .mobile-case-projects img{display:block;width:100%;height:200px;object-fit:contain;object-position:center}
 .case-curved-preview #main .mobile-case-projects [data-mobile-device="mobile"] img{height:320px;object-position:top}
 .case-curved-preview #main .mobile-case-projects figcaption{font-size:15px;line-height:1.6;color:#d8dfe8;padding-top:10px;white-space:normal}
 .case-curved-preview .case-wall-filters{display:flex;gap:20px}
 .case-curved-preview .case-wall-filters button{min-height:44px;font-size:16px;padding-block:10px}
 .case-project-gallery .case-project-header{min-height:64px}
 .case-project-gallery h2{font-size:19px;line-height:1.4}
 .case-project-gallery .case-project-heading p,.case-project-gallery .case-project-count{font-size:14px;line-height:1.5}
 .case-project-gallery .case-project-preview-label{font-size:14px;line-height:1.5}
 .case-project-gallery .case-project-arrow,.case-project-gallery .case-project-close{min-width:44px;min-height:44px}
 .customer-feedback .feedback-intro p{font-size:16px;line-height:1.8}
 .customer-feedback :is(.feedback-hint,.feedback-disclaimer){font-size:14px;line-height:1.7}
 /* About and contact: keep document flow, real photographs and readable copy. */
 .home-page #main :is(.company-description p,.company-subtitle,.company-founder-detail,.company-founder p,.experience-content p){font-size:16px!important;line-height:1.8!important}
 .home-page #main .company-hero{padding-top:28px}
 .home-page #main .company-hero h1{font-size:30px;line-height:1.35}
 .home-page #main .company-story{height:auto}
 .home-page #main .company-founder{padding-block:36px}
 .home-page #main .founder-portrait{max-height:360px}
 .home-page #main .timeline-card{min-height:130px}
 .home-page #main .company-founder .fde-hero-tag{font-size:14px;line-height:1.6}
 .home-page #main :is(.service-guide-link,.knowledge-category-read,.button){min-height:44px}
 .contact-page main{padding-top:28px}
 .contact-page .contact-direct{padding-bottom:36px;gap:28px;min-height:0}
 .contact-page .contact-direct h1{font-size:32px;line-height:1.35}
 .contact-page :is(.contact-intro,.contact-online p,.wechat-caption p,.wechat-save,.process-step-copy p,.process-outcomes li){font-size:16px;line-height:1.8}
 .contact-page :is(.contact-online h2,.contact-phone-label,.contact-person,.process-outcomes h4){font-size:15px;line-height:1.6}
 .contact-page .contact-online{display:block;padding-top:20px}
 .contact-page .contact-chat-link{display:inline-flex;min-height:48px;margin-top:16px;font-size:16px}
 .contact-page .contact-phone-row{gap:8px;flex-wrap:wrap}
 .contact-page .contact-phone-number{font-size:clamp(24px,7.4vw,31px);letter-spacing:0;line-height:1.5;gap:8px}
 .contact-page .contact-copy{width:44px;height:44px;min-width:44px;padding:11px}
 .contact-page .contact-wechat{padding:0}
 .contact-page .contact-wechat .wechat-sheet{padding:20px 16px;grid-template-columns:128px minmax(0,1fr);gap:16px}
 .contact-page .contact-qr{width:128px;max-width:100%}
 .contact-page .wechat-depth{display:none}
 .contact-page .wechat-caption h2{font-size:20px;line-height:1.5}
 .contact-page .wechat-caption p{margin-top:10px}
 .contact-page .process-details article{padding:24px 16px;grid-template-columns:30px minmax(0,1fr);gap:12px;min-height:0;opacity:1!important}
 .contact-page .process-step-number{font-size:28px}
 .contact-page .process-step-copy h3{font-size:22px;line-height:1.4}
 .contact-page .process-outcomes{padding-right:0}
 .contact-page .process-outcomes .process-shape{display:none}
 .contact-page .process-track{margin-top:24px}
 .contact-page .process-details{margin-left:20px}
 .contact-page .process-details summary{font-size:16px;line-height:1.7;min-height:44px;padding-block:10px}
 .contact-page .process-details details :is(p,li){font-size:16px;line-height:1.8}
 .contact-page .cooperation-controls button{min-height:44px;font-size:14px;padding:8px}
 .kb-mobile-item small{font-size:16px;line-height:1.8}
 .kb-mobile-item b{font-size:20px;line-height:1.5}
 .kb-mobile-item span{font-size:15px}
 .kb-mobile-open{font-size:16px;min-height:48px}
 .case-title-row p,.demo-caption{font-size:16px;line-height:1.8}
 /* Reserve fixed contact space, including the final footer links. */
 .site-footer,.foot{padding-bottom:24px}
 .site-footer :is(p,a),.foot :is(p,a){line-height:1.8}
 .site-footer .footer-links a{min-height:44px;display:inline-flex;align-items:center;font-size:15px}
 .site-footer :is(.footer-bottom,.footer-bottom a),.foot :is(.foot-bottom,.foot-bottom a){font-size:13px;line-height:1.8;overflow-wrap:anywhere}
}
@media(max-width:359px){
 #v8io-header .brand{font-size:16px;gap:7px}
 #v8io-header .site-switch{padding-inline:8px;font-size:12px}
 .contact-page .contact-wechat .wechat-sheet{grid-template-columns:1fr;justify-items:center;text-align:center}
 .contact-page .wechat-sheet-head{grid-column:1;width:100%}
 .contact-page .wechat-caption{max-width:100%;text-align:center}
}

@media(max-width:1023px){
 #mobile-home h1 span{display:block}
 #mobile-home .cap,#mobile-home .cap :is(h2,p){opacity:1!important;transform:none!important;visibility:visible!important}
 #day .day-list{display:grid!important;grid-template-columns:minmax(0,1fr);gap:0;overflow:visible}
 #day .day-list li{width:100%;min-width:0}
 #day .day-list .day-cursor{display:none}
 #day .day-pick{width:100%;text-align:left}
 #day .day-pick time{font-size:14px;line-height:1.6}
 #day .day-pick .day-long{display:block!important;opacity:1!important;transform:none!important}
 #day .day-pick .day-short{display:none}
 #day .day-clock-row{display:none}
 .case-curved-controls{display:none!important}
 .contact-page main{width:calc(100% - 32px);padding-inline:0;margin-inline:auto}
 .contact-page .process-details article{grid-template-columns:40px minmax(0,1fr)}
 .contact-page .process-step-number{white-space:nowrap;font-size:27px;color:#b9d1e1}
 .contact-page .process-step-copy h3{color:#f4f6fa}
 .contact-page .process-step-copy p,.contact-page .process-outcomes{color:#c3cbd5}
}
@media(max-width:1023px){
 #main .case-top:has(.kb-mobile) .demo-window,#main .case-top:has(.kb-mobile) .demo-caption{display:none}
 #main .case-top .kb-mobile{display:grid;gap:16px}
 #main .case-top .kb-mobile-item{padding:20px 16px;min-width:0}
 #knowledge .knowledge-preview{display:none}
 .contact-page .process-details article :is(.process-step-copy,.process-outcomes){opacity:1!important}
 .contact-page .process-outcomes li{color:#c3cbd5}
}

@media(max-width:1023px){
 #mobile-home .cap p{display:block!important}
 #mobile-home .cap .cap-t{color:#f4f6fa}
 #day .as-window{transform:none!important;clip-path:none!important;--chrome-alpha:1!important;--question-tint:1!important;--result-alpha:1!important}
 #day :is(#assistantPause,#assistantReplay){display:none}
 #day #assistantCompose{font-size:16px;min-height:44px;padding:10px 0}
 #pain :is(.industry-scope,.industry-note){font-size:15px;line-height:1.8}
 :is(#industry-lead,#footer-lead).home-contact .fde-band p{font-size:15px;line-height:1.8}
 :is(#industry-lead,#footer-lead).home-contact .fde-btn{font-size:16px}
 .customer-feedback :is(.feedback-instruction,.feedback-notice){font-size:15px;line-height:1.8}
 .home-page #main :is(.fde-fine,.timeline-instruction){font-size:15px;line-height:1.8}
 .contact-page .contact-wechat .wechat-caption :is(p,.wechat-save){font-size:16px;line-height:1.8}
 #main .case-top .kb-mobile-item small{font-size:16px;line-height:1.8}
}

@media(max-width:1023px){
 #mobile-home{max-width:720px;margin-inline:auto}
 #pain .industry-layout,#day .split2,#ba .split2{grid-template-columns:minmax(0,1fr)}
 #day .stage{padding-block:36px}
}
@media(max-width:1023px){
 .foot .foot-base{display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px 20px;font-size:13px;line-height:1.8;white-space:normal}
 .foot .foot-base :is(span,a){max-width:100%;overflow-wrap:anywhere}
 .foot .foot-base a{min-height:44px;display:inline-flex;align-items:center;font-size:13px}
 .foot .foot-grid>div>p{font-size:16px;line-height:1.8}
 .foot .foot-cols{gap:24px}
 .foot .foot-cols :is(li,a){font-size:15px;line-height:1.8}
 .foot .foot-cols a{min-height:44px;display:inline-flex;align-items:center}
 .site-footer .footer-explore nav a{min-height:44px;display:inline-flex;align-items:center;font-size:15px}
 .site-footer .footer-bottom{gap:10px;flex-wrap:wrap}
 .site-footer .footer-bottom :is(span,a){max-width:100%;white-space:normal;overflow-wrap:anywhere}
}
/* Cover-mode phones reserve the actual status bar and both notch edges. */
@media(max-width:1023px){
 html{--mobile-left:max(16px,env(safe-area-inset-left,0px));--mobile-right:max(16px,env(safe-area-inset-right,0px));scroll-padding-top:calc(var(--nav,100px) + env(safe-area-inset-top,0px) + 16px)}
 body>main,body>.foot,.contact-page main,#main>section,.site-footer{width:calc(100% - var(--mobile-left) - var(--mobile-right));margin-left:var(--mobile-left);margin-right:var(--mobile-right)}
 #v8io-header{top:0;height:calc(var(--nav,100px) + env(safe-area-inset-top,0px));padding-top:env(safe-area-inset-top,0px)}
 #v8io-header>.wrap{width:100%;padding-left:var(--mobile-left);padding-right:var(--mobile-right)}
}
@media(max-width:1023px){
 .contact-page #main>section{width:100%;margin-inline:0}
}
/* Language belongs with secondary footer controls on phones. */
.mobile-language{display:none}
@media(max-width:1023px){
 #v8io-header .language-switch{display:none}
 html[lang] #v8io-header .menu{padding-right:0}
 .mobile-language{grid-column:1 / -1;display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px;padding:16px 0;margin:16px 0 8px;border-top:1px solid #30343a;color:#f4f6fa;font-size:16px;line-height:1.5}
 .mobile-language .mobile-language-label{font-size:14px;color:#b9c2cd;margin-right:4px}
 .mobile-language :is(a,[aria-current]){display:inline-flex;align-items:center;min-height:44px;font-size:16px;line-height:1.5;padding:10px 0}
 .mobile-language a{color:#e9f4fb;text-decoration:underline;text-underline-offset:5px}
 .mobile-language [aria-current]{color:#aab4c1}
}
@media(max-width:1023px){
 .mobile-language+.foot-base{margin-top:16px;padding-top:16px}
 .mobile-language+.footer-bottom{margin-top:0}
}
/* Explain the service before asking visitors to interpret an interface. */
.mobile-footer-summary{display:none}
@media(max-width:1023px){
 #mobile-home .mobile-home-hero{position:relative;padding-top:28px;padding-bottom:30px}
 #mobile-home .mobile-home-hero h1{max-width:calc(100% - 76px);font-size:clamp(28px,7.6vw,34px);line-height:1.35;text-wrap:initial}
 #mobile-home .mobile-light-logo{position:absolute;top:30px;right:0;width:56px;height:66px;margin:0;filter:drop-shadow(0 0 2px #c8e4ff44)}
 #mobile-home p{font-size:18px;line-height:1.75}
 #mobile-home .mobile-home-hero .lead{margin-top:20px}
 #mobile-home .mobile-home-actions{margin-top:24px}
 #mobile-home .mobile-reading-section{padding-block:30px}
 #mobile-home h2{font-size:26px;line-height:1.4;margin-bottom:22px}
 #mobile-home .cap .cap-t{font-size:22px;line-height:1.45}
 #mobile-home .mobile-capabilities{gap:26px}
 #mobile-home .cap p{margin-top:10px}
 #mobile-home :is(summary,li){font-size:17px;line-height:1.75}
 #mobile-home .mobile-business-example h3{font-size:23px}
 #mobile-home .mobile-home-actions .btn{font-size:17px}
 .case-curved-preview #main .mobile-case-intro{font-size:18px;line-height:1.75;color:#c8d0db;margin:0 0 24px}
 .case-curved-preview #main .mobile-case-project{padding-block:26px}
 .case-curved-preview #main .mobile-case-project .mobile-case-purpose{font-size:18px;line-height:1.75;color:#d0d8e1;margin:12px 0 18px}
 .case-curved-preview #main .mobile-case-cover .case-wall-item{display:block;width:100%;max-width:none;margin:0;height:auto}
 .case-curved-preview #main .mobile-case-cover .case-image-trigger{display:block;aspect-ratio:auto;width:100%;height:auto;padding:0;overflow:hidden;background:#0d1116;border:1px solid #3b444d;border-radius:8px}
 .case-curved-preview #main .mobile-case-cover img{display:block;width:100%;height:auto;aspect-ratio:1.5;object-fit:contain;object-position:top}
 .case-curved-preview #main [data-mobile-device="mobile"] .mobile-case-cover img{height:260px;aspect-ratio:auto;object-fit:cover;object-position:top}
 .case-curved-preview #main .mobile-case-open{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:52px;padding:12px 16px;background:#11171d;color:#f3f7fc;font-size:17px;line-height:1.5;border-top:1px solid #3b444d}
 .mobile-footer-summary{display:block;grid-column:1 / -1;min-width:0}
 .mobile-footer-summary .mobile-footer-brand{display:inline-flex;align-items:center;min-height:44px;color:#f5f7fb;font-size:23px;line-height:1.5;text-decoration:none}
 .mobile-footer-summary>p{font-size:16px;line-height:1.7;color:#bec8d3;margin:4px 0 12px}
 .mobile-footer-summary nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
 .mobile-footer-summary nav a{display:flex;align-items:center;justify-content:center;min-height:44px;font-size:16px;line-height:1.6;color:#edf3fa;text-decoration:none}
 .foot .foot-grid,.site-footer .footer-identity,.site-footer .footer-explore{display:none}
 .foot,.site-footer{padding-block:24px;gap:0}
 .site-footer .footer-bottom{margin-top:0}
}
