/* Poster: Blender render from tools/prefab-images (warehouse, golden hour).
   Hero with a muted background video (steel frame going up). Text sits on a dark scrim in both themes.
   The poster is the background; the video only loads for visitors without reduced motion or Save-Data (hero-video.js). */
.hero.has-video{position:relative;isolation:isolate;overflow:hidden;background:#101214;color:#F2F1EC;
  --ink:#F2F1EC;--ink-2:#C9CBCE;--line:rgba(242,241,236,.28);--steel:#9CC2E2;--accent:#E8805E}
.hero-media{position:absolute;inset:0;z-index:-1;background:#101214 url(img/hero-warehouse-2400.jpg) 70% center/cover no-repeat;
  background-image:image-set(url(img/hero-warehouse-2400.webp) type("image/webp"),url(img/hero-warehouse-2400.jpg) type("image/jpeg"))}
.hero-media video{width:100%;height:100%;object-fit:cover;display:block;opacity:0;transition:opacity .8s ease}
.hero-media video.is-playing{opacity:1}
.hero-media::after{content:"";position:absolute;inset:0;
  background:linear-gradient(90deg,rgba(12,13,15,.86) 0%,rgba(12,13,15,.66) 46%,rgba(12,13,15,.34) 100%),
             linear-gradient(0deg,rgba(12,13,15,.55) 0%,rgba(12,13,15,0) 40%)}
/* drawing-sheet touch: faint grid over the footage */
.hero-media::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;opacity:.10;
  background-image:linear-gradient(rgba(255,255,255,.6) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.6) 1px,transparent 1px);
  background-size:48px 48px}
.hero.has-video>.wrap{min-height:min(760px,calc(100svh - var(--nav-h)));padding-block:88px 96px}
.hero.has-video .btn-line{border-color:rgba(242,241,236,.55);color:#F2F1EC}
.hero.has-video .btn-line:hover{border-color:#F2F1EC;background:rgba(242,241,236,.08)}
.hero.has-video .hd-frame path{stroke:#F2F1EC}
.hero.has-video .hd-grid path{stroke:rgba(242,241,236,.35)}
.hero.has-video .hd-dim text{fill:#C9CBCE}
.hero-cap{position:absolute;left:max(24px,env(safe-area-inset-left,0px));bottom:16px;z-index:2;margin:0;
  font:500 11.5px/1.3 var(--font-body);letter-spacing:.06em;color:rgba(242,241,236,.72)}
.hero-pause{position:absolute;right:max(16px,env(safe-area-inset-right,0px));bottom:12px;z-index:2;display:none;
  width:40px;height:40px;border-radius:50%;border:1px solid rgba(242,241,236,.5);background:rgba(12,13,15,.45);color:#F2F1EC;cursor:pointer;
  align-items:center;justify-content:center;padding:0}
.hero-pause:hover{background:rgba(12,13,15,.7)}
.hero-pause .i-play{display:none}
.hero-pause[aria-pressed="true"] .i-play{display:block}
.hero-pause[aria-pressed="true"] .i-pause{display:none}
.hero.video-on .hero-pause{display:flex}
@media (max-width:760px){
  .hero-media{background-image:url(img/hero-warehouse-phone-1200.jpg);
    background-image:image-set(url(img/hero-warehouse-phone-1200.webp) type("image/webp"),url(img/hero-warehouse-phone-1200.jpg) type("image/jpeg"));background-position:center}
  .hero-media::after{background:linear-gradient(0deg,rgba(12,13,15,.88) 0%,rgba(12,13,15,.62) 60%,rgba(12,13,15,.5) 100%)}
  .hero.has-video>.wrap{min-height:0;padding-block:56px 64px}
  .hero-cap{display:none}
  .hero-pause{top:12px;bottom:auto;width:36px;height:36px}
}
