:root{color-scheme:dark;font-family:"Helvetica Neue",Arial,sans-serif;background:#080809;color:#eeece5;--edge:clamp(22px,3.5vw,62px)}
*{box-sizing:border-box}html,body{width:100%;height:100%;margin:0}body{overflow:hidden}button{font:inherit;color:inherit}button:focus-visible{outline:1px solid #ddd9d0;outline-offset:7px;border-radius:1px}button:hover{color:#fff}button{-webkit-tap-highlight-color:transparent}button:disabled{cursor:default}
#film{position:relative;width:100%;height:100vh;height:100svh;min-height:290px;isolation:isolate;background:#080809;overflow:hidden}
.screen,.picture,#biology,.shade,.halation,#grain{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.screen{overflow:hidden}.picture,#biology{opacity:0}.picture{will-change:opacity,transform}.picture img,.picture video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;will-change:transform;filter:brightness(.82) saturate(.82)}
.shade{background:radial-gradient(ellipse at 50% 44%,transparent 20%,rgba(0,0,0,.24) 77%,rgba(0,0,0,.5));opacity:.75}.halation{mix-blend-mode:screen;background:radial-gradient(ellipse at 5% 85%,#7e381b33,transparent 43%);opacity:0}
#grain{opacity:.075;mix-blend-mode:screen;image-rendering:pixelated}.letterbox{position:absolute;left:0;right:0;height:8%;background:#080809;z-index:3}.letterbox.top{top:0}.letterbox.bottom{bottom:0}
.title-frame{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;opacity:0;pointer-events:none;padding:var(--edge);z-index:5}.type-block{width:23ch;max-width:100%;font-family:"Courier New",Courier,monospace;font-weight:400;font-size:clamp(23px,3.1vw,45px);line-height:1.65;letter-spacing:-.045em;transform:translateY(-4%);white-space:nowrap}.type-line{display:block;min-height:1.65em}.cursor{display:inline-block;margin-left:.02em;font-weight:400;color:#c9c4bb;font-size:.88em;line-height:1;vertical-align:.04em}
.end-card{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;z-index:6;pointer-events:none;opacity:0;transform:translateY(-1.5%)}.end-card h1{position:relative;margin:0;width:clamp(245px,44vw,690px);max-width:70vw;line-height:0}.end-card h1 img{width:100%;height:auto;filter:brightness(0) invert(.94);display:block}#ident{position:absolute;inset:0;width:100%;height:100%;z-index:6;pointer-events:none;opacity:0}.end-card{z-index:7}

.end-card p{font-size:14px;letter-spacing:.1em;margin:clamp(29px,4.5vw,66px) 0 0;color:#b6b3af;font-weight:400}
.controls{position:absolute;z-index:10;left:var(--edge);right:var(--edge);bottom:max(20px,env(safe-area-inset-bottom));display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;pointer-events:none}.controls button{border:0;background:transparent;padding:0;width:44px;height:44px;display:grid;place-items:center;color:#aaa8a5;cursor:pointer;transition:color .2s,opacity .4s;pointer-events:auto}.controls button:hover{color:#f1efea}.controls button:focus-visible{outline-offset:0}#sound{justify-self:start;margin-left:-12px}#play{justify-self:center}#skip{justify-self:end;margin-right:-12px}.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;overflow:visible}#sound[aria-pressed="false"] .on,#sound[aria-pressed="true"] .off,#play:not([data-state="play"]) .play,#play:not([data-state="pause"]) .pause,#play:not([data-state="replay"]) .replay{display:none}
.progress{position:absolute;bottom:0;left:0;right:0;height:1px;z-index:11;background:#ffffff08;transition:opacity 1s}.progress span{display:block;background:#aaa59a77;width:100%;height:100%;transform:scaleX(0);transform-origin:left}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}body.ended .progress{opacity:0}body.ended #sound{visibility:hidden;pointer-events:none}body.ended #skip{visibility:hidden;pointer-events:none}body.ended #play{color:#aaa8a5}
@media(max-width:600px){.letterbox{height:13%}.type-block{font-size:clamp(19px,5.7vw,31px);line-height:1.75;letter-spacing:-.055em}.type-line{min-height:1.75em}.end-card h1{width:70vw;max-width:400px}.end-card p{font-size:13px;letter-spacing:.08em;margin-top:34px}.picture img,.picture video{object-position:52% center}.controls{bottom:max(20px,env(safe-area-inset-bottom))}}
@media(max-height:450px) and (min-width:600px){.letterbox{height:4%}.type-block{font-size:25px}.end-card h1{width:260px}.end-card p{margin-top:25px}.controls{bottom:9px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
