/* Virtual exhibition: dark gallery walls alternate with the site's paper. */
.exh section.dark { background: var(--band); color: var(--band-ink); --ink: var(--band-ink); --muted: var(--band-muted); --rule: #2E3768; --surface: #1D2455; --blue: #AEB8FF; }
.exh section[id] { scroll-margin-top: 3.5rem; }
.exh section.dark a:not(.btn) { color: var(--blue); }
.ex-hero { background: var(--band); color: var(--band-ink); padding-block: 4rem 0; }
.ex-hero h1 { font-size: clamp(3.25rem, 11vw, 8.5rem); line-height: .95; margin: .3rem 0 1rem; color: var(--band-ink); }
.ex-hero .label { color: var(--gold); }
.ex-hero .lede { max-width: 40rem; color: var(--band-ink); }
.scroll-links { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; margin: 1.5rem 0 2.75rem; }
.scroll-links a:not(.btn) { color: var(--band-ink); }
.wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 6vw, 5.5rem); align-items: center; padding: 1rem 0 clamp(3rem, 7vw, 5rem); }
.wall img { width: 100%; height: auto; }
.rooms { position: sticky; top: 0; z-index: 10; background: var(--surface); border-bottom: 1px solid var(--rule); }
.rooms ol { list-style: none; display: flex; gap: 1.1rem; margin: 0; padding: .6rem 0; overflow-x: auto; white-space: nowrap; font-size: .9rem; counter-reset: r; scrollbar-width: thin; }
.rooms li { counter-increment: r; }
.rooms a { color: var(--ink); text-decoration: none; padding: .2rem 0; border-bottom: 2px solid transparent; display: inline-block; }
.rooms a::before { content: counter(r) " "; color: var(--muted); }
.rooms a[aria-current="true"], .rooms a:hover { border-color: var(--red); }
.intro { display: grid; grid-template-columns: minmax(0, 40rem) minmax(0, 24rem); gap: 3.5rem; justify-content: space-between; align-items: start; }
.intro h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); margin-top: 0; }
.how { background: var(--surface); border: 1px solid var(--rule); padding: 1.25rem 1.4rem; }
.how h3 { margin-top: 0; }
.gloss summary, .tbl summary { cursor: pointer; font-weight: 500; }
.gloss > div { margin-top: .6rem; }
.gloss details { border-top: 1px solid var(--rule); padding: .4rem 0; }
.gloss details p { margin: .3rem 0 0; font-size: .95rem; }
.reading { padding-left: 1.1rem; } .reading li { margin-bottom: .5rem; }
.note { color: var(--muted); font-size: .9rem; }
.room-head { max-width: 46rem; margin-bottom: 2rem; }
.room-head h2 { font-size: clamp(2rem, 5vw, 3.75rem); line-height: 1.05; margin: .2rem 0 .7rem; }
.dark .label { color: var(--gold); }
.dark .lede { color: var(--band-muted); }
.exhibits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 2.75rem; margin-top: 2.5rem; }
.exhibits.one { grid-template-columns: minmax(0, 1fr); }
.exhibit { display: grid; gap: .9rem; align-content: start; grid-template-columns: minmax(0, 1fr); min-width: 0; scroll-margin-top: 4rem; }
.exhibit.lead { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1rem 2.5rem; }
.exhibit.lead .strip { grid-column: 1 / -1; }
.cover { position: relative; display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.cover img { width: 100%; height: auto; }
.zoom { position: absolute; right: .6rem; bottom: .6rem; background: rgba(10, 13, 40, .85); color: #fff; font: 500 .85rem var(--body); padding: .25rem .6rem; }
.label-card h3 { font-size: 1.55rem; line-height: 1.15; margin: 0; }
.label-card .shelf { color: var(--muted); margin: .15rem 0 .7rem; }
.label-card p { margin: 0 0 .7rem; }
.ad { border-left: 3px solid var(--gold); padding-left: .85rem; margin: .9rem 0; }
.ad p { margin: 0; } .ad .ad-src { color: var(--muted); font-size: .85rem; }
.paid { font-size: .97rem; }
.dark .facts li { color: var(--band-ink); }
.strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(5.25rem, 1fr)); gap: .5rem; }
.strip button { padding: .25rem; border: 1px solid var(--rule); background: #0b0f2a; cursor: zoom-in; display: block; width: 100%; height: 5rem; }
.strip img { width: 100%; height: 100%; object-fit: contain; }
.exh .chart { --surface: #FFFFFF; --ink: #14182B; --muted: #4A5169; --rule: #D3D7E4; --blue: #2432A8; --dot-c: #3D52D5; --dot-m: #B88600; --dot-t: #C2410C; color: var(--ink); }
.chart { margin: 2rem 0 0; background: var(--surface); border: 1px solid var(--rule); padding: 1.25rem; max-width: 56rem; }
.chart figcaption strong { display: block; font-size: 1.15rem; } .chart figcaption span { color: var(--muted); font-size: .92rem; }
.unit { display: inline-flex; margin: .8rem 0; border: 1px solid var(--rule); }
.unit button { font: 500 .92rem var(--body); padding: .35rem .8rem; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.unit button[aria-pressed="true"] { background: var(--ink); color: var(--surface); }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin: 0 0 .9rem; padding: 0; font-size: .9rem; color: var(--muted); }
.legend li { display: flex; align-items: center; gap: .4rem; } .legend .dot { position: static; transform: none; }
.pr { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: .8rem; align-items: center; min-height: 2.25rem; }
.pn { font-size: .92rem; }
.track { position: relative; height: 2.25rem; margin: 0 .75rem; background: linear-gradient(var(--rule), var(--rule)) center / 100% 1px no-repeat; }
.dot { position: absolute; left: var(--x); top: 50%; transform: translate(-50%, -50%); width: 12px; height: 12px; padding: 0; border: 2px solid var(--surface); box-sizing: content-box; cursor: pointer; display: inline-block; }
.dot::after { content: ""; position: absolute; inset: -9px; }
.dot.c { background: var(--dot-c); border-radius: 50%; }
.dot.m { background: var(--dot-m); transform: translate(-50%, -50%) rotate(45deg); }
.dot.t { background: var(--surface); border: 3px solid var(--dot-t); border-radius: 50%; width: 10px; height: 10px; }
.dot:hover, .dot.on { outline: 2px solid var(--ink); outline-offset: 1px; }
.axis .track { background: none; height: 1.4rem; }
.axis .track span { position: absolute; left: var(--x); transform: translateX(-50%); font-size: .8rem; color: var(--muted); }
.readout { display: block; min-height: 3rem; margin-top: .6rem; font-size: 1rem; }
.tbl { margin: .5rem 0; }
.changes { max-width: 46rem; margin: 2.5rem 0 1rem; padding-left: 1.3rem; } .changes li { margin-bottom: .6rem; }
.notes { list-style: none; margin: 2rem 0 0; padding: 0; max-width: 46rem; border-top: 1px solid var(--rule); }
.notes a { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr) auto; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--band-ink) !important; }
.notes a:hover .nt { text-decoration: underline; } .ny { color: var(--band-muted); } .np { font-family: var(--display); font-size: 1.15rem; }
#viewer { width: min(72rem, calc(100vw - 1rem)); max-width: none; height: calc(100dvh - 1rem); max-height: none; padding: 1rem; border: 0; background: #0a0d28; color: #ECEEF8; }
#viewer[open] { display: flex; flex-direction: column; gap: .5rem; }
#viewer::backdrop { background: rgba(5, 7, 22, .9); }
.v-top { display: flex; justify-content: space-between; gap: 1rem; align-items: start; }
.v-top h2 { font-size: 1.3rem; margin: 0; color: inherit; } .v-top p { margin: 0; color: #B7BEDD; font-size: .95rem; }
#viewer button { font: 500 .95rem var(--body); background: transparent; color: #ECEEF8; border: 1px solid #5C659C; padding: .45rem .8rem; cursor: pointer; }
.v-stage { flex: 1; min-height: 0; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .6rem; align-items: center; }
.v-stage figure { margin: 0; position: relative; height: 100%; min-height: 0; }
.v-stage img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; }
.v-foot { margin: 0; display: flex; justify-content: space-between; gap: 1rem; font-size: .92rem; } .v-foot a { color: #AEB8FF; }
@media (max-width: 58rem) {
  .intro, .exhibit.lead { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .exhibits { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 40rem) {
  .wall { grid-template-columns: minmax(0, 1fr); gap: 2rem; }  .wall img:nth-child(n+2) { display: none; }
  .pr { grid-template-columns: minmax(0, 1fr); gap: 0; } .pn { padding-top: .35rem; }
  .notes a { grid-template-columns: minmax(0, 1fr) auto; } .ny { grid-column: 1 / -1; font-size: .9rem; }
  .v-stage { grid-template-columns: 1fr 1fr; grid-template-rows: minmax(0, 1fr) auto; } .v-stage figure { grid-column: 1 / -1; grid-row: 1; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.exh .table-wrap { overflow-x: auto; max-width: 100%; } .chart { min-width: 0; overflow: hidden; }
.legend .dot { position: relative; cursor: default; } .legend .dot::after { display: none; }
.legend .dot { top: 0; } .legend .dot.c, .legend .dot.t { transform: none; } .legend .dot.m { transform: rotate(45deg); }
