/* Newsreader (OFL, Production Type): a variable serif, weight and optical size,
   for the index names, whose weight is set by their size */
@font-face { font-family: 'Newsreader'; src: url('/fonts/newsreader-var.woff2') format('woff2-variations'), url('/fonts/newsreader-var.woff2') format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; }
/* the serif: Times New Roman where the device has it; elsewhere Tinos, its metric twin (SIL OFL), from this site */
@font-face { font-family: Tinos; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/tinos-400.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Tinos; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/tinos-400-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Tinos; font-style: italic; font-weight: 400; font-display: swap; src: url(/fonts/tinos-400-italic.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Tinos; font-style: italic; font-weight: 400; font-display: swap; src: url(/fonts/tinos-400-italic-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Tinos; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/tinos-700.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Tinos; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/tinos-700-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Tinos; font-style: italic; font-weight: 700; font-display: swap; src: url(/fonts/tinos-700-italic.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Tinos; font-style: italic; font-weight: 700; font-display: swap; src: url(/fonts/tinos-700-italic-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* Abyss Gallery: the manners every page shares. On the main page it is linked
   first, before style.css (which may override anything here); the document
   pages (404, imprint, privacy) use it with page.css instead. The tokens
   repeat style.css's so those pages have them too. */
:root {
  --wall: #f8f7f4;
  --paper: #ffffff;
  --ink: #1d1c19;
  --muted: #6f6a61;
  --faint: #a29c91;
  --rule: rgba(29, 28, 25, 0.14);
  --shadow: 0 1px 1px rgba(29, 28, 25, 0.08), 0 6px 22px rgba(29, 28, 25, 0.14);
  --serif: "Times New Roman", Times, Tinos, "Liberation Serif", "Nimbus Roman", serif;
  --sans: "Helvetica Neue", "HelveticaNeue-Light", Helvetica, Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --caps: 0.09em;
  --ochre: #c6ac55;   /* from the opening picture; marks what is still a placeholder */
  color-scheme: light;
}

/* keyboard focus: a hairline of ink around whatever has it (style.css draws the same on its buttons) */
:focus-visible { outline: 1px solid var(--ink); outline-offset: 2px; }
:focus:not(:focus-visible) { outline: none; }

/* selected text: a grey wash, the ink unchanged */
::selection { background: #dedbd5; color: var(--ink); }

/* scrollbars: none to see (the index and the card still scroll) */
* { scrollbar-width: none; }
::-webkit-scrollbar { width: 0; height: 0; display: none; }

/* the skip link: out of sight until it has keyboard focus, then a small label at the top left */
.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 100;
  padding: 9px 12px 8px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
  border-radius: 1px;
  font: 11px/1.4 var(--sans);
  letter-spacing: var(--caps);
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transform: translateY(calc(-100% - 24px));
}
.skip-link:focus-visible { transform: none; outline-offset: 3px; }

/* without JavaScript (or WebGL 2) there is no museum: say so, on the wall, the way the loading plate does */
.noscript {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  background: var(--wall);
  color: var(--ink);
  font: 13px/1.5 var(--sans);
  text-align: center;
}
.noscript-plate { width: min(420px, calc(100% - 48px)); }
.noscript-plate h2 { margin: 0; font-family: var(--serif); font-size: 26px; font-weight: 400; letter-spacing: 0.01em; }
.noscript-plate .what { margin: 8px 0 0; font-family: var(--serif); font-style: italic; color: var(--muted); font-size: 15px; }
.noscript-plate .how { margin: 22px 0 0; color: var(--muted); font-size: 11px; letter-spacing: var(--caps); text-transform: uppercase; line-height: 2; }
.noscript-plate a { color: var(--ink); }

/* reduced motion: the labels' fades and slides stop (durations near zero rather
   than none, so their end events still fire). The zoom on the canvas is the
   work itself, not decoration: it is left to the engine. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* print: the document pages as plain documents; the room's labels are not for paper */
@media print {
  @page { margin: 2cm; }
  html, body { height: auto; overflow: visible; background: #fff; color: #000; }
  .skip-link, .noscript, .hud, .controls, .views, .collection, .debug, .toast, .show-ui, .loading, .learn,
  .page-nav, .page-foot { display: none !important; }
  #stage { position: static; width: 100%; height: auto; aspect-ratio: 16 / 9; }
  .sheet { box-shadow: none; padding: 0; }
  a { color: inherit; }
  .sheet a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.9em; color: #555; }
  mark.todo { background: none; outline: 1px dashed #000; }
}
