/* =============================================================================
   section: video-hero (portada a 100svh; apertura de El viñedo a 80svh)
   shopify: sección de vídeo / slideshow a pantalla completa de Vincent
            (o megumi-video-hero si Vincent no hace fondo en bucle con pausa)
   ============================================================================= */
.video-hero {
  position: relative; display: grid; place-items: center; overflow: hidden;
  height: 100vh; height: 100svh; min-height: 560px;
  background: var(--c-sumi); color: var(--c-washi);
}
.video-hero--short { height: 80vh; height: 80svh; min-height: 480px; }
.video-hero__media, .video-hero__video, .video-hero__scrim { position: absolute; inset: 0; }
.video-hero__media { background-color: var(--c-sumi-2); } /* plano, sin textura generada (§ 1.1.8) */
/* Póster: foto fija (<img> con srcset) debajo de todo; se ve mientras carga, si falla, con movimiento reducido o ahorro de datos.
   Dos <video> apilados encima: el activo a opacidad 1 y el siguiente a 0; el fundido cruzado dura 0,8 s. */
.video-hero__video { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; transition: opacity 800ms linear; }
.video-hero__video.is-active { opacity: 1; }
/* Velo (sistema-diseno.md § 2.4–2.5: --scrim-base + franja de texto). Base 0,40 en toda la imagen y, del 25 % de
   la altura hacia abajo, una capa de 0,45: 1 − 0,60 × 0,55 = 0,67 de opacidad detrás del rótulo, el titular, el CTA
   y el rótulo pequeño de abajo (≥ 0,65; medido: el texto va del 33 % al 94 % de la altura). Arriba, 0,40 + 0,30 para la cabecera. */
.video-hero__scrim {
  background:
    linear-gradient(to bottom, rgba(20,18,16,0) 15%, rgba(20,18,16,.45) 25%, rgba(20,18,16,.45) 100%),
    linear-gradient(to bottom, rgba(20,18,16,.3), rgba(20,18,16,0) 18%),
    var(--scrim-base);
}
.video-hero__content { position: relative; z-index: 1; padding: var(--header-h) var(--gutter) 0; text-align: center; }
.video-hero__content > * { animation: fadeUp var(--dur-fade) var(--ease-out) both; }
.video-hero__content > :nth-child(2) { animation-delay: 200ms; }
.video-hero__content > :nth-child(3) { animation-delay: 450ms; }
.video-hero__eyebrow { margin-bottom: 28px; opacity: .9; }
.video-hero__title { max-width: 12ch; margin: 0 auto 44px; }
.video-hero__cap { position: absolute; left: var(--gutter); bottom: 28px; z-index: 1; color: var(--c-paper-soft); }
.video-hero__toggle {
  position: absolute; z-index: 2; right: calc(var(--gutter) - 12px); bottom: 16px;
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  background: none; border: 0; cursor: pointer; color: var(--c-washi); opacity: .8;
}
.video-hero__toggle:hover { opacity: 1; }
.video-hero__scroll { position: absolute; left: 50%; bottom: 0; z-index: 1; width: 1px; height: 56px; background: linear-gradient(rgba(247,243,234,0), rgba(247,243,234,.6)); }
