/* Language-specific typography and a quiet native language selector. */
@font-face{font-family:'Old Standard';src:url('assets/old-standard-regular.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
.language-picker{position:relative;display:inline-flex;align-items:center;flex-shrink:0;min-height:44px;width:95.5px;max-width:95.5px;font-family:Bodoni,'Old Standard','Songti SC',Georgia,serif}
.language-label{outline:0;box-shadow:none;position:relative;display:flex;align-items:center;box-sizing:border-box;width:100%;height:31.5px;border:1px solid var(--rule,#d3c4b7);padding:0 10px;justify-content:center;text-align:center;font:400 15px/20px Bodoni,'Old Standard','Songti SC',Georgia,serif;font-synthesis:none;letter-spacing:0;text-transform:none;white-space:nowrap;text-decoration:none;color:var(--text,#514034)}
.language-label::after{content:"";position:absolute;right:4px;top:43%;width:5px;height:5px;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:rotate(45deg)}
.language-picker select{position:absolute;inset:0;width:100%;height:100%;opacity:0;font-family:inherit;font-size:16px;cursor:pointer;outline:none}
/* Keyboard focus remains visible without a persistent ring after mouse/touch selection. */
.language-picker[data-keyboard-focus]:focus-within .language-label{outline:2px solid currentColor;outline-offset:-3px}
.site-header nav,.atlas-page .site-header nav{flex-wrap:wrap;gap:8px 20px}
.site-header nav .inquire,.atlas-page .site-header nav .inquire{border:0;padding-inline:0;font-weight:400}
html:not([lang="en"]) .hero h1,html:not([lang="en"]) h2{text-wrap:balance;overflow-wrap:break-word}
html[lang="ru"] h1,html[lang="ru"] h2,html[lang="ru"] .site-header nav a{font-family:'Old Standard',Georgia,serif;font-weight:400;font-synthesis:none}
html[lang="ru"] .hero h1{font-size:clamp(48px,6vw,86px);line-height:1.08;letter-spacing:-.025em}
html[lang="ru"] .site-header nav a{font-size:14px;letter-spacing:0}
html[lang="zh-Hans"] body{font-family:'Avenir Next','PingFang SC','Microsoft YaHei','Noto Sans CJK SC',sans-serif}
html[lang="zh-Hans"] h1,html[lang="zh-Hans"] h2,html[lang="zh-Hans"] .site-header nav a{font-family:'Songti SC','Noto Serif CJK SC','Source Han Serif SC',SimSun,serif;font-weight:400;font-synthesis:none;letter-spacing:0;line-height:1.25}
@media(min-width:901px){.site-header,.atlas-page .site-header{grid-template-columns:auto minmax(0,1fr);column-gap:24px}.site-header nav,.atlas-page .site-header nav{justify-content:flex-end}}
@media(min-width:901px) and (max-width:1200px){.site-header,.atlas-page .site-header{gap:18px}.site-header nav,.atlas-page .site-header nav{gap:4px 14px}}
@media(max-width:900px){.site-header nav,.atlas-page .site-header nav{gap:8px 18px}.site-header nav a{white-space:normal;overflow-wrap:break-word}.language-picker{justify-self:start}.language-picker select{max-width:100%}html[lang="ru"] .site-header nav a{font-size:16px}}
@media(max-width:760px){html[lang="ru"] .hero h1{font-size:clamp(34px,8.4vw,48px);line-height:1.1}}
.footer-bottom{flex-wrap:wrap}

/* Centre mobile section titles without changing desktop alignment or body copy. */
@media(max-width:760px){
 main :is(h1,h2,h3,h4){text-align:center}
 main :is(h1,h2){width:100%;margin-inline:auto}
 .atlas-page .hero-art figcaption{justify-content:center;text-align:center;flex-wrap:wrap;gap:4px 16px}
}
