/* The logo, its intro, and the header it docks into. */
#intro { position: fixed; inset: 0; z-index: 40; background: #050203; transition: opacity 1.2s ease; }
#intro.done { opacity: 0; pointer-events: none; }
.logo {
  position: fixed; z-index: 50; left: 50%; top: 50%; width: min(88vw, 940px); transform: translate(-50%, -50%); color: #fff;
  transition: left 1.2s cubic-bezier(.2, .8, .2, 1), top 1.2s cubic-bezier(.2, .8, .2, 1), width 1.2s cubic-bezier(.2, .8, .2, 1), transform 1.2s cubic-bezier(.2, .8, .2, 1);
}
.logo.docked { left: 50%; top: clamp(8px, 1.6vh, 16px); width: clamp(200px, 25vw, 320px); transform: translate(-50%, 0); cursor: pointer; }
.logo.still { transition: none; }
.logo svg { display: block; width: 100%; height: auto; overflow: visible; }
.logo text { font-family: Poppins, "Montserrat", "Arial Black", sans-serif; font-style: italic; font-weight: 700; fill: #fff; }
.logo #dice { mix-blend-mode: difference; }                           /* white dice: it stays white on black and turns the white lettering it covers black */
@media (prefers-reduced-motion: reduce) { #intro { display: none; } .logo { transition: none; } }
body::before { content: ""; position: fixed; z-index: 20; left: 0; right: 0; top: 0; height: 150px; pointer-events: none; background: linear-gradient(#050203 25%, rgba(5, 2, 3, 0)); }   /* keeps the header legible over content scrolling beneath it */
