/* /gallery: The League photo wall. Masonry by CSS columns, tap opens a full-size viewer. */
.gl { padding-block: clamp(32px, 5vw, 56px); }
.gl-grid { columns: 4 240px; column-gap: 10px; }
.gl-item { margin: 0 0 10px; break-inside: avoid; }
.gl-item a { display: block; position: relative; overflow: hidden; background: var(--raised); }
.gl-item img { display: block; width: 100%; height: auto; transition: transform .5s ease, filter .3s; }
.gl-item a:hover img { transform: scale(1.03); filter: brightness(1.08); }
.gl-item a:focus-visible { outline: 2px solid var(--brass-lt); outline-offset: 2px; }
.gl-credit { margin: 18px 0 0; text-align: center; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.gl-cta { margin: clamp(32px, 5vw, 52px) auto 0; max-width: 560px; text-align: center; padding: 28px 20px; border: 1px solid var(--line); background: var(--raised); }
.gl-cta p { margin: 0 0 18px; font-size: 15px; line-height: 1.6; color: var(--cream); }
.gl-cta a:not(.btn) { color: var(--brass-lt); }

.gl-box { position: fixed; inset: 0; z-index: 200; background: rgba(5,5,4,.96); display: flex; align-items: center; justify-content: center; }
.gl-box[hidden] { display: none; }
.gl-box img { max-width: calc(100vw - 32px); max-height: calc(100vh - 96px); max-height: calc(100dvh - 96px); object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.gl-x, .gl-nav { position: absolute; background: none; border: 0; color: var(--cream); cursor: pointer; font-family: var(--sans); line-height: 1; }
.gl-x { top: 12px; right: 16px; font-size: 40px; width: 52px; height: 52px; }
.gl-nav { top: 50%; transform: translateY(-50%); font-size: 64px; width: 56px; height: 96px; opacity: .8; }
.gl-nav:hover, .gl-x:hover { color: var(--brass-lt); opacity: 1; }
.gl-prev { left: 4px; } .gl-next { right: 4px; }
@media (max-width: 600px) { .gl-grid { columns: 2; column-gap: 6px; } .gl-item { margin-bottom: 6px; } .gl-nav { font-size: 44px; width: 44px; } }
