/* Four language choices, with locally available Cyrillic and Korean fonts. */
.language{display:block;position:relative;flex-shrink:0;align-self:center;font-size:13px}
.language>summary{display:flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:9px 12px;border:1px solid transparent;border-radius:6px;list-style:none;font-size:13px;font-weight:500;line-height:1.5;transition:background-color 160ms ease,border-color 160ms ease,color 160ms ease}
.language>summary::-webkit-details-marker{display:none}
.language>summary::after,.language[open]>summary::after{content:none}
.language>summary:hover,.language>summary:focus-visible,.language[open]>summary{color:var(--accent);background:rgba(121,96,68,.08);border-color:rgba(121,96,68,.16)}
.language svg{display:block;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.language-globe{width:18px;height:18px}
.language-chevron{width:14px;height:14px;transition:transform 160ms ease}
.language[open] .language-chevron{transform:rotate(180deg)}
.language .language-options{position:absolute;z-index:50;top:calc(100% + 8px);right:0;width:224px;max-width:calc(100vw - 48px);margin:0;padding:6px;list-style:none;background:var(--paper);border:1px solid var(--line);border-radius:8px;box-shadow:0 12px 30px rgba(36,37,33,.12)}
.language .language-options li{margin:0;padding:0}
.language .language-option{display:flex;align-items:center;justify-content:flex-start;gap:12px;min-height:44px;min-width:0;padding:10px 12px;border-radius:4px;text-decoration:none;font-size:14px;line-height:1.5;transition:background-color 160ms ease,color 160ms ease}
.language-code{width:24px;font-size:11px;letter-spacing:.04em;color:var(--muted);flex-shrink:0}
.language .language-option[aria-current]{color:var(--accent);text-decoration:none;background:rgba(121,96,68,.05)}
.language .language-option:hover,.language .language-option:focus-visible{color:var(--accent);background:rgba(121,96,68,.12);text-decoration:none}
.language-check{width:16px;height:16px;margin-left:auto}
@media(prefers-reduced-motion:reduce){.language>summary,.language .language-option,.language-chevron{transition:none}}
html[lang=uk]{--sans:Arial,"Helvetica Neue",sans-serif;--serif:Georgia,"Times New Roman",serif}
html[lang=ko]{--sans:"Apple SD Gothic Neo","Malgun Gothic","Noto Sans KR",sans-serif;--serif:"AppleMyungjo","Batang","Noto Serif KR",serif}
html[lang=ko] h1,html[lang=ko] h2,html[lang=ko] h3{word-break:keep-all;overflow-wrap:anywhere;letter-spacing:-.025em;line-height:1.3}
html[lang=uk] .reference-copy h1{font-size:clamp(32px,3.5vw,56px);line-height:1.2}
html[lang=ko] .reference-copy h1{font-size:clamp(32px,3.5vw,56px)}
html[lang=uk] .reference-copy .actions,html[lang=ko] .reference-copy .actions{flex-wrap:wrap}
html[lang=uk] .reference-copy .button,html[lang=ko] .reference-copy .button{white-space:normal}
.contact-layout>*{min-width:0}
.contact-links a{max-width:100%;overflow-wrap:anywhere}
@media(min-width:1024px) and (max-width:1399px){.nav-phone{display:none}.nav-content{gap:12px}.nav-list{gap:12px}}
@media(max-width:1023px){.language{align-self:flex-start}}
@media(max-width:767px){html[lang=uk] .reference-copy h1,html[lang=ko] .reference-copy h1{font-size:clamp(29px,6.4vw,42px)}html[lang=uk] .reference-copy .line-window,html[lang=ko] .reference-copy .line-window{overflow:visible}html[lang=ko] .trust-item strong{line-height:1.5}}
@media print{html[lang=uk] .reference-copy h1,html[lang=ko] .reference-copy h1{font-size:26pt}}
