/* Film header moved from the glowstk2 flavour pages (Nov 2026).
   glowstk2 layout (black panel, film on the right fading in under the copy) with
   glowstk's own hero content. glowstk-hero.js plays and loops the film. */
/* --edge is the right edge of the copy column (28px gutter + 520px copy, centred in 1280px),
   so the film and its shading line up with the text at any window width. */
.gs-film-hero{--edge:max(548px,calc(50% - 92px));position:relative;isolation:isolate;overflow:hidden;background:#000;color:#fff;height:100svh;min-height:692px;max-height:952px}
.gs-film-media{position:absolute;top:0;bottom:0;right:-10%;left:max(22%,calc(var(--edge) - 160px));z-index:-3;overflow:hidden;background:#000;pointer-events:none;-webkit-mask-image:linear-gradient(90deg,transparent,#000 22%);mask-image:linear-gradient(90deg,transparent,#000 22%)}
.gs-film-media>video,.gs-film-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:60% center;display:block}
.gs-film-media>video{opacity:0;transition:opacity .8s ease}
.gs-film-media>video.is-active{opacity:1}
.gs-film-media.has-frame .gs-film-poster{opacity:0;transition:opacity 1s}
.gs-film-shade{position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,#000 0%,rgba(0,0,0,.86) max(20%,calc(var(--edge) - 280px)),rgba(0,0,0,.4) calc(var(--edge) + 40px),transparent calc(var(--edge) + 320px)),linear-gradient(0deg,#000 0%,transparent 22%,transparent 82%,rgba(0,0,0,.33) 100%)}
.gs-film-inner{max-width:1280px;height:100%;margin:0 auto;padding:120px 28px 64px;display:flex;align-items:center}
.gs-film-copy{max-width:520px}
.gs-film-crumbs{display:flex;align-items:center;gap:8px;font-size:13px;color:rgba(255,255,255,.5);margin-bottom:26px}
.gs-film-crumbs a{color:rgba(255,255,255,.5);text-decoration:none}
.gs-film-crumbs strong{color:#fff;font-weight:600}
.gs-film-type{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.62)}
.gs-film-type i{width:9px;height:9px;border-radius:50%;flex:0 0 auto}
.gs-film-copy h1{font-family:'Jost',sans-serif;font-size:clamp(56px,7vw,104px);font-weight:500;letter-spacing:-.025em;line-height:.95;margin:14px 0 16px;color:#fff}
.gs-film-notes{font-family:'Jost',sans-serif;font-size:22px;font-weight:500;margin:0 0 14px;color:#fff}
.gs-film-tagline{font-family:'Jost',sans-serif;font-size:17px;font-weight:400;line-height:1.6;color:rgba(255,255,255,.68);max-width:440px;margin:0 0 30px}
.gs-film-actions{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:26px}
.gs-film-actions a{text-decoration:none;white-space:nowrap;font-size:15px;font-weight:600;padding:15px 28px;border-radius:999px}
.gs-film-primary{color:#fff;transition:opacity .2s}
.gs-film-secondary{border:1.5px solid rgba(255,255,255,.3);color:#fff;transition:border-color .2s}
.gs-film-tags{display:flex;gap:8px;flex-wrap:wrap}
.gs-film-tags span{font-size:12px;font-weight:600;color:rgba(255,255,255,.72);border:1px solid rgba(255,255,255,.22);padding:7px 13px;border-radius:999px}
/* The header sits transparent over the film, logo and links in white, until it sticks
   on scroll (the page script sets navClass to gs-nav-over while the hero is in view). */
header.gs-nav-over{position:absolute!important;background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border-bottom-color:transparent!important;box-shadow:none!important}
header.gs-nav-over .gs-logo{filter:brightness(0) invert(1)}
header.gs-nav-over .gs-navlinks>a,header.gs-nav-over .gs-flav>a{color:rgba(255,255,255,.78)!important}
header.gs-nav-over .gs-navlinks>a:hover,header.gs-nav-over .gs-flav>a:hover{color:#fff!important}
header.gs-nav-over .gs-navlinks>a[href$="#stores"]{background:#fff!important;color:#0b0b0c!important}
@media(max-width:800px){
  .gs-film-hero{height:auto;min-height:0;max-height:none;display:flex;flex-direction:column;padding-top:44px}
  .gs-film-media{position:relative;inset:auto;height:clamp(300px,88vw,480px);flex:0 0 auto;-webkit-mask-image:linear-gradient(180deg,#000 52%,transparent 90%);mask-image:linear-gradient(180deg,#000 52%,transparent 90%)}
  .gs-film-media>video,.gs-film-poster{object-position:50% center}
  .gs-film-shade{display:none}
  .gs-film-inner{height:auto;display:block;padding:0 20px 52px;margin-top:-20px;position:relative}
  .gs-film-crumbs{margin-bottom:18px}
  .gs-film-copy h1{font-size:clamp(48px,13vw,72px)}
  .gs-film-notes{font-size:20px}
  .gs-film-tagline{font-size:16px}
}
