/* ─────────────────────────────────────────────────────────────
   intro.css — landing intro: procedural starfield zoom + a tiny
   lockup reveal (icon + wordmark) over the surviving stars.
   Motion is GSAP-driven (intro.js): opacity + vertical rise only —
   no rotation, no blur. This file owns stills only.
   ───────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Michroma';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./fonts/Michroma-400-latin.ttf') format('truetype');
}

#intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #000;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
}
#intro[hidden] {
  display: none !important;
}
#intro-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

/* static vignette + grain (same recipe as the dashboard intro) */
.intro-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 72% 62% at 50% 48%, transparent 46%, rgba(0, 0, 0, 0.55) 100%);
}
.intro-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

#intro-stage {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  opacity: 0;
  will-change: transform, opacity;
  /* no glow anywhere — flat white lockup on black */
  filter: none;
}

#intro-markwrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

#intro-mark {
  width: 46px;
  height: 46px;
  display: block;
}

#intro-word {
  font-family: 'Michroma', sans-serif;
  font-size: clamp(17px, 2.6vw, 24px);
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  color: #fff;
  white-space: nowrap;
  /* flat — no glow */
  text-shadow: none;
}

#intro-word span {
  display: inline-block;
  will-change: transform, opacity;
}

#intro-skip {
  position: absolute;
  right: 18px;
  bottom: 16px;
  z-index: 3;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 8px 16px 8px 18px;
  border-radius: 999px;
  cursor: pointer;
}
#intro-skip:hover {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

/* no halo/glow — the small lockup sits flat on black */
#intro-stage {
  filter: none;
}
