.language-switch { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:12px 0 20px; font:13px/1.5 system-ui,sans-serif; letter-spacing:0; }
.language-switch a { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:8px 14px; border:1px solid #586273; border-radius:4px; color:#edf2f7; text-decoration:none; }
.language-switch a[aria-current="page"] { border-color:#d7bc8c; color:#e8ca96; background:rgba(215,188,140,.09); }
.language-switch a:focus-visible, .language-menu summary:focus-visible { outline:2px solid #d7bc8c; outline-offset:3px; }
.language-menu { position:relative; border:0; margin:0; padding:0; }
.language-menu summary { white-space:nowrap; flex-shrink:0; min-height:44px; display:flex; align-items:center; cursor:pointer; font:12px/1.5 system-ui,sans-serif; list-style:none; }
.language-menu summary::after { flex-shrink:0; content:' ▾'; }
.language-menu summary::-webkit-details-marker { display:none; }
.language-menu .language-switch { position:absolute; right:0; top:100%; z-index:30; min-width:210px; margin:0; padding:12px; background:#080e18; border:1px solid #586273; box-shadow:0 12px 36px #0008; }
.site-menu { max-width:min(440px,calc(100vw - 32px)); max-height:85vh; overflow:auto; background:#080e18; color:#edf2f7; border:1px solid #586273; padding:24px; }
.site-menu::backdrop { background:#0009; }
#site-menu-close { float:right; min-width:44px; min-height:44px; }
.site-menu .site-navigation { display:grid; gap:8px; }
.site-menu .site-navigation a { display:block; padding:14px 0; }
html[lang="en"] { overflow-wrap:break-word; }
html[lang="en"] .hero__title { font-size:clamp(36px,5.2vw,74px); letter-spacing:.01em; }
html[lang="en"] .hero__lead { letter-spacing:.02em; }
html[lang="en"] .section-heading__title,html[lang="en"] .about-strip__copy { letter-spacing:.01em; }
html[lang="en"] .brand__name { font-size:clamp(13px,2vw,22px); letter-spacing:.1em; }
html[lang="en"] .brand__roman { display:block; font-size:10px; line-height:16px; letter-spacing:.08em; }
html[lang="en"] .readout h1 { font-size:clamp(20px,3vw,38px); letter-spacing:.01em; }
html[lang="en"] .start-primary { white-space:normal; }
html[lang="en"] .site-header__inner { gap:12px; }
html[lang="en"] .intro h1 { letter-spacing:.02em; }
html[lang="en"] .intro .description { max-width:36em; }
@media(max-width:600px) {
  html[lang="en"] .app header { gap:8px; }
  html[lang="en"] .app header .brand { font-size:14px; line-height:1.3; letter-spacing:0; min-width:0; }
  html[lang="en"] .app header .brand span { font-size:6px; letter-spacing:.02em; }
  html[lang="en"] .header-actions { gap:4px; flex-shrink:0; }
  html[lang="en"] .header-actions button { font-size:10px; padding:8px 6px; }
  html[lang="en"] .start-music { gap:8px; font-size:12px; }
  html[lang="en"] .voyage-start h2 { font-size:24px; }
  html[lang="en"] .journey-mode { flex-wrap:wrap; }
  html[lang="en"] .journey-mode button { font-size:10px; }
  html[lang="en"] .hero__title { font-size:38px; }
  html[lang="en"] .hero__lead { font-size:14px; }
  html[lang="en"] .exhibit-card__title { font-size:26px; letter-spacing:.01em; }
  html[lang="en"] .intro h1 { font-size:30px; }
  html[lang="en"] .stage-top { gap:8px; }
  html[lang="en"] .stage-top button { font-size:10px; }
  html[lang="en"] .scene-name { font-size:12px; }
  html[lang="en"] .scene-date { font-size:8px; }
}
html[lang="en"] .button-outline { min-width:230px; width:max-content; max-width:100%; }
@media(max-width:600px) {
  #site-menu-open { min-height:44px; padding:8px 10px; font-size:11px; }
  header:has(#site-menu-open) { gap:8px; }
  header:has(#site-menu-open) .edition { display:none; }
}

/* Keep the language control intact when the navigation has little space. */
.site-header__inner { flex-wrap:wrap; }
.site-nav__list { flex-wrap:wrap; justify-content:flex-end; column-gap:18px; row-gap:4px; }
.site-nav__list > li:has(.language-menu) { flex-shrink:0; }
