/* Compact language navigation; preserve the existing portfolio layout. */
.language-switcher{display:flex;align-items:center;gap:2px;padding:3px;border:1px solid #d5ded8;border-radius:5px;flex-shrink:0}
.language-switcher a{display:block;min-width:26px;padding:5px 6px;text-align:center;text-decoration:none;font-size:10px;font-weight:600;line-height:1.35;color:#375356;white-space:nowrap;border-radius:3px}
.language-switcher a[aria-current="true"]{background:#1b6b68;color:#fff}
.language-switcher a:hover{background:#e2ebe5;color:#102c34}
.language-switcher a[aria-current="true"]:hover{background:#175d5a;color:#fff}
.language-switcher a:focus-visible{outline:2px solid #1b6b68;outline-offset:3px}
.header-actions{gap:10px}
html[lang="zh-Hans"] body{font-family:"Microsoft YaHei","PingFang SC","Noto Sans CJK SC",Arial,sans-serif}
html[lang="zh-Hans"] .eyebrow,html[lang="zh-Hans"] .logo-caption,html[lang="zh-Hans"] .project-category,html[lang="zh-Hans"] .footer-grid h2{letter-spacing:.03em}
html[lang="zh-Hans"] .logo-name{font-family:Arial,sans-serif}
html:not([lang="ru"]) .hero-title{overflow-wrap:normal;hyphens:auto}
.site-nav a,.header-actions>.button{white-space:normal}
@media(min-width:761px) and (max-width:1220px){.header-inner{flex-wrap:wrap;gap:12px}.site-nav{gap:15px}.header-actions{margin-left:auto}.header-actions>.button{font-size:10px;min-height:34px;padding:8px 11px}.logo-caption{font-size:7px}}
@media(max-width:760px){.header-inner{position:relative;height:auto;min-height:62px;flex-wrap:nowrap;gap:8px;padding-block:10px}.header-actions{display:flex;order:2;width:auto;margin-left:auto;gap:0}.language-switcher{padding:2px}.language-switcher a{font-size:9px;padding:5px;min-width:22px}.header-actions>.button{display:none}.menu-toggle{order:3;margin-left:0;flex-shrink:0}.site-nav{top:100%}.site-header .logo-caption{display:none}.site-header .logo-name{font-size:12px;letter-spacing:.02em}.site-header .logo{min-width:0;gap:8px}.site-header .logo-mark{width:28px;height:28px;flex-shrink:0}}
