:root {
  color-scheme: dark;
  --background: #050505;
  --surface: #0b0b0b;
  --surface-raised: #111;
  --text: #f6f6f2;
  --muted: #8d8d88;
  --line: rgba(255, 255, 255, 0.13);
  --line-strong: rgba(255, 255, 255, 0.24);
  --accent: #d8ff3e;
  --page-pad: clamp(18px, 4vw, 64px);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--background);
  color: var(--text);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

button,
audio {
  font: inherit;
}

button {
  color: inherit;
}

.shell {
  width: min(1440px, 100%);
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  padding: 0 var(--page-pad);
  display: flex;
  flex-direction: column;
}

.site-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.17em;
}

.brand-mark {
  position: relative;
  width: 24px;
  height: 16px;
  border-top: 1px solid var(--text);
  border-bottom: 1px solid var(--text);
}

.brand-mark::after {
  content: "";
  position: absolute;
  left: 5px;
  right: 5px;
  top: 7px;
  height: 1px;
  background: var(--text);
}

.edition {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.edition-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(216, 255, 62, 0.6);
}

.promo {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(460px, 1.08fr);
  align-items: center;
  gap: clamp(40px, 7vw, 112px);
  padding: clamp(42px, 6vh, 82px) 0;
}

.artwork-wrap {
  position: sticky;
  top: 24px;
  width: 100%;
  max-width: 620px;
  margin: 0;
  justify-self: end;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.36);
}

.artwork-play {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  color: #fff;
  background: #121212;
  border: 0;
  cursor: pointer;
  font: inherit;
  text-align: inherit;
}

.artwork-play::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.48));
  opacity: 0;
  transition: opacity 180ms ease;
}

.artwork-play:hover::after,
.artwork-play:focus-visible::after,
.artwork-play.is-playing::after {
  opacity: 0.28;
}

.artwork-play:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -4px;
}

.artwork-play-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  width: clamp(58px, 7vw, 76px);
  height: clamp(58px, 7vw, 76px);
  place-items: center;
  color: #fff;
  background: rgba(5, 5, 5, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.34);
  opacity: 0.72;
  transform: translate(-50%, -50%) scale(0.94);
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
  backdrop-filter: blur(8px);
}

.artwork-play:hover .artwork-play-indicator,
.artwork-play:focus-visible .artwork-play-indicator,
.artwork-play.is-playing .artwork-play-indicator {
  background: rgba(5, 5, 5, 0.7);
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.artwork-play-indicator svg {
  position: absolute;
  width: 29px;
  height: 29px;
  fill: currentColor;
}

.artwork-pause-icon {
  display: none;
}

.artwork-play.is-playing .artwork-play-icon {
  display: none;
}

.artwork-play.is-playing .artwork-pause-icon {
  display: block;
}

.artwork {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  background: #121212;
}

.artwork-caption {
  min-height: 44px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.track-panel {
  width: min(100%, 680px);
}

.track-heading {
  padding-bottom: 24px;
}

.eyebrow {
  margin: 0 0 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 30px;
  height: 1px;
  background: var(--accent);
}

.artist {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: clamp(12px, 1.2vw, 15px);
  font-weight: 600;
  letter-spacing: 0.19em;
}

h1 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(48px, 6.1vw, 94px);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.88;
  overflow-wrap: anywhere;
}

.version {
  margin: 16px 0 0;
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
}

.player-wrap {
  padding: 16px;
  background: var(--surface-raised);
  border: 1px solid var(--line);
}

audio {
  display: block;
  width: 100%;
  height: 42px;
  accent-color: var(--accent);
}

.actions {
  display: grid;
  grid-template-columns: 1fr 0.58fr;
  gap: 10px;
  margin: 10px 0 26px;
}

.button {
  min-height: 50px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  text-decoration: none;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-width: 1.5;
}

.button-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #080808;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #d7ff3c;
  border-color: #d7ff3c;
}

.button-secondary {
  background: transparent;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.5);
}

.track-list {
  border-top: 1px solid var(--line);
}

.track-row {
  width: 100%;
  min-height: 76px;
  padding: 10px 0;
  display: grid;
  grid-template-columns: 30px 54px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 12px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  text-align: left;
  transition: background-color 160ms ease, padding 160ms ease;
}

.track-row:hover,
.track-row:focus-visible {
  padding-left: 10px;
  padding-right: 10px;
  background: rgba(255, 255, 255, 0.035);
  outline: none;
}

.track-row.is-active {
  padding-left: 10px;
  padding-right: 10px;
  background: rgba(255, 255, 255, 0.065);
}

.track-index {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.track-row.is-active .track-index {
  color: var(--accent);
}

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

.track-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.track-artist {
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.track-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.track-name small {
  margin-left: 7px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.09em;
}

.track-arrow {
  color: var(--muted);
  font-size: 14px;
  transition: color 160ms ease, transform 160ms ease;
}

.track-row.is-active .track-arrow {
  color: var(--accent);
  transform: rotate(45deg);
}

.site-footer {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--text);
  text-underline-offset: 4px;
}

@media (max-width: 900px) {
  .promo {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 40px;
  }

  .artwork-wrap {
    position: static;
    max-width: 620px;
    justify-self: center;
  }

  .track-panel {
    width: min(100%, 620px);
    justify-self: center;
  }

  h1 {
    max-width: none;
  }
}

@media (max-width: 560px) {
  :root {
    --page-pad: 16px;
  }

  .site-header {
    min-height: 68px;
  }

  .brand {
    gap: 8px;
    font-size: 9px;
  }

  .brand-mark {
    width: 20px;
    height: 14px;
  }

  .brand-mark::after {
    top: 6px;
  }

  .edition {
    font-size: 8px;
    letter-spacing: 0.11em;
  }

  .edition span:first-child,
  .edition-dot {
    display: none;
  }

  .promo {
    gap: 32px;
    padding: 24px 0 40px;
  }

  .artwork-caption {
    min-height: 38px;
  }

  .track-heading {
    padding-bottom: 20px;
  }

  .eyebrow {
    margin-bottom: 18px;
  }

  h1 {
    font-size: clamp(48px, 16vw, 68px);
  }

  .player-wrap {
    padding: 10px;
  }

  .actions {
    grid-template-columns: 1fr;
    margin-bottom: 24px;
  }

  .button {
    min-height: 48px;
  }

  .track-row {
    min-height: 72px;
    grid-template-columns: 24px 48px minmax(0, 1fr) 18px;
    gap: 10px;
  }

  .track-row img {
    width: 48px;
    height: 48px;
  }

  .track-name small {
    display: block;
    margin: 3px 0 0;
  }

  .site-footer {
    min-height: 84px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
  }
}

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

@media (hover: none) {
  .artwork-play::after {
    opacity: 0.16;
  }

  .artwork-play-indicator {
    opacity: 0.88;
  }
}
