/* Shared language navigation; independent of the section-navigation JS. */
.language-switcher { display: inline-flex; flex: none; gap: 2px; padding: 3px; border: 1px solid currentColor; border-radius: 999px; margin-left: auto; }
.language-switcher a { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; min-height: 36px; padding: 6px; border-radius: 999px; text-decoration: none; color: inherit; font: 600 .875rem/1 system-ui, sans-serif; }
.language-switcher a[aria-current="page"] { background: var(--og-ink, #171717); color: var(--og-cream, #f4efe9); }
.language-switcher a:hover { text-decoration: underline; text-underline-offset: 4px; }
.language-switcher a:focus-visible { outline: 3px solid var(--og-orange, #fc5100); outline-offset: 3px; }
.hdr[data-tone] .language-switcher a[aria-current="page"] { background: #f4efe9; color: #171717; }
/* Polish navigation needs more room; use the existing compact menu earlier. */
@media (min-width: 900px) and (max-width: 1220px) { html[lang="pl"] .hdr .nav { display: none; } html[lang="pl"] .hdr .menu { display: block; } }
@media (max-width: 540px) { .hdr .wrap { gap: 8px; } .language-switcher { gap: 0; padding: 1px; } .language-switcher a { min-width: 32px; min-height: 40px; padding: 5px; } .hdr .btn--sm { padding-inline: 10px; } html[lang="pl"] .hdr .btn--sm { display: none; } }
html[lang="pl"] .hero__role .ln { white-space: normal; }
html[lang="pl"] .flow b, html[lang="pl"] .flow strong { overflow-wrap: anywhere; }
html[lang="pl"] .status { letter-spacing: .04em; }
html[lang="pl"] .bar b { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 540px) { .hdr__in { gap: 8px; } .hdr .menu { margin-left: 0; } }
/* Keep both languages' desktop navigation clear of the switch and CV action. */
@media (min-width: 900px) and (max-width: 1220px) { .hdr .nav { display: none; } .hdr .menu { display: block; } }
