/* Gallery page */
body { background: var(--ebony); }
.gal-main { padding: 110px 0 70px; }
.gal-head { margin-bottom: clamp(22px, 3vw, 38px); }
.gal-head h1 { font: 400 clamp(32px, 4.4vw, 56px)/1.08 var(--serif); letter-spacing: -.005em; }
.gal-head p { margin-top: 12px; color: var(--dust); font-size: 16px; }
.gal-grid { columns: 3; column-gap: 12px; }
.gal-grid .g { display: block; break-inside: avoid; margin: 0 0 12px; border-radius: 8px; overflow: hidden; border: 1px solid rgba(212, 162, 76, .22); background: var(--lacquer-2); }
.gal-grid .g img { display: block; width: 100%; height: auto; transition: transform .35s ease, opacity .2s; }
.gal-grid .g:hover img { transform: scale(1.03); }
.gal-grid .g:focus-visible { outline: 2px solid var(--brass-hi, #e8bd6a); outline-offset: 2px; }
.gal-end { margin-top: clamp(34px, 5vw, 60px); padding-top: 30px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.gal-end p { color: var(--dust); max-width: 46ch; }
.gal-end .cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(6, 5, 4, .95); display: flex; align-items: center; justify-content: center; padding: 56px 12px; }
.lb[hidden] { display: none; }
.lb img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; }
.lb button { position: absolute; background: rgba(20, 18, 14, .7); border: 1px solid rgba(212, 162, 76, .4); color: var(--ivory); border-radius: 999px; width: 44px; height: 44px; font-size: 26px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lb button:hover { border-color: var(--brass-hi, #e8bd6a); }
.lb-x { top: max(12px, env(safe-area-inset-top, 0px)); right: 14px; }
.lb-p { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-f { right: 10px; top: 50%; transform: translateY(-50%); }
@media (max-width: 900px) { .gal-grid { columns: 2; } }
@media (max-width: 480px) { .gal-grid { column-gap: 8px; } .gal-grid .g { margin-bottom: 8px; } .gal-main { padding-top: 96px; } .lb-n { width: 38px; height: 38px; } }
@media (prefers-reduced-motion: reduce) { .gal-grid .g img { transition: none; } }
