/* Typography and layout only: geospatial canvases and gesture directions stay unchanged. */
#hero-title, #about-title, .record-note { white-space: pre-line; }
.language-picker { display: flex; align-items: center; flex-shrink: 0; }
#site-language { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-width: 82px; min-height: 44px; padding: 8px 2px; border: 0; background: transparent; color: #ece6d8; font: 11px/1 "Segoe UI", Arial, sans-serif; letter-spacing: .12em; cursor: pointer; transition: color .18s ease; }
.language-globe { width: 20px; height: 20px; color: #c9b57a; }
.language-chevron { width: 5px; height: 5px; border: solid #a49a80; border-width: 0 1px 1px 0; transform: translateY(-2px) rotate(45deg); transition: transform .18s ease; }
#site-language[aria-expanded="true"] .language-chevron { transform: translateY(1px) rotate(225deg); }
#site-language:is(:hover, :focus-visible) { color: #e9ce85; }
#site-language:focus-visible { outline: 1px solid #cfb570; outline-offset: 3px; border-radius: 3px; }
/* Outside the blended masthead; the native top layer also escapes scene clipping. */
.language-options { position: fixed; inset: auto; margin: 0; width: 224px; padding: 10px; overflow-y: auto; overscroll-behavior: contain; border: 1px solid #a78c4a66; border-radius: 8px; background: #090b0e; color: #f0ede6; box-shadow: 0 18px 55px #0009; font: 14px/1.4 "Segoe UI", Tahoma, Arial, sans-serif; scrollbar-width: thin; scrollbar-color: #827044 #090b0e; }
.language-options::backdrop { background: transparent; }
.language-options:popover-open { animation: language-reveal .18s ease-out; }
.language-heading { margin: 4px 12px 9px; padding-bottom: 11px; border-bottom: 1px solid #c5aa6126; color: #bcb29a; font-size: 10px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; }
.language-options [data-language] { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 10px 12px; border: 0; border-radius: 3px; background: transparent; color: #dededb; text-align: start; cursor: pointer; transition: background .15s ease, color .15s ease; }
.language-options [data-language] > span { flex: 1; }
.language-options small { font: 10px/1 "Segoe UI", Arial, sans-serif; letter-spacing: .1em; color: #9f9e98; direction: ltr; }
.language-options [data-language] > i { width: 5px; height: 5px; border-radius: 50%; background: transparent; }
.language-options [aria-pressed="true"] { color: #e7cd8d; background: #c5aa6112; }
.language-options [aria-pressed="true"] > i { background: #e7cd8d; }
.language-options [data-language]:hover { background: #ffffff0b; color: #fff8e7; }
.language-options [data-language]:focus-visible { outline: 1px solid #c9ad63; outline-offset: -1px; background: #c5aa6115; }
@keyframes language-reveal { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .language-options:popover-open { animation: none; } #site-language, .language-chevron, .language-options [data-language] { transition: none; } }
.search-guides { max-width: 680px; margin-top: 24px; padding-top: 16px; border-top: 1px solid #c7ab5538; font-size: 12px; line-height: 1.6; }
.search-guides-label { color: #b5b5b5; margin: 0 0 8px; }
.search-guides a { display: block; width: fit-content; max-width: 100%; margin-block: 8px; color: #d7c28b; }
.search-guides a:hover { color: #fff; }
.search-guides a:focus-visible { outline: 1px solid #d7c28b; outline-offset: 3px; }
.navigation { margin-inline-start: auto; margin-left: 0; gap: clamp(12px, 1.6vw, 26px); }
/* Brand and header controls keep their positions; only the Arabic copy reads RTL. */
.masthead { column-gap: 1.6vw; direction: ltr; }
[dir="rtl"] .navigation > * { direction: rtl; unicode-bidi: isolate; }
.case-entry { text-align: start; }
.field-panel .case-entry:focus-visible { outline-offset: -2px; }
.case-entry-label b { margin-left: 0; margin-inline-start: 14px; }
.case-step--continue { margin-left: 0; margin-inline-start: 20px; }
.case-dialog figcaption span { margin-right: 0; margin-inline-end: 9px; }
.case-close span { margin-left: 0; margin-inline-start: 10px; }
.field-panel { max-height: 72%; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #74643a transparent; }
.field-panel h2 { overflow-wrap: anywhere; }
.globe-status { max-width: 240px; }
:root:not([lang="en"]) h1 { font-size: clamp(25px, 2.8vw, 62px); letter-spacing: .14em; }
:root:not([lang="en"]) .introduction p { letter-spacing: .1em; }
:root[lang="ar"] { font-family: Tahoma, "Segoe UI", Arial, sans-serif; }
:root[lang="ar"] :is(h1,h2,h3,p,a,small,span) { letter-spacing: normal; }
:root[lang="ar"] h1 { line-height: 1.35; }
:root[lang="ar"] #hero-title { white-space: nowrap; }
:root[lang="ar"] :is(.story-panel h2,.field-panel h2) { line-height: 1.35; }
:root[lang="ar"] :is(.about-description,.field-summary,.finds-item p,.case-description,.case-provenance) { line-height: 1.95; }
[dir="rtl"] .wordmark { direction: ltr; }
[dir="rtl"] .about-panel { left: auto; right: 7%; }
[dir="rtl"] .field-panel { left: auto; right: 7%; }
[dir="rtl"] .evidence-shortcuts { left: auto; right: clamp(8px, 1.5vw, 24px); }
[dir="rtl"] .evidence-shortcuts span { left: auto; right: calc(100% + 8px); text-align: right; }
[dir="rtl"] .information-shade { background: linear-gradient(270deg, #000f 0%, #000e 42%, #000b 72%, #0008); }
[dir="rtl"] .map-shade { background: linear-gradient(270deg, #000 0%, #000e 16%, #000a 34%, #0001 65%), linear-gradient(#000a, transparent 27%, transparent 65%, #000e); }
[dir="rtl"] .case-stack { direction: ltr; }
[dir="rtl"] .case-close { padding: 10px 16px 10px 0; }
@media (max-width: 1200px) and (min-width: 1001px) {
  .wordmark { flex-basis: 24vw; width: 24vw; }
  .navigation { gap: 12px; font-size: 12px; }
}
@media (max-width: 1000px) {
  .language-picker { margin-inline-start: auto; }
  .navigation { margin: 0; }
}
@media (max-width: 700px) {
  .wordmark { flex-basis: min(57vw, 340px); width: min(57vw, 340px); }
  .masthead { row-gap: 14px; }
  .navigation { font-size: 12px; column-gap: 16px; row-gap: 9px; }
  :root:not([lang="en"]) h1 { font-size: clamp(23px, 5.5vw, 35px); letter-spacing: .08em; }
  :root[lang="ar"] h1 { letter-spacing: normal; }
  .field-panel { top: 36%; max-height: 57%; }
  .field-panel h2 { font-size: 32px; }
  .case-entry { gap: 12px; }
  .case-entry-label { font-size: 12px; }
  .stack-video { white-space: normal; }
  .globe-credit { max-width: 56%; }
  .globe-tools { max-width: 37%; }
  [dir="rtl"] .about-panel { left: 6%; right: 6%; }
  [dir="rtl"] .field-panel { left: 6%; right: 66px; }
  [dir="rtl"] .evidence-shortcuts { left: auto; right: 6px; }
  [dir="rtl"] .map-shade { background: linear-gradient(#000b 0%, #0001 23%, #0005 35%, #000e 46%, #000 90%); }
}
@media (max-width: 360px) {
  .wordmark { flex-basis: 51vw; width: 51vw; }
  #site-language { min-width: 76px; gap: 7px; }
  .navigation { font-size: 11px; gap: 9px 12px; }
}
@media (max-height: 700px) and (max-width: 700px) {
  .field-summary { display: block; }
}
