/* NOIR Lifestyle Club — intro animation (pairs with noir-intro.js) */

#noir-intro {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.ni-curtain {
  position: absolute;
  inset: -2px 0 0; /* no hairline of page peeking at the top while it rises */
  background: radial-gradient(120% 90% at 50% 45%, #1b1b1b 0%, #111 55%, #0a0a0a 100%);
  will-change: transform;
}

.ni-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(78vw, 680px);
  aspect-ratio: 3182 / 1262;
  translate: -50% -50%; /* kept apart from `transform`, which the exit animation owns */
  color: #faf7f1;
  will-change: transform;
}

.ni-logo svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: currentColor;
}

.ni-logo g,
.ni-logo path {
  transform-box: view-box;
}

/* First frame, before the animations take over */
.ni-rings circle { stroke-dasharray: 1; stroke-dashoffset: 1; }
.ni-mono,
.ni-n,
.ni-ir,
.ni-tag { opacity: 0; }

/* Reduced motion: the finished logo, then a fade */
.ni-static .ni-stage { transform: none !important; }
.ni-static .ni-rings { display: none; }
.ni-static .ni-mono,
.ni-static .ni-n,
.ni-static .ni-ir,
.ni-static .ni-tag { opacity: 1; }

/* While it plays the page stays put */
html.ni-playing { overflow: hidden; }
