/* Intro: black cover + traveling wordmark. Hidden unless html.intro-active is set before first paint. */
#intro { display: none; }
html.intro-active {
  background: #000;
}
html.intro-active body {
  background: #000;
  overflow: hidden;
}
html.intro-active #intro {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #000;
  color: #fff;
}
html.intro-active:not(.intro-revealed) .site-header,
html.intro-active:not(.intro-revealed) main,
html.intro-active:not(.intro-revealed) footer,
html.intro-active:not(.intro-revealed) dialog,
html.intro-active:not(.intro-revealed) .nav-scrim,
html.intro-active:not(.intro-revealed) .menu-drawer {
  opacity: 0;
  pointer-events: none;
}
html.intro-active:not(.intro-handoff) .site-header .wordmark { opacity: 0; }
.intro-mark {
  position: absolute;
  left: 0;
  top: 0;
  margin: 0;
  color: #fff;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  width: max-content;
  white-space: nowrap;
  line-height: 1.2;
  transform: none;
  transform-origin: 0 0;
  filter: none;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  pointer-events: none;
}
.intro-mark .intro-letter {
  display: inline-block;
  opacity: 0;
}
.intro-mark .intro-space { display: inline-block; }
.replay-intro { color: var(--muted, #727272); font-size: 12px; }
.replay-intro:hover { color: #1a1a1a; }
@media (prefers-reduced-motion: reduce) {
  html.intro-active #intro, #intro { display: none !important; }
  html.intro-active body { overflow: auto; background: transparent; }
  html.intro-active:not(.intro-revealed) .site-header,
  html.intro-active:not(.intro-revealed) main,
  html.intro-active:not(.intro-revealed) footer,
  html.intro-active:not(.intro-revealed) dialog,
  html.intro-active:not(.intro-revealed) .nav-scrim,
  html.intro-active:not(.intro-revealed) .menu-drawer,
  html.intro-active:not(.intro-handoff) .site-header .wordmark {
    opacity: 1;
    pointer-events: auto;
  }
}

#intro { transition: background 300ms ease; }
html.intro-active.intro-revealed #intro { background: transparent; }
html.intro-active:not(.intro-revealed) { scrollbar-width: none; }
html.intro-active:not(.intro-revealed)::-webkit-scrollbar { display: none; }
html.intro-active .campaign-loading { opacity: 0; }
.replay-intro { white-space: nowrap; }
@media (max-width: 650px) {
  .site-header .wordmark,
  .intro-mark { font-size: 12px; letter-spacing: 0.12em; }
}
@media (prefers-reduced-motion: reduce) {
  #intro { transition: none; }
}
