/* Full artwork, preserving portrait and landscape formats. */
.works-page details summary{display:grid;grid-template-columns:64px 150px minmax(0,1fr) 34px;gap:30px;align-items:center;padding:30px 0;min-height:210px}
.work-poster{display:flex;align-items:center;justify-content:center;width:150px;min-width:0}
.work-poster img{display:block;width:auto;max-width:100%;height:auto;max-height:210px;object-fit:contain;filter:drop-shadow(0 5px 7px #17221c18);transition:transform .3s ease}
.works-page summary:hover .work-poster img{transform:translateY(-3px)}
.works-page .work-summary{min-width:0}.works-page .work-title{line-height:1.65}.works-page .work-meta{margin-top:14px;line-height:1.9}
.works-page .work-detail{margin-left:244px;margin-right:64px}
@media(max-width:900px){.works-page details summary{grid-template-columns:46px 112px minmax(0,1fr) 28px;gap:20px}.work-poster{width:112px}.work-poster img{max-height:158px}.works-page .work-detail{margin-left:0;margin-right:0}}
@media(max-width:600px){.works-page details summary{grid-template-columns:86px minmax(0,1fr) 24px;column-gap:16px;row-gap:8px;padding:22px 0;min-height:162px}.works-page .work-year{grid-column:2;grid-row:1;align-self:end;font-size:15px}.work-poster{grid-column:1;grid-row:1/3;width:86px}.work-poster img{max-height:130px}.works-page .work-summary{grid-column:2;grid-row:2;align-self:start}.works-page .work-toggle{grid-column:3;grid-row:1/3}.works-page .work-title{font-size:13px;line-height:1.65}.works-page .work-meta{font-size:10px;margin-top:8px}.works-page .credit{font-size:9px;line-height:1.6}.works-page .work-detail{padding-bottom:22px}}
@media(prefers-reduced-motion:reduce){.work-poster img{transition:none}.works-page summary:hover .work-poster img{transform:none}}

.work-photo-badge{display:inline-block;width:fit-content;font-size:10px;letter-spacing:.06em;margin-top:9px;border:1px solid #8e9990;border-radius:2px;padding:3px 7px;line-height:1.4}.work-photo-link{display:inline-block;font-size:14px;margin:0 0 25px;padding:10px 0;border-bottom:1px solid currentColor}.work-photo-link:hover{opacity:.65}.curated-project{scroll-margin-top:100px}

/* Align artwork edges by width, retaining each complete original. */
.works-page .work-poster img{width:100%;max-width:100%;height:auto;max-height:none;transform:none!important;transition:none}

/* Remove the scanned black edge from this poster only. */
.work-poster img[src="assets/posters/work-37.webp"]{clip-path:inset(0 1% 0 0)}

/* Crop only the prince's landscape thumbnail to A4 portrait proportions. */
.works-page .work-poster.prince-a4{aspect-ratio:210/297;overflow:hidden;filter:drop-shadow(0 5px 7px #17221c18)}
.works-page .work-poster.prince-a4 img{width:100%;height:100%;max-height:none;max-width:none;object-fit:cover;object-position:50% 50%;filter:none}
.works-page summary:hover .work-poster.prince-a4 img{transform:none}
