.work-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 20px;align-items:start}.work-grid .project.offset{margin-top:0}.work-grid .project[hidden]{display:none}.work-grid .project-image{padding:8px;border-radius:5px}.work-grid .project-image img{aspect-ratio:4/5;object-fit:contain;box-shadow:none}.work-grid .project-caption{padding-top:12px;align-items:flex-start;gap:8px}.work-grid .project-caption h3{font-size:17px;letter-spacing:-.3px;margin-top:5px}.work-grid .project-caption span{font-size:9px;letter-spacing:.7px}.work-grid .project-caption p{font-size:12px;line-height:1.5;margin:6px 0 0}.work-grid .project-caption .project-index{font-size:18px}.gallery-pages{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:36px}.gallery-pages[hidden]{display:none}.gallery-pages button{min-width:44px;min-height:44px;border:1px solid #687158;border-radius:4px;background:transparent;color:#182012;cursor:pointer;padding:8px 14px}.gallery-pages button[aria-current="page"]{background:#242b1c;color:#fff;border-color:#242b1c}.gallery-pages button:disabled{opacity:.4;cursor:default}.gallery-status{text-align:center;font-size:13px;color:#59634f}.work-grid:focus{outline:none}@media(max-width:1000px){.work-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:560px){.work-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 12px}.work-grid .project-image{padding:4px}.work-grid .project-caption h3{font-size:14px}.work-grid .project-caption .project-index{display:none}.work-grid .project-caption span{font-size:8px}.work-grid .project-caption p{font-size:11px}}

.gallery-tools{margin:0 0 26px}
.gallery-tools[hidden]{display:none}
.gallery-tools>p:first-child{margin:0 0 13px;font-size:1rem}
.gallery-tools>p:first-child span{display:inline-block;margin-inline-start:7px;font-size:.875rem;color:#505948}
.gallery-filters{display:flex;flex-wrap:wrap;gap:8px}
.gallery-filters button{display:inline-flex;min-height:44px;align-items:center;gap:7px;border:1px solid #86917c;border-radius:5px;padding:8px 13px;background:transparent;color:#21301c;cursor:pointer;font:inherit;font-size:.9375rem;font-weight:600}
.gallery-filters button span{font-size:.875rem;font-weight:400;line-height:1.5}
.gallery-filters button:hover{border-color:#273421;background:#e1e5d9}
.gallery-filters button[aria-pressed="true"]{background:#273421;color:#fff;border-color:#273421}
.gallery-filters button:focus-visible,.gallery-pages button:focus-visible{outline:3px solid #946200;outline-offset:3px}
.gallery-tools .gallery-status{text-align:start;margin:13px 0 0;color:#485140;font-size:.875rem}
#portfolio-grid,.work-grid .project[id]{scroll-margin-top:88px}
@media(max-width:560px){.gallery-filters{gap:6px}.gallery-filters button{padding:7px 10px}.gallery-tools>p:first-child span{margin-inline-start:0;display:block}}
