/* =========================================================
   DJ TheNose – static site
   ========================================================= */

@font-face {
  font-family: "Jura";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/fonts/jura-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Righteous";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/righteous-latin.woff2") format("woff2");
}

:root {
  --pink: #ff376d;
  --pink-bright: #ff4f80;
  --red: #bc1e23;
  --cyan: #01d0d0;
  --indigo: #2e2e6d;
  --indigo-deep: #1b1b42;
  --ink: #08080c;
  --text: rgba(255, 255, 255, 0.9);
  --text-strong: #fff;
  --text-muted: rgba(255, 255, 255, 0.7);
  --line: rgba(255, 255, 255, 0.18);
  --header-h: 72px;
  --player-h: 90px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 5px 18px rgba(0, 0, 0, 0.35);
  --font-body: "Jura", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Righteous", "Jura", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding-bottom: var(--player-h);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text);
  background: var(--indigo-deep);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--pink);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--cyan);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.5em;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-strong);
}

p {
  margin: 0 0 1em;
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

::selection {
  color: #fff;
  background: var(--pink);
}

/* ---------- utilities ---------- */

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  pointer-events: none;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  padding: 0.65rem 1rem;
  color: #fff;
  background: var(--pink);
  transform: translateY(-200%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: none;
  color: #fff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- fixed background ---------- */

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: var(--indigo-deep) url("/assets/img/bg.gif") center / cover no-repeat;
}

.page-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 12%, rgba(70, 70, 150, 0.08), transparent 58%),
    linear-gradient(180deg, rgba(16, 16, 42, 0.1) 0%, rgba(16, 16, 42, 0.18) 55%, rgba(10, 10, 30, 0.3) 100%);
}

/* ---------- header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 clamp(1rem, 4vw, 3rem);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(12, 12, 34, 0.97);
  border-bottom-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.legal-page .site-header {
  background: rgba(12, 12, 34, 0.94);
  border-bottom-color: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.brand {
  position: relative;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: clamp(150px, 16vw, 205px);
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.6vw, 2.6rem);
}

.site-nav a {
  position: relative;
  display: inline-block;
  padding: 0.5rem 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.875rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.site-nav a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -11px;
  width: 5px;
  height: 5px;
  background: var(--pink);
  transform: translateY(-50%);
  transition: transform 0.2s ease, background 0.2s ease;
}

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

.site-nav a:hover::after,
.site-nav a.is-active::after {
  background: var(--cyan);
  transform: translateY(-50%) scale(1.35);
}

.menu-toggle {
  position: relative;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  cursor: pointer;
}

.menu-toggle .icon {
  width: 24px;
  height: 24px;
}

/* ---------- side section nav ---------- */

.section-nav {
  position: fixed;
  top: 50%;
  right: clamp(1rem, 3vw, 2.5rem);
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  transform: translateY(-50%);
}

.section-nav a {
  position: relative;
  display: block;
  width: 30px;
  height: 2px;
  background: rgba(255, 255, 255, 0.5);
  transition: background 0.2s ease;
}

.section-nav a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}

.section-nav a:hover::after,
.section-nav a.is-active::after {
  transform: scaleX(1);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + 2rem) 1.5rem calc(var(--player-h) + 2rem);
  scroll-margin-top: var(--header-h);
}

.hero-logo {
  width: min(60vh, 86vw, 640px);
  height: auto;
}

/* ---------- sections ---------- */

.section {
  position: relative;
  padding: clamp(4rem, 9vw, 7.5rem) clamp(1.25rem, 5vw, 4rem);
  scroll-margin-top: var(--header-h);
}

.section--albums {
  background: rgba(28, 28, 68, 0.44);
}

.section--mixes {
  background: rgba(28, 28, 68, 0.56);
}

.section--contact {
  display: flex;
  justify-content: center;
  background: rgba(16, 16, 44, 0.58);
}

.section-heading {
  margin: 0 auto clamp(2.2rem, 5vw, 3.6rem);
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.4rem, 4.45vw, 4rem);
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.section-heading::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin: 1.25rem auto 0;
  background: var(--pink);
}

.section--mixes .section-heading::after,
.section--contact .section-heading::after {
  background: var(--red);
}

/* ---------- release cards ---------- */

.release-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2vw, 1.5rem);
  max-width: 1170px;
  margin: 0 auto;
  align-items: start;
}

