/* SETTAR 5.6 — shared fluid type system; loaded after all legacy CSS */
:root { --st56-display:clamp(2rem,3.2vw,3.2rem); --st56-section:clamp(1.4rem,2.1vw,2.15rem); --st56-card:clamp(.98rem,1.15vw,1.18rem); --st56-body:clamp(.875rem,.88vw,1rem); }
/* Layout-safe default. Japanese line wraps may occur between characters, but not break an isolated suffix. */
body :is(.stw-home,.st45-page,.st46-website,.st51-content,.st47-estimate,.st47-page,.stw-about,.stw-works,.stw-services) :is(h1,h2,h3,p,a,button){max-width:100%;}
body :is(.stw-home,.st45-page,.st46-website,.st51-content,.st47-estimate,.st47-page) :is(h1,h2,h3){text-wrap:balance;overflow-wrap:normal;word-break:normal;}
body :is(.stw-home,.st45-page,.st46-website,.st51-content,.st47-estimate,.st47-page) p {text-wrap:pretty;overflow-wrap:anywhere;}
/* Hero copy: flexible text width wins over arbitrary fixed line-breaks. */
body.home .stw-hero h1{font-size:clamp(2.1rem,4.65vw,4.5rem)!important;line-height:1.23!important;text-wrap:balance;}
body.home .stw-hero__lead{font-size:var(--st56-body)!important;line-height:1.85;}
body .st45-page .st45-hero__body h1 {font-size:clamp(2rem,3.55vw,3.2rem)!important;line-height:1.26!important;text-wrap:balance;}
body .st45-page .st45-hero__body{width:min(710px,68%)!important;max-width:68%!important;min-width:0;}
body .st46-hero-inner{grid-template-columns:minmax(0,1.12fr) minmax(0,1fr)!important;gap:clamp(20px,3vw,50px)!important;}
body .st46-hero-copy{min-width:0;}
body .st46-hero-copy h1{font-size:clamp(2rem,3vw,3.05rem)!important;line-height:1.3!important;letter-spacing:-.035em!important;text-wrap:balance;}
body .st46-hero-copy .st53-web-line{white-space:nowrap;}
body .st51-hero-copy{min-width:0;}
body .st51-hero-copy h1{font-size:clamp(1.95rem,3.0vw,3.15rem)!important;line-height:1.31!important;letter-spacing:-.035em!important;text-wrap:balance;}
body .st47-hero h1{font-size:clamp(2rem,3.25vw,3.4rem)!important;line-height:1.26!important;text-wrap:balance;max-width:18ch!important;}
body .st47-hero .st47-wrap{min-width:0;}
/* Section titles, cards, pricing and CTA fit their actual container width. */
body :is(.stw-heading,.st45-section-title,.st51-heading,.st46-row,.st47-heading,.st52-cta-copy,.st53-cta-copy) h2{font-size:var(--st56-section)!important;line-height:1.36!important;text-wrap:balance;}
body :is(.st45-section,.st46-website,.st51-content,.stw-home,.st47-estimate) :is(.st46-tile,.st45-area,.st46-photo-card,.st51-format-card,.stw-card) h3{font-size:var(--st56-card)!important;line-height:1.48!important;text-wrap:balance;}
body :is(.st45-page,.st46-website,.st51-content,.stw-home,.st47-estimate) :is(.st45-actions,.stw-hero__actions,.st51-actions){flex-wrap:wrap;}
body .st46-demo.is-mobile .st46-browser-hero strong {font-size:clamp(13px,1.05vw,16px)!important;line-height:1.42!important;overflow-wrap:normal!important;word-break:normal!important;text-wrap:balance;}
body .st46-demo.is-mobile .st46-browser-hero strong br{display:none!important;}
/* Medium-width screens: reduce headings before compressing the available copy area. */
@media (max-width:1100px){
 body .st46-hero-copy h1{font-size:clamp(1.95rem,3.15vw,2.75rem)!important;}
 body .st51-hero-copy h1{font-size:clamp(1.95rem,3.1vw,2.8rem)!important;}
 body .st46-hero-copy .st53-web-line{white-space:normal;}
 body .st45-page .st45-hero__body{width:min(650px,74%)!important;max-width:74%!important;}
}
@media (max-width:780px){
 body .st46-hero-inner{grid-template-columns:1fr!important;}
 body .st45-page .st45-hero__body{width:100%!important;max-width:100%!important;}
 body .st45-page .st45-hero__body h1{font-size:clamp(1.8rem,6vw,2.6rem)!important;}
 body .st46-hero-copy h1,body .st51-hero-copy h1{font-size:clamp(1.85rem,5.8vw,2.65rem)!important;}
 body .st47-hero h1{font-size:clamp(1.85rem,5.9vw,2.8rem)!important;}
 body :is(.st46-hero-copy,.st51-hero-copy,.st47-wrap,.st45-hero__body) h1 br{display:none;}
}
@media (max-width:480px){
 body.home .stw-hero h1{font-size:clamp(2rem,8.4vw,2.85rem)!important;}
 body .st46-hero-copy h1,body .st51-hero-copy h1{font-size:clamp(1.8rem,7.6vw,2.35rem)!important;}
 body .st45-page .st45-hero__body h1,body .st47-hero h1{font-size:clamp(1.8rem,7.4vw,2.35rem)!important;}
 body :is(.stw-heading,.st45-section-title,.st51-heading,.st46-row,.st47-heading,.st52-cta-copy,.st53-cta-copy) h2{font-size:clamp(1.4rem,5.4vw,1.8rem)!important;}
 body .st46-demo.is-mobile .st46-browser-hero strong{font-size:14px!important;}
}
