/* Film hero (v18.1): 7-second autoplay film, text timed to it, ends on the DM button */
.filmhero{position:relative;height:min(100svh,56.25vw);min-height:520px;overflow:hidden;background:#000 center/cover no-repeat url(/assets/film/hero-w-poster.jpg);color:#fff}
.filmhero video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.filmhero .shade{position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(120% 80% at 50% 45%,rgba(0,0,0,0) 40%,rgba(0,0,0,.55) 100%),
             linear-gradient(to top,rgba(0,0,0,.6),rgba(0,0,0,0) 40%)}
.filmhero .beat{position:absolute;left:0;right:0;padding:0 var(--gut,24px);text-align:center;opacity:0;
  transform:translateY(16px);transition:opacity .45s ease,transform .45s ease;pointer-events:none}
.filmhero .beat.on{opacity:1;transform:none;pointer-events:auto}
.filmhero .beat.mid{top:50%;margin-top:-1.2em}
.filmhero .beat.low{bottom:11%}
.filmhero .beat.left{text-align:left;max-width:600px;top:30%}
.filmhero .sy-eb{font:600 13px/1.3 "Inter",system-ui,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:rgba(190,215,255,.85);margin:0 0 14px}
.filmhero .sy-hl{color:#fff;display:block;font:700 clamp(32px,5.6vw,80px)/1.03 "Inter",system-ui,sans-serif;letter-spacing:-.035em;margin:0;
  text-shadow:0 2px 30px rgba(0,0,0,.6);text-wrap:balance}
.filmhero .sy-hl .sy-c{color:#9fd0ff}
.filmhero .sy-hl .sy-w{color:#ffc58a}
.filmhero .sy-sub{font:400 clamp(16px,1.5vw,20px)/1.45 "Inter",system-ui,sans-serif;color:rgba(255,255,255,.85);margin:14px auto 0;max-width:34em;
  text-shadow:0 1px 16px rgba(0,0,0,.8)}
.filmhero .beat.left .sy-sub{margin-left:0}
.filmhero .end-acts{display:flex;gap:14px;justify-content:center;align-items:center;flex-wrap:wrap;margin-top:22px}
.filmhero .replay{background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.3);border-radius:999px;
  font:500 14px/1 "Inter",system-ui,sans-serif;padding:12px 18px;min-height:44px;cursor:pointer}
.filmhero .replay:hover{background:rgba(255,255,255,.2)}
.filmhero .replay:focus-visible,.filmhero .btn-main:focus-visible{outline:2px solid #9fd0ff;outline-offset:3px}
.filmhero .note{position:absolute;right:14px;bottom:10px;margin:0;font:400 10px/1 "Inter",system-ui,sans-serif;color:rgba(255,255,255,.4)}
.filmhero .bar{position:absolute;left:0;bottom:0;height:2px;width:100%;transform-origin:left;transform:scaleX(0);
  background:linear-gradient(90deg,#4fa3ff,#9fd0ff 70%,#ffc58a)}
@media (orientation:portrait){
  .filmhero{height:88svh;min-height:560px;background-image:url(/assets/film/hero-t-poster.jpg)}
}
@media (max-width:700px){
  .filmhero .beat.left{text-align:center;max-width:none;top:auto;bottom:12%}
  .filmhero .beat.left .sy-sub{margin-left:auto}
  .filmhero .beat.mid{top:24%}
}
/* reduced motion: no autoplay, show the end shot with the closing line */
.filmhero.still{background-image:url(/assets/film/hero-w-end.jpg)}
@media (orientation:portrait){.filmhero.still{background-image:url(/assets/film/hero-t-end.jpg)}}
.filmhero.still video{display:none}
/* v18.3: autoplay blocked (iPhone Low Power Mode etc.): big tap-to-play button */
.filmhero .playbtn{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:3;display:flex;align-items:center;gap:12px;
  background:rgba(0,0,0,.45);color:#fff;border:1px solid rgba(255,255,255,.45);border-radius:999px;padding:16px 26px 16px 18px;min-height:56px;
  font:600 17px/1 "Inter",system-ui,sans-serif;cursor:pointer;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.filmhero .playbtn:hover{background:rgba(0,0,0,.6)}
.filmhero .playbtn:focus-visible{outline:2px solid #9fd0ff;outline-offset:3px}
.filmhero .pb-i{width:0;height:0;border-style:solid;border-width:10px 0 10px 16px;border-color:transparent transparent transparent #fff;margin-left:6px}
.filmhero .playbtn[hidden]{display:none}
