/* Language navigation: shared by the portfolio and case study. */
.language-switch{display:inline-flex;align-items:center;gap:3px;flex-shrink:0;white-space:nowrap;font:500 12px/1.2 'DM Mono',ui-monospace,monospace;letter-spacing:.04em}
.top nav .language-switch a,.sitebar .language-switch a{display:inline-flex;align-items:center;justify-content:center;min-width:34px;min-height:36px;padding:8px 6px;border-radius:6px;font:inherit;text-decoration:none;color:inherit;position:relative}
.top nav .language-switch a::before,.top nav .language-switch a::after{display:none}
.language-switch a[aria-current="page"]{background:#5A63D6;color:#fff}
.top nav .language-switch a[aria-current="page"],.sitebar .language-switch a[aria-current="page"]{color:#fff}
.language-switch a:hover{background:#5A63D61a}
.language-switch a[aria-current="page"]:hover{background:#4b53bd}
.language-switch a:focus-visible{outline:2px solid #5A63D6;outline-offset:3px}
.language-switch>span{opacity:.45}
@media(max-width:620px){
 .top{height:auto;min-height:var(--hdr);flex-wrap:wrap;gap:6px 12px;padding-top:10px;padding-bottom:8px}
 .top nav{width:100%;justify-content:space-between;gap:8px}
 .top nav>a{font-size:11px}
 .top nav a.nav-cta{padding:10px 12px}
 .sitebar .in{flex-wrap:wrap;gap:8px 12px}
 .sitebar .r{gap:12px}
}
@media(max-width:380px){.sitebar .r{width:100%;justify-content:space-between}.top nav{gap:4px}.top nav>a{letter-spacing:.02em}}
@media(max-width:420px){html[lang="lt"] h1.name{font-size:8.6vw}}
