/* Shared responsive rules, loaded after all page styles. */
main,section,article,form,.section-head>div,.contact-layout>div,.service-detail-grid>*,.article-grid>*,.portfolio-grid>*,.growth-layout>*{min-width:0}
h1,h2,h3,p,.prose,.search-result,.footer-channel-value{overflow-wrap:anywhere}
.prose img,.detail img{max-width:100%}.prose table{display:block;max-width:100%;overflow:auto}.prose pre{max-width:100%;overflow:auto}
input,select,textarea{max-width:100%}.button{white-space:normal;text-align:center}
.language-options{max-height:min(440px,calc(100dvh - 100px));overflow-y:auto;max-width:calc(100vw - 32px)}
#search-dialog{max-height:calc(100dvh - 32px);overflow:auto}
@media(max-width:1100px){
 .nav-wrap{height:83px;gap:16px;width:calc(100% - 32px)}
 #navigation{display:none;position:absolute;top:83px;left:0;right:0;background:#fff;padding:22px 24px;box-shadow:0 16px 25px #102e4915;flex-direction:column;align-items:stretch;gap:8px;max-height:calc(100dvh - 83px);overflow:auto;overscroll-behavior:contain}
 #navigation.open{display:flex}.menu-toggle{display:grid}
 #navigation>a{font-size:16px;padding:9px 0;white-space:normal}#navigation>a.active:after{display:none}
 .nav-services summary{font-size:16px;padding-block:12px;justify-content:space-between;white-space:normal}
 .mega-panel{position:static;transform:none;width:100%;padding:12px;margin:8px 0;display:block;border:1px solid var(--line);border-radius:10px;box-shadow:none}
 .mega-intro{border:0;padding:0 4px 12px}.mega-intro .eyebrow,.mega-intro h2,.mega-intro p{display:none}
 .mega-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.mega-link{font-size:14px}
 .about-video-section .company-video-block,.about-video-section>div:last-child{translate:0 0}
 .service-detail-grid{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:25px}
}
@media(max-width:860px){
 .service-detail-grid,.contact-layout{grid-template-columns:minmax(0,1fr)}.service-inquiry{position:static}
 .hero{grid-template-columns:minmax(0,1fr);gap:30px}.hero-copy{max-width:650px}.hero-art.hero-projects{width:min(600px,95%);justify-self:center;translate:0 0;height:450px}
 .hero-screen-main{width:94%;left:2%}.hero-phone{width:166px;height:337px}.hero-tech-badges{left:-7px;top:100px}
 .service-heading{font-size:clamp(28px,5vw,38px)!important}
}
@media(max-width:600px){
 .nav-wrap{gap:10px}.nav-tools{gap:5px}.nav-tools .icon-button{width:36px;height:44px;padding:7px}.language-picker summary{gap:5px;font-size:12px;min-height:44px}.language-picker img{width:21px;height:14px}
 .mega-links{grid-template-columns:minmax(0,1fr)}.mega-link{min-height:44px}
 .hero-art.hero-projects{height:370px;width:100%}.hero-phone{width:148px;height:305px}.hero-tech-badges{top:56px}
 html[lang="th"] .hero h1 em{white-space:normal}.hero h1{font-size:clamp(32px,9vw,43px);letter-spacing:0}
 .page-intro h1,.detail h1{font-size:clamp(28px,8vw,36px);line-height:1.45}
 .page-intro p,.prose p{font-size:15px}.section-head h2{overflow-wrap:anywhere}
 .service-grid{grid-template-columns:minmax(0,1fr)}.service-card{min-height:220px}.service-card h3{font-size:20px}.service-card p{font-size:14px}
 .search-form{display:flex;flex-wrap:wrap}.search-form input{flex:1 1 100%;width:100%}.search-form .button{min-height:44px}
 form input:not([type=checkbox]),form select,form textarea{font-size:16px;min-height:46px}
 .filters button{min-height:44px}.process-grid{grid-template-columns:minmax(0,1fr)}
 .growth-story-content h3{font-size:clamp(23px,6.8vw,29px)}html[lang="th"] .growth-story-content h3 em{white-space:normal;font-size:inherit}
 .growth-story-content{padding:26px 23px}.growth-story-content p{font-size:14px}.growth-story{min-height:410px}
 .service-process{grid-template-columns:minmax(0,1fr)}
 .footer-contact-list,.footer-top>div{min-width:0}
 [dir=rtl] .language-options{inset-inline-end:auto;right:0}
}
@media(max-width:380px){.logo-frame{width:103px}.nav-wrap{gap:4px}.hero-art.hero-projects{height:325px}.hero-phone{width:130px;height:273px}.expertise-item{gap:8px;padding-inline:5px}.expertise-item span{font-size:8px}.growth-stat{padding-inline:14px}.growth-stat strong{font-size:47px}.growth-stat p{font-size:13px}}@media(max-width:600px){.header .logo-frame{width:110px;height:65px}.header .logo-frame img{content:url('../assets/wynnsoft-logo-transparent.png');position:static;width:100%;height:100%;max-width:100%;object-fit:contain;mix-blend-mode:normal}.detail .project-art.project-real{min-height:0;padding:20px}.detail .project-real .project-browser{transform:none}.search-result{overflow-wrap:anywhere}}/* Shared typography rhythm: unitless values scale with font size in all languages. */
body #main h1{line-height:1.3}
body #main h2{line-height:1.35}
body #main h3,body #main h4{line-height:1.45}
body #main p{line-height:1.8}
body #main .hero h1{line-height:1.22;margin-bottom:18px}
body #main .hero-description{line-height:1.75;margin-top:0}
body #main .eyebrow{line-height:1.5}
body #main .article-reading.prose p{line-height:1.9}
body #main .article-reading.prose h2{line-height:1.4;margin-block:30px 14px}
body #main .service-feature-copy h1{margin-bottom:20px}
body #main .service-feature-copy>p{margin-top:0}
body #main .insight-content h3{min-height:2.9em}
body #main .webapp-steps h3,body #main .webapp-steps h4{margin-bottom:8px}
body #main .growth-stat p{line-height:1.55}
body #main .project-info h3{line-height:1.4}
body #main .project-info p{line-height:1.65}
body #main .button,body #main .insight-read{line-height:1.5}
body .site-footer .footer-label{line-height:1.5}
body .site-footer .footer-description,body .site-footer .footer-contact-row{line-height:1.8}
body .site-footer #footer-nav,body .site-footer #footer-services{line-height:1.65}
@media(max-width:600px){
 body #main h1{line-height:1.32}
 body #main h2{line-height:1.4}
 body #main h3,body #main h4{line-height:1.45}
 body #main .hero h1{line-height:1.23;margin-bottom:16px}
 body #main .article-reading.prose p{line-height:1.85}
 body #main .article-reading.prose h2{margin-block:26px 12px}
}
/* Transparent header logo, using the existing clean brand asset. */
.header .brand,.header .brand .logo-frame{background:transparent;border:0;box-shadow:none}
.header .brand .logo-frame img{position:static;width:100%;height:100%;max-width:100%;object-fit:contain;mix-blend-mode:normal;content:normal}
