:root {
  --bg: #000;
  --panel: #050505;
  --text: #f5eee8;
  --muted: #b9b0aa;
  --line: rgba(255, 255, 255, .16);
  --max: 1536px;
  --tracking: .26em;
}

* { box-sizing: border-box; }

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  min-width: 320px;
  letter-spacing: .02em;
}

button, input { font: inherit; }

a { color: inherit; }

.topbar {
  position: relative;
  z-index: 20;
  height: 78px;
  max-width: var(--max);
  margin: 0 auto;
  background: #000;
  display: grid;
  grid-template-columns: 270px 1fr 270px;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.02);
}

.mini-logo {
  width: 160px;
  height: 66px;
  margin-left: 34px;
  display: block;
  overflow: hidden;
}

.mini-logo img {
  width: 155px;
  height: 66px;
  object-fit: cover;
  display: block;
}

.main-nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 42px;
}

.main-nav a {
  height: 100%;
  display: grid;
  place-items: center;
  position: relative;
  text-decoration: none;
  color: #d8d1cd;
  font-size: 12px;
  letter-spacing: .07em;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 19px;
  height: 1px;
  background: transparent;
}

.main-nav a:hover,
.main-nav a.active { color: #fff; }

.main-nav a.active::after { background: #fff; }

.socials {
  padding-right: 38px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 26px;
}

.icon-link,
.socials button,
.player-controls button,
.volume-wrap button {
  appearance: none;
  border: 0;
  padding: 0;
  background: none;
  color: #f5eee8;
  cursor: pointer;
}

.icon-link {
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  text-decoration: none;
}

.icon-link svg,
.player-controls svg,
.volume-wrap svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-link svg circle:first-child { fill: currentColor; stroke: none; }
.icon-link svg path { stroke: #000; }
.icon-link.soundcloud { width: 29px; }
.icon-link.soundcloud svg path { fill: currentColor; stroke: none; }

.menu-btn {
  width: 37px;
  height: 25px;
  display: grid;
  align-content: space-between;
}

.menu-btn span {
  display: block;
  width: 37px;
  height: 1px;
  background: currentColor;
}

.mobile-menu {
  position: absolute;
  right: 28px;
  top: 68px;
  width: 220px;
  padding: 18px 22px;
  background: rgba(0,0,0,.96);
  border: 1px solid var(--line);
}

.mobile-menu a {
  display: block;
  padding: 9px 0;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: .2em;
}

main {
  max-width: var(--max);
  margin: 0 auto;
}

.hero {
  position: relative;
  height: 411px;
  background: url("assets/hero.jpg") center center / cover no-repeat;
  border-bottom: 1px solid var(--line);
}

.hero-listen-hit {
  position: absolute;
  left: 6.45%;
  top: 86%;
  width: 14.3%;
  height: 9.2%;
}

.content-grid {
  min-height: 308px;
  display: grid;
  grid-template-columns: 60% 40%;
  border-bottom: 1px solid var(--line);
}

.artists-panel,
.events-panel {
  padding-top: 28px;
}

.artists-panel {
  padding-left: 6.5%;
  padding-right: 5.5%;
}

.events-panel {
  padding-left: 7.1%;
  padding-right: 7.6%;
  border-left: 1px solid var(--line);
}

.section-heading {
  height: 34px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.section-heading h2 {
  margin: 0;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: var(--tracking);
}

.section-heading a {
  margin-top: -3px;
  text-decoration: none;
  font-size: 22px;
  line-height: 1;
}

.artist-list {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 20px;
}

.artist-card {
  position: relative;
  height: 208px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(12,12,12,1) 0%, rgba(12,12,12,.91) 35%, rgba(8,8,8,.25) 74%, rgba(0,0,0,.15) 100%),
    var(--artist-image) right center / auto 100% no-repeat;
}

.artist-card::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 60px rgba(0,0,0,.36);
  pointer-events: none;
}

.artist-copy {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 51px 0 22px 28px;
}

.artist-name {
  margin: 0 0 11px;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-stretch: condensed;
  font-size: 34px;
  font-weight: 400;
  letter-spacing: -.02em;
}

.artist-label {
  margin: 0;
  font-size: 13px;
  letter-spacing: .03em;
}

.artist-set {
  position: absolute;
  left: 28px;
  bottom: 24px;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: .04em;
}

.artist-set::before {
  content: "";
  display: block;
  width: 27px;
  height: 1px;
  margin-bottom: 18px;
  background: rgba(255,255,255,.75);
}

.artist-set span {
  display: inline-block;
  margin-left: 18px;
  font-size: 14px;
}

.event-list { display: grid; }

.event-row {
  min-height: 66px;
  display: grid;
  grid-template-columns: 44px 1fr 110px;
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.09);
  text-decoration: none;
}

.event-date {
  width: 44px;
  height: 50px;
  border: 1px solid rgba(255,255,255,.4);
  display: grid;
  place-items: center;
  align-content: center;
}

.event-date strong {
  display: block;
  font-size: 17px;
  font-weight: 400;
  line-height: 1;
}

.event-date small {
  display: block;
  margin-top: 5px;
  font-size: 9px;
  letter-spacing: .13em;
}

.event-text h3 {
  margin: 0 0 7px;
  white-space: pre-line;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: .08em;
}

.event-text p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .12em;
}

