/* ═══════════════════════════════════════════════════════════
   Artist Page
   Drop-in stylesheet — matches base.css design tokens.
   ═══════════════════════════════════════════════════════════ */

.ap-page {
  max-width: 640px;
  margin: 0 auto;
  padding: 70px 20px 60px;
  position: relative;
  z-index: 5;
  animation: ap-slide-up .45s cubic-bezier(.16, 1, .3, 1) both;
}

@keyframes ap-slide-up {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ap-loading {
  text-align: center;
  padding: 120px 24px;
  color: var(--muted);
}

.ap-back {
  position: absolute;
  top: 82px; left: 12px;
  z-index: 10;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(17, 24, 39, .75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, .7);
  cursor: pointer;
  transition: all var(--transition);
  font-size: 18px;
}
.ap-back:hover { color: var(--text); border-color: var(--accent); }

.ap-back-btn {
  margin-top: 12px;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface2);
  color: var(--text);
  cursor: pointer;
  font: inherit;
}
.ap-back-btn:hover { border-color: var(--accent); }

/* ─── Header ─────────────────────────────────────────────── */

.ap-header {
  margin-top: 12px;
  margin-bottom: 24px;
}

.ap-name {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -.02em;
  margin: 0 0 8px;
  background: linear-gradient(120deg, var(--vita-v) 0%, var(--vita-i) 50%, var(--vita-t) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ap-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 13px;
}

.ap-meta-chip {
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  text-transform: lowercase;
  letter-spacing: .02em;
}

.ap-tour-chip {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
}

.ap-meta-text {
  color: var(--muted);
}

/* ─── Tagline (the hook) ─────────────────────────────────── */

.ap-tagline {
  font-size: 22px;
  font-weight: 650;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}

/* ─── Bio ─────────────────────────────────────────────── */

.ap-bio {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-dim);
  margin-bottom: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

/* ─── Genre tags ─────────────────────────────────────────────── */

.ap-genres {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}

.ap-tag {
  background: var(--surface3);
  color: var(--text);
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  font-size: 12px;
  font-weight: 500;
}

/* ─── Links ─────────────────────────────────────────────── */

.ap-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.ap-link {
  background: var(--surface2);
  border: 1px solid var(--border-light);
  color: var(--text);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 13px;
  transition: all var(--transition);
}
.ap-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ─── Upcoming shows ─────────────────────────────────────────────── */

.ap-shows {
  margin-top: 24px;
  margin-bottom: 32px;
}

.ap-section-title {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 12px;
}

.ap-shows-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ap-shows-loading {
  color: var(--muted);
  font-size: 13px;
  padding: 12px 0;
}

.ap-no-shows {
  color: var(--muted);
  font-size: 13px;
  padding: 12px 0;
  font-style: italic;
}

.ap-show-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  gap: 16px;
  align-items: center;
  cursor: pointer;
  transition: all var(--transition);
}
.ap-show-card:hover {
  border-color: var(--accent);
  background: var(--surface2);
}

.ap-show-date {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  min-width: 88px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.ap-show-info { flex: 1; min-width: 0; }

.ap-show-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ap-show-venue {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ─── Sources footer ─────────────────────────────────────────────── */

.ap-sources {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--muted);
}

.ap-sources-label {
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-right: 6px;
}

.ap-sources a {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .15);
}
.ap-sources a:hover { color: var(--text); }

.ap-source-sep { opacity: .5; }

/* ─── Mobile ─────────────────────────────────────────────── */

@media (max-width: 640px) {
  .ap-page { padding: 70px 16px 60px; }
  .ap-name { font-size: 26px; }
  .ap-tagline { font-size: 19px; }
  .ap-bio { padding: 16px; font-size: 14px; }
  .ap-show-date { min-width: 72px; font-size: 11px; }
}
