/* MFB Consulting — supplementary typography for Chinese (zh-CN) and Japanese (ja) pages ONLY.
   Loaded after the approved stylesheet and scoped with :lang(), so EN / PT-BR / ES are not affected.
   The Latin display headings use negative tracking and ~0.94 line-height, which make CJK glyphs collide and wrap badly. */
:lang(zh-CN) h1,:lang(zh-CN) h2,:lang(zh-CN) h3,:lang(zh-CN) .visual-statement,
:lang(ja) h1,:lang(ja) h2,:lang(ja) h3,:lang(ja) .visual-statement{letter-spacing:0;line-height:1.22;text-wrap:balance;line-break:strict}
:lang(zh-CN) p,:lang(ja) p{line-height:1.65;line-break:strict;text-wrap:pretty}
:lang(zh-CN) .hero-lead,:lang(zh-CN) .hero-support,:lang(ja) .hero-lead,:lang(ja) .hero-support{line-height:1.55}
:lang(zh-CN) .visual-statement,:lang(ja) .visual-statement{line-height:1.15}
:lang(zh-CN) .hero h1,:lang(ja) .hero h1{font-size:clamp(30px,4.1vw,58px)}
:lang(zh-CN) .section h2,:lang(zh-CN) .contact h2,:lang(ja) .section h2,:lang(ja) .contact h2{font-size:clamp(30px,3.5vw,50px)}
:lang(zh-CN) .method-panel h2,:lang(ja) .method-panel h2{font-size:clamp(28px,3.1vw,44px)}
:lang(zh-CN) .case-index-hero h1,:lang(ja) .case-index-hero h1{font-size:clamp(30px,4.4vw,64px)}
:lang(zh-CN) .case-index-cta h2,:lang(ja) .case-index-cta h2{font-size:clamp(28px,3.2vw,46px)}
:lang(zh-CN) ._hero_1hk6f_6 h1,:lang(ja) ._hero_1hk6f_6 h1{font-size:clamp(28px,3.4vw,48px)}
:lang(zh-CN) ._section_1hk6f_13 h2,:lang(zh-CN) ._demoSection_1hk6f_26 h2,
:lang(ja) ._section_1hk6f_13 h2,:lang(ja) ._demoSection_1hk6f_26 h2{font-size:clamp(24px,2.7vw,36px)}
:lang(zh-CN) .cap h3,:lang(ja) .cap h3{line-height:1.3}
/* Japanese: break lines at phrase boundaries where supported (Chromium); ignored elsewhere */
:lang(ja) h1,:lang(ja) h2,:lang(ja) h3,:lang(ja) p,:lang(ja) .visual-statement{word-break:auto-phrase}
:lang(ja) h1,:lang(ja) h2,:lang(ja) h3,:lang(ja) p,:lang(zh-CN) h1,:lang(zh-CN) h2,:lang(zh-CN) h3,:lang(zh-CN) p{overflow-wrap:anywhere}
