/* ============================================
   Artist page — Daniel James Collective
   Extends styles.css; loaded only on artists.html
   ============================================ */

/* ---------- scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- artist hero ---------- */
.artist-hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem);
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse 70% 60% at 80% 10%, rgba(198,162,77,0.14), transparent 65%), var(--black);
}
.artist-hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 900px) {
  .artist-hero .wrap { grid-template-columns: 1fr; }
}
.artist-hero-photo {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--panel-border);
}
.artist-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.artist-hero-photo .bk-tr,
.artist-hero-photo::before,
.artist-hero-photo::after,
.artist-hero-photo .bk-bl { z-index: 2; }

.artist-kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  padding: 0.35rem 0.8rem;
  border-radius: 20px;
  margin-bottom: 1.2rem;
}
.artist-hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  letter-spacing: -0.01em;
}
.artist-hero h1 .gold { color: var(--gold); }
.artist-hero-loc {
  margin-top: 0.9rem;
  font-family: var(--font-accent);
  font-size: 1.2rem;
  color: var(--ivory-dim);
}

/* role tag marquee */
.role-tags {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.role-tags span {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ivory-dim);
  border: 1px solid var(--panel-border);
  background: var(--panel);
  padding: 0.4rem 0.85rem;
  border-radius: 20px;
}

.artist-cta-row {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.artist-social-row {
  margin-top: 1.8rem;
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
}
.artist-social-row a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--gold-bright);
  border-bottom: 1px solid var(--gold-dim);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.artist-social-row a:hover { color: var(--gold); border-color: var(--gold); }
.artist-social-row svg { width: 16px; height: 16px; fill: currentColor; }

/* ---------- stat strip ---------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.stat-strip div {
  background: var(--black-soft);
  padding: 1.8rem 1rem;
  text-align: center;
}
.stat-strip .num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2rem;
  color: var(--gold);
  display: block;
}
.stat-strip .label {
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  color: var(--ivory-dim);
  text-transform: uppercase;
}
@media (max-width: 700px) { .stat-strip { grid-template-columns: repeat(2, 1fr); } }

/* ---------- bio layout ---------- */
.bio-lead {
  max-width: 820px;
  margin: 0 auto 2.5rem;
  font-size: 1.25rem;
  font-family: var(--font-accent);
  color: var(--ivory);
  text-align: center;
}

.bio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  max-width: 900px;
  margin: 0 auto;
}
.accordion-item { background: var(--black-soft); }
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 1.6rem;
  background: none;
  border: none;
  color: var(--ivory);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  text-align: left;
  cursor: pointer;
}
.accordion-trigger .yr {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  margin-right: 0.8rem;
}
.accordion-trigger .plus {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 1rem;
  transition: transform 0.25s ease;
}
.accordion-item.open .accordion-trigger .plus { transform: rotate(45deg); }
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.accordion-item.open .accordion-panel { max-height: 900px; }
.accordion-panel-inner {
  padding: 0 1.6rem 1.8rem;
  color: var(--ivory-dim);
  font-size: 1.08rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}
.accordion-panel-inner.with-photo { grid-template-columns: 1.3fr 1fr; align-items: start; }
@media (max-width: 700px) { .accordion-panel-inner.with-photo { grid-template-columns: 1fr; } }
.accordion-panel-inner img {
  border: 1px solid var(--panel-border);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  cursor: zoom-in;
}
.accordion-panel-inner p { margin-bottom: 1em; }
.accordion-panel-inner blockquote {
  margin: 1rem 0 0;
  padding-left: 1rem;
  border-left: 2px solid var(--gold);
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--ivory);
}

/* ---------- timeline ---------- */
.timeline {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  padding-left: 2rem;
  border-left: 1px solid var(--rule);
}
.timeline-item { position: relative; padding-bottom: 2.4rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -2.44rem;
  top: 0.25rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--black);
}
.timeline-item .yr {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--gold);
  display: block;
  margin-bottom: 0.3rem;
}
.timeline-item h4 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.timeline-item p { color: var(--ivory-dim); font-size: 1.05rem; }

/* ---------- instrument matrix ---------- */
.instrument-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 800px) { .instrument-grid { grid-template-columns: repeat(2, 1fr); } }
.instrument-col h4 {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.6rem;
}
.instrument-col ul { list-style: none; margin: 0; padding: 0; }
.instrument-col li {
  font-family: var(--font-accent);
  color: var(--ivory-dim);
  padding: 0.35rem 0;
  font-size: 1.05rem;
}

