:root { color: #222; background: #f5f5f3; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.7; }
* { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.shell { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.site-header, .site-footer { background: #fff; }
.site-header .shell { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand { font-size: 1.35rem; font-weight: 700; letter-spacing: .04em; text-decoration: none; }
.category-nav { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0; padding: 0; list-style: none; font-size: .82rem; }
.site-main { min-height: calc(100vh - 160px); padding-block: 64px 80px; }
.page-header { margin-bottom: 40px; }
.page-header h1 { margin: 0; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.3; }
.eyebrow { margin: 0 0 8px; color: #666; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.works-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.work-card { overflow: hidden; background: #fff; border-radius: 4px; }
.work-card a { display: block; text-decoration: none; }
.work-card img, .image-placeholder { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.work-card h2 { margin: 0; padding: 18px 20px 22px; font-size: 1rem; }
.image-placeholder { display: grid; place-items: center; color: #777; background: #ddd; }
.image-placeholder-large { aspect-ratio: 16 / 9; }
.work-detail { max-width: 900px; margin-inline: auto; }
.main-image, .sub-image-grid figure { margin: 0; }
.main-image img, .sub-image-grid img { width: 100%; }
.description { margin-block: 36px 56px; padding: 28px; background: #fff; }
.sub-image-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.back-link { margin-top: 56px; }
.site-footer { padding-block: 24px; font-size: .85rem; }
@media (max-width: 700px) {
	.shell { width: min(100% - 28px, 1120px); }
	.site-header .shell { align-items: flex-start; flex-direction: column; padding-block: 20px; }
	.category-nav { flex-direction: column; }
	.site-main { padding-block: 40px 56px; }
	.works-grid, .sub-image-grid { grid-template-columns: 1fr; }
	.description { padding: 20px; }
}
