.hes-logo{width:118px;height:40px;object-fit:contain;display:block}
.nav-links{display:flex;align-items:center;gap:24px;font-size:15px}
.gallery-nav{color:#fff;text-decoration:none;font-weight:600}
.gallery-nav:hover{text-decoration:underline;text-underline-offset:5px}
.project-gallery{background:var(--chalk)}
.gallery-heading p{max-width:40em;color:var(--muted);margin:20px 0 30px}
.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.project-card{display:block;text-decoration:none;background:var(--char);color:#fff;overflow:hidden;border-radius:2px}
.project-card img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:center 65%;transition:transform .25s}
.project-card:hover img{transform:scale(1.025)}
.project-card>span{display:flex;justify-content:space-between;gap:12px;padding:16px 18px;font-size:15px;font-weight:600}
.project-card>span>span{color:var(--accent)}
.all-photos{font:600 16px/1.4 "Work Sans",system-ui,sans-serif;border:0;border-bottom:4px solid #A60A16;cursor:pointer;margin-top:26px}
.all-photos[hidden]{display:none}
.contact-actions{display:flex;align-items:center;flex-wrap:wrap;gap:20px 28px}
.email-link{font-weight:600;text-underline-offset:5px;overflow-wrap:anywhere}
.footer-brand{display:flex;align-items:center;flex-wrap:wrap;gap:16px}
.footer-brand img{display:block;width:106px;height:36px;object-fit:contain}
.photo-viewer{position:fixed;inset:0;width:min(1040px,calc(100% - 32px));max-height:calc(100dvh - 32px);padding:0;border:1px solid #555;border-radius:4px;background:var(--char);color:#fff;overflow:auto;box-shadow:0 20px 80px #0008}
.photo-viewer::backdrop{background:rgba(0,0,0,.86)}
.viewer-top{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:12px 20px;font-size:14px;color:#dcdad4}
.viewer-close{display:flex;align-items:center;gap:10px;color:#fff;background:transparent;border:1px solid #777;border-radius:2px;min-height:44px;padding:5px 12px;font:600 14px/1.4 "Work Sans",system-ui,sans-serif;cursor:pointer}
.viewer-close span{font-size:24px;line-height:1}
.viewer-stage{position:relative;display:flex;justify-content:center;align-items:center;min-height:260px;background:#17181a}
.viewer-stage img{display:block;width:auto;max-width:100%;height:auto;max-height:calc(100dvh - 210px);object-fit:contain}
.viewer-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:1;background:rgba(0,0,0,.75);color:#fff;border:1px solid #9b9b9b;border-radius:2px;width:46px;height:54px;cursor:pointer;font:400 36px/1 system-ui,sans-serif}
.viewer-arrow.previous{left:10px}.viewer-arrow.next{right:10px}
.viewer-caption{padding:18px 20px 22px}
.viewer-caption h3{font-size:1.8rem;line-height:1.1}
.viewer-caption p{font-size:14px;color:#dcdad4;margin:8px 0 0}
@media(max-width:700px){.project-grid{grid-template-columns:1fr;gap:18px}.project-card img{aspect-ratio:16/10}.project-card>span{font-size:16px}.photo-viewer{width:calc(100% - 16px);max-height:calc(100dvh - 16px)}.viewer-stage img{max-height:calc(100dvh - 230px)}.viewer-top{padding:10px 14px}.viewer-caption{padding:16px}.viewer-arrow{width:42px;height:48px}.viewer-arrow.previous{left:6px}.viewer-arrow.next{right:6px}}
@media(max-width:600px){.mark small{display:none}.hes-logo{width:100px;height:34px}.nav-links{gap:14px;font-size:13px}.contact .btn{font-size:1.1rem}.footer-brand{gap:14px}}
@media(prefers-reduced-motion:reduce){.project-card img{transition:none}.project-card:hover img{transform:none}}
