/* V3 — tactile language control and right-to-left cinematic direction. */
.language-switcher {position:relative;z-index:130;flex:0 0 auto;direction:ltr;font-family:'DM Mono',monospace}
.language-trigger {display:inline-flex;align-items:center;justify-content:center;gap:11px;min-width:93px;height:38px;border:1px solid rgba(228,190,151,.56);color:#f6dec1;background:rgba(21,19,18,.67);cursor:pointer;transition:background .25s,border-color .25s,box-shadow .25s;letter-spacing:.13em;font:500 11px 'DM Mono',monospace;backdrop-filter:blur(12px);padding:0 12px}
.language-trigger:hover,.language-switcher.is-open .language-trigger {background:#3b3029;border-color:#e5bc92;box-shadow:0 0 25px #ca986022}
.language-globe{color:#eac08e}.language-chevron{opacity:.7;transition:transform .25s}.language-switcher.is-open .language-chevron{transform:rotate(180deg)}
.language-menu[hidden]{display:none!important}
.language-menu{position:absolute;top:calc(100% + 13px);right:0;width:236px;z-index:140;padding:10px;border:1px solid rgba(214,167,119,.54);background:rgba(15,14,14,.97);box-shadow:0 25px 65px #000b,0 0 50px #b4783e13;backdrop-filter:blur(25px);animation:languageAppear .17s ease both;direction:ltr;text-align:left}
.language-menu:before{content:'';position:absolute;top:-5px;right:27px;width:8px;height:8px;transform:rotate(45deg);background:#171412;border-left:1px solid #bc9673;border-top:1px solid #bc9673}
.language-caption{display:flex;justify-content:space-between;gap:12px;margin:0 0 7px;padding:8px 10px 13px;border-bottom:1px solid #ffffff1c;color:#b28d6c;font:9px 'DM Mono',monospace;letter-spacing:.13em;white-space:nowrap}
.language-caption span{color:#6f5a46}
.language-option{display:flex;align-items:center;width:100%;gap:15px;min-height:46px;color:#c2b6a7;background:transparent;border:0;border-left:2px solid transparent;cursor:pointer;padding:9px 13px;text-align:left;transition:background .16s,color .16s;font-size:13px}
.language-option:hover,.language-option:focus-visible {background:#ffffff0d;color:#fff}
.language-option.is-selected{background:#bd8c5730;border-left-color:#e6ac71;color:#f7dfc5}
.language-code{font:11px 'DM Mono',monospace;letter-spacing:.04em;color:#d3a274;min-width:22px}.language-name{flex:1;font:500 13px 'DM Sans',sans-serif}.language-option[data-language="ar"] .language-name{font-family:'Noto Sans Arabic',Tahoma,sans-serif;direction:rtl;text-align:left;unicode-bidi:plaintext;line-height:1.6}.language-check{color:#edbd8a;opacity:0;font-size:15px}.language-option.is-selected .language-check{opacity:1}
@keyframes languageAppear{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1250px){.header-right .edition{display:none}.desktop-nav{gap:24px}}
@media(max-width:1050px){.site-header .desktop-nav{display:none}.site-header .menu-toggle{display:block;border:1px solid #ffffff50;padding:9px 12px;background:rgba(18,17,17,.55);color:#f2d6b7;font:11px 'DM Mono',monospace;cursor:pointer}.site-header .mobile-nav{top:96px;background:#151312;border-bottom:1px solid #ad845e90;box-shadow:0 17px 30px #0009}.site-header .mobile-nav a{color:#f3dfca}}
@media(max-width:800px){.site-header .mobile-nav{top:75px}.language-trigger{min-width:84px;height:37px}.header-right{gap:10px}}
@media(max-width:520px){.brand small{font-size:8px}.brand-mark{flex-shrink:0}.language-trigger{min-width:72px;gap:6px;height:34px;padding:0 8px}.language-globe{width:15px}.site-header .menu-toggle{font-size:10px;padding:9px}.menu-toggle span{margin-left:5px}.language-menu{right:-55px;max-width:calc(100vw - 24px)}}
@media(prefers-reduced-motion:reduce){.language-menu{animation:none}}
/* Arabic: reversed composition, correct font shaping, readable and fluid headings. */
html[dir="rtl"] body {font-family:'Noto Sans Arabic',Tahoma,Arial,sans-serif;letter-spacing:normal}
html[dir="rtl"] :is(.hero h1,.story h2,.section-heading h2,.statement p,.now-panel h2,.sources-layout h2,.timeline-content h3,.story-text .lead,.film-shot span,.opening-slate strong,.footer-main p){font-family:'Noto Naskh Arabic',Georgia,serif;font-weight:600;letter-spacing:0;line-height:1.22}
html[dir="rtl"] :is(.eyebrow,.micro,.tag,.edition,.coordinates,.hero-foot,.interlude-heading,.interlude-bottom,.section-kicker,.timeline-category,.source-pill,.archive-note,.card-meta,.card-open,.now-live,.source-list small,.footer-bottom,.back-top,.inline-link,.lightbox-bottom,.statement small,.statement-label,.filter,.primary-cta,.text-cta,.ticker-track span,.opening-slate span,.opening-slate small){font-family:'Noto Sans Arabic',Tahoma,Arial,sans-serif;letter-spacing:0;line-height:1.8}
html[dir="rtl"] :is(.desktop-nav a,.mobile-nav a,.card-info strong,.source-list strong){font-family:'Noto Sans Arabic',Tahoma,Arial,sans-serif;letter-spacing:0;line-height:1.7}
html[dir="rtl"] .hero-backdrop img{right:auto;left:0;object-position:center 25%}
html[dir="rtl"] .hero-vignette{background:linear-gradient(270deg,#090a0bf9 0%,#090a0be5 27%,#090a0b55 65%,#090a0b4a 100%),linear-gradient(0deg,#090a0bf0 0%,transparent 31%,#08090a44 100%)}
html[dir="rtl"] .hero h1{white-space:normal;font-size:clamp(78px,9vw,156px);line-height:1.11;margin:12px 0 28px}
html[dir="rtl"] .hero h1 em{font-style:normal}
html[dir="rtl"] .hero-description{line-height:2;max-width:510px}
html[dir="rtl"] .hero-copy{text-align:right}
html[dir="rtl"] .progress{left:auto;right:0}
html[dir="rtl"] .site-header .brand{direction:ltr}
html[dir="rtl"] .hero-foot>span:first-child:before{order:2}
html[dir="rtl"] .film-shot span{left:10px;right:22px;text-align:right;line-height:1.45}
html[dir="rtl"] .film-shot small{font-family:'DM Mono',monospace;direction:ltr;text-align:right}
html[dir="rtl"] .story-art{margin-left:0;margin-right:7%;transform:rotate(3deg)}
html[dir="rtl"] .archive-card{text-align:right}
html[dir="rtl"] .timeline-year{font-family:'Cormorant Garamond',serif;letter-spacing:0}
html[dir="rtl"] .timeline-content h3{font-size:36px}
html[dir="rtl"] .story h2{font-size:clamp(65px,7vw,118px)}
html[dir="rtl"] .statement p{font-size:clamp(48px,5.5vw,90px)}
html[dir="rtl"] .section-heading h2,html[dir="rtl"] .sources-layout h2{font-size:clamp(66px,6.5vw,125px)}
html[dir="rtl"] .now-panel h2{font-size:clamp(70px,6vw,120px)}
html[dir="rtl"] .now-symbol{opacity:.3}
html[dir="rtl"] .ticker-track{direction:ltr}
html[dir="rtl"] .ticker-track span{direction:rtl;unicode-bidi:isolate}
html[dir="rtl"] .ring-b:after{left:auto;right:28px}
html[dir="rtl"] .source-list a:hover b{transform:translate(-4px,-4px)}
html[dir="rtl"] .language-menu{right:auto;left:0}
html[dir="rtl"] .language-menu:before{right:auto;left:27px}
html[dir="rtl"] .language-switcher{direction:ltr}
html[dir="rtl"] .now-panel,html[dir="rtl"] .sources-layout,html[dir="rtl"] .story-layout{text-align:right}
html[dir="rtl"] .lightbox-toolbar,html[dir="rtl"] .lightbox-bottom{text-align:right}
@media(max-width:800px){html[dir="rtl"] .hero-vignette{background:linear-gradient(270deg,#08090bf2,#08090b55),linear-gradient(0deg,#08090bf5,transparent 67%,#08090b8a)}html[dir="rtl"] .hero h1{font-size:clamp(69px,10vw,114px)}html[dir="rtl"] .section-heading h2,html[dir="rtl"] .sources-layout h2{font-size:clamp(58px,9vw,105px)}}
@media(max-width:520px){html[dir="rtl"] .hero h1{font-size:clamp(62px,13vw,88px);line-height:1.1}html[dir="rtl"] .hero-description{font-size:13px}html[dir="rtl"] .story h2{font-size:clamp(55px,12vw,75px)}html[dir="rtl"] .section-heading h2,html[dir="rtl"] .sources-layout h2{font-size:clamp(55px,11vw,83px)}html[dir="rtl"] .statement p{font-size:clamp(36px,8vw,55px)}html[dir="rtl"] .now-panel h2{font-size:clamp(49px,10vw,68px)}html[dir="rtl"] .timeline-content h3{font-size:24px}html[dir="rtl"] .language-menu{left:-55px}}
/* Scandinavian headings with long compounds must not widen the document on narrow phones. */
@media(max-width:520px){html[lang="sv"] .sources-layout h2{font-size:clamp(44px,10vw,62px)}.sources-layout>div{min-width:0}}
