/* VELNERY intro curtain. Flat, black/white. Responsive for all screen sizes. */
/* Logo-style high-contrast serif (closest Google Font to the VELNERY wordmark) */
@import url("https://fonts.googleapis.com/css2?family=Bodoni+Moda:opsz,wght@6..96,400;6..96,500&display=swap");

html.intro-on, html.intro-on body { overflow: hidden; }

.intro {
  position: fixed; inset: 0; width: 100%; height: 100vh; height: 100dvh; overflow: hidden;
  z-index: 100000; display: grid; place-items: center;
  background: #000; color: #fff; cursor: pointer;
  transition: transform 1.15s cubic-bezier(.77, 0, .18, 1);
  will-change: transform;
}
/* Second, thin layer that trails the curtain as it lifts */
.intro::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 10px; background: #000;
}
.intro.is-lifting { transform: translateY(-100%); }

.intro-inner { display: grid; justify-items: center; gap: 22px; width: 100%; max-width: 100%; padding: 0 16px; text-align: center; transition: opacity .5s ease, transform .9s cubic-bezier(.77,0,.18,1); }
.intro.is-lifting .intro-inner { opacity: 0; transform: translateY(-40px); }

/* Font size scales with the screen width so all 7 letters always fit (even after the final "pop" scale-up) */
.intro-word {
  display: flex; white-space: nowrap; max-width: 100%;
  font-family: "Bodoni Moda", "Bodoni 72", Didot, "Didot LT STD", "Times New Roman", serif;
  font-size: clamp(24px, 9.5vw, 110px); line-height: 1; letter-spacing: .14em; font-weight: 400; padding-left: .14em;
  transition: transform .8s cubic-bezier(.2,.9,.2,1), letter-spacing .8s cubic-bezier(.2,.9,.2,1);
}
.intro-word span {
  display: inline-block; opacity: 0; transform: translateY(60%) scale(.4);
  animation: intro-pop .55s cubic-bezier(.2,1.4,.4,1) forwards;
  animation-delay: calc(.35s + var(--i) * .13s);
}
/* All letters in: the whole name pops once */
.intro.is-full .intro-word { transform: scale(1.05); letter-spacing: .18em; }
.intro-line { display: block; width: 0; height: 1.5px; background: #fff; transition: width .8s cubic-bezier(.2,.9,.2,1); }
.intro.is-full .intro-line { width: min(60vw, 420px); }
.intro-tag { margin: 0; font-size: clamp(9px, 2.8vw, 12px); letter-spacing: .3em; text-transform: uppercase; color: #bbb; opacity: 0; transform: translateY(8px); transition: opacity .6s ease .1s, transform .6s ease .1s; }
.intro.is-full .intro-tag { opacity: 1; transform: none; }

@media (max-width: 480px) {
  .intro-inner { gap: 16px; }
  .intro-tag { letter-spacing: .2em; }
}

@keyframes intro-pop { 0% { opacity: 0; transform: translateY(60%) scale(.4); } 100% { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .intro, .intro-inner, .intro-word, .intro-line, .intro-tag { transition-duration: .01s; }
  .intro-word span { animation-duration: .01s; animation-delay: 0s; }
}