/* ── ARTISTS PAGE ── */
.page-artists { background: #fafaf8; }

/* ── PAGE HEADER ── */
.artists-header {
  text-align: center;
  padding: 11rem 4% 5rem 4%;
  border-bottom: 1px solid #e0e0e0;
  background: #fafaf8;
}
.artists-header-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 1.2rem;
}
.artists-header-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(4rem, 9vw, 8rem);
  font-weight: 300;
  color: #0a0a0a;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 2rem;
}
.artists-header-desc {
  font-size: 0.88rem;
  color: #888;
  line-height: 1.85;
}

/* ── ARTISTS GRID ── */
.artists-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ── ARTIST CARD — landscape ── */
.artist-card {
  background: #fafaf8;
  padding: 3rem 5%;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 3rem;
  cursor: pointer;
  border-bottom: 1px solid #e0e0e0;
  transition: background 0.3s;
}
.artist-card:hover { background: #f2f0ea; }

/* Photo / Initials */
.artist-photo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  flex-shrink: 0;
}
.artist-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.artist-initials {
  width: 100%;
  height: 100%;
  background: #0a0a0a;
  color: #fafaf8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.05em;
}

/* Info */
.artist-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.artist-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 400;
  color: #0a0a0a;
  line-height: 1.1;
}
.artist-bio {
  font-size: 0.85rem;
  color: #888;
  line-height: 1.75;
  font-weight: 300;
}
.artist-count {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #bbb;
}

/* View button */
.artist-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: none;
  border: 1px solid #e0e0e0;
  color: #888;
  padding: 0.7rem 1.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  width: fit-content;
  transition: border-color 0.3s, color 0.3s, background 0.3s, gap 0.3s;
}
.artist-card:hover .artist-view-btn {
  border-color: #0a0a0a;
  color: #0a0a0a;
  gap: 0.9rem;
}

/* ── ARTIST POPUP ── */
.artist-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 500;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
.artist-popup.active {
  opacity: 1;
  pointer-events: all;
}
.artist-popup-inner {
  background: #0a0a0a;
  width: 100%;
  max-height: 85vh;
  border-radius: 12px 12px 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(30px);
  transition: transform 0.4s ease;
}
.artist-popup.active .artist-popup-inner {
  transform: translateY(0);
}

/* Popup header */
.artist-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.5rem 3rem;
  border-bottom: 1px solid #1a1a1a;
  flex-shrink: 0;
}
.artist-popup-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 0.5rem;
}
.artist-popup-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 400;
  color: #f0ece0;
  line-height: 1;
}
.popup-close {
  width: 44px;
  height: 44px;
  border: 1px solid #2a2a2a;
  border-radius: 50%;
  background: none;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.3s, color 0.3s;
}
.popup-close:hover { border-color: #f0ece0; color: #f0ece0; }

/* Popup artwork grid */
.artist-popup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  padding: 2.5rem 3rem;
  overflow-y: auto;
}

.popup-art-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition: opacity 0.25s;
}
.popup-art-card:hover { opacity: 0.85; }

.popup-art-img {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 2px;
  background: #111;
}
.popup-art-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.popup-art-card:hover .popup-art-img img { transform: scale(1.05); }

.popup-art-info { padding: 0 0.2rem; }

.popup-art-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: #f0ece0;
  font-weight: 400;
  margin-bottom: 0.3rem;
}
.popup-art-meta {
  font-size: 0.78rem;
  color: #555;
  font-weight: 300;
  line-height: 1.5;
}
.popup-art-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: #c9a84c;
  margin-top: 0.4rem;
}

.popup-empty {
  color: #444;
  font-size: 0.9rem;
  grid-column: 1/-1;
  text-align: center;
  padding: 3rem 0;
  font-style: italic;
}

/* ── LIGHTBOX ── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.96);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
.lightbox.active { opacity: 1; pointer-events: all; }
.lightbox-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  max-width: 90vw;
  max-height: 90vh;
}
.lightbox-inner img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 2px;
}
.lightbox-inner p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: #666;
  font-style: italic;
}
.lightbox-close {
  position: fixed;
  top: 1.8rem;
  right: 1.8rem;
  background: none;
  border: 1px solid #2a2a2a;
  color: #666;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  transition: border-color 0.3s, color 0.3s;
}
.lightbox-close:hover { border-color: #f0ece0; color: #f0ece0; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .artist-card { flex-direction: column; align-items: flex-start; gap: 1.5rem; padding: 2.5rem 5%; }
  .artist-popup-inner { max-height: 90vh; }
  .artist-popup-header { padding: 1.8rem 1.5rem; }
  .artist-popup-grid { grid-template-columns: repeat(2, 1fr); padding: 1.5rem; gap: 1rem; }
}