html {
  overflow-x: hidden;
  scroll-snap-type: none;
}

.music-page {
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse at 72% 5%, rgba(88, 18, 19, 0.28), transparent 34%),
    radial-gradient(ellipse at 20% 24%, rgba(8, 19, 30, 0.5), transparent 44%),
    linear-gradient(180deg, #050506 0%, #0d0a0a 45%, #050506 100%);
}

.music-topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 12;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: var(--max-width);
  margin: 0 auto;
  right: 0;
  left: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 6, 0.86), rgba(5, 5, 6, 0.22) 80%, transparent);
}

.music-mark,
.music-topbar a,
.release-filters button,
.back-link,
.release-platforms a,
.release-platforms span,
.release-toggle,
.listen-button {
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.music-topbar nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2.4vw, 32px);
}

.music-topbar a {
  color: rgba(244, 239, 230, 0.72);
  transition: color 180ms ease;
}

.music-topbar a:hover {
  color: var(--ink);
}

.music-hero {
  position: relative;
  isolation: isolate;
  min-height: max(720px, 100svh);
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 118px 0 clamp(72px, 10vh, 118px);
}

.music-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 73% 48%, rgba(118, 25, 31, 0.5), transparent 24%),
    radial-gradient(circle at 82% 30%, rgba(215, 181, 116, 0.16), transparent 22%),
    radial-gradient(circle at 18% 22%, rgba(18, 35, 54, 0.58), transparent 38%),
    linear-gradient(140deg, #050506 0%, #09080a 45%, #17080a 100%);
}

.music-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: -1;
  height: clamp(126px, 24vh, 240px);
  background: linear-gradient(180deg, transparent, rgba(5, 5, 6, 0.76) 48%, #050506 100%);
  pointer-events: none;
}

.music-hero-inner,
.discography-shell {
  width: var(--max-width);
  margin: 0 auto;
}

.music-hero-inner {
  min-height: calc(100svh - 236px);
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(280px, 0.74fr);
  gap: clamp(34px, 5.6vw, 96px);
  align-items: center;
}

.music-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.music-hero h1,
.discography-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0;
}

.music-hero h1 {
  font-size: clamp(4.6rem, 9vw, 9rem);
  line-height: 0.86;
}

.music-hero p:not(.section-label):not(.artist-name) {
  max-width: 650px;
  margin: 28px 0 0;
  color: rgba(244, 239, 230, 0.76);
  font-size: clamp(1.12rem, 2.1vw, 1.45rem);
  line-height: 1.55;
}

.music-hero p.artist-name {
  margin: 30px 0 0;
  color: rgba(215, 181, 116, 0.68);
  font-size: 0.74rem;
  font-weight: 720;
  letter-spacing: 0.2em;
  line-height: 1.1;
  text-transform: uppercase;
}

.back-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(244, 239, 230, 0.18);
  border-radius: 4px;
  margin-top: 42px;
  padding: 0 18px;
  color: rgba(244, 239, 230, 0.82);
}

.vinyl-stage {
  position: relative;
  z-index: 1;
  width: min(44vw, 680px);
  min-width: 330px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  justify-self: end;
  margin-right: clamp(-132px, -8vw, -44px);
  filter: drop-shadow(0 36px 70px rgba(0, 0, 0, 0.5));
}

.vinyl-stage::before {
  content: "";
  position: absolute;
  inset: 9% 4% 4% 9%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(215, 181, 116, 0.22), transparent 38%),
    radial-gradient(circle, rgba(118, 25, 31, 0.38), transparent 68%);
  filter: blur(28px);
  opacity: 0.82;
}

