:root {
  --background: hsl(240 4% 11%);
  --foreground: hsl(40 20% 90%);
  --primary: hsl(30 63% 60%);
  --primary-soft: hsl(30 63% 60% / 0.1);
  --primary-border: hsl(30 63% 60% / 0.25);
  --muted: hsl(240 5% 20%);
  --muted-soft: hsl(240 5% 20% / 0.35);
  --muted-foreground: hsl(40 10% 70%);
  --card: hsl(240 5% 15%);
  --white-05: rgb(255 255 255 / 0.05);
  --white-10: rgb(255 255 255 / 0.1);
  --white-20: rgb(255 255 255 / 0.2);
  --font-sans: "Outfit", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
  --container-small: 640px;
  --container-medium: 768px;
  --container-large: 1152px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.5;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: hsl(30 63% 60% / 0.3);
  color: var(--primary);
}

.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.site {
  position: relative;
  min-height: 100vh;
}

.container {
  width: min(100% - 48px, var(--container-medium));
  margin-inline: auto;
}

.container--small {
  width: min(100% - 48px, var(--container-small));
}

.container--large {
  width: min(100% - 48px, var(--container-large));
}

.section {
  position: relative;
  z-index: 20;
  padding: 8rem 1.5rem;
  background: var(--background);
}

.section--compact {
  padding-block: 8rem;
}

.section--bordered {
  border-top: 1px solid var(--white-05);
  border-bottom: 1px solid var(--white-05);
}

.section--muted {
  background: rgb(255 255 255 / 0.015);
}

.section__label {
  margin-bottom: 2rem;
  color: hsl(40 10% 70% / 0.6);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-align: center;
  text-transform: uppercase;
}

.section__title {
  margin-bottom: 6rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--white-05);
  color: hsl(40 20% 90% / 0.9);
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 400;
  line-height: 1.05;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
}

.hero__background {
  position: absolute;
  inset: 0;
  transform: translate3d(0, 0, 0);
  will-change: transform, opacity;
}

.hero__background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  opacity: 0.8;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, hsl(240 4% 11% / 0.4), var(--background));
}

.hero__content {
  position: relative;
  z-index: 10;
  width: min(100% - 48px, 896px);
  margin-inline: auto;
  text-align: center;
}

.hero__content h1 {
  margin-bottom: 1rem;
  font-family: var(--font-serif);
  font-size: clamp(4.5rem, 14vw, 8rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.hero__content p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.hero__line {
  display: block;
  width: 1px;
  height: 5rem;
  margin: 3rem auto 0;
  background: linear-gradient(to bottom, hsl(30 63% 60% / 0.6), transparent);
}

.bio {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.bio__text {
  width: min(100%, 768px);
  margin-inline: auto;
  color: var(--muted-foreground);
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  line-height: 1.5;
}

.platforms {
  padding-block: 4rem;
}

.platforms__list,
.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.platform-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--white-10);
  border-radius: 2px;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: border-color 300ms ease, background-color 300ms ease, color 300ms ease, transform 300ms ease;
}

.platform-link svg {
  width: 1.25rem;
  height: 1.25rem;
  color: currentColor;
}

.platform-link span {
  font-size: 0.875rem;
  letter-spacing: 0.04em;
}

.platform-link:hover,
.platform-link:focus-visible {
  border-color: hsl(30 63% 60% / 0.45);
  background: hsl(30 63% 60% / 0.05);
  color: var(--foreground);
  transform: translateY(-2px);
  outline: none;
}


.contact-links {
  padding-block: 5rem;
}

.contact-links__title {
  margin-bottom: 2rem;
  color: hsl(40 20% 90% / 0.9);
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  line-height: 1.1;
  text-align: center;
}

.contact-links__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 5.5rem;
  padding: 1.25rem;
  border: 1px solid var(--white-10);
  border-radius: 2px;
  background: hsl(240 5% 15% / 0.45);
  color: var(--foreground);
  text-decoration: none;
  transition: border-color 300ms ease, background-color 300ms ease, transform 300ms ease;
}

.contact-card:hover,
.contact-card:focus-visible {
  border-color: hsl(30 63% 60% / 0.45);
  background: hsl(30 63% 60% / 0.06);
  transform: translateY(-2px);
  outline: none;
}

.contact-card__icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  flex: 0 0 3rem;
  border: 1px solid var(--primary-border);
  background: var(--primary-soft);
  color: var(--primary);
}

.contact-card__icon svg {
  width: 1.4rem;
  height: 1.4rem;
}

