/* ── GALLERY PAGE ── */

.gallery-note {
  font-size: 12px;
  color: var(--c-stone);
  margin-bottom: 18px;
  font-style: italic;
}
.gallery-note strong { color: var(--c-blush); }

/* TABS */
.gallery-tabs {
  display: flex; gap: 6px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.g-tab {
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--c-stone);
  background: rgba(40,32,40,0.5);
  border: 1px solid rgba(184,176,184,0.12);
  border-radius: var(--radius);
  padding: 6px 16px;
  cursor: pointer;
  transition: all var(--transition);
}
.g-tab:hover { color: var(--c-ash); border-color: rgba(184,176,184,0.25); }
.g-tab.active {
  color: var(--c-white);
  background: rgba(139,20,40,0.3);
  border-color: var(--c-crimson);
  box-shadow: 0 0 10px rgba(176,40,64,0.2);
}

/* GALLERY GRID — masonry-style columns */
.gallery-grid {
  columns: 3 280px;
  column-gap: 10px;
}

.g-item {
  break-inside: avoid;
  margin-bottom: 10px;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(184,176,184,0.1);
  background: var(--c-panel);
  transition: transform var(--transition), box-shadow var(--transition);
}
.g-item:hover {
  transform: scale(1.01);
  box-shadow: 0 6px 30px rgba(0,0,0,0.5), 0 0 20px rgba(176,40,64,0.15);
  z-index: 2;
}
.g-item.hidden { display: none; }

.g-item img {
  width: 100%;
  display: block;
  filter: saturate(0.8);
  transition: filter var(--transition);
}
.g-item:hover img { filter: saturate(1); }

.g-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(14,12,15,0.85) 0%, transparent 50%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 12px;
  opacity: 0;
  transition: opacity var(--transition);
}
.g-item:hover .g-overlay { opacity: 1; }

.g-type {
  font-family: var(--font-head);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--c-crimson);
  margin-bottom: 2px;
}
.g-artist {
  font-size: 11px;
  color: var(--c-linen);
  font-style: italic;
}

/* LIGHTBOX */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  display: none; align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }

.lightbox-bg {
  position: absolute; inset: 0;
  background: rgba(14,12,15,0.93);
  backdrop-filter: blur(16px);
  cursor: pointer;
}
.lightbox-wrap {
  position: relative; z-index: 1;
  max-width: 90vw; max-height: 90vh;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.lightbox-img {
  max-width: 100%; max-height: 80vh;
  border-radius: var(--radius);
  border: 1px solid rgba(184,176,184,0.15);
  box-shadow: 0 0 60px rgba(176,40,64,0.2);
  object-fit: contain;
}
.lightbox-info {
  font-size: 11px;
  color: var(--c-stone);
  font-style: italic;
}
.lightbox-close {
  position: absolute; top: -36px; right: 0;
  background: none; border: none;
  color: var(--c-stone);
  font-size: 16px;
  cursor: pointer;
  transition: color var(--transition);
}
.lightbox-close:hover { color: var(--c-crimson); }

.cursor-glow {
  position: fixed; z-index: 9001; pointer-events: none;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(176,40,64,0.07) 0%, transparent 70%);
  transform: translate(-50%,-50%);
  mix-blend-mode: screen;
  transition: left 0.08s ease, top 0.08s ease;
}
