/* A borderless SOC scene, softly blended into the portfolio canvas. */
.hero-video-cover{height:calc(100svh - 88px);min-height:720px;max-height:890px;padding:0;background:var(--bg);isolation:isolate}
.hero-video-cover .hero-layout{display:block;position:relative;z-index:1;pointer-events:none}
.hero-video-cover .hero-content{width:auto;max-width:550px;margin:0;padding:125px 0 130px;min-width:0;pointer-events:auto}
.hero-video-cover h1{font-size:clamp(42px,4.2vw,60px);letter-spacing:-2.4px;line-height:1.12;max-width:none}
.hero-video-cover .hero-intro{max-width:410px}
.hero-video-cover .hero-actions{flex-wrap:wrap;gap:16px 28px}
.hero-video-cover .hero-footnote{margin-top:40px;flex-wrap:wrap;line-height:1.8}
.hero-video-cover .cover-media{position:absolute;inset:auto -2% auto auto;top:50%;transform:translateY(-50%);z-index:0;margin:0;width:64%;max-width:900px;aspect-ratio:16/9}
.hero-video-cover .hero-photo{position:absolute;inset:0;width:100%;height:100%;margin:0;background:transparent;border:0;border-radius:0;overflow:hidden;box-shadow:none;-webkit-mask-image:radial-gradient(ellipse 64% 69% at 61% 48%,#000 32%,#000c 56%,transparent 83%);mask-image:radial-gradient(ellipse 64% 69% at 61% 48%,#000 32%,#000c 56%,transparent 83%)}
.hero-video-cover .hero-photo img,.hero-video-cover .hero-photo video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center;filter:brightness(.84) saturate(.85)}
.hero-video-cover .hero-photo video{opacity:1;pointer-events:none}
.hero-video-cover.cover-playing .hero-photo video{opacity:1}
.hero-video-cover .hero-photo::after{content:"";position:absolute;inset:0;z-index:1;background:radial-gradient(ellipse at center,transparent 55%,#10151233 100%);pointer-events:none}
.hero-video-cover .cover-caption{position:absolute;bottom:-40px;right:14%;z-index:1;display:flex;flex-direction:column;align-items:flex-end;gap:6px;color:var(--muted);font:10px/1.7 var(--mono);letter-spacing:1px}
.hero-video-cover .cover-caption>span:first-child{color:var(--accent)}
.hero-video-cover .cover-playground-link{display:flex;align-items:center;gap:12px;margin-top:8px;min-height:44px;color:var(--accent);font:11px/1.5 var(--mono);letter-spacing:0}
.hero-video-cover .cover-playground-link::before{content:"";width:65px;height:1px;background:linear-gradient(90deg,transparent,var(--accent))}
.hero-video-cover .cover-playground-link:hover{text-decoration:underline;text-underline-offset:5px}
.hero-video-cover .cover-playground-link:focus-visible,.hero-video-cover .cover-playback:focus-visible{outline:2px solid var(--accent);outline-offset:5px}
.hero-video-cover .cover-playback{position:absolute;z-index:2;right:14%;top:12%;min-height:44px;padding:10px 14px;background:#101512e6;border:1px solid #465449;border-radius:6px;color:var(--text);font:12px var(--sans)}
.hero-video-cover .cover-playback[hidden]{display:none}
.hero-video-cover .cover-playback:hover{border-color:var(--accent)}
.hero-video-cover .hero-bottom{z-index:1}
@media(min-width:981px) and (max-width:1200px){.hero-video-cover .hero-content{padding-top:110px;max-width:495px}.hero-video-cover h1{font-size:46px}.hero-video-cover .cover-media{width:62%;right:-5%}.hero-video-cover .cover-caption{right:18%;bottom:-65px}}
/* Keep the entire cinematic scene visible below mobile introduction text. */
@media(max-width:980px){
 .hero-video-cover{min-height:0;height:auto;max-height:none;padding:0 0 82px;background:var(--bg)}
 .hero-video-cover .hero-content{padding-top:56px;padding-bottom:12px;max-width:670px}
 .hero-video-cover .cover-media{display:block;position:relative;inset:auto;top:auto;transform:none;width:calc(100% - 24px);max-width:900px;margin:16px auto 0;aspect-ratio:16/9}
 .hero-video-cover .hero-photo{-webkit-mask-image:linear-gradient(to bottom,transparent,#000 12%,#000 86%,transparent);mask-image:linear-gradient(to bottom,transparent,#000 12%,#000 86%,transparent)}
 .hero-video-cover .cover-caption{display:none}
 .hero-video-cover h1{font-size:55px;max-width:670px;letter-spacing:-3px;line-height:1.12}
 .hero-video-cover .hero-footnote{margin-top:28px}
 .hero-video-cover .hero-bottom{bottom:24px}
}
@media(max-width:700px){
 .hero-video-cover .hero-content{padding-top:44px;padding-bottom:0}
 .hero-video-cover h1{font-size:clamp(35px,9vw,52px);line-height:1.12;letter-spacing:-1.4px}
 .hero-video-cover .hero-intro{max-width:440px;font-size:16px;line-height:1.7}
 .hero-video-cover .hero-actions{gap:12px;align-items:stretch}
 .hero-video-cover .hero-footnote{margin-top:22px;font-size:10px;line-height:1.7;gap:9px}
 .hero-video-cover .hero-footnote b{margin-inline:8px}
}
@media(max-width:380px){.hero-video-cover h1{font-size:34px}}

@media(min-width:981px) and (max-width:1200px){.hero-video-cover .hero-content{max-width:400px}.hero-video-cover h1{font-size:42px}}
