/* The opening loader of the site (siteload.js). The whole screen in the colour of the palette; a small label in the middle, in the type of the top bar (DM Mono, capitals), with dots that come and go. When the site is ready the cover goes away with a curtain: its top edge goes
   down and the page appears from above. */
html.sl-on { overflow: hidden; }
#site-load { position: fixed; left: 0; top: 0; width: 100%; height: 100vh; height: 100lvh; z-index: 99999; box-sizing: border-box; overflow: hidden;
  background: var(--bg, #3B3FD2); color: var(--text, #fff); clip-path: inset(0 0 0 0); transition: clip-path 900ms cubic-bezier(0.76, 0, 0.24, 1); }
#site-load.is-out { clip-path: inset(100% 0 0 0); pointer-events: none; }
#site-load .sl-label { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-family: var(--font-mono, "DM Mono", monospace); font-weight: 400;
  text-transform: uppercase; letter-spacing: 0.04em; font-size: var(--fs-nav, clamp(12px, 1vw, 18px)); line-height: 1; white-space: nowrap; }
#site-load .sl-num { position: absolute; left: 50%; top: calc(100% + 0.9em); transform: translateX(-50%); font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }   /* the count, just under the word, same type and size */
#site-load .sl-dots { position: absolute; left: 100%; top: 0; }                       /* the dots hang after the word: the word stays in the middle */
/* the count is a column of lines that slides behind a one-line window (siteload.js); the dots are three, switched on one after the other by CSS */
#site-load .sl-win { display: block; height: 1em; overflow: hidden; }
#site-load .sl-col { display: block; will-change: transform; }
#site-load .sl-col > span { display: block; height: 1em; line-height: 1; text-align: center; }
#site-load .sl-dots i { font-style: normal; }
#site-load .sl-dots i:nth-child(2) { animation: sl-d2 960ms step-end infinite; }
#site-load .sl-dots i:nth-child(3) { animation: sl-d3 960ms step-end infinite; }
@keyframes sl-d2 { 0% { opacity: 0; } 33.3% { opacity: 1; } 100% { opacity: 1; } }
@keyframes sl-d3 { 0% { opacity: 0; } 66.6% { opacity: 1; } 100% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { #site-load { transition: none; } }
/* if the script never runs, the cover goes away by itself */
#site-load { animation: sl-fuse 0s linear 9s forwards; }
@keyframes sl-fuse { to { opacity: 0; visibility: hidden; pointer-events: none; } }
