/* Eurekion homepage: "Watch how Eurekion works" overview, in its own section below the hero.
   Desktop: framed 9:16 card that plays inline. Tablet / phone: the card opens a full-frame player.
   Nothing autoplays or loops; the video file is only requested after the visitor presses play. */
.wv-section{position:relative;background:radial-gradient(120% 90% at 85% 10%,#13304f 0%,#0a1a2c 55%,#070f1a 100%);color:#fff;
 padding:clamp(56px,9vw,120px) 0;overflow:hidden;border-top:1px solid rgba(255,255,255,.06)}
.wv{--wv-orange:#c8430b;--wv-navy:9,27,46;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:clamp(40px,7vw,110px);
 max-width:1080px;margin:0 auto}
.wv-overline{margin:0 0 18px;font-family:Inter,Arial,sans-serif;font-size:12px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:#ffd27a;line-height:1.4}
.wv-h{margin:0;font-family:Fraunces,Georgia,serif;font-weight:600;font-size:clamp(34px,4.2vw,56px);line-height:1.06;color:#fff;letter-spacing:-.01em}
.wv-meta{margin:16px 0 0;font-size:15px;color:rgba(255,255,255,.72)}
.wv-actions{margin-top:30px}
.wv-frame{position:relative;padding:12px;border-radius:32px;background:linear-gradient(160deg,rgba(255,255,255,.16),rgba(255,255,255,.03));
 box-shadow:0 40px 90px rgba(0,0,0,.5),inset 0 0 0 1px rgba(255,255,255,.12)}
.wv-card{position:relative;height:clamp(440px,70vh,620px);aspect-ratio:9/16;border-radius:22px;overflow:hidden;background:#05070b}
.wv-card .wv-poster{all:unset;box-sizing:border-box;position:absolute;inset:0;cursor:pointer;display:block}
.wv-card .wv-poster img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s ease}
.wv-card .wv-poster::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(var(--wv-navy),0) 50%,rgba(var(--wv-navy),.92) 100%)}
.wv-card .wv-poster:hover img{transform:scale(1.03)}
.wv-card .wv-poster:focus-visible{outline:3px solid #fff;outline-offset:-6px;border-radius:22px}
.wv-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:1;width:78px;height:78px;border-radius:50%;
 background:var(--wv-orange);border:1px solid #e26027;display:grid;place-items:center;box-shadow:0 12px 30px rgba(0,0,0,.4);transition:transform .2s}
.wv-play svg{width:28px;height:28px;margin-left:5px;fill:#fff}
.wv-card .wv-poster:hover .wv-play{transform:translate(-50%,-50%) scale(1.06)}
.wv-label{position:absolute;left:22px;right:22px;bottom:22px;z-index:1;color:#fff}
.wv-label strong{display:block;font-size:18px;font-weight:600;line-height:1.25}
.wv-label span{display:block;margin-top:6px;font-size:13px;color:rgba(255,255,255,.8)}
.wv-card video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#000;display:block}
/* full-frame player (tablet / phone) */
.wv-dialog{padding:0;border:0;background:transparent;max-width:none;max-height:none;width:100%;height:100%;overflow:hidden}
.wv-dialog::backdrop{background:rgba(5,7,11,.92)}
.wv-dialog[open]{display:grid;place-items:center}
.wv-stage{position:relative;aspect-ratio:9/16;height:min(calc(100svh - 96px),calc((100vw - 32px) * 16 / 9));border-radius:14px;overflow:hidden;background:#000}
.wv-stage video{width:100%;height:100%;object-fit:contain;display:block;background:#000}
.wv-close{position:fixed;top:max(14px,env(safe-area-inset-top));right:14px;z-index:2;width:46px;height:46px;border-radius:50%;
 border:1px solid rgba(255,255,255,.3);background:rgba(255,255,255,.12);color:#fff;font-size:26px;line-height:1;cursor:pointer}
.wv-close:focus-visible{outline:3px solid #fff;outline-offset:2px}
/* tablet and phone: stacked, centered, smaller card */
@media (max-width:1100px),(orientation:portrait){
 .wv{grid-template-columns:1fr;justify-items:center;text-align:center;gap:34px}
 .wv-frame{padding:9px;border-radius:26px}
 .wv-card{height:auto;width:min(270px,62vw);border-radius:18px}
 .wv-play{width:66px;height:66px}
}
@media (prefers-reduced-motion:reduce){.wv-card .wv-poster img,.wv-play{transition:none}}
/* wide poster is only shown on the desktop stage */
.wv-card .wv-poster img.wv-img-w{display:none}
@media (min-width:1101px) and (orientation:landscape){
 .wv-section{padding:clamp(40px,5vw,72px) 0 clamp(48px,6vw,88px)}
 .wv{display:flex;flex-direction:column;align-items:stretch;gap:22px;max-width:min(1100px,calc(100vw - 80px))}
 .wv-text{display:grid;grid-template-columns:1fr auto;grid-template-areas:"o a" "h a" "m a";column-gap:40px;align-items:end}
 .wv-overline{grid-area:o;margin-bottom:10px}
 .wv-h{grid-area:h;font-size:clamp(30px,2.6vw,40px)}
 .wv-meta{grid-area:m;margin-top:8px}
 .wv-actions{grid-area:a;margin:0;align-self:center}
 .wv-frame{padding:10px;border-radius:28px;align-self:center;width:100%;max-width:min(1100px,calc((100vh - 270px) * 16 / 9 + 20px))}
 .wv-card{height:auto;width:100%;aspect-ratio:16/9;border-radius:20px}
 .wv-card .wv-poster img.wv-img-v{display:none}
 .wv-card .wv-poster img.wv-img-w{display:block;object-fit:cover}
 .wv-card .wv-poster:hover img{transform:none}
 .wv-card .wv-poster::after{background:linear-gradient(180deg,rgba(var(--wv-navy),0) 62%,rgba(var(--wv-navy),.75) 100%)}
 .wv-label{left:32px;bottom:28px;right:auto}
}
