/* The page stays accessible without JavaScript; the early head script enables this introduction. */
.noryk-intro {
  display: none;
}

.noryk-intro-pending .noryk-intro {
  --intro-shift: 0ms;
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  background: #100c18;
  color: #f5f0ff;
  opacity: 1;
  visibility: visible;
  touch-action: none;
  animation: noryk-intro-failsafe 1ms 3350ms forwards;
}

body.noryk-intro-active {
  overflow: hidden;
}

.noryk-intro__glow {
  position: absolute;
  z-index: -1;
  width: min(800px, 145vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #8e4de91c 0, #6631b20a 38%, transparent 68%);
  pointer-events: none;
}

.noryk-intro__identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 28px;
  text-align: center;
  transform: translateY(-6px);
}

.noryk-intro__symbol {
  display: block;
  width: clamp(78px, 11vw, 104px);
  height: clamp(78px, 11vw, 104px);
  object-fit: contain;
  opacity: 0;
  filter: drop-shadow(0 0 28px #a45cff20);
  animation: noryk-intro-symbol 1000ms cubic-bezier(.2, .75, .2, 1) var(--intro-shift) both;
}

.noryk-intro__tagline {
  margin: 27px 0 0;
  color: #eee6fc;
  font-family: Sora, Inter, system-ui, sans-serif;
  font-size: clamp(14px, 2.8vw, 18px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .045em;
  opacity: 1;
  visibility: hidden;
  animation: noryk-intro-tagline 850ms cubic-bezier(.2, .75, .2, 1) calc(420ms + var(--intro-shift)) forwards;
}

.noryk-intro__progress {
  display: block;
  overflow: hidden;
  width: 144px;
  height: 1px;
  margin-top: 31px;
  background: #c1a2f021;
  border-radius: 2px;
  opacity: 0;
  animation: noryk-intro-progress-reveal 400ms ease calc(750ms + var(--intro-shift)) both;
}

.noryk-intro__progress > span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #8b4de7, #d4b0ff);
  transform: scaleX(0);
  transform-origin: left;
  animation: noryk-intro-progress 1900ms cubic-bezier(.24, .48, .2, 1) calc(650ms + var(--intro-shift)) both;
}

.noryk-intro.is-leaving {
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}

@keyframes noryk-intro-symbol {
  from { opacity: 0; transform: translateY(6px) scale(.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes noryk-intro-tagline {
  from { visibility:visible; transform: translateY(7px); }
  to { visibility:visible; transform: translateY(0); }
}

@keyframes noryk-intro-progress-reveal {
  to { opacity: 1; }
}

@keyframes noryk-intro-progress {
  to { transform: scaleX(1); }
}

@keyframes noryk-intro-failsafe {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}

@media (max-width: 480px) {
  .noryk-intro__identity { transform: translateY(-10px); }
  .noryk-intro__tagline { margin-top: 24px; }
  .noryk-intro__progress { width: 120px; margin-top: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .noryk-intro-pending .noryk-intro {
    animation: noryk-intro-failsafe 1ms 3350ms forwards!important;
  }
  .noryk-intro__symbol,
  .noryk-intro__tagline,
  .noryk-intro__progress,
  .noryk-intro__progress > span {
    animation: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .noryk-intro.is-leaving { transition-duration: 100ms; }
}