.vinyl-record {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid rgba(244, 239, 230, 0.1);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, transparent 0 10.8%, rgba(244, 239, 230, 0.1) 11%, transparent 11.6%),
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.18), transparent 6%),
    radial-gradient(circle at 68% 74%, rgba(215, 181, 116, 0.12), transparent 14%),
    repeating-radial-gradient(circle at center, #070708 0 4px, #151214 4px 5px, #090809 5px 9px),
    conic-gradient(from 0.08turn, rgba(255, 255, 255, 0.08), transparent 0.12turn, rgba(118, 25, 31, 0.22) 0.28turn, transparent 0.48turn, rgba(215, 181, 116, 0.11) 0.64turn, transparent 0.82turn, rgba(255, 255, 255, 0.08));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 0 60px rgba(0, 0, 0, 0.68),
    0 0 0 1px rgba(215, 181, 116, 0.08);
  transform-origin: center;
  animation: vinyl-spin 24s linear infinite;
}

.vinyl-record::before {
  content: "";
  position: absolute;
  inset: 4.8%;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle at center, transparent 0 7px, rgba(244, 239, 230, 0.055) 8px 9px, transparent 10px 15px),
    conic-gradient(from 0.16turn, transparent, rgba(255, 255, 255, 0.11), transparent 0.18turn, transparent 0.52turn, rgba(215, 181, 116, 0.1), transparent 0.7turn);
  opacity: 0.72;
}

.vinyl-record::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: 16px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #050506;
  box-shadow:
    0 0 0 5px rgba(244, 239, 230, 0.12),
    0 0 20px rgba(215, 181, 116, 0.24);
  transform: translate(-50%, -50%);
}

.vinyl-label {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: clamp(118px, 29%, 188px);
  aspect-ratio: 1;
  border: 1px solid rgba(244, 239, 230, 0.16);
  border-radius: 50%;
  display: grid;
  place-content: center;
  gap: 7px;
  background:
    radial-gradient(circle at 50% 34%, rgba(215, 181, 116, 0.24), transparent 28%),
    linear-gradient(145deg, #5b1117, #1a0809 72%);
  color: rgba(244, 239, 230, 0.86);
  text-align: center;
  transform: translate(-50%, -50%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 34px rgba(0, 0, 0, 0.42);
}

.vinyl-label span,
.vinyl-label strong {
  display: block;
  font-size: clamp(0.52rem, 0.9vw, 0.72rem);
  letter-spacing: 0.15em;
  line-height: 1.15;
}

.vinyl-label span {
  color: rgba(215, 181, 116, 0.78);
  font-weight: 720;
}

.vinyl-label strong {
  color: rgba(244, 239, 230, 0.9);
  font-weight: 760;
}

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

.discography-section {
  position: relative;
  background:
    radial-gradient(ellipse at 78% 0%, rgba(118, 25, 31, 0.18), transparent 34%),
    linear-gradient(180deg, #050506 0%, rgba(5, 5, 6, 0.96) 100%);
  padding: clamp(58px, 8vw, 96px) 0 clamp(92px, 13vw, 150px);
}

.discography-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  border-top: 1px solid rgba(244, 239, 230, 0.14);
  padding-top: 36px;
}

.discography-heading h2 {
  color: rgba(244, 239, 230, 0.92);
  font-size: clamp(2.4rem, 5.6vw, 5.4rem);
  line-height: 0.96;
}

.release-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.release-filters button {
  min-height: 42px;
  border: 1px solid rgba(244, 239, 230, 0.16);
  border-radius: 4px;
  background: rgba(7, 7, 7, 0.28);
  color: rgba(244, 239, 230, 0.62);
  padding: 0 14px;
  cursor: pointer;
}

.release-filters button.is-active {
  border-color: rgba(215, 181, 116, 0.44);
  background: rgba(215, 181, 116, 0.1);
  color: var(--ink);
}

.release-list {
  display: grid;
  gap: 0;
  margin: clamp(36px, 6vw, 72px) 0 0;
  padding: 0;
  list-style: none;
}

.release-item {
  border-top: 1px solid rgba(244, 239, 230, 0.13);
  padding: clamp(26px, 5vw, 64px) 0;
}

.release-item:last-child {
  border-bottom: 1px solid rgba(244, 239, 230, 0.13);
}

.release-summary {
  display: grid;
  grid-template-columns: minmax(220px, 0.29fr) minmax(0, 1fr);
  gap: clamp(22px, 4.4vw, 62px);
  align-items: center;
}

.release-item-single .release-summary {
  grid-template-columns: minmax(180px, 0.27fr) minmax(0, 1fr);
}

.release-item-single {
  padding: clamp(24px, 4vw, 46px) 0;
}

.release-cover {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 18%, rgba(215, 181, 116, 0.12), transparent 44%),
    linear-gradient(145deg, #171514, #060607);
}

.release-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease;
}

.release-item:hover .release-summary .release-cover img {
  transform: scale(1.025);
}

.release-cover-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  align-items: end;
  padding: clamp(16px, 2.7vw, 28px);
}