.contact-card__text {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.2rem;
}

.contact-card__text strong {
  color: hsl(40 20% 90% / 0.92);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.contact-card__text small {
  overflow: hidden;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.releases {
  display: flex;
  flex-direction: column;
  gap: 8rem;
}

.release {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.release--right {
  flex-direction: row-reverse;
}

.release__cover,
.release__content {
  flex: 1 1 0;
  min-width: 0;
}

.release__cover {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--muted-soft);
}

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

.release__cover:hover img {
  transform: scale(1.05);
}

.release__header {
  margin-bottom: 2.5rem;
}

.release__header h3 {
  margin-bottom: 0.5rem;
  color: var(--foreground);
  font-family: var(--font-serif);
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 400;
  line-height: 1.1;
}

.release__header span {
  color: var(--primary);
  font-size: 0.875rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.track-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  padding: 1rem 0;
  border: 0;
  border-bottom: 1px solid var(--white-05);
  background: transparent;
  color: inherit;
  text-align: left;
  transition: border-color 250ms ease;
}

.track:hover,
.track:focus-visible,
.track.is-playing {
  border-bottom-color: hsl(30 63% 60% / 0.5);
  outline: none;
}

.track__main,
.track__meta {
  display: flex;
  align-items: center;
}

.track__main {
  gap: 1.5rem;
  min-width: 0;
}

.track__number {
  color: hsl(40 10% 70% / 0.5);
  font-family: Menlo, Consolas, monospace;
  font-size: 0.875rem;
  transition: color 250ms ease;
}

.track__title {
  overflow: hidden;
  color: hsl(40 20% 90% / 0.8);
  font-size: 1.125rem;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 250ms ease;
}

.track__duration {
  color: var(--muted-foreground);
  font-family: Menlo, Consolas, monospace;
  font-size: 0.875rem;
}

.track__icon {
  width: 1rem;
  min-width: 1rem;
  color: var(--primary);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 250ms ease, transform 250ms ease;
}

.track:hover .track__icon,
.track:focus-visible .track__icon,
.track.is-playing .track__icon {
  opacity: 1;
  transform: translateX(0);
}

.track:hover .track__number,
.track:focus-visible .track__number,
.track.is-playing .track__number {
  color: var(--primary);
}

.track:hover .track__title,
.track:focus-visible .track__title,
.track.is-playing .track__title {
  color: var(--foreground);
}

.track.is-playing .track__title {
  color: var(--foreground);
}

.track__meta {
  gap: 1rem;
  flex-shrink: 0;
}

.equalizer {
  display: inline-flex;
  align-items: end;
  gap: 3px;
  height: 1.25rem;
}

.equalizer span {
  display: block;
  width: 3px;
  height: 30%;
  border-radius: 999px;
  background: var(--primary);
  animation: equalizer 1.25s ease-in-out infinite;
}

.equalizer span:nth-child(2) { animation-delay: 0.18s; }
.equalizer span:nth-child(3) { animation-delay: 0.36s; }
.equalizer span:nth-child(4) { animation-delay: 0.54s; }

@keyframes equalizer {
  0%, 100% { height: 25%; }
  25% { height: 100%; }
  50% { height: 50%; }
  75% { height: 80%; }
}

.quote__content {
  width: min(100% - 48px, 896px);
  margin-inline: auto;
  text-align: center;
}

.quote blockquote {
  margin-bottom: 2rem;
  color: hsl(40 20% 90% / 0.8);
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  line-height: 1.25;
}

.quote figcaption {
  color: var(--primary);
  font-size: 0.75rem;
  font-style: normal;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.footer {
  position: relative;
  z-index: 20;
  padding: 3rem 1.5rem;
  border-top: 1px solid var(--white-05);
  background: var(--background);
  color: hsl(40 10% 70% / 0.4);
  text-align: center;
}

.footer__links {
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.footer__link {
  color: hsl(40 10% 70% / 0.4);
  text-decoration: none;
  transition: color 250ms ease;
}

.footer__link svg {
  width: 1.25rem;
  height: 1.25rem;
}

.footer__link:hover,
.footer__link:focus-visible {
  color: var(--primary);
  outline: none;
}

.footer p {
  font-size: 0.875rem;
}

.now-playing {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  z-index: 60;
  display: grid;
  grid-template-columns: auto minmax(220px, 520px) auto;
  align-items: center;
  gap: 1.25rem;
  width: min(720px, calc(100vw - 32px));
  padding: 1rem 1.25rem;
  border: 1px solid var(--white-10);
  border-radius: 2px;
  background: hsl(240 5% 15% / 0.9);
  box-shadow: 0 24px 64px rgb(0 0 0 / 0.35);
  backdrop-filter: blur(16px);
  transform: translateX(-50%) translateY(0);
  animation: nowPlayingIn 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

.now-playing[hidden] {
  display: none;
}

@keyframes nowPlayingIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(80px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.now-playing__body {
  min-width: 0;
}

.now-playing__text {
  min-width: 0;
}

.now-playing__text p {
  overflow: hidden;
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.now-playing__text span {
  display: block;
  margin-top: 0.125rem;
  color: var(--muted-foreground);
  font-size: 0.75rem;
}

.now-playing__progress {
  display: grid;
  grid-template-columns: 42px minmax(140px, 1fr) 42px;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.now-playing__time {
  color: var(--muted-foreground);
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  text-align: center;
}

.now-playing__slider {
  --progress: 0%;
  width: 100%;
  height: 22px;
  border: 0;
  background: transparent;
  cursor: pointer;
  appearance: none;
  accent-color: var(--primary);
  touch-action: none;
}

.now-playing__slider:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.now-playing__slider::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--primary) 0%,
    var(--primary) var(--progress),
    hsl(40 10% 70% / 0.18) var(--progress),
    hsl(40 10% 70% / 0.18) 100%
  );
}

.now-playing__slider::-webkit-slider-thumb {
  width: 14px;
  height: 14px;
  margin-top: -5px;
  border: 2px solid hsl(240 5% 15%);
  border-radius: 50%;
  background: var(--foreground);
  box-shadow: 0 0 0 4px hsl(40 10% 70% / 0.12);
  appearance: none;
}

.now-playing__slider::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  background: hsl(40 10% 70% / 0.18);
}

.now-playing__slider::-moz-range-progress {
  height: 4px;
  border-radius: 999px;
  background: var(--primary);
}

.now-playing__slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 2px solid hsl(240 5% 15%);
  border-radius: 50%;
  background: var(--foreground);
  box-shadow: 0 0 0 4px hsl(40 10% 70% / 0.12);
}

.now-playing__slider:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}

.now-playing__stop {
  flex-shrink: 0;
  padding: 0.5rem;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: var(--muted-foreground);
  line-height: 1;
  transition: background-color 250ms ease, color 250ms ease;
}

.now-playing__stop:hover,
.now-playing__stop:focus-visible {
  background: var(--white-05);
  color: var(--foreground);
  outline: none;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms ease, transform 800ms ease;
}

.reveal--left {
  transform: translateX(24px);
}

.reveal--right {
  transform: translateX(-24px);
}

.reveal.reveal--visible {
  opacity: 1;
  transform: translate(0, 0);
}

@media (max-width: 900px) {
  .section {
    padding-block: 6rem;
  }

  .release,
  .release--right {
    flex-direction: column;
    gap: 3rem;
  }

  .release__cover,
  .release__content {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .container,
  .container--small,
  .container--large,
  .hero__content,
  .quote__content {
    width: min(100% - 32px, 100%);
  }

  .hero {
    min-height: 560px;
  }

  .hero__content h1 {
    font-size: clamp(4rem, 22vw, 5.5rem);
  }

  .hero__content p {
    letter-spacing: 0.22em;
  }

  .track {
    align-items: flex-start;
  }

  .track__main {
    gap: 1rem;
  }

  .track__title {
    white-space: normal;
  }

  .track__meta {
    gap: 0.75rem;
  }

  .platforms__list {
    gap: 0.75rem;
  }

  .platform-link {
    width: 100%;
    justify-content: center;
  }

  .now-playing {
    grid-template-columns: auto minmax(0, 1fr) auto;
    width: calc(100vw - 32px);
    gap: 0.875rem;
    padding: 0.875rem 1rem;
  }

  .now-playing__progress {
    grid-template-columns: 36px minmax(80px, 1fr) 36px;
    gap: 0.5rem;
  }
}

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

  .hero__background {
    transform: none !important;
  }
}

.audio-status {
  margin: 3rem auto 0;
  max-width: 720px;
  padding: 1rem 1.25rem;
  border: 1px solid hsl(0 70% 65% / 0.25);
  background: hsl(0 70% 50% / 0.08);
  color: hsl(0 80% 82%);
  text-align: center;
}

.track__loader {
  display: inline-block;
  width: 1.15rem;
  height: 1.15rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 999px;
  animation: spin 800ms linear infinite;
}

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


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