.detail .project-detail{width:85%;margin:0 auto;padding:137px 0 72px}
.detail .project-heading{margin:0 0 42px}
.detail .project-heading h1{font-size:22px;font-weight:500;line-height:1.7;letter-spacing:.8px;overflow-wrap:anywhere}
.detail .project-photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px;align-items:start}
.detail .project-photo{position:relative;isolation:isolate;display:block;min-width:0;width:100%;aspect-ratio:3/2;padding:0;border:0;overflow:hidden;background:#e9ece5;cursor:zoom-in;text-align:center}
.detail .project-photo>img{position:absolute;inset:0;display:block;width:100%;height:100%;max-height:none;aspect-ratio:auto;object-fit:cover;object-position:center;transition:transform .65s cubic-bezier(.2,.7,.2,1)}
.detail .project-copy{grid-column:1/-1;width:min(100%,780px);margin:20px auto;color:var(--muted);font-size:16px;line-height:2.1;white-space:pre-line;overflow-wrap:anywhere}
.detail .project-copy h2{font-size:22px;line-height:1.8;color:var(--ink)}
.detail .project-facts{display:flex;flex-wrap:wrap;gap:18px 56px;margin:44px 0 0;padding:24px 0 0;border-top:1px solid var(--line);font-size:13px;line-height:1.8;letter-spacing:.5px}
.detail .project-facts>div{display:flex;flex-wrap:wrap;gap:8px 18px}
.detail .project-facts dt{color:var(--muted)}
.detail .project-facts dd{margin:0}
.detail .project-detail .project-navigation{padding:42px 0 0;border:0;font-size:13px}
@media(max-width:1100px){
 .detail .project-detail{padding-top:120px}
 .detail .project-photo-grid{gap:24px}
}
@media(max-width:800px){
 .detail .project-detail{width:calc(100% - 48px)}
 .detail .project-heading{margin-bottom:32px}
 .detail .project-heading h1{font-size:20px}
 .detail .project-photo-grid{gap:22px}
}
@media(max-width:600px){
 .detail .project-detail{width:calc(100% - 40px);padding-top:106px;padding-bottom:52px}
 .detail .project-heading{margin-bottom:30px}
 .detail .project-heading h1{font-size:19px;line-height:1.8;letter-spacing:.4px}
 .detail .project-photo-grid{grid-template-columns:minmax(0,1fr);gap:24px}
 .detail .project-copy{margin:8px auto;font-size:15px}
 .detail .project-copy h2{font-size:20px}
 .detail .project-facts{margin-top:32px;padding-top:22px;gap:12px 24px;font-size:12px}
 .detail .project-detail .project-navigation{padding-top:28px;gap:16px}
}
@media(max-height:600px) and (orientation:landscape){
 .detail .project-detail{padding-top:92px}
}

.detail .project-photo:after{content:"";position:absolute;inset:0;z-index:1;background:rgba(23,29,23,.76);opacity:0;pointer-events:none;transition:opacity .42s ease}
.detail .project-photo-caption{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:32px;color:#fff;opacity:0;transform:translateY(10px);pointer-events:none;transition:opacity .35s ease,transform .5s cubic-bezier(.2,.7,.2,1)}
.detail .project-photo-title{max-width:100%;font-size:18px;font-weight:400;line-height:1.65;letter-spacing:.5px;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.detail .project-photo-category{font-size:13px;line-height:1.6;letter-spacing:1.5px;color:#f0f2eb}
.detail .project-photo-category:empty{display:none}
.detail .project-photo-line{width:70%;max-width:240px;height:1px;margin-top:3px;background:#ffffffb8;transform:scaleX(.4);transition:transform .55s cubic-bezier(.2,.7,.2,1)}
.detail .project-photo-open{position:absolute;right:24px;bottom:22px;z-index:2;display:grid;place-items:center;width:32px;height:32px;border:1px solid #ffffff70;border-radius:50%;color:#fff;font-family:Arial,sans-serif;font-size:19px;font-weight:400;line-height:1;opacity:0;transform:translateY(6px);pointer-events:none;transition:opacity .35s ease,transform .45s ease}
.detail .project-photo:focus-visible:after{opacity:1}
.detail .project-photo:focus-visible .project-photo-caption,.detail .project-photo:focus-visible .project-photo-open{opacity:1;transform:translateY(0)}
.detail .project-photo:focus-visible .project-photo-line{transform:scaleX(1)}
.detail .project-photo:focus-visible>img{transform:scale(1.045)}
@media(hover:hover) and (pointer:fine){
 .detail .project-photo:hover:after{opacity:1}
 .detail .project-photo:hover .project-photo-caption,.detail .project-photo:hover .project-photo-open{opacity:1;transform:translateY(0)}
 .detail .project-photo:hover .project-photo-line{transform:scaleX(1)}
 .detail .project-photo:hover>img{transform:scale(1.045)}
}
@media(max-width:1100px){
 .detail .project-photo-caption{padding:22px;gap:8px}
 .detail .project-photo-title{font-size:16px}
 .detail .project-photo-category{font-size:12px}
 .detail .project-photo-open{right:16px;bottom:16px;width:28px;height:28px;font-size:17px}
}
@media(hover:none), (pointer:coarse){
 .detail .project-photo-open{opacity:1;transform:none;background:#17201780;border-color:#ffffff90}
}
@media(prefers-reduced-motion:reduce){
 .detail .project-photo>img,.detail .project-photo:after,.detail .project-photo-caption,.detail .project-photo-line,.detail .project-photo-open{transition:none}
 .detail .project-photo:is(:hover,:focus-visible)>img{transform:none}
}
