/* Orle Museum (Black Ops Studio concept): what the template kept in an inline <style> (the CSP allows no inline
   style), and the header's links: the exhibition and the visit on the left (in place of the "About" placeholder),
   the tickets and the language beside the sound switch on the right. Same type as "About" and the sound switch. */

/* Only this page: its scroll length, and the note for a browser without WebGL 2. */
.scroll { height: 1450vh; }
.no-gl { position: fixed; inset: 0; z-index: 31; display: none; place-items: center; text-align: center; background: var(--ink); color: var(--paper-70); padding: 24px; }
.no-gl.is-on { display: grid; }
.noscript { position: fixed; inset: 0; display: grid; place-items: center; z-index: 50; background: var(--ink); color: var(--paper); font: 300 14px/1.2 "Geist", system-ui, sans-serif; text-transform: uppercase; }

.header__nav, .header__end { display: flex; align-items: center; gap: calc(var(--u) * 20); }
.header__nav { align-items: flex-start; }
.header__end { gap: calc(var(--u) * 24); }
.header__about { cursor: pointer; transition: opacity 200ms; position: relative; }
.header__about:hover { opacity: 0.6; }
.header__about::before { content: ""; position: absolute; inset: -12px -8px; }   /* a finger-sized target */
.header__end .header__about { line-height: 14px; }
.header__tickets { padding-bottom: 2px; border-bottom: 1px solid var(--paper-50); line-height: 0.9 !important; }

/* phones: the header keeps the logo in the middle; the two pages on the left stack, the tickets and the language
   stay beside the sound bars */
@media (max-width: 767px), (max-height: 560px) and (orientation: landscape) {
  .header__nav { flex-direction: column; gap: 10px; }
  .header__end { gap: 16px; }
}
@media (max-width: 359px) {
  .header__nav .header__about:nth-child(2) { display: none; }
}

/* narrow phones: the name gets a little smaller so it never meets the links on either side */
@media (max-width: 380px) {
  .header__logo { font-size: 17px !important; }
  .header__end { gap: 12px; }
}
