/* The journal's film player (film-player.js). A dark screening band on the paper, in the film's own ground, with the
   paper's 9 px grid carried into it; the film's spectrum and warm whites only. */
.article-film{--ground:#02080a;--ink-film:#f3eee6;--dim:#f3eee673;margin:0 5vw 75px;padding:clamp(10px,1.1vw,18px) clamp(10px,1.1vw,18px) 0;border-radius:25px;color:var(--ink-film);background:linear-gradient(#ffffff06 1px,transparent 1px),linear-gradient(90deg,#ffffff06 1px,transparent 1px) var(--ground);background-size:9px 9px;font-family:"FullBuild Martian",ui-monospace,monospace;position:relative}
.film-stage{position:relative;aspect-ratio:16/9;border-radius:15px;overflow:hidden;background:#000}
.film-video{display:block;width:100%;height:100%;object-fit:contain;background:#000}
.film-caption{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--dim);padding:14px 2px 16px}
.article-film:not(.is-ready) .film-caption{padding-bottom:18px}
.article-film button{color:inherit;font:inherit;background:none;border:0;padding:0;cursor:pointer}
.article-film button:focus-visible,.fp-strip:focus-visible{outline:2px solid #fff7ec;outline-offset:3px;border-radius:4px}

/* The poster: the cover, with the play button drawn as the film's prism taking in a white beam. */
.fp-poster{position:absolute;inset:0;display:block;width:100%;z-index:2}
.fp-poster[hidden]{display:none}
.fp-poster img{width:100%;height:100%;object-fit:cover;transition:filter .5s,transform 1.2s cubic-bezier(.22,1,.36,1)}
.fp-poster:after{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 50% 55%,#02080a00 30%,#02080a8c 100%)}
.fp-start{position:absolute;left:50%;top:50%;z-index:1;display:grid;justify-items:center;gap:14px;transform:translate(-50%,-50%)}
.fp-start svg{width:clamp(110px,12vw,190px);filter:drop-shadow(0 0 14px #02080a)}
.fp-start-label{white-space:nowrap;font-size:12px;letter-spacing:.14em;text-transform:uppercase;padding:9px 14px;border-radius:999px;background:#02080acc;box-shadow:inset 0 0 0 1px #f3eee62e}
.fp-start-label b{font-weight:400;color:var(--dim);margin-left:8px}
.fp-poster:hover img,.fp-poster:focus-visible img{transform:scale(1.02);filter:brightness(.85)}
.article-film svg{display:block;overflow:visible}
.fp-beam{stroke:#fff7ec;stroke-width:3;stroke-linecap:round;filter:drop-shadow(0 0 4px #fff7ec)}
.fp-glass{fill:#f3eee614;stroke:#fff7ec;stroke-width:3;stroke-linejoin:round}
.fp-rays path{stroke-width:3;stroke-linecap:round;transform-origin:70px 36px;transform:scaleX(.55);transition:transform .45s cubic-bezier(.22,1,.36,1)}
.fp-poster:hover .fp-rays path,.fp-poster:focus-visible .fp-rays path{transform:scaleX(1)}
.fp-beam{stroke-dasharray:42;stroke-dashoffset:0;transition:stroke-dashoffset .45s}

/* The bar: play, clock, where we are, then the views. */
.fp-bar{display:flex;align-items:center;gap:clamp(12px,1.6vw,26px);padding:14px 4px 4px;font-size:12px;letter-spacing:.06em}
.fp-play{width:46px;flex-shrink:0}
.fp-play .fp-rays path{transform:scaleX(.4)}
.is-playing .fp-play .fp-glass{fill:#fff7ec}
.is-playing .fp-play .fp-rays path{transform:scaleX(1)}
.fp-time{font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--dim)}
.fp-where{display:flex;gap:12px;align-items:baseline;min-width:0;margin-right:auto;white-space:nowrap;overflow:hidden}
.fp-where b{font-weight:400;font-family:"FullBuild Geist",Arial,sans-serif;font-size:16px;letter-spacing:0;color:var(--ink-film);overflow:hidden;text-overflow:ellipsis}
.fp-where span{color:var(--dim)}
.fp-grid,.fp-mute,.fp-full{display:flex;align-items:center;gap:8px;padding:8px 2px;color:var(--dim);transition:color .2s;white-space:nowrap;text-transform:uppercase;font-size:11px;letter-spacing:.12em}
.fp-grid:hover,.fp-mute:hover,.fp-full:hover,.fp-grid[aria-pressed=true]{color:var(--ink-film)}
.fp-grid{display:grid;grid-template-columns:repeat(2,5px) auto;grid-template-rows:repeat(2,5px);column-gap:2px;row-gap:2px}
.fp-grid i{background:currentColor;border-radius:1px}
.fp-grid span{grid-column:3;grid-row:1/3;margin-left:8px;align-self:center}
.fp-mute:before{content:'';width:8px;height:8px;border-radius:50%;background:#4fd05c;box-shadow:0 0 8px #4fd05c}
.fp-mute.is-muted:before{background:none;box-shadow:inset 0 0 0 1px currentColor}
.fp-full[hidden]{display:none}

/* The score: the beat strip. */
.fp-score{padding:14px 4px 0}
.fp-strip{position:relative;height:46px;cursor:pointer;touch-action:none}
.fp-strip canvas{display:block;width:100%;height:100%}
.fp-peek{position:absolute;left:0;bottom:calc(100% + 116px);display:grid;gap:6px;width:clamp(150px,14vw,220px);pointer-events:none;opacity:0;transition:opacity .15s;z-index:3}
.is-peeking .fp-peek{opacity:1}
.fp-peek-frame{display:block;aspect-ratio:16/9;border-radius:8px;background-color:#000;box-shadow:0 0 0 1px #f3eee640,0 10px 30px #000a}
.fp-peek-text{justify-self:center;max-width:100%;padding:3px 8px;border-radius:999px;background:#02080ad9;font-size:10px;letter-spacing:.06em;text-transform:uppercase;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Beats: the whole film as one sheet of beats over the stage. */
.fp-beats{position:absolute;inset:0;z-index:3;display:grid;grid-template-columns:repeat(12,1fr);align-content:center;gap:2px;padding:clamp(6px,1vw,14px);background:#02080af2}
.fp-beats[hidden]{display:none}
.fp-cell{aspect-ratio:16/9;border-radius:2px;background-color:#000;opacity:.78;transition:opacity .15s,transform .15s}
.fp-cell:hover,.fp-cell:focus-visible{opacity:1;transform:scale(1.6);position:relative;z-index:1;box-shadow:0 0 0 1px #fff7ec,0 6px 20px #000}
.fp-cell.is-current{opacity:1;box-shadow:0 0 0 2px #fff7ec}

.is-waiting .fp-play .fp-glass{animation:fp-wait 1s ease-in-out infinite alternate}
@keyframes fp-wait{to{fill:#f3eee640}}
.article-film:fullscreen{display:flex;flex-direction:column;justify-content:center;margin:0;border-radius:0;padding:2vh 3vw}
.article-film:fullscreen .film-stage{aspect-ratio:auto;flex:1;min-height:0}
.article-film:fullscreen .film-caption{display:none}

@media(max-width:800px){.article-film{margin-bottom:45px}.fp-peek{bottom:calc(100% + 90px)}.fp-where span,.fp-grid span,.fp-mute span,.fp-full span{display:none}.fp-grid{grid-template-columns:repeat(2,5px)}@media(max-width:480px){.article-film{border-radius:15px;margin-left:0;margin-right:0;border-radius:0}.film-stage{border-radius:8px}.fp-time{font-size:11px}.fp-where b{font-size:14px}}}
@media(prefers-reduced-motion:reduce){.fp-poster img,.fp-rays path,.fp-cell{transition:none}.is-waiting .fp-play .fp-glass{animation:none}}
