/* The worlds hall (/worlds/, #261). html.hall-on: the 3D hall leads the page, the list is the accessible twin underneath
   (visually hidden until List is pressed). html.hall-off (reduced motion, no WebGL): the list is the page, as before. */
#world { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh; z-index: 0; display: block; opacity: 0; transition: opacity 1.2s ease; pointer-events: none; }
.hall-on.gl-on #world { opacity: 1; pointer-events: auto; }
.hall-on.past-hall #world, .hall-on.list-open #world { opacity: 0 !important; pointer-events: none; }
#hall { display: none; }
.hall-on #hall { display: block; position: relative; z-index: 1; pointer-events: none; }
.hall-on .waterbg, .hall-on .lp-concept, .hall-on .worlds-hero .scene, .hall-on .worlds-hero .ew-credit { display: none; }
.hall-on body.lp, .hall-on body { background: #09040e; }
/* the title stands at the entrance, then steps aside */
.hall-on .hall-intro { position: fixed; left: 0; right: 0; top: 76px; z-index: 2; text-align: center; pointer-events: none; padding: 0 16px; transition: opacity .6s ease, transform .6s ease; background: none; }
.hall-on .hall-intro::before, .hall-on .hall-intro::after { display: none; }
.hall-on .hall-intro h1 { text-shadow: 0 2px 18px #000, 0 0 40px rgba(0,0,0,.8); }
.hall-on .hall-intro .lede, .hall-on .hall-intro .eyebrow { text-shadow: 0 1px 10px #000, 0 0 24px #000; }
.hall-on .hall-intro.gone { opacity: 0; transform: translateY(-14px); }
.hall-on.past-hall .hall-intro { visibility: hidden; }
/* the overlay: plaque, year rail, list toggle (fixed while the hall scrolls past) */
.hall-ui { position: sticky; top: 0; height: 100vh; height: 100lvh; pointer-events: none; }
.hall-on.past-hall .hall-ui, .hall-on.list-open .hall-plaque, .hall-on.list-open .hall-rail { visibility: hidden; }
.hall-plaque { position: fixed; left: var(--px, 50%); top: var(--py, auto); bottom: auto; transform: translate(-50%, 0); z-index: 3; min-width: 260px; max-width: min(560px, 86vw);
  text-align: center; padding: 12px 22px 14px; color: #f4e6c4; pointer-events: auto;
  background: linear-gradient(180deg, rgba(30,20,10,.92), rgba(12,8,4,.94)); border: 1px solid rgba(232,196,122,.55); border-radius: 3px;
  box-shadow: 0 0 0 4px rgba(12,8,4,.6), 0 0 0 5px rgba(232,196,122,.25), 0 14px 40px rgba(0,0,0,.6);
  opacity: 0; transition: opacity .35s ease; }
.hall-plaque:not([style*="--py"]) { top: auto; bottom: 22px; }
.hall-plaque.on { opacity: 1; }
.hall-plaque:not(.on) { pointer-events: none; }
.hp-year { margin: 0; font: 600 clamp(26px, 3vw, 40px)/1 'Cinzel', serif; color: #f3d48e; letter-spacing: .06em; }
.hp-name { margin: 6px 0 2px; font: 500 clamp(17px, 1.6vw, 22px)/1.2 'Cinzel', serif; color: #fff4dc; }
.hp-where { margin: 0 0 8px; font: 400 14px/1.35 'Lora', serif; color: rgba(244,230,196,.82); }
.hp-where:empty { display: none; }
.hp-enter { min-height: 44px; padding: 0 18px; font: 600 12px/1 'Montserrat', sans-serif; letter-spacing: .16em; text-transform: uppercase; color: #1a1006; background: linear-gradient(#f3d48e, #c9973f); border: 0; border-radius: 2px; cursor: pointer; }
.hp-enter:focus-visible { outline: 2px solid #fff4dc; outline-offset: 3px; }
.hall-rail { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 3; pointer-events: auto; }
.hall-rail ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; border-right: 1px solid rgba(232,196,122,.45); }
.hall-rail button { display: block; width: 100%; min-height: 36px; padding: 6px 14px 6px 10px; text-align: right; font: 500 13px/1.2 'Cinzel', serif; color: rgba(244,230,196,.7); background: none; border: 0; cursor: pointer; text-shadow: 0 1px 6px #000, 0 0 14px #000; position: relative; }
.hall-rail button[aria-current="true"] { color: #f3d48e; }
.hall-rail button[aria-current="true"]::after { content: ''; position: absolute; right: -5px; top: 50%; width: 9px; height: 9px; margin-top: -5px; background: #f3d48e; transform: rotate(45deg); box-shadow: 0 0 8px rgba(243,212,142,.8); }
.hall-rail button:hover, .hall-rail button:focus-visible { color: #fff4dc; }
.hall-list { position: fixed; left: 18px; bottom: 22px; z-index: 3; pointer-events: auto; min-height: 44px; min-width: 44px; padding: 0 16px; font: 600 12px/1 'Montserrat', sans-serif; letter-spacing: .16em; text-transform: uppercase;
  color: #f4e6c4; background: rgba(12,8,4,.8); border: 1px solid rgba(232,196,122,.5); border-radius: 2px; cursor: pointer; }
.hall-on.list-open .hall-list { position: fixed; }
/* the list: hidden for the eye while the hall leads, there for screen readers and keyboards; List shows it */
.hall-on:not(.list-open) #worlds { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hall-on.list-open #worlds { position: relative; z-index: 2; background: #09040e; padding-top: 24px; }
.hall-on .eras, .hall-on .cta, .hall-on .lp-foot { position: relative; z-index: 2; }
/* phones: one world per stop, the plaque fixed at the bottom with a thumb-reach Enter; the rail becomes a year strip */
@media (max-width: 760px), (pointer: coarse) {
  .hall-plaque { left: 50% !important; top: auto !important; bottom: calc(14px + env(safe-area-inset-bottom)); width: calc(100vw - 32px); min-width: 0; max-width: none; padding: 10px 14px 12px; }
  .hall-rail { right: auto; left: 0; top: 64px; transform: none; width: 100vw; overflow-x: auto; scrollbar-width: none; }
  .hall-rail ol { flex-direction: row; justify-content: center; border-right: 0; border-bottom: 1px solid rgba(232,196,122,.35); gap: 0; }
  .hall-rail button { text-align: center; font-size: 12px; padding: 6px 10px; white-space: nowrap; }
  .hall-rail button[aria-current="true"]::after { right: 50%; top: auto; bottom: -5px; margin: 0 -4px 0 0; }
  .hall-list { left: auto; right: 16px; bottom: auto; top: 104px; min-height: 40px; }
  .hall-on .hall-intro { top: 110px; }
}
@media (prefers-reduced-motion: reduce) { .hall-plaque, .hall-intro, #world { transition: none; } }
/* the floating section menu stays away while the hall leads (it sat on the phone plaque's Enter) */
.hall-on:not(.past-hall):not(.list-open) .secnav { display: none; }
@media (max-width: 760px), (pointer: coarse) { .hall-on .hall-intro { top: 150px; } }
/* lucent-qa 234923Z P1 #2: the title and intro sat straight on the bright stained-glass dome (v3) and under the year rail on
   phones (v2). Give them a soft dark backing that hugs the words, and start them clear of the nav and the rail. */
.hall-on .hall-intro { top: 96px; left: 50%; right: auto; transform: translateX(-50%); width: max-content; max-width: min(780px, calc(100vw - 32px)); padding: 14px 28px 18px; }
.hall-on .hall-intro::before { display: block; content: ''; position: absolute; inset: -70px -120px; z-index: -1; pointer-events: none; opacity: 1;
  background: radial-gradient(closest-side, rgba(6,4,3,.95) 0%, rgba(6,4,3,.9) 62%, rgba(6,4,3,0) 100%); }
.hall-on .hall-intro.gone { transform: translate(-50%, -14px); }
@media (max-width: 760px), (pointer: coarse) { .hall-on .hall-intro { top: 156px; padding: 10px 14px 14px; } }
