/**
 * Tentwenty-style Liquid Curve Preloader Styles with Stroke Writing Animation
 * 1000% Matching Tentwenty.com Animation & Architecture
 */

#vinz-tentwenty-preloader {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100lvh;
  z-index: 9999999;
  pointer-events: auto;
  overflow: visible;
  background: transparent;
}

/* The solid black sheet that wipes upward */
.vinz-tt-curtain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100lvh;
  background-color: #000000;
  z-index: 1;
  pointer-events: auto;
  will-change: transform;
  transform: translateY(0%);
  overflow: visible;
}

/* Tentwenty top-curve SVG */
.vinz-tt-curve {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  will-change: transform;
  transform: translateY(-50%) scale(1.1);
  transform-origin: center center;
}

/* Centered Brand Stage */
.vinz-tt-logo-stage {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  width: 100vw;
  text-align: center;
}

.vinz-tt-logo-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  will-change: transform, opacity;
  transform: translateY(0);
  opacity: 1;
}

.vinz-tt-logo-svg {
  width: clamp(230px, 24vw, 360px);
  height: auto;
  display: block;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
  transition: filter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

#Vinzmedia-wordmark path {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  will-change: stroke-dashoffset;
}

.vinz-tt-logo-box.is-written .vinz-tt-logo-svg {
  filter: drop-shadow(0 0 35px rgba(255, 255, 255, 0.6));
}

.vinz-tt-sub {
  margin-top: 14px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.vinz-tt-sub.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.vinz-tt-sub-text {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(10px, 0.85vw, 12px);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

/* Tentwenty's gentle pulse on logo */
@keyframes vinzTTPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.76; transform: scale(0.988); }
}

.vinz-tt-logo-box.is-pulsing {
  animation: vinzTTPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
