.works-heading{max-width:780px;margin-bottom:36px}.works-heading h2{font-size:clamp(32px,4vw,52px);margin:0 0 18px}.works-heading>p:last-child{line-height:1.7;color:var(--muted)}
.works-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:30px 20px}.work-card{min-width:0;display:flex;flex-direction:column}.work-card-image{aspect-ratio:3/4;position:relative;background:#e9e5df;overflow:hidden}.work-card-image img{width:100%;height:100%;object-fit:contain}.work-card-image>span{position:absolute;bottom:12px;right:12px;padding:7px 10px;background:#fff;color:var(--ink);font-size:13px}.work-card h3{font:23px/1.2 var(--serif);margin:20px 0 10px}.work-card p{font-size:15px;line-height:1.6;color:var(--muted);margin:0 0 15px}.work-card-more{margin-top:auto;color:var(--accent);font-size:14px}.work-card:hover .work-card-more{text-decoration:underline}.works-bottom{display:flex;flex-wrap:wrap;align-items:center;gap:24px;margin-top:36px}.works-bottom .button{white-space:normal;text-align:center;min-height:48px;justify-content:center}.works-contact{text-decoration:underline;line-height:1.6}
.work-viewer{width:min(980px,calc(100% - 24px));max-height:92vh;max-height:92dvh;padding:24px;border:0;background:var(--bg);color:var(--ink);overflow:auto}.work-viewer::backdrop{background:#000b}.work-viewer-top{display:flex;align-items:center;justify-content:space-between;gap:16px}.work-viewer-top h2{font:28px/1.2 var(--serif);margin:0}.work-close,.work-prev,.work-next{min-width:44px;min-height:44px;background:var(--paper);border:1px solid var(--line);cursor:pointer;font-size:24px;flex-shrink:0}.work-viewer-image{height:60vh;height:60dvh;margin:16px 0;background:#e9e5df}.work-viewer-image img{width:100%;height:100%;object-fit:contain}.work-viewer-controls{display:flex;align-items:center;justify-content:center;gap:22px}.work-viewer>p{line-height:1.6}.work-viewer-vk{display:inline-block;min-height:44px;line-height:1.6;text-decoration:underline}.works-section a:focus-visible,.work-viewer button:focus-visible,.work-viewer a:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
@media(max-width:1100px){.works-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.works-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.works-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 14px}.work-card-image{aspect-ratio:4/5}.work-card h3{font-size:21px}.works-bottom{flex-direction:column;align-items:stretch}.work-viewer{padding:16px}.work-viewer-top h2{font-size:23px}.work-viewer-image{height:52vh;height:52dvh}.works-bottom .button{padding:16px}}
.hero-works-link{display:inline-block;align-self:flex-start;margin-top:16px;padding:10px 0;min-height:44px;text-decoration:underline;text-underline-offset:4px}.works-section{scroll-margin-top:90px}
