/* ══════════════════════════════════════
   HERO BLOCK — exactamente un viewport.
   Margen page-frame: 10px × 2 = 20px.
   Nav: ≈ 40px.  Total offset: 60px.
   ══════════════════════════════════════ */
.hero-block {
  height: calc(100svh - 60px);
  min-height: 520px;
  display: flex;
  flex-direction: column;
}
.hero-block .ticker { flex-shrink: 0; }

/* ── HERO SECTION (video container) ── */
.hero-section {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: var(--bg-panel);
}

/* ── VIDEO DE FONDO ── */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.55;
}

/* ── TRAMA DE PUNTOS (referencia Nifty) ── */
.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(232, 226, 208, 0.13) 1.5px,
    transparent 1.5px
  );
  background-size: 22px 22px;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
}

/* ── VIÑETA ── */
.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    transparent 20%,
    rgba(13, 11, 10, 0.45) 65%,
    rgba(13, 11, 10, 0.80) 100%
  );
  pointer-events: none;
  z-index: 2;
}

/* ── TÍTULO CENTRADO ── */
.hero-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  width: 96%;
  text-align: center;
}

.hero-text-wrap {
  position: relative;
  display: inline-block; /* shrink-wraps the text for centering */
  line-height: 0.88;
}

/* Capa 1: solo contorno — la que se ve primero */
.hero__text--stroke {
  font-family: var(--font-display);
  font-size: 10vw; /* JS override */
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(232, 226, 208, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 0.88;
  white-space: nowrap;
  display: block;
  animation: stroke-out 0.9s ease forwards;
  animation-delay: 1.6s;
  animation-play-state: paused; /* inicia al cargar font */
}

/* Capa 2: relleno — aparece después */
.hero__text--fill {
  font-family: var(--font-display);
  font-size: 10vw; /* JS override */
  color: var(--cream);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 0.88;
  white-space: nowrap;
  display: block;
  position: absolute;
  top: 0; left: 0;
  text-shadow: 0 0 80px rgba(232, 226, 208, 0.10);
  animation: fill-in 0.9s ease forwards;
  animation-delay: 1.6s;
  opacity: 0;
  animation-play-state: paused;
}

@keyframes stroke-out {
  to { opacity: 0; }
}
@keyframes fill-in {
  to { opacity: 1; }
}

/* ── RESPONSIVE ── */
@media (max-width: 480px) {
  .hero-block { min-height: 500px; }
  .hero__text--stroke,
  .hero__text--fill { letter-spacing: 0; }
}