.event-row img {
  width: 110px;
  height: 54px;
  object-fit: cover;
  display: block;
}

.view-events {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin-top: 9px;
  text-decoration: none;
  font-size: 11px;
  letter-spacing: .08em;
}

.view-events span { font-size: 22px; line-height: 0; }

.playlist-strip {
  min-height: 129px;
  display: grid;
  grid-template-columns: 33.4% 66.6%;
  border-bottom: 1px solid var(--line);
}

.playlist-copy {
  padding: 21px 6.5% 20px;
  background: #020202;
}

.playlist-copy h2 {
  margin: 0 0 7px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: var(--tracking);
}

.playlist-copy p {
  margin: 0 0 13px;
  font-size: 11px;
  letter-spacing: .19em;
}

.soundcloud-button {
  width: 235px;
  height: 37px;
  border: 1px solid rgba(255,255,255,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: var(--text);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: .16em;
}

.soundcloud-button svg {
  width: 29px;
  height: 20px;
  fill: var(--text);
}

.soundcloud-button svg path {
  fill: var(--text);
  stroke: none;
}

.playlist-photo {
  background: url("assets/playlist-crowd.jpg") center center / cover no-repeat;
}

.mix-player {
  position: sticky;
  bottom: 0;
  z-index: 15;
  max-width: var(--max);
  min-height: 98px;
  margin: 0 auto;
  background: rgba(0,0,0,.98);
  display: grid;
  grid-template-columns: 92px 280px 1fr 190px 225px;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 -10px 40px rgba(0,0,0,.35);
}

.mix-cover {
  width: 72px;
  height: 72px;
  object-fit: cover;
  margin-left: 63px;
}

.mix-meta {
  padding-left: 63px;
}

.mix-series,
.mix-title,
.mix-duration {
  white-space: nowrap;
}

.mix-series {
  font-size: 12px;
  letter-spacing: .26em;
  margin-bottom: 7px;
}

.mix-title {
  color: #a9a09b;
  font-size: 11px;
  letter-spacing: .13em;
  margin-bottom: 10px;
}

.mix-duration {
  font-size: 11px;
  letter-spacing: .14em;
}

.waveform {
  height: 52px;
  display: flex;
  align-items: center;
  gap: 2px;
  overflow: hidden;
  opacity: .68;
}

.wave-bar {
  width: 1px;
  min-width: 1px;
  background: #bfb7b2;
}

.player-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
}

.player-controls button {
  width: 20px;
  height: 20px;
}

.player-controls .play-pause {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.play-icon {
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid var(--text);
}

.pause-icon {
  width: 13px;
  height: 16px;
  display: flex;
  justify-content: space-between;
}

.pause-icon i {
  width: 3px;
  height: 16px;
  background: var(--text);
}

.volume-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-right: 45px;
}

.volume-wrap button {
  width: 24px;
  height: 24px;
}

.volume-wrap input[type="range"] {
  width: 165px;
  accent-color: #ede5df;
}

.artist-card:hover,
.event-row:hover,
.soundcloud-button:hover {
  filter: brightness(1.13);
}

@media (max-width: 1180px) {
  .topbar {
    grid-template-columns: 220px 1fr 180px;
  }

  .main-nav { gap: 22px; }
  .socials .icon-link { display: none; }

  .mix-player {
    grid-template-columns: 90px 260px 1fr 160px;
  }

  .volume-wrap { display: none; }
}

@media (max-width: 860px) {
  .topbar {
    height: 70px;
    grid-template-columns: 1fr auto;
  }

  .main-nav { display: none; }

  .mini-logo {
    margin-left: 20px;
    width: 145px;
    height: 60px;
  }

  .mini-logo img {
    width: 145px;
    height: 60px;
  }

  .socials { padding-right: 20px; }
  .socials .icon-link { display: none; }

  .hero {
    height: min(411px, 58vw);
    background-size: cover;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .artists-panel,
  .events-panel {
    padding: 28px 24px 30px;
  }

  .events-panel {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .playlist-strip {
    grid-template-columns: 1fr;
  }

  .playlist-copy { padding: 24px; }
  .playlist-photo { min-height: 150px; }

  .mix-player {
    position: relative;
    grid-template-columns: 80px 1fr 130px;
    min-height: 100px;
    padding: 0 14px;
  }

  .mix-cover {
    margin-left: 0;
    width: 66px;
    height: 66px;
  }

  .mix-meta { padding-left: 10px; }
  .waveform { display: none; }
}

@media (max-width: 620px) {
  .hero {
    height: 300px;
    background-position: 43% center;
  }

  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.22), rgba(0,0,0,0));
    pointer-events: none;
  }

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

  .artist-card { height: 220px; }

  .event-row {
    grid-template-columns: 44px 1fr;
    padding: 8px 0;
  }

  .event-row img { display: none; }

  .soundcloud-button { width: 100%; max-width: 270px; }

  .mix-player {
    grid-template-columns: 64px 1fr 90px;
  }

  .mix-cover {
    width: 54px;
    height: 54px;
  }

  .mix-series { font-size: 10px; }
  .mix-title {
    font-size: 9px;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .mix-duration { font-size: 9px; }

  .player-controls { gap: 12px; }
  .player-controls button { width: 16px; height: 16px; }
  .player-controls .play-pause { width: 42px; height: 42px; }
}
