.back-home { display: block; text-align: center; padding: 16px; color: var(--text-dim); font-family: 'DM Sans',sans-serif; font-size:.85rem; letter-spacing: 2px; border-bottom: 1px solid var(--line); }
.back-home:hover { color: var(--copper-light); }
.album-header { text-align: center; padding: 50px 20px 20px; }
.album-header h1 { font-family: 'Bodoni Moda', Georgia, serif; font-weight: 500; font-size: clamp(1.7rem, 4vw, 2.5rem); color: var(--text); margin-bottom: 10px; letter-spacing: -.5px; }
.album-header p { color: var(--text-dim); max-width: 600px; margin: 0 auto; line-height: 1.5; }

.gallery { padding: 30px 16px 60px; max-width: 1200px; margin: 0 auto; }
.gallery-grid {
  display: grid; gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  grid-auto-rows: 220px;
  grid-auto-flow: dense;
}
.gallery .empty-msg { text-align: center; color: var(--text-dim); padding: 40px 20px; font-style: italic; }
.gallery-item {
  background: #000; overflow: hidden; border-radius: 6px;
  position: relative; cursor: pointer;
  transition: transform .25s;
}
.gallery-item:hover { transform: scale(1.02); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-item.video-thumb { display: flex; align-items: center; justify-content: center; background: #000 center/cover no-repeat; }
.gallery-item.video-thumb::after {
  content: '▶'; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.35); color: #fff; font-size: 4rem; opacity: .85;
  transition: opacity .2s;
}
.gallery-item.video-thumb:hover::after { opacity: 1; background: rgba(0,0,0,.55); }
.gallery-item.wide { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }

/* Lightbox */
.lb {
  position: fixed; inset: 0; background: rgba(0,0,0,.95);
  display: none; align-items: center; justify-content: center;
  z-index: 100; padding: 20px;
}
.lb.show { display: flex; }
.lb img { max-width: 95vw; max-height: 90vh; object-fit: contain; }
.lb iframe { width: min(95vw, 1200px); aspect-ratio: 16/9; max-height: 90vh; border: 0; }
.lb-close, .lb-nav { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: none; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; font-size: 1.5rem; display: flex; align-items: center; justify-content: center; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.25); }
.lb-counter { position: absolute; top: 20px; left: 20px; color: rgba(255,255,255,.7); font-size: .85rem; font-family: 'DM Sans',sans-serif; letter-spacing: 1px; }

@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery-item.wide, .gallery-item.tall { grid-column: span 1; grid-row: span 1; }
}
