/* Shared language controls. Existing art direction remains authoritative. */
.mstein-language-switch { display:flex; align-items:center; flex-wrap:wrap; gap:8px; padding:18px 0 0; font-family:Arial,sans-serif; font-size:11px; font-style:normal; font-weight:400; letter-spacing:.06em; line-height:1.3; }
.mstein-language-switch .mstein-language-label { flex-basis:100%; color:inherit; opacity:.58; font-size:9px; letter-spacing:.12em; margin-bottom:2px; }
.mstein-language-switch a { display:inline-flex!important; align-items:center; justify-content:center; width:auto!important; min-width:40px; min-height:36px; padding:9px 12px!important; border:1px solid currentColor!important; border-radius:30px!important; text-decoration:none; font:inherit!important; line-height:1!important; opacity:.55; background:transparent!important; color:inherit!important; }
.mstein-language-switch a[aria-current="true"] { opacity:1; }
.mstein-language-switch a:hover { opacity:1; }
.mstein-language-switch a:focus-visible { outline:2px solid currentColor; outline-offset:4px; }
footer>.mstein-language-switch { margin-top:20px; position:relative; z-index:4; }
.noon-nav .mstein-language-switch,.aer-nav .mstein-language-switch,.vanta-nav .mstein-language-switch,.orbit-nav .mstein-language-switch { padding:0; margin-left:12px; }
html[lang="pl"] .wh-world-copy h1,html[lang="fr"] .wh-world-copy h1 { font-size:clamp(52px,6.9vw,132px); line-height:1.03; }
html[lang="pl"] .wh-world-description,html[lang="fr"] .wh-world-description { max-width:40ch; }
html:not([lang="en"]) .approach-goal { overflow-wrap:normal; }
html:not([lang="en"]) button,html:not([lang="en"]) a { text-wrap:pretty; }
html:not([lang="en"]) :is(.ax-title,.ax-scene-title,.mc-title) { overflow-wrap:normal; }
.mstein-language-picker { position:absolute; right:5%; top:50%; transform:translateY(-50%); z-index:120; font:11px Arial,sans-serif; letter-spacing:.06em; }
.mstein-language-picker summary { list-style:none; cursor:pointer; min-height:38px; min-width:56px; display:flex; align-items:center; justify-content:center; gap:9px; border:1px solid currentColor; border-radius:30px; padding:8px 10px; }
.mstein-language-picker summary::-webkit-details-marker { display:none; }
.mstein-language-picker summary:focus-visible { outline:2px solid currentColor; outline-offset:4px; }
.mstein-language-picker>.mstein-language-switch { position:absolute; right:0; top:calc(100% + 10px); min-width:180px; padding:16px; border:1px solid #e0c99444; border-radius:16px; color:#f5eee2; background:#15131dee; backdrop-filter:blur(18px); box-shadow:0 16px 40px #0003; }
html[data-mstein-page="noon"] .noon-nav nav,html[data-mstein-page="aer"] header.nav nav,html[data-mstein-page="vanta"] header.nav nav { margin-right:85px; }
html[data-mstein-page="orbit"] .header-link { margin-right:85px; }
html:not([lang="en"]) .mh-intro h1 { font-size:clamp(88px,10vw,185px); line-height:.96; }
html:not([lang="en"]) .mh-intro h1>span { max-width:100%; }
.mstein-embedded-preview .mstein-language-picker,.mstein-embedded-preview .mstein-language-switch { display:none; }
@media(max-width:700px) {
 .mstein-language-switch { gap:6px; }
 .mstein-language-switch a { min-width:40px; min-height:40px; }
 html[lang="pl"] .wh-world-copy h1,html[lang="fr"] .wh-world-copy h1 { font-size:clamp(42px,10vw,68px); }
 html:not([lang="en"]) .mh-intro h1 { font-size:clamp(44px,14vw,68px); line-height:1; margin-block:24px; }
 html[lang="pl"] .ai-opening h1 em,html[lang="pl"] .ai-resolve-copy h2 em { font-size:clamp(31px,10.5vw,54px); }
 html[data-mstein-page="noon"] .noon-nav nav,html[data-mstein-page="aer"] header.nav nav,html[data-mstein-page="vanta"] header.nav nav,html[data-mstein-page="orbit"] .header-link { display:none; }
 .mstein-language-picker { right:6%; }
 html[data-mstein-page="noon"] .noon-nav>.noon-logo,html[data-mstein-page="aer"] header.nav>.wordmark,html[data-mstein-page="vanta"] header.nav>.nav-brand { left:50%; transform:translateX(-50%); }
}

/* Keep the film stage within its column when min-height exceeds its preferred ratio. */
html[data-mstein-page="media"] .mc-style-stage { width:100%; max-width:100%; min-width:0; }
