/* Shared text wordmark; original brand typography is inherited. */
@media(max-width:640px){.test-redesign .site-header{padding-block:18px;min-height:88px}}
/* Two-position language control, shared by every page. */
.test-redesign :is(.lang-switch,.mobile-lang){position:relative;isolation:isolate;display:inline-grid;grid-template-columns:1fr 1fr;align-items:center;width:96px;height:38px;padding:3px;gap:0;border:1px solid #dce6e0;border-radius:24px;background:#edf2ef;flex:none;box-sizing:border-box}
.test-redesign :is(.lang-switch,.mobile-lang)::before{content:"";position:absolute;z-index:-1;left:3px;top:3px;width:calc(50% - 3px);height:calc(100% - 6px);border-radius:20px;background:var(--accent-green,#2f8d6f);box-shadow:0 1px 3px #173e2920;transition:transform .3s cubic-bezier(.22,.8,.3,1)}
.test-redesign :is(.lang-switch,.mobile-lang):has(a:last-child.active)::before,.test-redesign :is(.lang-switch,.mobile-lang).switch-to-en::before{transform:translateX(100%)}
.test-redesign :is(.lang-switch,.mobile-lang).switch-to-ru::before{transform:translateX(0)}
.test-redesign :is(.lang-switch,.mobile-lang)>span{display:none}
.test-redesign :is(.lang-switch,.mobile-lang) a{display:grid;place-items:center;min-height:30px;margin:0;padding:0;font:500 11px Golos,Arial,sans-serif;letter-spacing:.025em;text-decoration:none;color:#516258!important;border-radius:20px;transition:color .2s}
.test-redesign :is(.lang-switch,.mobile-lang) a.active,.test-redesign :is(.lang-switch,.mobile-lang) a.active:hover{color:white!important;text-decoration:none}
.test-redesign .mobile-lang{width:108px;height:44px;margin-top:10px}
@media(prefers-reduced-motion:reduce){.test-redesign :is(.lang-switch,.mobile-lang)::before,.test-redesign :is(.lang-switch,.mobile-lang) a{transition:none}}
.test-redesign .hero-poster[src$="bim-cutaway.webp"]{object-fit:contain;background:#eff1f0}

/* Material ownership notice across RU and EN pages. */
footer .materials-rights{grid-column:1/-1;flex-basis:100%;max-width:100%;margin:16px 0 0;font-size:12px;line-height:1.6;opacity:.72;}

@media(max-width:640px){.motion-home .knowledge-visual.knowledge-photo{min-width:0;width:100%;max-width:100%;aspect-ratio:auto;}}
