#opening{background:#182522;color:#f5ebd9;min-height:100svh;display:grid;align-content:center;justify-items:stretch}
.film-frame{position:relative;background:#192520;overflow:hidden;height:clamp(210px,51svh,640px);border-block:1px solid #b69a6b}
#filmShot,.illustration{width:100%;height:100%}.illustration{background-position:center;background-size:cover;animation:develop 900ms ease both}
.road{background-image:url(lanes.webp);animation:glide 16s ease-out both}.kitchen{background-image:url(kitchen.webp);animation:glide 16s ease-out both}.court{background-image:url(court.webp);background-size:contain;background-repeat:no-repeat;background-color:#252d26}
.chalk{background:repeating-linear-gradient(0deg,transparent 0 24px,#ded6b81c 25px 26px),#44534b;display:grid;place-items:center}
.chalk-court{position:relative;width:min(66vw,680px);height:65%;border:4px solid #e4dcc19c;transform:rotate(-4deg);border-radius:4px}
.chalk-court i{position:absolute;display:block}.arc{width:32%;aspect-ratio:1;border:3px dashed #d8d4b4;right:0;top:50%;transform:translate(50%,-50%);border-radius:50%;clip-path:inset(0 50% 0 0)}.lane{border:3px solid #e2dabe;width:19%;height:39%;right:0;top:30%}.rim{width:18px;height:18px;border:3px solid #dba467;border-radius:100%;right:2%;top:47%}.bounce{background:#e4ad6a;width:17px;height:17px;border-radius:50%;left:12%;bottom:23%;animation:pass 4s ease-in-out both}
.film-top,.film-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.film-top{position:absolute;inset:0 0 auto;justify-content:space-between;padding:12px clamp(14px,4vw,60px);background:linear-gradient(#16221ee8,transparent);font:600 14px Arial;color:#fff}.film-top button,.film-controls button{padding:9px 14px}.film-caption{width:min(90vw,850px);margin:0 auto;padding:16px 0 26px}.film-caption .by{margin:.5em 0}.film-caption h2{font:normal clamp(28px,4vw,52px)/1.06 Georgia;margin:.2em 0}.film-caption h2:focus{outline:none}.film-caption #filmWords{font-size:clamp(17px,2vw,22px);line-height:1.45;margin:.6em 0 1em}.film-controls .ghost:last-child{margin-left:auto}
@keyframes develop{from{opacity:.25}to{opacity:1}}@keyframes glide{from{opacity:.5;transform:scale(1)}to{opacity:1;transform:scale(1.06)}}@keyframes pass{0%{left:12%;bottom:23%}45%{left:47%;bottom:68%}100%{left:93%;bottom:47%}}
@media(prefers-reduced-motion:reduce){.illustration,.bounce{animation:none}}
@media(max-height:550px){.film-frame{height:40svh;min-height:140px}}
