/* Shared reading surfaces for the gallery and membership previews. */
.collection-surface { background:var(--paper); color:var(--ink); padding:clamp(30px,5vw,68px) 0 76px; }
.collection-inner { max-width:1180px; }
.collection-heading h2,.profile-section h2,.album-info h3,.album-pending h3,.viewer-heading h2 { margin:0; font:400 clamp(2rem,3vw,3.1rem)/1.12 var(--veneer); text-transform:uppercase; }
.collection-kicker { margin:0 0 8px; display:block; color:#8c391c; font-size:.75rem; line-height:1.4; font-weight:650; letter-spacing:.12em; text-transform:uppercase; }
.collection-heading > p:last-child,.profile-section > p,.album-pending p { color:#554a41; line-height:1.65; }
.collection-note { margin:0 0 24px; padding:14px 18px; background:#e9e4da; border-left:3px solid #a54722; border-radius:6px; font-size:.93rem; line-height:1.6; }
.collection-heading { margin-bottom:24px; }
.album-grid,.profile-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; }
.album-card,.profile-card { background:#fff; border:1px solid #ded8cd; border-radius:9px; min-width:0; }
.album-link { display:block; overflow:hidden; height:100%; border-radius:inherit; }
.album-cover { display:grid; place-items:center; aspect-ratio:1.9; overflow:hidden; background:#17130f; }
.album-cover img { display:block; width:100%; height:100%; min-height:0; object-fit:contain; }
.album-cover--rodeo-2026 img { object-fit:cover; object-position:center 48%; }
.album-info { padding:22px 24px; }
.album-info h3 { font-size:clamp(1.85rem,2.7vw,2.6rem); }
.album-open,.collection-cta a { display:inline-block; margin-top:16px; color:#89340f; font-weight:600; }
.album-open span { margin-left:6px; }
.album-link:hover .album-open,.collection-cta a:hover { text-decoration:underline; }
.album-pending { margin-top:26px; padding:22px 0 0; border-top:1px solid #d2c9bc; }
.album-pending h3 { font-size:1.8rem; }
.album-pending p { margin:8px 0 0; }
.collection-jumps { display:flex; flex-wrap:wrap; gap:8px; }
.collection-jumps a { display:flex; align-items:center; min-height:44px; padding:8px 15px; border:1px solid #d5cbbf; border-radius:8px; background:white; font-weight:500; }
.collection-jumps a:hover { text-decoration:underline; }
.profile-section { margin-top:34px; }
.profile-section h2 { margin:0 0 14px; font-size:clamp(1.8rem,2.4vw,2.4rem); }
.profile-card { display:flex; gap:16px; align-items:flex-start; padding:20px; }
.profile-avatar { flex:none; display:grid; place-items:center; width:60px; height:68px; border-radius:8px; color:#fff; background:var(--profile-accent,#125e60); font:400 1.9rem/1 var(--veneer); }
.profile-details h3 { margin:0; font-weight:600; font-size:1.2rem; }
.profile-details p { margin:8px 0 0; color:#534a40; font-size:.97rem; line-height:1.55; }
.profile-details .profile-role { margin:2px 0 0; color:var(--profile-accent); font-size:.85rem; font-weight:600; }
.collection-cta { margin:24px 0 0; border-top:1px solid #d2c9bc; }
@media(max-width:680px) { .album-grid,.profile-grid { grid-template-columns:minmax(0,1fr); gap:14px; } .profile-card { padding:16px; } .album-info { padding:18px; } .viewer-heading,.album-viewer figcaption { padding:14px; } }

/* Album pages use a standard three-column image gallery and lightbox. */
.album-back { display:inline-block; min-height:44px; color:#89340f; font-weight:600; }
.album-intro { margin:10px 0 24px; color:#554a41; line-height:1.65; }
.album-intro p { margin:0; }
.album-photo-count { margin-top:6px!important; color:#71665b; font-size:.9rem; }
.image-gallery { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px 18px; }
.gallery-thumbnail { min-width:0; margin:0; }
.gallery-thumbnail a { display:block; overflow:hidden; border-radius:9px; background:#17130f; }
.gallery-thumbnail img { display:block; width:100%; height:auto; aspect-ratio:4/3; object-fit:cover; transition:filter .2s; }
.gallery-thumbnail a:hover img { filter:brightness(.9); }
.gallery-thumbnail figcaption { margin-top:8px; color:#65594d; font-size:.9rem; line-height:1.5; }
.image-viewer { position:fixed; inset:0; width:100vw; height:100dvh; max-width:none; max-height:none; margin:0; padding:0; border:0; background:rgba(10,10,10,.98); color:#fff; }
.image-viewer::backdrop { background:#000d; }
.image-viewer__toolbar { display:flex; align-items:center; justify-content:space-between; min-height:64px; padding:10px 24px; }
.image-viewer__toolbar button,.viewer-controls button { min-height:44px; padding:9px 14px; border:1px solid #ffffff5e; border-radius:7px; background:#222; color:white; font:inherit; cursor:pointer; }
.image-viewer figure { display:flex; flex-direction:column; align-items:center; justify-content:center; height:calc(100dvh - 80px); margin:0 70px; }
.image-viewer figure img { display:block; max-width:100%; min-height:0; height:auto; max-height:calc(100dvh - 180px); object-fit:contain; }
.image-viewer figcaption { max-width:80ch; padding:16px 0; color:#e4e0db; font-size:.95rem; line-height:1.5; text-align:center; }
.viewer-controls:not([hidden]) { position:absolute; top:46%; left:15px; right:15px; display:flex; justify-content:space-between; pointer-events:none; }
.viewer-controls button { pointer-events:auto; }
.image-viewer button:focus-visible { outline:3px solid #ff9700; outline-offset:3px; }
@media(max-width:900px) { .image-gallery { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:540px) { .image-gallery { grid-template-columns:1fr; gap:20px; } .image-viewer figure { margin:0 16px; } .viewer-controls:not([hidden]) { top:auto; bottom:8px; } .image-viewer figure img { max-height:calc(100dvh - 250px); } }
@media(prefers-reduced-motion:reduce) { .gallery-thumbnail img { transition:none; } }

.album-cover--dmc-boys img { object-fit:cover; object-position:center 30%; }