.release-cover-placeholder small {
  align-self: start;
  color: rgba(215, 181, 116, 0.5);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.release-cover-placeholder span {
  color: rgba(244, 239, 230, 0.78);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.6vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.release-copy {
  min-width: 0;
}

.release-title {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2rem, 4.1vw, 4.55rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.96;
  overflow-wrap: anywhere;
}

.release-item-single .release-title {
  font-size: clamp(1.65rem, 3.15vw, 3rem);
}

.release-meta {
  margin: 14px 0 0;
  color: rgba(244, 239, 230, 0.58);
  font-size: 0.86rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.release-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.release-badge {
  border: 1px solid rgba(244, 239, 230, 0.18);
  border-radius: 4px;
  color: rgba(244, 239, 230, 0.62);
  padding: 5px 8px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.release-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}

.release-platforms-label {
  flex: 1 0 100%;
  margin: 0 0 2px;
  color: rgba(244, 239, 230, 0.46);
  font-size: 0.68rem;
  font-weight: 720;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.release-platforms a,
.release-toggle,
.listen-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(244, 239, 230, 0.16);
  border-radius: 4px;
  background: rgba(7, 7, 7, 0.22);
  color: rgba(244, 239, 230, 0.76);
  padding: 0 14px;
}

.release-toggle {
  width: fit-content;
  margin-top: 22px;
  cursor: pointer;
}

.release-toggle:hover,
.release-platforms a:hover,
.listen-button:hover {
  border-color: rgba(215, 181, 116, 0.34);
  color: var(--ink);
}

.release-toggle:focus-visible,
.release-filters button:focus-visible,
.release-platforms a:focus-visible,
.listen-button:focus-visible,
.music-topbar a:focus-visible,
.back-link:focus-visible {
  outline: 2px solid rgba(215, 181, 116, 0.72);
  outline-offset: 4px;
}

.release-details {
  display: grid;
  grid-template-columns: minmax(220px, 0.29fr) minmax(0, 1fr);
  gap: clamp(22px, 4.4vw, 62px);
  border-top: 1px solid rgba(244, 239, 230, 0.1);
  margin-top: clamp(20px, 3.2vw, 38px);
  padding-top: clamp(18px, 3vw, 34px);
  animation: release-detail-in 260ms ease both;
}

.release-details[hidden] {
  display: none;
}

.release-details-single {
  grid-template-columns: minmax(180px, 0.27fr) minmax(0, 1fr);
  margin-top: clamp(18px, 2.6vw, 30px);
  padding-top: clamp(18px, 2.6vw, 30px);
}

.release-detail-copy {
  grid-column: 2;
  min-width: 0;
  align-self: start;
}

.release-detail-note,
.release-tracklist h4 {
  margin: 0;
  color: rgba(244, 239, 230, 0.56);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.5;
  text-transform: uppercase;
}

.release-detail-note {
  color: rgba(244, 239, 230, 0.44);
}

.release-tracklist {
  margin-top: 0;
}

.release-tracks {
  display: grid;
  margin: 16px 0 0;
  padding: 0;
  border-top: 1px solid rgba(244, 239, 230, 0.12);
  list-style: none;
}

.release-track {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) minmax(44px, auto);
  gap: 16px;
  align-items: baseline;
  border-bottom: 1px solid rgba(244, 239, 230, 0.1);
  padding: 12px 0;
}

.track-number,
.track-duration {
  color: rgba(244, 239, 230, 0.42);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.track-title {
  min-width: 0;
  color: rgba(244, 239, 230, 0.8);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.track-duration {
  justify-self: end;
  white-space: nowrap;
}

.listen-shell {
  margin-top: 18px;
}

.listen-button {
  cursor: pointer;
}

.release-player {
  margin-top: 18px;
}

.release-player iframe {
  width: 100%;
  min-height: 152px;
  border: 0;
}

.videos-anchor {
  height: 1px;
  scroll-margin-top: 96px;
}

@keyframes release-detail-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  .music-topbar {
    min-height: 64px;
  }

  .music-topbar nav {
    gap: 14px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .music-topbar nav::-webkit-scrollbar {
    display: none;
  }

  .music-mark,
  .music-topbar a,
  .release-filters button,
  .back-link,
  .release-platforms a,
  .release-toggle,
  .listen-button {
    font-size: 0.66rem;
  }

  .music-hero {
    min-height: auto;
    padding: 100px 0 clamp(58px, 10vh, 86px);
  }

  .music-hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .music-hero-copy {
    max-width: 620px;
  }

  .vinyl-stage {
    order: -1;
    width: min(78vw, 440px);
    min-width: 0;
    justify-self: center;
    margin-right: 0;
  }

  .music-hero h1 {
    font-size: clamp(3.8rem, 18vw, 7rem);
  }

  .discography-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .release-filters {
    justify-content: flex-start;
  }

  .release-summary,
  .release-item-single .release-summary,
  .release-details,
  .release-details-single {
    grid-template-columns: minmax(112px, 0.36fr) minmax(0, 1fr);
    gap: 18px;
  }
}

@media (max-width: 560px) {
  .music-topbar {
    width: min(100vw - 28px, 420px);
    gap: 14px;
  }

  .music-mark {
    display: none;
  }

  .music-topbar nav {
    width: 100%;
    justify-content: space-between;
  }

  .music-hero {
    padding-top: 92px;
  }

  .music-hero-inner {
    gap: 24px;
  }

  .vinyl-stage {
    width: min(76vw, 340px);
  }

  .music-hero h1 {
    font-size: clamp(3.2rem, 17vw, 5rem);
  }

  .music-hero p:not(.section-label):not(.artist-name) {
    margin-top: 20px;
    font-size: 1.02rem;
  }

  .music-hero p.artist-name {
    margin-top: 22px;
    font-size: 0.66rem;
  }

  .vinyl-label {
    width: 32%;
  }

  .release-summary,
  .release-item-single .release-summary,
  .release-details,
  .release-details-single {
    grid-template-columns: 1fr;
  }

  .release-detail-copy {
    grid-column: 1;
  }

  .release-item,
  .release-item-single {
    padding: 34px 0;
  }

  .release-cover {
    width: min(100%, 360px);
  }

  .release-title,
  .release-item-single .release-title {
    font-size: clamp(1.9rem, 10.6vw, 3.25rem);
  }

  .release-platforms a,
  .listen-button {
    flex: 1 1 calc(50% - 9px);
    min-height: 44px;
  }

  .release-toggle {
    width: 100%;
    justify-content: center;
  }

  .release-track {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 10px;
  }

  .track-number,
  .track-duration {
    font-size: 0.68rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .vinyl-record {
    animation: none !important;
  }

  .release-details {
    animation: none !important;
  }

  .release-item:hover .release-summary .release-cover img {
    transform: none !important;
  }
}
