/* Projects gallery only: approximately 26% smaller desktop cards. */
.projects-section{width:66.6%;max-width:1066px;margin-left:auto;margin-right:auto;padding-left:0;padding-right:0}
.projects-section .project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 24px}
.projects-section .project{min-width:0}
.projects-section .cover{aspect-ratio:1.42}
.projects-section .cover img{display:block;width:100%;height:100%;object-fit:cover}
.projects-section .project h3{font-size:22px;line-height:1.3;margin-bottom:10px}
.projects-section .project p{font-size:15px;line-height:1.65;margin-bottom:0}
.projects-section .card-meta{margin-top:16px;margin-bottom:10px}
.projects-section .cover.ai strong{font-size:clamp(24px,2.7vw,43px)}
@media(min-width:761px) and (max-width:1024px){.projects-section{width:82%}}
@media(max-width:760px){.projects-section{width:88%}.projects-section .project-grid{grid-template-columns:minmax(0,1fr);gap:30px}.projects-section .project h3{font-size:22px}.projects-section .cover.ai strong{font-size:clamp(24px,6.8vw,43px)}}

/* Keep website screenshots complete within the approved card frame. */
.projects-section .cover:has(img[src="/assets/moveno/homepage.webp"]),
.projects-section .cover:has(img[src="/assets/qob/homepage.webp"]){background:#e9e6df}
.projects-section .cover img[src="/assets/moveno/homepage.webp"],
.projects-section .cover img[src="/assets/qob/homepage.webp"]{object-fit:contain;object-position:center}

/* Preserve the complete portfolio screenshot inside the existing AI card dimensions. */
.projects-section .cover:has(img[src="/assets/ai/portfolio-homepage.webp"]){background:#101112}
.projects-section .cover img[src="/assets/ai/portfolio-homepage.webp"]{object-fit:contain;object-position:center}

/* AI exhibition artwork stays complete in the approved card frame. */
.projects-section .cover:has(img[src="/assets/ai-exploration/chrome-loop.webp"]){background:#000}
.projects-section .cover img[src="/assets/ai-exploration/chrome-loop.webp"]{object-fit:contain;object-position:center}
