/* Language controls reuse the existing RU / EN appearance. */
.language button{font:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
.language button:not(.active){opacity:.5}
.language button.active{border-bottom:2px solid var(--color-accent);padding-block:12px}
.modal-language{font-size:12px;gap:8px;margin-left:auto;flex-shrink:0}
@media(max-width:767px){.case-bar .modal-language{gap:6px}.viewer-top .modal-language{gap:6px}.viewer-top>p{min-width:0}}
/* Only English long headings need optional word breaks in narrow columns. */
html[lang="en"] .experience-intro h2{hyphens:manual}
html[lang="en"] .case-row h2{hyphens:manual}
@media(max-width:767px){html[lang="en"] .project-card.posters .card-action{grid-column:1/-1}}
@media(max-width:767px){html[lang="en"] .project-card.posters .card-info{grid-template-columns:24px minmax(0,1fr)}}
/* Intro sentence boundaries remain natural spaces on tablet and desktop. */
@media(max-width:767px){.about-intro .intro-copy{white-space:pre-line}}
@media(max-width:767px){html[lang="ru"] .growth-copy>p{white-space:pre-line;text-wrap:pretty}}
