.pmdg-project-gallery { border-top:1px solid var(--line,#d5d3d0); background:#fff; }
.pmdg-project-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:40px; margin-bottom:40px; }
.pmdg-project-heading h2 { font-size:clamp(38px,5.5vw,80px); line-height:1.05; text-wrap:balance; }
.pmdg-project-heading>p { max-width:36ch; color:#515151; font-size:16px; line-height:1.7; margin:0; }
.pmdg-project-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:36px 26px; }
.pmdg-project-card { min-width:0; }
.pmdg-project-card-link { display:block; color:inherit; text-decoration:none; }
.pmdg-project-card-link:focus-visible { outline:2px solid #b80000; outline-offset:6px; }
.pmdg-project-card figure { margin:0 0 22px; aspect-ratio:4/3; overflow:hidden; background:var(--paper,#f4f3f0); }
.pmdg-project-photo { display:block; width:100%; height:100%; object-fit:cover; transition:transform .35s ease; }
.pmdg-project-card-link:hover .pmdg-project-photo { transform:scale(1.025); }
.pmdg-project-card-copy h3 { font-size:clamp(26px,2.3vw,36px); line-height:1.16; margin:0 0 14px; overflow-wrap:anywhere; }
.pmdg-project-meta { display:flex; flex-wrap:wrap; gap:5px 16px; font-size:13px; line-height:1.6; color:#555; margin:0 0 12px; }
.pmdg-project-meta span { min-width:0; overflow-wrap:anywhere; }
.pmdg-project-excerpt { font-size:16px; line-height:1.7; color:#515151; margin:0 0 18px; }
.pmdg-project-read { display:inline-flex; align-items:center; gap:12px; min-height:44px; color:#b80000; font-size:14px; line-height:1.5; font-weight:600; }
.pmdg-project-hero { margin:28px 0 36px; background:var(--paper,#f4f3f0); }
.pmdg-project-single-photo { display:block; width:100%; height:auto; }
.pmdg-project-story { font-size:17px; line-height:1.75; }
.pmdg-project-story p { max-width:72ch; margin-bottom:22px; }
.pmdg-project-next { border-top:1px solid var(--line,#d5d3d0); margin-top:54px; padding-top:34px; }
.pmdg-project-next h2 { font-size:clamp(32px,4vw,48px); line-height:1.12; margin-bottom:18px; }
.pmdg-project-next p { max-width:65ch; font-size:16px; line-height:1.7; }
@media(max-width:1050px) { .pmdg-project-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:700px) {
 .pmdg-project-heading { display:block; }
 .pmdg-project-heading>p { margin-top:24px; max-width:none; }
 .pmdg-project-grid { grid-template-columns:minmax(0,1fr); gap:36px; }
 .pmdg-project-card figure { margin-bottom:18px; }
 .pmdg-project-story { font-size:16px; }
}
@media(prefers-reduced-motion:reduce) { .pmdg-project-photo { transition:none; } .pmdg-project-card-link:hover .pmdg-project-photo { transform:none; } }