.release-card {
  position: relative;
  min-width: 0;
  padding-top: 143%;
  background: rgba(34, 34, 82, 0.94);
  border-radius: 4px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.release-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.release-card__inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: inherit;
}

.release-card__media {
  position: relative;
  flex: 0 0 auto;
  height: 70%;
  overflow: hidden;
  background: #0d0d18;
  transition: height 0.25s ease;
}

.release-card.is-open .release-card__media {
  height: 0;
}

.release-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.4s ease;
}

.release-card:hover .release-card__media img {
  transform: scale(1.045);
  filter: brightness(0.82);
}

.release-card__play {
  position: absolute;
  right: 0.9rem;
  bottom: 0.9rem;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  color: #fff;
  background: var(--accent, var(--pink));
  border: 0;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.42);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.release-card__play:hover {
  background: var(--pink-bright);
  transform: scale(1.08);
}

.release-card__play .icon {
  width: 22px;
  height: 22px;
  margin-left: 2px;
}

.release-card__head {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.1rem 1.1rem;
  text-align: center;
  transition: padding 0.25s ease;
}

.release-card.is-open .release-card__head {
  flex: 0 0 auto;
  padding: 0.7rem 1.1rem 0.55rem;
}

.release-card__title {
  width: 100%;
  margin: 0;
  font-size: clamp(1.25rem, 1.55vw, 1.375rem);
}

.release-card__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0;
  color: #fff;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.release-card__toggle .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}

.release-card__toggle[aria-expanded="true"] .icon {
  transform: rotate(180deg);
}

