/* Shared finishing adjustments across home, cases, blog and legal pages. */
input,textarea,select{font-size:16px}button,a,input,textarea,summary{touch-action:manipulation}.navigation a{padding-block:10px}.navigation{gap:1.4cqw}.site-footer a{line-height:1.5}.legal-page .stage,.blog-page .stage,.case-page .stage{min-width:0}.article-heading h1,.legal-heading h1,.case-page h1{overflow-wrap:anywhere}.task-dialog .section-kicker{padding-right:25px}.task-dialog .task-social:focus-visible{outline:3px solid var(--green);outline-offset:3px}
@media(max-width:1024px){.navigation.is-open{max-height:calc(100dvh - 85px);overflow:auto}.navigation a{font-size:17px!important;min-height:44px;display:flex;align-items:center}.menu-toggle{min-width:44px;min-height:44px}.header .phone{min-width:42px;min-height:42px}.back-top{min-height:44px;display:flex;align-items:center}}
@media(max-width:600px){.site-footer a{overflow-wrap:anywhere}.article-heading h1{font-size:clamp(28px,8vw,34px)}.task-direct .task-social{min-width:44px;min-height:44px;display:grid;place-items:center}.article-body a,.legal-text a{overflow-wrap:anywhere}.topic-tabs a,.type-tabs button{min-height:44px}.type-tabs button{font-size:14px}.blog-page .blog-shell{min-width:0}.legal-page .section-kicker{font-size:10px;gap:10px}}
.case-overview>*,.case-result>*,.case-hero-grid>*,.case-section-heading,.case-video-section>header>*{min-width:0}.case-page h2{overflow-wrap:anywhere}
/* Portfolio cards retain their desktop composition and stack on narrow screens. */
.project-grid .case-content{min-width:0}.project-grid .case-content h3{overflow-wrap:anywhere}
@media(max-width:1050px){.project-filters{flex-wrap:wrap}.project-filters button{flex:0 1 auto;min-height:44px;padding:12px 16px}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.project-grid .case-card:not(.case-feature),.project-grid.is-filtered .case-card{grid-column:auto;display:flex;flex-direction:column;padding:22px;min-height:0}.project-grid .case-feature{grid-column:1/-1}.project-grid .case-card:not(.case-feature)>.case-category{order:0}.project-grid .case-card:not(.case-feature)>.case-image{order:1;padding:0;height:auto}.project-grid .case-card:not(.case-feature)>.case-content{order:2;padding:0;align-self:stretch}.project-grid .case-card:not(.case-feature) .case-image img{height:210px}.project-grid .case-card .case-content h3{font-size:24px;margin:16px 0 12px}}
@media(max-width:600px){.project-grid,.project-grid.is-filtered{grid-template-columns:minmax(0,1fr)}.project-grid .case-card,.project-grid.is-filtered .case-card{grid-column:auto;display:flex;flex-direction:column;padding:20px;min-height:0}.project-grid .case-card>.case-category{order:0}.project-grid .case-card>.case-image{order:1;height:auto;padding:0;width:100%}.project-grid .case-card .case-image img{width:100%;height:auto;max-height:270px;object-fit:contain;margin:15px 0}.project-grid .case-card>.case-content{order:2;width:100%;padding:0;align-self:stretch}.project-grid .case-card .case-content h3{font-size:24px;max-width:100%}.project-grid .case-content p{font-size:16px}.project-grid .case-feature .case-content .case-intro{font-size:17px}.project-grid .case-card .case-button{width:100%;min-height:46px;margin-top:5px}.project-grid .case-tags{margin-bottom:18px}.project-filters{gap:8px;margin-top:24px}.project-filters button{font-size:13px;padding:11px 14px}}
/* A shared content edge follows the header logo and contact button. */
.stage{--site-gutter:4.7cqw}.stage .header{padding-inline:var(--site-gutter)}.stage .service-shell,.stage .blog-shell,.stage .legal-shell{max-width:none;width:100%;padding-inline:var(--site-gutter)}.stage .page-section,.stage .projects-section,.stage .estimate-section,.stage .benefits-section,.stage .reviews-section,.stage .site-footer{padding-inline:var(--site-gutter)}.stage>main>.hero>.copy{margin-left:var(--site-gutter)}
@media(max-width:1024px){.stage{--site-gutter:24px}.stage>main>.hero>.copy{margin-left:0;padding-inline:var(--site-gutter)}}
@media(max-width:600px){.stage{--site-gutter:22px}}
