
.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.project-card{min-width:0;border:1px solid #b08d5755;border-radius:14px;overflow:hidden;background:#fffaf2;color:#18202a}.project-card>a{display:block;height:100%;text-decoration:none;color:inherit}.project-card img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover}.project-card-body{padding:20px}.project-card h3{font-size:1.2rem;line-height:1.35;margin:0 0 10px}.project-card p{font-size:.95rem;line-height:1.6;margin:0 0 12px}.project-card .project-location{color:#78591f;font-size:.85rem}.project-card .project-read{font-weight:700;color:#78591f}.project-card a:hover .project-read{text-decoration:underline}.project-card a:focus-visible,.project-more summary:focus-visible{outline:3px solid #b08d57;outline-offset:4px}.project-more{margin-top:24px}.project-more summary{cursor:pointer;list-style:none;width:fit-content;padding:12px 20px;border:1px solid #b08d57;border-radius:8px;font-weight:700}.project-more summary::-webkit-details-marker{display:none}.project-more .when-open{display:none}.project-more[open] .when-open{display:inline}.project-more[open] .when-closed{display:none}.project-more .project-grid{margin-top:24px}.project-index-link{display:inline-block;margin-top:24px;color:inherit}.case-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0}.case-gallery figure{margin:0;min-width:0}.case-gallery button{display:block;width:100%;padding:0;border:0;border-radius:10px;overflow:hidden;cursor:zoom-in;background:#f5efe5}.case-gallery img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;max-height:none;background:transparent}.case-gallery figcaption{font-size:.85rem;line-height:1.5;margin-top:8px}.case-lightbox{width:min(1000px,94vw);max-height:94dvh;padding:16px;background:#fffaf2;border:1px solid #b08d57;border-radius:12px;color:#18202a}.case-lightbox::backdrop{background:rgba(15,18,23,.8)}.case-lightbox .photo-close{display:block;margin:0 0 12px auto;padding:10px 16px;border:1px solid #b08d57;border-radius:6px;background:#fffaf2;color:#18202a;cursor:pointer}.case-lightbox img{display:block;width:100%;height:auto;max-height:72dvh;object-fit:contain;background:transparent}.case-lightbox p{margin:12px 0 0}.case-directory .advice-article{max-width:1200px}
@media(max-width:800px){.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.case-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.project-grid{grid-template-columns:1fr;gap:20px}.project-card-body{padding:18px}.case-gallery{gap:12px}.case-gallery figcaption{font-size:.8rem}}
