/* Existing case-study components; latest approved charcoal card treatment. */
.portfolio-expanded .proof-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
.portfolio-expanded .proof-cell{background:#222;color:#f4f3ef}
.portfolio-expanded .proof-cell b{color:#ffcd00;font-size:clamp(1.25rem,2vw,2rem);line-height:1.15}
.portfolio-expanded .proof-cell span{color:#c5c0b6}
.portfolio-expanded .work-proof .section-title{margin-bottom:24px}
.portfolio-expanded .work-proof .copy p+.section-title{margin-top:40px}
.portfolio-expanded .next-card{background:#222;color:#f4f3ef}
.portfolio-expanded .next-card strong{color:#ffcd00}
.portfolio-expanded .next-card span{color:#c5c0b6}
.portfolio-expanded .next-card:hover,.portfolio-expanded .next-card:focus-visible{background:#050505}
.portfolio-expanded .next-card img{aspect-ratio:3/2;object-fit:cover;width:100%}
.portfolio-expanded .portfolio-detail-image img{width:100%;height:auto;display:block}
@media(max-width:600px){.portfolio-expanded .proof-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.portfolio-expanded .proof-strip .proof-cell:nth-child(n){background:#222;color:#f4f3ef}
.portfolio-expanded .proof-strip .proof-cell:nth-child(n) b{color:#ffcd00}
.portfolio-expanded .proof-strip .proof-cell:nth-child(n) span{color:#c5c0b6}
.portfolio-expanded .portfolio-detail-image{margin-top:32px}
/* Override the legacy proof strip's forced colors within these pages only. */
body.portfolio-expanded .proof-strip{background:#151515!important}
body.portfolio-expanded .proof-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))!important}
body.portfolio-expanded .proof-cell:nth-child(n){background:#222!important}
body.portfolio-expanded .proof-cell:nth-child(n) b{color:#ffcd00!important;font-size:clamp(1.25rem,2vw,2rem)!important;line-height:1.15!important;text-transform:none!important;max-width:none}
body.portfolio-expanded .proof-cell:nth-child(n) span{color:#c5c0b6!important}
body.portfolio-expanded .next-card{background:#222!important}
body.portfolio-expanded .next-card strong{color:#ffcd00!important}
body.portfolio-expanded .next-card span{color:#c5c0b6!important}
body.portfolio-expanded .next-card:hover,body.portfolio-expanded .next-card:focus-visible{background:#050505!important}
@media(max-width:600px){body.portfolio-expanded .proof-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
.portfolio-expanded .project-artifacts .artifact-frame{height:auto!important;background:#222}
.portfolio-expanded .project-artifacts .artifact-frame img{height:auto!important;object-fit:contain;background:#222}
.portfolio-expanded .project-artifacts .artifact-card{background:#222;justify-content:flex-start;box-shadow:none}
.portfolio-expanded .project-artifacts figcaption{color:#f4f3ef;padding:18px 8px;line-height:1.5}
.portfolio-expanded .project-artifacts{align-items:flex-start}
