#projects .project-visual{position:relative}#projects .featured-film{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .5s;z-index:1;pointer-events:none}#projects .featured-film.is-playing{opacity:1}#projects .project-label,#projects .project-open{z-index:3}.featured-pause{display:block;margin:0 0 24px auto;min-height:44px;padding:10px 18px;border:1px solid #697080;background:transparent;border-radius:30px;color:inherit;font:inherit;font-size:12px;cursor:pointer}.featured-pause:focus-visible{outline:3px solid #839fff;outline-offset:4px}@media(prefers-reduced-motion:reduce){#projects .featured-film{transition:none}}

/* Every highlighted project uses the same frame, regardless of source aspect ratio. */
body[data-page="home"] #projects{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
body[data-page="home"] #projects .project{grid-column:auto;min-width:0;max-width:none;margin-top:0}
body[data-page="home"] #projects .project-visual{aspect-ratio:4/3;height:auto;min-height:0;width:100%;overflow:hidden}
body[data-page="home"] #projects .featured-film{width:100%;height:100%;object-fit:cover}
@media(max-width:700px){body[data-page="home"] #projects{grid-template-columns:minmax(0,1fr)}}
