/* ─── Album Header ───────────────────────────────── */
.album-header {
  padding-top: calc(var(--nav-h) + 56px);
  padding-bottom: 40px;
  padding-left: clamp(24px, 6vw, 100px);
  padding-right: clamp(24px, 6vw, 100px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.album-header-inner { max-width: 1400px; margin: 0 auto; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 24px;
}
.breadcrumb a { transition: color 0.2s; }
.breadcrumb a:hover { color: rgba(255,255,255,0.75); }
.breadcrumb span:last-child { color: rgba(255,255,255,0.65); }

.album-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.album-title {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.album-meta-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.album-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.6);
}

.album-sep { opacity: 0.3; }

.btn-back {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  padding: 8px 18px;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-back:hover {
  border-color: rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.9);
}

/* ─── Masonry Grid ───────────────────────────────── */
.album-main {
  padding: 40px clamp(24px, 6vw, 100px) 100px;
  max-width: 1400px;
  margin: 0 auto;
}

.masonry-grid {
  columns: 4;
  column-gap: 12px;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
  animation: fadeUp 0.4s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.masonry-item img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}

.masonry-item:hover img { transform: scale(1.04); }

.masonry-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 12px;
}

.masonry-item:hover .masonry-overlay { opacity: 1; }

.masonry-num {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.7);
}

/* ─── Lightbox ───────────────────────────────────── */
.album-lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.album-lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.94);
}

.lb-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: min(1100px, 90vw);
  max-height: 90vh;
}

.lb-img {
  max-width: 100%;
  max-height: calc(90vh - 48px);
  object-fit: contain;
  border-radius: 6px;
  display: block;
}

.lb-caption {
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.35);
}

.lb-close {
  position: fixed;
  top: 24px; right: 28px;
  z-index: 3;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
  font-size: 18px;
  width: 42px; height: 42px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.lb-close:hover { background: rgba(255,255,255,0.15); color: #fff; }

.lb-prev, .lb-next {
  position: fixed;
  top: 50%; transform: translateY(-50%);
  z-index: 3;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.75);
  font-size: 32px;
  width: 52px; height: 52px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.lb-prev { left: clamp(12px, 3vw, 40px); }
.lb-next { right: clamp(12px, 3vw, 40px); }
.lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,0.14); color: #fff; }

/* ─── Responsive ─────────────────────────────────── */
@media (max-width: 1200px) { .masonry-grid { columns: 3; } }
@media (max-width: 768px)  { .masonry-grid { columns: 2; } }
@media (max-width: 480px)  { .masonry-grid { columns: 1; } }

.active-link { color: #fff !important; opacity: 1 !important; }