/* ---------- discography ---------- */
.disco-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
}
@media (max-width: 980px) { .disco-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .disco-grid { grid-template-columns: 1fr; } }
.disco-card { cursor: pointer; }
.disco-cover {
  aspect-ratio: 1/1;
  overflow: hidden;
  border: 1px solid var(--panel-border);
  background: var(--panel);
  position: relative;
}
.disco-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.disco-card:hover .disco-cover img { transform: scale(1.04); }
.disco-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
}
.disco-meta { margin-top: 0.9rem; }
.disco-meta h4 { font-size: 1.05rem; }
.disco-meta p { color: var(--ivory-dim); font-size: 0.9rem; margin-top: 0.2rem; }
.disco-tracks {
  margin-top: 0.6rem;
  color: var(--ivory-dim);
  font-size: 0.85rem;
  font-family: var(--font-accent);
  display: none;
}
.disco-card.open .disco-tracks { display: block; }
.disco-tracks li { padding: 0.15rem 0; list-style: none; }

/* credit card */
.credit-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.8rem;
  align-items: start;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  padding: 1.8rem;
  margin-top: 2.5rem;
}
@media (max-width: 640px) { .credit-card { grid-template-columns: 1fr; } }
.credit-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border: 1px solid var(--panel-border); }
.credit-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.8rem 0 1rem; }
.credit-tags span {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--gold-dim);
  color: var(--ivory);
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
}
.credit-tracklist {
  columns: 2;
  color: var(--ivory-dim);
  font-family: var(--font-accent);
  font-size: 0.98rem;
}
.credit-tracklist div { break-inside: avoid; padding: 0.15rem 0; }
@media (max-width: 640px) { .credit-tracklist { columns: 1; } }

/* ---------- tag cloud (stages / available-for) ---------- */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
.tag-cloud span {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ivory-dim);
  border: 1px solid var(--panel-border);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  background: var(--panel);
}
.tag-cloud.gold span { color: var(--gold-bright); border-color: var(--gold-dim); }

/* award list */
.award-list { max-width: 720px; margin: 0 auto; }
.award-item { padding: 1.3rem 0; border-bottom: 1px solid var(--rule); }
.award-item:last-child { border-bottom: none; }
.award-item h4 { font-size: 1.1rem; margin-bottom: 0.2rem; }
.award-item .yr { color: var(--gold); font-family: var(--font-display); font-size: 0.85rem; font-weight: 600; }
.award-item p { color: var(--ivory-dim); margin-top: 0.5rem; }

/* ---------- community grid ---------- */
.community-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}
@media (max-width: 900px) { .community-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) { .community-grid { grid-template-columns: repeat(3, 1fr); } }
.community-card { text-align: center; }
a.community-card .community-photo { border-color: var(--gold-dim); }
.community-photo {
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 50%;
  border: 2px solid var(--panel-border);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.community-card:hover .community-photo { border-color: var(--gold); transform: translateY(-3px); }
.community-photo img { width: 100%; height: 100%; object-fit: cover; }
.community-name {
  margin-top: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ivory-dim);
}

/* ---------- role blocks (education history) ---------- */
.role-block {
  border-left: 2px solid var(--gold-dim);
  padding-left: 1.2rem;
  margin-bottom: 1.8rem;
}
.role-block:last-child { margin-bottom: 0; }
.role-block h4 {
  font-size: 1.05rem;
  color: var(--ivory);
  margin-bottom: 0.2rem;
}
.role-block .role-meta {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--gold-bright);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  display: block;
}
.role-block ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ivory-dim);
}
.role-block li { margin-bottom: 0.35rem; font-size: 1rem; }
.role-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
.role-photo-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border: 1px solid var(--panel-border);
  cursor: zoom-in;
}
@media (max-width: 640px) { .role-photo-grid { grid-template-columns: 1fr; } }

.podcast-block {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (max-width: 800px) { .podcast-block { grid-template-columns: 1fr; } }
.podcast-block img { width: 100%; border: 1px solid var(--panel-border); }
.podcast-block ul { color: var(--ivory-dim); padding-left: 1.2rem; }
.podcast-block li { margin-bottom: 0.5rem; }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 2rem;
  cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; border: 1px solid var(--panel-border); }

/* booking section */
.booking-block {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.booking-block .contact-email { font-size: 1.3rem; }
.booking-block .btn { margin-top: 1.6rem; margin-right: 0.8rem; }
