.gmain {padding-block:clamp(2rem,5vw,4.5rem)}
.gintro {border-bottom:1px solid var(--rule);padding-bottom:1.3rem}
.gintro h1 {font:400 clamp(3.1rem,7vw,6.8rem)/.98 var(--serif);letter-spacing:-.035em}
.gintro p {color:var(--sub);max-width:51ch;margin-top:.65rem}
.gfilters {display:flex;flex-wrap:wrap;gap:.5rem;padding-top:1.15rem}
.gfilters button,.gviewer button {
  cursor:pointer;border:1px solid #aaa99b;border-radius:2rem;min-height:44px;padding:.5rem .9rem;background:transparent;
}
.gfilters [aria-pressed=true] {background:var(--charcoal);color:#fff;border-color:var(--charcoal)}
.gfilters button:not([aria-pressed=true]):hover {background:#ece7dc}
.gcount {margin:.8rem 0 .95rem;color:var(--sub);font-size:.9rem}
.ggrid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(.9rem,2vw,1.65rem)}
.ggrid figure {border:1px solid #ded8cc;border-radius:.55rem;overflow:hidden;background:#fffdfa}
.gphoto {display:grid;place-items:center;aspect-ratio:4/3;background:#f0ede6;padding:.55rem;cursor:zoom-in}
.gphoto:focus-visible {outline-offset:-4px}
.gphoto img {width:100%;height:100%;min-height:0;object-fit:contain}
.ggrid figcaption {display:grid;gap:.12rem;padding:.7rem .85rem .9rem}
.ggrid figcaption small {color:var(--sub);font-size:.78rem}
.ggrid figcaption span {font:400 clamp(1.28rem,1.85vw,1.75rem)/1.13 var(--serif)}
.gallery-more {text-align:center;margin-top:1.5rem}
.gallery-more .button {cursor:pointer;background:var(--charcoal);color:white}
.gallery-more .button:hover {background:var(--charcoal-hover)}
.gcontact {margin-top:2.5rem;padding:clamp(1.5rem,4vw,3.7rem);background:var(--charcoal);color:white;border-radius:.55rem}
.gcontact h2 {font:400 clamp(2rem,4vw,3.8rem)/1.05 var(--serif)}
.gcontact p {margin:.8rem 0 1.3rem}
.gviewer {background:#212121;color:white;width:min(58rem,96vw);max-height:94dvh;overflow:auto;border:0;padding:1rem;border-radius:.5rem}
.gviewer::backdrop {background:#151512dc}
.gviewer header,.gtools {display:flex;align-items:center;justify-content:space-between;gap:.6rem}
.gviewer button {color:white}
.gfull {display:block;width:100%;height:auto;max-height:62dvh;object-fit:contain;margin:.7rem auto}
.gfull[src$="/2501.png"],.gfull[src$="/2585.webp"] {background:white}
.gtools {margin-top:.6rem;text-align:center}
.gtools button {font-size:1.3rem}
.gask {display:block;text-align:center;color:#f0d798;text-decoration:underline;text-underline-offset:.25em;margin:.8rem 0 .3rem}
@media (max-width:800px) {
  .ggrid {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:540px) {
  .ggrid {grid-template-columns:1fr}
  .gphoto {aspect-ratio:3/2;padding:.36rem}
  .gfilters button {font-size:.9rem;padding-inline:.65rem}
  .gcontact .button {white-space:normal}
}
