/* The journey film (story page). A 4:5 cut on phones, 16:9 above 700px.
   The frame is sized from the screen height so the whole film and its Play
   button sit in the first screen. The poster is a CSS background so the right
   one shows before any script runs. journey.js runs the button. */

.journey-film{
  margin:0 auto;border:4px solid var(--navy);background:var(--navy);box-shadow:5px 5px 0 var(--red);
  width:min(100%,max(232px,calc((100svh - 236px) * .8)));
}
.journey-film video{
  display:block;width:100%;height:auto;aspect-ratio:4/5;cursor:pointer;
  background:var(--navy) url(/video/journey-phone-poster.jpg) center/cover no-repeat;
}
@media (min-width:701px){
  .journey-film{border-width:5px;box-shadow:8px 8px 0 var(--red);width:min(100%,max(420px,calc((100svh - 256px) * 16 / 9)))}
  .journey-film video{aspect-ratio:16/9;background-image:url(/video/journey-poster.jpg)}
}

[data-journey-play] .i-pause,[data-journey-play][data-state="pause"] .i-play{display:none}
[data-journey-play][data-state="pause"] .i-pause{display:block}