.release-card__meta {
  margin: 0.35rem 0 0;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.release-card.is-open .release-card__meta {
  margin-top: 0.25rem;
}

.release-card__rule {
  display: block;
  width: 40px;
  height: 3px;
  margin: 0.75rem 0 0;
  background: var(--accent, var(--pink));
}

.release-card.is-open .release-card__rule {
  margin-top: 0.45rem;
}

.release-card__tracks {
  flex: 0 0 auto;
  width: 100%;
  min-height: 0;
  padding: 0.9rem 1.1rem 1.1rem;
  overflow-y: auto;
  border-top: 2px solid var(--line);
}

.release-card.is-open .release-card__tracks {
  flex: 1 1 auto;
}

/* ---------- tracklist ---------- */

.tracklist {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.track {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto;
  gap: 0.9rem;
  align-items: center;
  padding: 0.35rem 0.25rem;
  border-bottom: 2px solid rgba(200, 200, 200, 0.3);
  cursor: pointer;
  transition: background 0.2s ease;
}

.track:hover {
  background: rgba(255, 255, 255, 0.05);
}

.track:last-child {
  border-bottom: 0;
}

.track__play {
  position: relative;
  width: 68px;
  height: 68px;
  padding: 0;
  overflow: hidden;
  background: #0d0d18;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}

.track__play img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.track__play:hover img,
.track__play:focus-visible img {
  opacity: 1;
}

.track__play:hover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent, var(--pink));
  opacity: 0.35;
}

.track__body {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.track__title {
  min-width: 0;
  overflow: hidden;
  font-size: 0.8125rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.track__artist {
  overflow: hidden;
  color: var(--text-muted);
  font-size: 0.6875rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.track__dur {
  color: var(--text-muted);
  font-size: 0.8125rem;
  white-space: nowrap;
}

.track.is-active .track__title {
  color: var(--accent, var(--pink));
}

/* ---------- mix cards ---------- */

.mix-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  max-width: 800px;
  margin: 0 auto;
  align-items: start;
}

.release-card--mix {
  background: transparent;
  box-shadow: none;
}

.release-card--mix:hover {
  transform: none;
  box-shadow: none;
}

.release-card--mix.is-open {
  background: rgba(34, 34, 82, 0.94);
  box-shadow: var(--shadow-soft);
}

.release-card--mix .release-card__media {
  box-shadow: var(--shadow);
}

.release-card--mix .release-card__head {
  padding: 1rem 0 0;
  background: transparent;
}

.release-card--mix.is-open .release-card__head {
  padding: 0.6rem 0 0.4rem;
}

.release-card--mix .release-card__title {
  font-size: 0.8125rem;
}

.release-card--mix .release-card__meta {
  font-size: 0.75rem;
}

.release-card--mix .release-card__rule {
  display: none;
}

/* ---------- contact ---------- */

.contact-card {
  width: min(720px, 100%);
  padding: clamp(1.75rem, 5vw, 3.5rem);
  background: var(--indigo);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.contact-card h2 {
  margin-bottom: clamp(1.5rem, 4vw, 2.4rem);
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 1.15;
  text-align: center;
}

.contact-form {
  display: grid;
  gap: 1.4rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.7rem 0;
  color: #fff;
  font-size: 1rem;
  background: transparent;
  border: 0;
  border-bottom: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s ease;
}

.field textarea {
  min-height: 160px;
  padding: 0.8rem;
  border: 2px solid rgba(255, 255, 255, 0.55);
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--pink);
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.checkbox {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.checkbox input {
  flex: 0 0 auto;
  margin-top: 0.2rem;
  accent-color: var(--pink);
}

.checkbox a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form button[type="submit"] {
  justify-self: start;
  padding: 0.95rem 2rem;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--pink);
  border: 0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.contact-form button[type="submit"]:hover {
  background: var(--pink-bright);
  transform: translateY(-1px);
}

.contact-form button[type="submit"]:disabled {
  cursor: wait;
  opacity: 0.6;
  transform: none;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  font-size: 0.88rem;
}

.form-status.is-error {
  color: #ffb3c2;
}

.form-status.is-success {
  color: #9fffe0;
}

/* ---------- footer ---------- */

.site-footer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 2rem clamp(1.25rem, 5vw, 4rem);
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  background: rgba(8, 8, 26, 0.62);
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  gap: 1.5rem;
}

.site-footer a {
  color: var(--text);
}

.site-footer a:hover {
  color: var(--pink);
}

.site-footer--simple {
  padding-bottom: 2rem;
}

/* ---------- player ---------- */

.player {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 80;
  height: var(--player-h);
  color: #fff;
  background: var(--ink);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
}

/* ---------- entrance: rubber-band scale-in from the bar's own centre ---------- */

/* With JS, the bar waits (invisible, collapsed) until the page has loaded,
   then springs out of the middle of its future area: 0 -> 115% -> 100%. */
html.js .player {
  opacity: 0;
  transform: scale(0);
  transform-origin: 50% 50%;
}

html.js .player--enter {
  animation: player-enter 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

@keyframes player-enter {
  0% {
    opacity: 0;
    transform: scale(0);
    animation-timing-function: cubic-bezier(0.3, 0, 0.4, 1);
  }
  55% {
    opacity: 1;
    transform: scale(1.15);
    animation-timing-function: cubic-bezier(0.3, 0, 0.3, 1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  html.js .player {
    opacity: 1;
    transform: none;
  }

  html.js .player--enter {
    animation: none;
  }
}

.player__seek {
  width: 100%;
  height: 18px;
  margin: 0.1rem 0 0;
  cursor: pointer;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
}

.player__seek::-webkit-slider-runnable-track {
  height: 5px;
  background: linear-gradient(to right, var(--pink) 0 var(--seek, 0%), rgba(255, 255, 255, 0.18) var(--seek, 0%) 100%);
}

.player__seek::-moz-range-track {
  height: 5px;
  background: rgba(255, 255, 255, 0.18);
}

.player__seek::-moz-range-progress {
  height: 5px;
  background: var(--pink);
}

.player__seek::-webkit-slider-thumb {
  width: 14px;
  height: 14px;
  margin-top: -4.5px;
  background: #fff;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}

.player__seek::-moz-range-thumb {
  width: 14px;
  height: 14px;
  background: #fff;
  border: 0;
  border-radius: 50%;
  opacity: 0;
}

.player__seek:hover::-webkit-slider-thumb,
.player__seek:focus-visible::-webkit-slider-thumb,
.player__seek:hover::-moz-range-thumb,
.player__seek:focus-visible::-moz-range-thumb {
  opacity: 1;
}

/* ---------- buffering feedback ---------- */

/* Barber pole: animated stripes sweep through the filled part of the
   seek bar while the stream loads or a seek waits for data. */
.player.is-buffering .player__seek::-webkit-slider-runnable-track {
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.35) 0 6px,
      transparent 6px 12px
    ),
    linear-gradient(to right, var(--pink) 0 var(--seek, 0%), rgba(255, 255, 255, 0.18) var(--seek, 0%) 100%);
  animation: seek-barber 0.9s linear infinite;
}

.player.is-buffering .player__seek::-moz-range-progress {
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.35) 0 6px,
      transparent 6px 12px
    ),
    var(--pink);
  animation: seek-barber 0.9s linear infinite;
}

@keyframes seek-barber {
  to {
    background-position: 17px 0, 0 0;
  }
}

/* Spinner over the cover while buffering. */
.player__cover-wrap {
  position: relative;
  flex: 0 0 auto;
}

.player.is-buffering .player__cover-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.25);
  border-top-color: #fff;
  animation: cover-spin 0.8s linear infinite;
}

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

@media (prefers-reduced-motion: reduce) {
  .player.is-buffering .player__seek::-webkit-slider-runnable-track,
  .player.is-buffering .player__seek::-moz-range-progress {
    animation: none;
  }

  .player.is-buffering .player__cover-wrap::after {
    animation-duration: 1.6s;
  }
}

.player__inner {
  display: flex;
  align-items: center;
  height: 100%;
  padding-right: clamp(0.75rem, 2vw, 1.5rem);
}

.player__play {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: var(--player-h);
  height: var(--player-h);
  padding: 0;
  color: #fff;
  background: var(--pink);
  border: 0;
  cursor: pointer;
  transition: background 0.2s ease;
}

.player__play:hover {
  background: var(--pink-bright);
}

.player__play .icon {
  width: 28px;
  height: 28px;
}

.player__nav {
  display: flex;
  gap: 0.15rem;
  margin-left: 0.5rem;
}

.player__nav button,
.player__volume button,
.player__queue-toggle {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.player__nav button:hover,
.player__volume button:hover,
.player__queue-toggle:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.player__track {
  display: flex;
  flex: 1 1 auto;
  gap: 0.75rem;
  align-items: center;
  min-width: 0;
  margin-left: 0.75rem;
}

.player__cover {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  object-fit: cover;
  background: #17172a;
}

.player__meta {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 0;
  width: 100%;
}

.player__row {
  display: flex;
  gap: 0.9rem;
  align-items: baseline;
  min-width: 0;
}

.player__title {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.07em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.player__artist {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player__time {
  flex: 0 0 auto;
  color: var(--text-strong);
  font-size: 0.8125rem;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.player__time--total {
  color: var(--text-muted);
}

.player__volume {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.25rem;
}

.player__volume input[type="range"] {
  width: 78px;
  accent-color: var(--pink);
  cursor: pointer;
}

.player__queue-toggle {
  flex: 0 0 auto;
}

.player__queue-toggle[aria-expanded="true"] {
  color: var(--pink);
}

/* ---------- queue ---------- */

.queue {
  position: fixed;
  right: 0;
  bottom: var(--player-h);
  left: 0;
  z-index: 79;
  padding: 1rem clamp(1rem, 4vw, 2rem) 1.25rem;
  background: rgba(8, 8, 20, 0.98);
  border-top: 1px solid var(--line);
  box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.5);
}

.queue__scroll {
  max-height: min(64vh, 560px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.queue__close {
  position: absolute;
  top: 1rem;
  right: clamp(1rem, 4vw, 2rem);
  z-index: 3;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  color: #fff;
  background: var(--pink);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.42);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.queue__close:hover {
  background: var(--pink-bright);
  transform: scale(1.08);
}

.queue__close .icon {
  width: 22px;
  height: 22px;
}

.queue__head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 880px;
  margin: 0 auto 0.8rem;
  padding: 0.55rem 0;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(8, 8, 20, 0.98);
}

.queue__list {
  max-width: 880px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.queue__item {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto;
  gap: 0.9rem;
  align-items: center;
  width: 100%;
  padding: 0.35rem 0.25rem;
  color: var(--text);
  font: inherit;
  text-align: left;
  background: none;
  border: 0;
  border-bottom: 2px solid rgba(200, 200, 200, 0.3);
  cursor: pointer;
}

.queue__item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.queue__item.is-active {
  color: var(--pink);
}

.queue__media {
  position: relative;
  width: 68px;
  height: 68px;
  overflow: hidden;
  background: #0d0d18;
  border-radius: 4px;
}

.queue__cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.queue__item:hover .queue__cover,
.queue__item.is-active .queue__cover {
  opacity: 1;
}

.queue__body {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.queue__title {
  overflow: hidden;
  font-size: 0.8125rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.queue__artist {
  overflow: hidden;
  color: var(--text-muted);
  font-size: 0.6875rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.queue__dur {
  color: var(--text-muted);
  font-size: 0.8125rem;
  white-space: nowrap;
}

.queue__divider {
  padding: 1.1rem 0.25rem 0.45rem;
  border-bottom: 2px solid rgba(200, 200, 200, 0.3);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* ---------- legal pages ---------- */

.legal-page {
  padding-bottom: 0;
}

.legal {
  padding: calc(var(--header-h) + clamp(2rem, 6vw, 4rem)) clamp(1.25rem, 5vw, 4rem) clamp(2rem, 6vw, 4rem);
}

.legal__inner {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: rgba(24, 24, 60, 0.94);
  box-shadow: var(--shadow);
}

.legal h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}

.legal h2 {
  margin-top: 2.1rem;
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
}

.legal h3 {
  margin-top: 1.6rem;
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.legal p,
.legal li {
  color: var(--text);
  font-size: 1rem;
  font-weight: 400;
}

.legal ul {
  margin: 0 0 1em;
  padding-left: 1.3rem;
}

.legal li {
  margin-bottom: 0.25rem;
}

.legal a {
  color: var(--pink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal__back {
  display: inline-block;
  margin-top: 2.25rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- animations ---------- */

@keyframes hero-in {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-logo {
    animation: hero-in 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .section-heading,
  .release-card,
  .contact-card {
    animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .release-card:nth-child(2) {
    animation-delay: 0.06s;
  }

  .release-card:nth-child(3) {
    animation-delay: 0.12s;
  }

  .release-card:nth-child(4) {
    animation-delay: 0.18s;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
  .release-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1199px) {
  .section-nav {
    display: none;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 62px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 60;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding-top: var(--header-h);
    background: rgba(8, 8, 24, 0.98);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-nav a {
    font-size: clamp(1.4rem, 6vw, 2rem);
  }

  .site-nav a::after {
    right: -18px;
    width: 7px;
    height: 7px;
  }

  .site-header {
    z-index: 70;
  }

  .hero {
    padding-top: calc(var(--header-h) + 1rem);
  }

  .hero-logo {
    width: min(56vh, 88vw, 520px);
  }

  .release-card:hover {
    transform: none;
  }
}

@media (max-width: 700px) {
  :root {
    --player-h: 78px;
  }

  .player__nav,
  .player__volume {
    display: none;
  }

  .player__inner {
    padding-right: 0.5rem;
  }

  .player__play {
    width: var(--player-h);
    height: var(--player-h);
  }

  .player__play .icon {
    width: 24px;
    height: 24px;
  }

  .player__track {
    gap: 0.55rem;
    margin-left: 0.6rem;
  }

  .player__cover {
    width: 42px;
    height: 42px;
  }

  .player.is-buffering .player__cover-wrap::after {
    width: 20px;
    height: 20px;
    border-width: 2px;
  }

  .player__row {
    gap: 0.5rem;
  }

  .player__title {
    font-size: 0.88rem;
    letter-spacing: 0.05em;
  }

  .player__artist {
    font-size: 0.76rem;
  }

  .player__time {
    font-size: 0.8rem;
  }

  .player__seek {
    height: 14px;
  }

  .player__seek::-webkit-slider-runnable-track {
    height: 4px;
  }

  .player__seek::-moz-range-track,
  .player__seek::-moz-range-progress {
    height: 4px;
  }

  .queue__media {
    width: 48px;
    height: 48px;
  }

  .queue__close {
    top: 0.75rem;
    right: 0.75rem;
    width: 42px;
    height: 42px;
  }

  .queue__item {
    grid-template-columns: 48px minmax(0, 1fr) auto;
  }

  .site-footer {
    padding-bottom: 1.75rem;
  }
}

@media (max-width: 640px) {
  .release-grid {
    grid-template-columns: 1fr;
  }

  .mix-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
  }

  .section {
    padding-right: 1.1rem;
    padding-left: 1.1rem;
  }

  .contact-card {
    padding: 1.5rem 1.15rem 1.75rem;
  }

  .track {
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 0.6rem;
  }

  .track__play {
    width: 48px;
    height: 48px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media print {
  .site-header,
  .section-nav,
  .player,
  .queue,
  .site-footer {
    display: none !important;
  }

  body {
    padding: 0;
    color: #000;
    background: #fff;
  }

  .page-bg {
    display: none;
  }

  .legal__inner {
    background: #fff;
    box-shadow: none;
  }

  .legal,
  .legal p,
  .legal li {
    color: #000;
  }
}
