/* Readable Cyrillic headings, 2.14.6. Manrope remains the local brand font. */
h1,h2,h3,h4,h5,h6{min-width:0;max-width:100%;word-break:normal;overflow-wrap:break-word;hyphens:manual}
h5,h6{font-weight:650;line-height:1.35;letter-spacing:0}
.yh-main h1,.yh-main h2,.yh-footer h2{text-wrap:balance}
.yh-main :is(h1,h2,h3,h4,h5,h6) a{white-space:normal;overflow-wrap:break-word}

/* Use equal, readable type in both homepage generations, even with old stored markup. */
.yh-main .yh2145-home-title,
.yh-main .yh214-home .yh28-hero .yh2145-home-title{
 font-size:clamp(2rem,3.55vw,3.5rem);font-weight:700;line-height:1.17;letter-spacing:-.025em;
 margin-bottom:28px!important;text-wrap:initial;max-width:100%
}
.yh-main .yh2145-home-title>.yh2145-title-line{display:block;color:var(--ink)}
.yh-main .yh2145-home-title>.yh2145-title-accent{color:var(--blue)}
.yh-hero-grid>*,.yh28-hero>*,.yh-section-head>*,.yh214-head>*{min-width:0}
.yh28-hero-copy{container-type:inline-size}
@supports(font-size:1cqi){
 .yh-main .yh28-hero-copy .yh2145-home-title,
 .yh-main .yh214-home .yh28-hero .yh2145-home-title{font-size:clamp(1.75rem,7.9cqi,3.5rem)}
}

/* Long article titles need space between lines and normal word wrapping. */
.yh212-article .yh210-article-head h1{font-size:clamp(2rem,4.2vw,3.75rem);line-height:1.18;letter-spacing:-.025em;overflow-wrap:break-word}
.yh210-blog-head h1{font-size:clamp(2.25rem,5.3vw,4.75rem);line-height:1.16;letter-spacing:-.025em}
.yh210-card h2,.yh210-home .yh210-card h2{line-height:1.3;letter-spacing:-.015em;overflow:visible;max-height:none;white-space:normal}
.yh210-prose :is(h3,h4){line-height:1.35;letter-spacing:-.01em}
.yh28-card-copy h3{flex-wrap:wrap;row-gap:4px}
.yh28-process li h3{font-size:18px;line-height:1.4}
.yh-review-dialog h3{line-height:1.3;letter-spacing:-.015em}

@media(max-width:760px){
 .yh-main .yh-hero-copy h1,.yh-contact-copy h1,.yh-projects-hero h1,.yh-projects-hero-expanded h1,
 .yh29-studio-hero h1,.yh27-hero h1{font-size:clamp(2rem,6.2vw,3rem);line-height:1.18;letter-spacing:-.025em}
 .yh-main .yh2145-home-title,.yh-main .yh214-home .yh28-hero .yh2145-home-title{font-size:clamp(1.75rem,6.8vw,3rem)}
 @supports(font-size:1cqi){
  .yh-main .yh28-hero-copy .yh2145-home-title,
  .yh-main .yh214-home .yh28-hero .yh2145-home-title{font-size:clamp(1.75rem,7.9cqi,3rem)}
 }
 .yh-section-head h2,.yh214-section h2,.yh214-studio h2,.yh28-section-head h2,.yh28-process-head h2,
 .yh29-heading h2,.yh29-person h2,.yh29-tools h2,.yh29-studio-end h2,.yh29-delivery h2,
 .yh-selector-copy h2,.yh-demo-copy h2,.yh-price-copy h2,.yh-data-copy h2,.yh-handover-copy h2,
 .yh-footer h2{font-size:clamp(1.75rem,5.7vw,2.25rem);line-height:1.22}
 .yh212-article .yh210-article-head h1{font-size:clamp(1.875rem,6vw,2.75rem);line-height:1.22}
 .yh210-blog-head h1{font-size:clamp(2rem,7vw,3rem)}
 .yh210-card.is-featured h2{font-size:clamp(1.5rem,5vw,1.875rem)}
 .yh28-card-copy h3{font-size:19px}
 .yh214-task-panel h3{font-size:clamp(1.5rem,5vw,2rem);line-height:1.3}
 .yh29-case-top h2{font-size:clamp(1.625rem,5vw,2rem)}
}
@media(max-width:360px){
 .yh-main .yh2145-home-title,.yh-main .yh214-home .yh28-hero .yh2145-home-title{font-size:1.75rem}
 .yh-main .yh-hero-copy h1:not(.yh2145-home-title){font-size:1.875rem}
}
