.artist-page{
  --artist-accent:var(--accent);
  background:#070707;
}

.artist-page[data-artist-theme="midnight-gold"]{
  --artist-accent:var(--accent);
}

.artist-page[data-artist-theme="ivory-ink"]{
  --artist-accent:#f1e8d5;
}

.artist-page[data-artist-theme="ember-red"]{
  --artist-accent:#e15b43;
}

#artist-page-content[hidden],
.artist-page-status[hidden]{
  display:none !important;
}

.artist-page .brand span,
.artist-page .section-label{
  color:var(--artist-accent);
}

.artist-page-hero{
  position:relative;
  min-height:72vh;
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  border-bottom:1px solid #292929;
  background:
    radial-gradient(circle at 70% 25%,#2b2317 0%,#080808 58%);
}

.artist-page-hero > img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:.58;
}

.artist-page-hero-shade{
  position:absolute;
  inset:0;
  background:linear-gradient(
    90deg,
    rgba(5,5,5,.96) 0%,
    rgba(5,5,5,.66) 45%,
    rgba(5,5,5,.25) 100%
  );
}

.artist-page-hero-copy{
  position:relative;
  z-index:1;
  width:100%;
  padding-top:170px;
  padding-bottom:80px;
}

.artist-page-hero h1{
  max-width:980px;
  margin:8px 0 24px;
  font-size:clamp(50px,8vw,104px);
  line-height:.82;
  letter-spacing:-4px;
  overflow-wrap:anywhere;
}

.artist-page-tagline{
  margin:16px 0 0;
  color:#d0d0d0;
  font-size:clamp(17px,2vw,24px);
}

