/* ================================================================
   NOTIC — Opening animation overlay
   ================================================================ */

#notic-intro {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #fafaf8;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

#notic-intro.is-active {
  display: block;
}

#notic-intro.is-out {
  pointer-events: none;
  animation: notic-intro-out 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes notic-intro-out {
  0%   { opacity: 1; }
  100% { opacity: 0; }
}

/* ---------- Stage (use absolute, not fixed, so parent clips it) ---------- */
#notic-intro .opening-stage {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
}

/* ---------- Logo ---------- */
#notic-intro .opening-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

#notic-intro .opening-logo-img {
  width: min(480px, 64vw);
  height: auto;
  display: block;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 2s cubic-bezier(0.16, 1, 0.3, 1),
    transform 2s cubic-bezier(0.16, 1, 0.3, 1);
}

#notic-intro .opening-logo-img.show {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Tagline ---------- */
#notic-intro .opening-tagline {
  font-size: clamp(10px, 1.1vw, 13px);
  letter-spacing: 0.42em;
  color: #333;
  text-transform: lowercase;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
  margin: 0;
  white-space: nowrap;
}

#notic-intro .opening-tagline.show {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Skip hint ---------- */
#notic-intro .opening-skip {
  position: absolute;
  bottom: 32px;
  right: 36px;
  font-size: 9px;
  letter-spacing: 0.35em;
  color: #bbb;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
  margin: 0;
}

#notic-intro .opening-skip.show { opacity: 1; }

/* ---------- Subtle line accent ---------- */
#notic-intro .opening-line {
  width: 1px;
  height: 0;
  background: #ccc;
  transition: height 1.6s cubic-bezier(0.16, 1, 0.3, 1);
  margin: 0 auto;
}
#notic-intro .opening-line.show { height: 48px; }
