.projects-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:55px 24px}
.project-card{min-width:0}
.project-open{display:block;width:100%;padding:0;border:0;background:transparent;text-align:left}
.project-open:focus-visible{outline:3px solid #9e926c;outline-offset:5px}
.project-art{display:block;width:100%;height:auto;aspect-ratio:4/4.5;background:#d7d7d1}
.project-art img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.project-open:hover .project-art img,.project-open:focus-visible .project-art img{transform:scale(1.045)}
.project-view{position:absolute;bottom:0;right:0;background:#323639;color:#fff;padding:15px 16px;font-size:10px;letter-spacing:.13em;font-weight:700;transition:background .2s}
.project-open:hover .project-view{background:#9e926c}
.project-card h3{font-family:Montserrat,Arial,sans-serif;font-size:clamp(22px,2vw,29px);font-weight:700}
.project-card p{line-height:1.5}
.project-invitation{grid-column:span 2;align-self:stretch;min-height:360px;background:#323639;color:#f4f2eb;padding:clamp(30px,5vw,70px);display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between}
.project-invitation>span,.dialog-label{font-size:10px;font-weight:700;letter-spacing:.2em;color:#c8b98b}
.project-invitation h3{font-family:Montserrat,Arial,sans-serif;font-size:clamp(37px,4.2vw,65px);line-height:1.07;letter-spacing:-.055em;font-weight:700;margin:25px 0}
.project-invitation h3 em{font-family:Georgia,serif;font-weight:400}
.project-invitation .button{background:#9e926c;color:white}
.project-invitation .button:hover{background:#b1a47e}
.project-dialog{border:0;padding:0;background:#f4f2eb;color:#323639;width:min(92vw,1040px);max-width:none;max-height:min(95vh,1100px);box-shadow:0 30px 100px #0006}
.project-dialog::backdrop{background:#161b1de0}
.dialog-shell{padding:clamp(18px,3vw,35px)}
.dialog-top,.dialog-bottom{display:flex;justify-content:space-between;align-items:center;gap:20px}
.dialog-top{margin-bottom:17px}
.dialog-top h2{font-family:Montserrat,Arial,sans-serif;font-size:clamp(24px,3vw,36px);font-weight:700;letter-spacing:-.04em;margin:7px 0 0}
.dialog-close{border:1px solid #c9c9c3;background:transparent;color:#323639;width:45px;height:45px;font-size:18px;flex:none}
.dialog-close:hover,.dialog-nav:hover{background:#9e926c;color:white;border-color:#9e926c}
.dialog-image-wrap{height:min(68vh,680px);min-height:260px;position:relative;background:#deded8;display:flex;justify-content:center;align-items:center;overflow:hidden}
.dialog-image-wrap img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.dialog-nav{position:absolute;top:50%;transform:translateY(-50%);height:46px;width:46px;border:1px solid #e3e5e6;background:#323639e6;color:#fff;font-size:23px}
.dialog-prev{left:12px}.dialog-next{right:12px}
.dialog-bottom{padding-top:14px;font-size:12px;letter-spacing:.03em}
.dialog-bottom p{margin:0}.dialog-bottom span{font-weight:700;white-space:nowrap}
@media(max-width:1050px){.projects-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.project-invitation{grid-column:span 1}}
@media(max-width:640px){.projects-grid{grid-template-columns:1fr;gap:40px}.project-art{aspect-ratio:5/4.5}.project-invitation{grid-column:auto;min-height:300px}.project-dialog{width:100vw;max-height:100dvh;height:100dvh}.dialog-shell{height:100%;display:flex;flex-direction:column}.dialog-image-wrap{flex:1;min-height:0;height:auto}.dialog-nav{width:42px;height:42px}.dialog-bottom{min-height:40px}}
@media(prefers-reduced-motion:reduce){.project-art img{transition:none}}
