/* User-composed covers link directly to their case pages. */
#main{flex-direction:column}
.hero{flex:none;min-height:max(680px,calc(100svh - 80px))}
.project-covers{padding:24px var(--pad) 80px;scroll-margin-top:24px;background:var(--anthracite)}
.project-covers-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;max-width:1260px;margin:0 auto}
.project-cover{display:block;position:relative;min-width:0;margin:0;border-radius:2px}
.project-cover>img{display:block;width:100%;height:auto;aspect-ratio:4/5;border-radius:inherit}
@media(max-width:1100px){.project-covers-grid{gap:16px}}
@media(max-width:600px){.hero{min-height:max(650px,calc(100svh - 80px))}.project-covers{padding:12px 20px 40px;scroll-margin-top:12px}.project-covers-grid{gap:8px}}

.project-cover{overflow:hidden;color:#fff;text-decoration:none}
.project-cover-arrow{position:absolute;top:16px;right:16px;display:grid;place-items:center;width:40px;height:40px;border:1px solid #ffffff40;border-radius:50%;background:#121c29b3;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);opacity:0;transform:translate(-3px,3px);transition:opacity .2s,transform .2s;pointer-events:none}
.project-cover-arrow svg{width:19px;height:19px;stroke:currentColor;stroke-width:1.5}
.project-cover:focus-visible{outline:2px solid #007fff;outline-offset:5px}
.project-cover:is(:hover,:focus-visible) .project-cover-arrow{opacity:1;transform:none}
@media(hover:none){.project-cover-arrow{opacity:1;transform:none}}
/* Mobile arrow size must follow the base rule so it wins the cascade. */
@media(max-width:600px){.project-cover-arrow{top:7px;right:7px;width:24px;height:24px}.project-cover-arrow svg{width:11px;height:11px;stroke-width:1.75}}
@media(prefers-reduced-motion:reduce){.project-cover-arrow{transition:none}}
