/* ═══════════════════════════════════════════════════════
   VALHALLA MUSIC — Artists Page
   ═══════════════════════════════════════════════════════ */

/* ── Artists Grid ─────────────────────────────────── */
.artists-intro {
  background: var(--bg-primary);
}

.artists-intro__text {
  max-width: 600px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.9;
  margin-top: -20px;
}

.artists-section {
  background: var(--bg-primary);
  padding-bottom: var(--space-section);
}

.artists-main-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

.artist-card--large {
  position: relative;
  overflow: hidden;
  display: block;
}

.artist-card--large .artist-card__image {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.6s;
  filter: brightness(0.8);
}

.artist-card--large:hover .artist-card__image {
  transform: scale(1.05);
  filter: brightness(1);
}

.artist-card--large .artist-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(7, 7, 7, 0.95) 0%,
    rgba(7, 7, 7, 0.2) 50%,
    transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  padding: clamp(28px, 3vw, 48px);
  transition: background 0.5s;
}

.artist-card--large .artist-card__name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 0.88;
  letter-spacing: 0.04em;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 8px;
  max-width: 100%;
}

.artist-card--large .artist-card__role {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.artist-card--large .artist-card__bio {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 320px;
  text-align: left;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s 0.1s, transform 0.5s 0.1s var(--ease-out-expo);
}

.artist-card--large:hover .artist-card__bio {
  opacity: 1;
  transform: translateY(0);
}

.artist-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s 0.15s, transform 0.5s 0.15s var(--ease-out-expo);
}

.artist-card--large:hover .artist-card__cta {
  opacity: 1;
  transform: translateY(0);
}

/* ── Individual Artist Profile ────────────────────── */
.artist-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--bg-primary);
  padding-top: 100px;
}

.artist-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.4;
  filter: saturate(0.7);
}

/* Profile heroes — tuned for current promo portraits */
.artist-hero--rivellino .artist-hero__bg {
  object-position: center 42%;
}

.artist-hero--andrea .artist-hero__bg {
  object-position: center 34%;
  transform: scale(1.06);
  transform-origin: center 56%;
}

.artist-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(7,7,7,0) 0%,
    rgba(7,7,7,0.4) 50%,
    rgba(7,7,7,1) 100%);
}

.artist-hero__content {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(60px, 8vh, 100px);
  max-width: 700px;
}

.artist-hero__name {
  font-family: var(--font-display);
  font-size: clamp(5rem, 12vw, 12rem);
  line-height: 0.85;
  color: var(--white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.artist-hero__role {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.artist-hero__tagline {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 500px;
}

/* ── Artist Bio ───────────────────────────────────── */
.artist-bio {
  background: var(--bg-primary);
}

.artist-bio__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(60px, 8vw, 120px);
  align-items: start;
}

.artist-bio__text h3 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--white);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.artist-bio__text p {
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 20px;
  font-size: 15px;
}

.artist-bio__sidebar {
  position: sticky;
  top: 120px;
}

.artist-bio__detail {
  padding: 20px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.artist-bio__detail:first-child {
  padding-top: 0;
}

.artist-bio__detail-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.artist-bio__detail-value {
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.6;
}

.artist-bio__detail-value a {
  color: var(--text-secondary);
  transition: color 0.3s;
}

.artist-bio__detail-value a:hover {
  color: var(--accent);
}

/* ── Artist Gallery ───────────────────────────────── */
.artist-gallery {
  background: var(--bg-secondary);
}

.artist-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin-top: 48px;
}

.artist-gallery__item {
  overflow: hidden;
}

.artist-gallery__item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  filter: brightness(0.8) saturate(0.9);
  transition: filter 0.5s, transform 0.8s var(--ease-out-expo);
}

.artist-gallery__item:hover img {
  filter: brightness(1) saturate(1.05);
  transform: scale(1.05);
}

/* ── Per-Artist Image Adjustments ─────────────────── */
.artist-card--rivellino .artist-card__image {
  object-position: center 46%;
}

.artist-card--andrea .artist-card__image {
  object-position: center 36%;
  transform: scale(1.1);
  transform-origin: center 58%;
}

.artist-card--andrea:hover .artist-card__image {
  transform: scale(1.2);
}

/* ── Back Link ────────────────────────────────────── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.3s;
  margin-bottom: 24px;
}

.back-link:hover {
  color: var(--accent);
}

.back-link__arrow {
  transition: transform 0.3s var(--ease-out-expo);
}

.back-link:hover .back-link__arrow {
  transform: translateX(-4px);
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 960px) {
  .artists-main-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .artist-bio__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .artist-bio__sidebar {
    position: static;
  }

  .artist-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .artists-main-grid {
    grid-template-columns: 1fr;
  }

  .artist-gallery__grid {
    grid-template-columns: 1fr;
  }
}