.artist-page-links{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.artist-page-links a{
  min-height:40px;
  display:inline-flex;
  align-items:center;
  padding:0 14px;
  border:1px solid #555;
  color:#fff;
  font-size:11px;
  font-weight:800;
  letter-spacing:.8px;
  text-transform:uppercase;
}

.artist-page-links a:hover{
  border-color:var(--artist-accent);
  color:var(--artist-accent);
}

.artist-page-about-grid{
  display:grid;
  grid-template-columns:minmax(220px,420px) 1fr;
  gap:55px;
  align-items:center;
}

.artist-page-about-grid > img{
  width:100%;
  aspect-ratio:1;
  object-fit:cover;
  border:1px solid #333;
}

.artist-page-about h2,
.artist-music h2{
  margin:8px 0 22px;
  font-size:clamp(42px,6vw,78px);
  line-height:.9;
  letter-spacing:-3px;
}

.artist-page-about p{
  max-width:720px;
  color:#bcbcbc;
  white-space:pre-line;
}

.artist-music{
  overflow:hidden;
  border-top:1px solid #1d1d1d;
  background:
    radial-gradient(circle at 16% 8%,rgba(213,177,91,.06),transparent 32%),
    #080808;
}

.artist-music-top{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(330px,430px);
  gap:clamp(28px,4vw,52px);
  align-items:start;
  margin-bottom:58px;
}

.artist-music-heading{
  min-width:0;
}

.artist-catalog-search{
  max-width:520px;
  margin-top:30px;
}

.artist-catalog-search label{
  display:block;
  margin-bottom:9px;
  color:#a9a9a9;
  font-size:10px;
  font-weight:900;
  letter-spacing:1.3px;
  text-transform:uppercase;
}

.artist-catalog-search input{
  width:100%;
  min-height:46px;
  padding:0 15px;
  border:1px solid #353535;
  border-radius:0;
  outline:none;
  background:#0e0e0e;
  color:#fff;
  font:inherit;
}

.artist-catalog-search input:focus{
  border-color:var(--artist-accent);
  box-shadow:0 0 0 2px color-mix(
    in srgb,
    var(--artist-accent) 25%,
    transparent
  );
}

.artist-search-results{
  position:relative;
  z-index:8;
  max-width:520px;
  max-height:260px;
  margin-top:8px;
  overflow:auto;
  border:1px solid #353535;
  background:#0b0b0b;
}

.artist-search-result{
  width:100%;
  min-height:48px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:10px 14px;
  border:0;
  border-bottom:1px solid #242424;
  background:transparent;
  color:#fff;
  text-align:left;
  cursor:pointer;
}

.artist-search-result:hover,
.artist-search-result:focus-visible{
  outline:none;
  background:#171717;
  color:var(--artist-accent);
}

.artist-search-result-type{
  color:#888;
  font-size:9px;
  font-weight:900;
  letter-spacing:.7px;
  text-transform:uppercase;
}

.artist-search-status{
  min-height:20px;
  max-width:520px;
  margin:8px 0 0;
  color:#979797;
  font-size:12px;
}

.artist-player{
  display:grid;
  grid-template-columns:138px minmax(0,1fr);
  gap:20px;
  align-items:center;
  margin:0;
  padding:18px;
  border:1px solid #303030;
  background:
    linear-gradient(125deg,rgba(255,255,255,.035),transparent 58%),
    #0d0d0d;
}

.artist-player-visual{
  display:grid;
  place-items:center;
}

.artist-player-vinyl{
  position:relative;
  width:138px;
  aspect-ratio:1;
  border-radius:50%;
  background:
    radial-gradient(
      circle at center,
      transparent 0 7%,
      #101010 7.5% 10%,
      transparent 10.5%
    ),
    repeating-radial-gradient(
      circle at center,
      #171717 0 2px,
      #070707 3px 5px
    );
  box-shadow:
    0 16px 34px rgba(0,0,0,.48),
    inset 0 0 0 1px rgba(255,255,255,.08);
  animation:artist-vinyl-spin 4.8s linear infinite;
  animation-play-state:paused;
}

.artist-player-vinyl::before{
  content:"";
  position:absolute;
  inset:3%;
  border-radius:50%;
  background:linear-gradient(
    125deg,
    rgba(255,255,255,.14),
    transparent 22% 72%,
    rgba(255,255,255,.05)
  );
  pointer-events:none;
}

.artist-player-vinyl::after{
  content:"";
  position:absolute;
  inset:48%;
  z-index:2;
  border-radius:50%;
  background:#050505;
  box-shadow:0 0 0 3px rgba(255,255,255,.08);
}

.artist-player-vinyl.is-playing{
  animation-play-state:running;
}

.artist-player-vinyl img{
  position:absolute;
  inset:27%;
  width:46%;
  height:46%;
  object-fit:cover;
  border-radius:50%;
  box-shadow:0 0 0 2px rgba(255,255,255,.14);
}

.artist-player-copy{
  min-width:0;
}

.artist-player-copy h3{
  margin:5px 0 7px;
  font-size:clamp(22px,2.5vw,32px);
  line-height:1;
  letter-spacing:-1px;
  overflow-wrap:anywhere;
}

.artist-player-copy > p{
  margin:0;
  color:#999;
  font-size:12px;
}

.artist-player audio{
  width:100%;
  height:40px;
  margin-top:10px;
  accent-color:var(--artist-accent);
}

.artist-player audio[hidden]{
  display:none;
}

.artist-player-toggle{
  min-height:38px;
  margin-top:12px;
  padding:0 13px;
  border:1px solid var(--artist-accent);
  background:transparent;
  color:var(--artist-accent);
  font-size:9px;
  font-weight:900;
  letter-spacing:.9px;
  text-transform:uppercase;
  cursor:pointer;
}

.artist-player-toggle:hover,
.artist-player-toggle:focus-visible{
  outline:none;
  background:var(--artist-accent);
  color:#080808;
}

.artist-player-toggle:disabled{
  border-color:#3f3f3f;
  color:#707070;
  cursor:not-allowed;
}

.artist-player-store-link{
  display:inline-flex;
  margin-top:9px;
  color:var(--artist-accent);
  font-size:9px;
  font-weight:900;
  letter-spacing:.7px;
  text-transform:uppercase;
}

.artist-player-store-link[hidden]{
  display:none;
}

.artist-player-note{
  margin:8px 0 0 !important;
  color:#676767 !important;
  font-size:8px !important;
  font-weight:800;
  letter-spacing:.6px;
  text-transform:uppercase;
}

.artist-music-lane-section{
  padding:0;
}

.artist-music-lane-section + .artist-music-lane-section{
  margin-top:54px;
}

.artist-lane-heading{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:22px;
  margin-bottom:12px;
}

.artist-lane-heading h3{
  margin:6px 0 0;
  font-size:clamp(28px,3vw,42px);
  line-height:.96;
}

.artist-lane-controls{
  display:flex;
  gap:7px;
}

.artist-lane-controls button{
  width:38px;
  height:38px;
  border:1px solid #414141;
  background:#101010;
  color:#fff;
  font-size:17px;
  cursor:pointer;
}

.artist-lane-controls button:hover,
.artist-lane-controls button:focus-visible{
  border-color:var(--artist-accent);
  outline:none;
  color:var(--artist-accent);
}

.artist-music-lane{
  --shelf-cover-size:220px;
  --shelf-spine-width:44px;
  display:flex;
  align-items:flex-start;
  gap:6px;
  min-height:330px;
  width:100%;
  padding:14px 3px 18px;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type:x proximity;
  scroll-padding-inline:4px;
  overscroll-behavior-inline:contain;
  touch-action:pan-x pan-y;
  scrollbar-color:var(--artist-accent) #1d1d1d;
  scrollbar-width:thin;
  perspective:1100px;
}

.artist-project-lane{
  min-height:490px;
}

.artist-music-lane:focus-visible{
  outline:1px solid var(--artist-accent);
  outline-offset:4px;
}

.artist-music-card{
  position:relative;
  z-index:1;
  flex:0 0 var(--shelf-spine-width);
  width:var(--shelf-spine-width);
  height:310px;
  scroll-snap-align:center;
  border:0;
  background:#101010;
  overflow:visible;
  perspective:900px;
  transition:
    flex-basis .28s ease,
    width .28s ease;
}

.artist-music-card::before{
  content:attr(data-title);
  position:absolute;
  inset:0;
  z-index:4;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:9px 6px;
  border:1px solid #343434;
  background:
    linear-gradient(90deg,#0b0b0b,#1a1a1a 48%,#090909);
  color:#bcbcbc;
  writing-mode:vertical-rl;
  transform:rotate(180deg);
  overflow:hidden;
  font-size:10px;
  font-weight:900;
  letter-spacing:.8px;
  text-overflow:ellipsis;
  white-space:nowrap;
  text-transform:uppercase;
  transition:
    opacity .18s ease,
    border-color .18s ease;
}

.artist-music-card.is-lane-focus::before{
  border-color:color-mix(
    in srgb,
    var(--artist-accent) 62%,
    #343434
  );
  color:var(--artist-accent);
}

.artist-music-card.is-selected::before{
  border-color:var(--artist-accent);
}

.artist-music-card.is-open{
  z-index:7;
  flex-basis:calc(var(--shelf-cover-size) + 10px);
  width:calc(var(--shelf-cover-size) + 10px);
}

.artist-music-card.is-open::before{
  opacity:0;
  pointer-events:none;
}

.artist-card-select{
  position:absolute;
  top:0;
  left:0;
  width:var(--shelf-cover-size);
  display:block;
  padding:0;
  border:1px solid #303030;
  background:#0d0d0d;
  color:#fff;
  text-align:left;
  cursor:pointer;
  opacity:.9;
  transform-origin:left center;
  transform:rotateY(80deg);
  backface-visibility:hidden;
  box-shadow:10px 12px 28px rgba(0,0,0,.38);
  transition:
    transform .28s ease,
    opacity .2s ease,
    border-color .2s ease;
}

.artist-music-card.is-open .artist-card-select{
  opacity:1;
  transform:rotateY(0deg);
}

.artist-music-card.is-open.is-selected .artist-card-select{
  border-color:var(--artist-accent);
}

.artist-card-select:focus-visible{
  outline:2px solid var(--artist-accent);
  outline-offset:2px;
}

.artist-card-artwork{
  width:100%;
  aspect-ratio:1;
  display:grid;
  place-items:center;
  overflow:hidden;
  background:
    radial-gradient(circle at 35% 30%,#343434,#111 62%);
  color:var(--artist-accent);
  font-size:38px;
  font-weight:900;
  letter-spacing:-3px;
}

.artist-card-artwork img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.artist-release-body,
.artist-album-body{
  min-height:82px;
  padding:12px 13px 11px;
}

.artist-release-card h3,
.artist-album-card h3{
  margin:0 0 5px;
  font-size:16px;
  line-height:1.15;
}

.artist-release-meta{
  color:#929292;
  font-size:9px;
  text-transform:uppercase;
  letter-spacing:.6px;
}

.artist-preview-availability{
  display:block;
  margin-top:7px;
  color:var(--artist-accent);
  font-size:8px;
  font-weight:900;
  letter-spacing:.7px;
  text-transform:uppercase;
}

.artist-album-card{
  height:470px;
}

.artist-track-list{
  position:absolute;
  top:310px;
  left:0;
  width:calc(var(--shelf-cover-size) + 24px);
  max-height:0;
  margin:0;
  padding:0 12px;
  overflow:hidden;
  list-style:none;
  border:1px solid transparent;
  background:#0b0b0b;
  opacity:0;
  visibility:hidden;
  transition:
    max-height .25s ease,
    opacity .2s ease,
    padding .25s ease;
}

.artist-album-card.is-open{
  flex-basis:calc(var(--shelf-cover-size) + 34px);
  width:calc(var(--shelf-cover-size) + 34px);
}

.artist-album-card.is-open .artist-track-list{
  max-height:150px;
  padding:7px 12px 10px;
  overflow-y:auto;
  border-color:#292929;
  opacity:1;
  visibility:visible;
}

.artist-track-list li{
  display:grid;
  grid-template-columns:24px 1fr;
  gap:8px;
  align-items:center;
  padding:6px 0;
  border-bottom:1px solid #222;
}

.artist-track-number{
  color:var(--artist-accent);
  font-size:10px;
  font-weight:900;
}

.artist-track-button{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:5px 0;
  border:0;
  background:transparent;
  color:#e7e7e7;
  font-size:11px;
  text-align:left;
  cursor:pointer;
}

.artist-track-button:hover,
.artist-track-button:focus-visible,
.artist-track-button[aria-pressed="true"]{
  outline:none;
  color:var(--artist-accent);
}

.artist-track-action{
  color:#777;
  font-size:7px;
  font-weight:900;
  letter-spacing:.5px;
  text-transform:uppercase;
}

.artist-page-empty{
  color:#888;
}

@keyframes artist-vinyl-spin{
  to{transform:rotate(360deg)}
}

.artist-page-status{
  min-height:70vh;
  display:flex;
  align-items:center;
}

.artist-page-status h1{
  margin:8px 0 16px;
  font-size:clamp(46px,8vw,96px);
  line-height:.9;
}

.artist-page-status p{
  max-width:620px;
  margin-bottom:24px;
  color:#aaa;
}

@media(max-width:820px){
  .artist-music-top{
    grid-template-columns:1fr;
    gap:28px;
  }

  .artist-player{
    max-width:560px;
  }
}

@media(max-width:760px){
  .artist-page-hero{
    min-height:64vh;
  }

  .artist-page-hero-copy{
    padding-top:145px;
    padding-bottom:55px;
  }

  .artist-page-hero h1{
    letter-spacing:-3px;
  }

  .artist-page-about-grid{
    grid-template-columns:1fr;
    gap:30px;
  }

  .artist-music-lane{
    --shelf-cover-size:190px;
    --shelf-spine-width:38px;
    min-height:295px;
  }

  .artist-project-lane{
    min-height:430px;
  }

  .artist-music-card{
    height:272px;
  }

  .artist-album-card{
    height:410px;
  }

  .artist-track-list{
    top:272px;
  }

  .artist-album-card.is-open .artist-track-list{
    max-height:130px;
  }
}

@media(max-width:520px){
  .artist-player{
    grid-template-columns:106px minmax(0,1fr);
    gap:14px;
    padding:14px;
  }

  .artist-player-vinyl{
    width:106px;
  }

  .artist-player-copy h3{
    font-size:21px;
  }

  .artist-player audio{
    height:36px;
  }

  .artist-lane-heading{
    align-items:center;
  }

  .artist-lane-controls button{
    width:36px;
    height:36px;
  }
}

@media(prefers-reduced-motion:reduce){
  .artist-player-vinyl{
    animation:none;
  }

  .artist-player-vinyl.is-playing{
    box-shadow:
      0 16px 34px rgba(0,0,0,.48),
      0 0 0 2px var(--artist-accent);
  }

  .artist-music-card,
  .artist-card-select,
  .artist-track-list,
  .artist-music-card::before{
    transition:none;
  }

  .artist-music-lane{
    scroll-behavior:auto;
  }
}
