@charset "UTF-8";
/* VIATRO · css/hero.css — Hero: film, poster, title, kicker, actions, film controls.
   Part 4 of 25: every page links the parts in one fixed order (cascade); see docs/DESARROLLO.md. */
.hero{height:100svh;min-height:690px;position:relative;overflow:hidden;display:flex;align-items:flex-end;background:color-mix(in srgb,var(--vi-bone) 6%,var(--vi-carbon))}.hero-media,.hero-poster,.hero-end,.hero-vignette,.hero-media video{position:absolute;inset:0;width:100%;height:100%}.hero-media{overflow:hidden}.hero-poster{background:url('/assets/umbral-start.webp') center center/cover}.hero-end{background:url('/assets/umbral-final.webp') center center/cover;opacity:0;transition:opacity var(--t-slow) var(--ease-editorial),transform 7s var(--ease-editorial);transform:scale(1.03)}.hero-media video{object-fit:cover;object-position:center;opacity:1;transition:opacity var(--t-slow) var(--ease-editorial)}.hero.is-finished .hero-end{opacity:1;transform:scale(1)}.hero.is-finished .hero-media video{opacity:0}.hero-vignette{background:linear-gradient(90deg,color-mix(in srgb,var(--vi-carbon) 80%,transparent) 0%,color-mix(in srgb,var(--vi-carbon) 40%,transparent) 34%,transparent 76%),linear-gradient(0deg,color-mix(in srgb,var(--vi-carbon) 73%,transparent),transparent 35%,color-mix(in srgb,var(--vi-carbon) 33%,transparent));pointer-events:none}.hero-topline{position:absolute;top:115px;left:var(--safe);right:var(--safe);display:flex;justify-content:space-between;gap:10px;color:#f5f1e8d9}.hero-topline-right{text-align:right}.hero-content{position:relative;z-index:3;width:100%;padding:0 var(--safe) 130px;pointer-events:none}.hero-content a{pointer-events:auto}.hero-kicker{display:flex;align-items:center;gap:13px;color:var(--vi-bone);font-size:10px;margin:0 0 29px;font-weight:700;letter-spacing:.19em}.live-dot{display:inline-block;width:8px;height:8px;background:var(--coral);border-radius:50%;box-shadow:0 0 0 4px color-mix(in srgb,var(--vi-coral) 17%,transparent)}.hero h1{font-family:var(--sans);font-weight:900;font-size:clamp(48px,12.5vw,240px);line-height:.78;letter-spacing:-.075em;margin:0;color:var(--bone);max-width:1500px;overflow:visible}.hero-title-line{display:block}.hero-title-accent em{font-family:var(--serif);font-weight:400;letter-spacing:.02em}.hero-foot{display:flex;gap:clamp(20px,5vw,100px);align-items:flex-end;margin-top:45px}.hero-foot p{max-width:470px;font-size:clamp(15px,1.15vw,19px);line-height:1.5;margin:0;color:var(--vi-bone)}.hero-actions{display:flex;align-items:center;gap:26px;flex-wrap:wrap}.sub-link{border-bottom:1px solid var(--bone);padding-bottom:9px;font-size:11px;font-weight:700;letter-spacing:.09em}.hero-bottom{position:absolute;bottom:32px;left:var(--safe);right:var(--safe);z-index:5;display:flex;align-items:center;justify-content:space-between;gap:10px}.hero-bottom a{border-bottom:1px solid color-mix(in srgb,var(--vi-bone) 57%,transparent);padding-bottom:5px;font-size:11px}.film-controls{display:flex;align-items:center;gap:15px}.film-controls button{color:var(--bone);font-size:11px;letter-spacing:.12em;font-weight:700;background:none;border:0;padding:6px}.film-controls button:hover{text-decoration:underline}.film-controls [hidden]{display:none!important}
/* W12 · layered entrance after the intro (hero-layers.js): .hl = first layer under the loader, .hl-run plays the
   rest. Carbon ground → hairlines (0–0.7 s) → title lines (0.3 s, 90 ms apart) → kicker and copy (0.9 s) → the
   cover lifts off poster and film (1.4 s; the film is released at the same moment). Opacity and transform only. */
.hero-topline::after,.hero-bottom::before{content:"";position:absolute;left:0;right:0;height:1px;background:color-mix(in srgb,var(--vi-bone) 22%,transparent);transform-origin:left center;pointer-events:none}.hero-topline::after{bottom:-14px}.hero-bottom::before{top:-16px}
.hero.hl .hero-topline::after,.hero.hl .hero-bottom::before{transform:scaleX(0)}.hero.hl .hero-topline>span,.hero.hl .hero-bottom>*,.hero.hl .hero-kicker,.hero.hl .hero-foot{opacity:0}.hero.hl .hero-media::after{content:"";position:absolute;inset:0;background:color-mix(in srgb,var(--vi-bone) 6%,var(--vi-carbon));pointer-events:none}
.hero.hl-run .hero-topline::after,.hero.hl-run .hero-bottom::before{transform:none;transition:transform var(--t-med) var(--ease-out)}.hero.hl-run .hero-bottom::before{transition-delay:.1s}.hero.hl-run .hero-topline>span,.hero.hl-run .hero-bottom>*{opacity:1;transition:opacity var(--t-fast) var(--ease-editorial) .2s}.hero.hl-run .ml-run .ml:nth-child(1) .ml-in{transition-delay:.3s}.hero.hl-run .ml-run .ml:nth-child(2) .ml-in{transition-delay:.39s}.hero.hl-run .ml-run .ml:nth-child(3) .ml-in{transition-delay:.48s}.hero.hl-run .hero-kicker,.hero.hl-run .hero-foot{opacity:1;transition:opacity var(--t-med) var(--ease-editorial) .9s}.hero.hl-run .hero-media::after{opacity:0;transition:opacity var(--t-slow) var(--ease-editorial) 1.4s}
