.gallery-item {
aspect-ratio: 4/3;
border: none;
border-radius: var(--radius);
background: var(--panel);
display: flex; flex-direction: column; align-items: center; justify-content: center;
gap: 8px;
color: var(--muted);
position: relative;
overflow: hidden;
}
.gallery-item .glyph { font-size: 2rem; color: var(--muted); opacity: .5; }
.gallery-item .cap { font-size: .85rem; letter-spacing: 0; text-transform: none; color: var(--muted); text-align: center; padding: 0 16px; }
.gallery-item img {
width: 100%; height: 100%; object-fit: cover; display: block;
filter: none;
transition: transform .4s var(--ease);
}
.gallery-item:hover img { transform: scale(1.03); }
a.gallery-item { cursor: zoom-in; }
a.gallery-item:hover { box-shadow: 0 0 0 2px var(--brass); }
.gallery-item .cap-overlay {
position: absolute; left: 0; right: 0; bottom: 0;
background: linear-gradient(0deg, rgba(0,0,0,.72), transparent);
padding: 26px 14px 12px;
font-size: .8rem; letter-spacing: 0; text-transform: none; color: #fff;
text-align: center;
}
.video-link {
display: flex; align-items: center; gap: 14px;
border: none;
border-radius: var(--radius);
background: var(--panel);
padding: 18px 20px;
transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.video-link .play {
width: 38px; height: 38px; flex-shrink: 0;
border: none;
background: var(--accent-solid);
border-radius: 50%;
display: flex; align-items: center; justify-content: center;
color: #fff;
}
.video-link .meta { display: flex; flex-direction: column; }
.video-link .meta strong { color: var(--paper); font-weight: 600; font-size: 1rem; }
.video-link .meta span { color: var(--muted); font-size: .85rem; }
.video-link:hover { transform: translateY(-2px); background: var(--panel-2); text-decoration: none; }
.video-embed {
position: relative; width: 100%; aspect-ratio: 16/9;
background: var(--panel);
border: none; border-radius: var(--radius);
overflow: hidden;
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-facade {
position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; margin: 0;
display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
border: 0; border-radius: inherit; cursor: pointer;
background: var(--panel-2); color: var(--paper); font: inherit;
}
.video-facade:hover { background: var(--panel); }
.video-facade-play {
display: flex; align-items: center; justify-content: center;
width: 68px; height: 48px; border-radius: 12px;
background: var(--accent-solid); color: #fff; font-size: 22px; line-height: 1;
}
.video-facade-note { font-size: .85rem; color: var(--paper-dim); padding: 0 12px; text-align: center; }
.video-caption { margin-top: 12px; }
.video-caption strong { display: block; color: var(--paper); font-weight: 600; font-size: 1rem; margin-bottom: 2px; }
.video-caption span { color: var(--muted); font-size: .9rem; }
.photo-band .video-caption strong { color: #fff; }
.photo-band .video-caption span { color: var(--on-dark-dim); }
@media (prefers-reduced-motion: reduce) {
.video-link:hover, .gallery-item:hover img { transform: none; }
}
.grid > .video-link { align-self: start; }
.album-grid {
list-style: none; margin: 0; padding: 0;
display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px;
}
@media (max-width: 900px) { .album-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .album-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.album-card {
display: flex; flex-direction: column; height: 100%;
background: var(--panel); border-radius: var(--radius-lg); overflow: hidden;
color: var(--paper); transition: transform .25s var(--ease), background .25s var(--ease);
}
.album-card:hover { text-decoration: none; transform: translateY(-2px); background: var(--panel-2); color: var(--paper); }
.album-cover {
position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden;
background: radial-gradient(120% 90% at 30% 20%, #2c2c2e 0%, #161618 60%, #0b0b0c 100%);
}
.album-cover::before {
content: '\2663'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
font-size: 2.6rem; color: rgba(245, 245, 247, .14);
}
.album-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.album-card:hover .album-cover img { transform: scale(1.04); }
.album-meta { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 14px; }
.album-meta strong { font-size: .95rem; font-weight: 600; line-height: 1.3; }
.album-meta span { font-size: .8rem; color: var(--muted); }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
@media (max-width: 600px) { .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }
.photo-grid .gallery-item { aspect-ratio: 1 / 1; }
.gallery-item[data-fit="contain"] img { object-fit: contain; padding: 8px; }
.gallery-item.img-missing::before {
content: '\2660'; font-size: 2rem; color: rgba(245, 245, 247, .14);
}
.album-meta strong {
display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden;
}
.photo-grid .cap-overlay {
display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
font-size: .8125rem; padding: 22px 10px 8px; text-align: left;
}
@media (hover: hover) {
.photo-grid .cap-overlay { opacity: 0; transition: opacity .2s var(--ease); }
.photo-grid .gallery-item:hover .cap-overlay, .photo-grid .gallery-item:focus-visible .cap-overlay { opacity: 1; }
}
@media (max-width: 600px) { .photo-grid .cap-overlay { display: none; } }
.album-index { padding-bottom: 24px; }
.album-block { padding: 48px 0; scroll-margin-top: 64px; }
.album-block .section-head { margin-bottom: 22px; }
.album-block h2, .event-photos h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); }
.album-block + section:not(.album-block) { padding-top: 72px; }
.lightbox {
position: fixed; inset: 0; z-index: 400; display: none;
align-items: center; justify-content: center;
background: rgba(0, 0, 0, .96);
padding: 56px 64px;
}
.lightbox.open { display: flex; animation: lb-in .2s var(--ease); }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
html.lb-locked, html.lb-locked body { overflow: hidden; }
.lb-figure { margin: 0; display: flex; flex-direction: column; align-items: center; max-width: 100%; max-height: 100%; }
.lb-img {
max-width: 100%; max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px);
width: auto; height: auto; object-fit: contain; border-radius: var(--radius-sm); background: #111;
}
.lb-caption { margin-top: 12px; color: var(--on-dark-dim); font-size: .9rem; text-align: center; max-width: 70ch; }
.lb-count { color: var(--muted); margin-left: 8px; font-variant-numeric: tabular-nums; }
.lightbox button {
position: absolute; border: none; cursor: pointer; color: #fff;
background: rgba(255, 255, 255, .1); border-radius: 50%;
width: 46px; height: 46px; font-size: 1.7rem; line-height: 1;
display: flex; align-items: center; justify-content: center;
transition: background .2s var(--ease);
}
.lightbox button:hover { background: rgba(255, 255, 255, .22); }
.lightbox button[hidden] { display: none; }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
.lightbox { padding: 56px 8px 72px; }
.lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
.lb-prev { left: calc(50% - 58px); } .lb-next { right: calc(50% - 58px); }
}
@media (prefers-reduced-motion: reduce) {
.album-card:hover, .album-card:hover .album-cover img { transform: none; }
.lightbox.open { animation: none; }
}
@media (max-width: 900px), (pointer: coarse) {
.lightbox button { min-width: var(--tap); min-height: var(--tap); }
}
@media (forced-colors: active) {
.album-card, .gallery-item, .video-link, .video-facade {
border: 1px solid CanvasText;
}
}
@media (prefers-contrast: more) {
.album-card, .gallery-item, .video-link, .video-facade { border: 1px solid var(--line); }
}
.u-m-28px-0-14px { margin: 28px 0 14px !important; }
.u-m-36px-0-0 { margin: 36px 0 0 !important; }
.u-p-64px-0 { padding: 64px 0 !important; }
