:root {
  color-scheme: dark;
  --black: #000;
  --white: #fff;
  --muted: #929292;
  --line: rgba(255, 255, 255, 0.2);
  --page: min(100% - 40px, 1440px);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--black); }
body { margin: 0; min-width: 320px; background: var(--black); color: var(--white); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }

.backdrop { --logo-gutter: clamp(32px, 7vw, 112px); position: fixed; z-index: 0; inset: 0; overflow: hidden; pointer-events: none; }
.backdrop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.36), #000 94%); }
.backdrop-logo { position: absolute; top: var(--logo-gutter); left: var(--logo-gutter); width: calc(100% - var(--logo-gutter) - var(--logo-gutter)); height: calc(100% - var(--logo-gutter) - var(--logo-gutter)); object-fit: contain; opacity: 0.3; filter: grayscale(1) contrast(1.35); }
.backdrop-artwork { position: absolute; inset: -3%; width: 106%; height: 106%; object-fit: cover; opacity: 0.22; filter: grayscale(1) invert(1) contrast(1.35); }

.site-header { position: fixed; z-index: 20; top: 0; left: 0; width: 100%; border-bottom: 1px solid var(--line); background: rgba(0, 0, 0, 0.88); backdrop-filter: blur(12px); }
.header-inner { width: var(--page); min-height: 72px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark, .header-nav a, .release-kind, .release-date, .release-download-label, .footer-note { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.wordmark, .header-nav a { text-decoration: none; }
.header-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 44px); }
.header-nav a { color: var(--muted); }
.header-nav a:hover, .header-nav a:focus-visible { color: var(--white); }

.release-page { position: relative; z-index: 1; width: var(--page); min-height: 100svh; margin: 0 auto; padding: clamp(130px, 16vh, 190px) 0 44px; display: flex; flex-direction: column; justify-content: space-between; }
.release-main { min-width: 0; display: grid; gap: clamp(20px, 4vw, 44px); }
.release-kind { color: var(--muted); }
.release-date { color: var(--muted); font-size: 13px; }
.release-title { max-width: 1250px; margin: 0; font-size: clamp(52px, 11vw, 164px); line-height: 0.86; letter-spacing: -0.07em; text-transform: uppercase; overflow-wrap: anywhere; }
.release-artists { color: var(--white); opacity: 0.5; -webkit-text-stroke: 0; }
.release-meta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.release-cover-frame { width: min(500px, 100%); max-width: 100%; aspect-ratio: 1; overflow: hidden; border: 1px solid var(--line); background: var(--black); }
.release-cover { width: 100%; height: 100%; max-width: 100%; display: block; object-fit: contain; }
.release-heading { display: grid; gap: 18px; }
.release-title--single-line { max-width: none; font-size: clamp(20px, 5.4vw, 72px); line-height: 0.94; white-space: nowrap; overflow-wrap: normal; }
.release-title--compact { font-size: clamp(12px, 4.35vw, 62px); }
.release-date--under-title { font-size: 13px; }
.release-download-all { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.release-download-label { margin-right: 10px; color: var(--muted); font-size: 13px; }

.tracklist { margin-top: clamp(32px, 5vw, 72px); }
.tracklist-heading { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); color: var(--muted); }
.tracklist-heading h2, .tracklist-heading span { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.track-list { margin: 0; padding: 0; list-style: none; }
.track-row { min-height: 74px; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); }
.track-number { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; }
.track-title { min-width: 0; font-size: clamp(17px, 2vw, 26px); font-weight: 700; letter-spacing: -0.02em; text-transform: uppercase; overflow-wrap: anywhere; }
.track-feature { color: var(--white); opacity: 0.5; font-size: 0.72em; letter-spacing: -0.01em; text-transform: none; }
.track-downloads { display: flex; align-items: center; gap: 8px; }
.track-row--minus { padding: 18px 0; }
.minus-options { grid-column: 2 / -1; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.minus-options[hidden] { display: none; }
.track-downloads a, .lyrics-button, .minus-toggle, .minus-options a, .release-download-all a { min-width: 62px; min-height: 38px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); background: transparent; color: var(--white); font: inherit; font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-decoration: none; text-transform: uppercase; cursor: pointer; }
.track-downloads a:hover, .track-downloads a:focus-visible, .lyrics-button:hover, .lyrics-button:focus-visible, .minus-toggle:hover, .minus-toggle:focus-visible, .minus-toggle[aria-expanded="true"], .minus-options a:hover, .minus-options a:focus-visible, .release-download-all a:hover, .release-download-all a:focus-visible { border-color: var(--white); background: var(--white); color: var(--black); outline: none; }
@media (hover: none) { .minus-toggle[aria-expanded="false"]:hover { border-color: var(--line); background: transparent; color: var(--white); } }

.lyrics-dialog { width: min(820px, calc(100% - 28px)); max-height: calc(100svh - 28px); margin: auto; padding: 0; border: 1px solid var(--line); background: var(--black); color: var(--white); }
.lyrics-dialog::backdrop { background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(8px); }
.lyrics-dialog[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.lyrics-dialog-header { min-height: 72px; padding: 0 clamp(18px, 4vw, 36px); display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); background: var(--black); }
.lyrics-dialog-title { margin: 0; font-size: clamp(22px, 4vw, 42px); line-height: 1; letter-spacing: -0.04em; text-transform: uppercase; }
.lyrics-dialog-close { width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid var(--line); background: transparent; color: var(--white); font-size: 24px; line-height: 1; cursor: pointer; }
.lyrics-dialog-close:hover, .lyrics-dialog-close:focus-visible { border-color: var(--white); background: var(--white); color: var(--black); outline: none; }
.lyrics-dialog-body { margin: 0; padding: clamp(24px, 5vw, 48px) clamp(18px, 4vw, 36px) clamp(52px, 8vw, 80px); overflow: auto; white-space: pre-wrap; font: inherit; font-size: clamp(16px, 2.2vw, 22px); line-height: 1.55; }
.lyrics-dialog--clown { border-color: #ff2bd6; box-shadow: 0 0 0 4px #ffe600, 0 0 0 8px #00e5ff; }
.lyrics-dialog--clown .lyrics-dialog-header { border-color: #ff2bd6; }
.lyrics-dialog--clown .lyrics-dialog-body { font-family: "Comic Sans MS", "Comic Sans", cursive; font-weight: 700; letter-spacing: 0.025em; text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.18); }

.release-actions { margin-top: clamp(80px, 15vh, 180px); border-top: 1px solid var(--line); }
.action-link { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); font-size: clamp(16px, 2.1vw, 28px); font-weight: 700; letter-spacing: -0.025em; text-decoration: none; text-transform: uppercase; }
.action-link:hover, .action-link:focus-visible { padding-right: 18px; outline: none; }

.site-footer { position: relative; z-index: 2; border-top: 1px solid var(--line); background: var(--black); }
.footer-inner { width: var(--page); min-height: 76px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-note { margin: 0; color: var(--muted); }

@media (max-width: 640px) {
  :root { --page: min(100% - 28px, 1440px); }
  .header-inner { min-height: 62px; }
  .header-nav { gap: 15px; }
  .header-nav a { font-size: 9px; letter-spacing: 0.12em; }
  .backdrop { --logo-gutter: 22px; }
  .release-page { padding-top: 118px; }
  .release-cover-frame { width: min(420px, calc(100vw - 56px)); max-width: calc(100vw - 56px); justify-self: center; }
  .release-heading, .release-title { min-width: 0; }
  .release-meta { align-items: flex-start; flex-direction: column; }
  .track-row { min-height: 68px; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; }
  .track-title { font-size: 15px; }
  .track-downloads { gap: 5px; }
  .track-row--minus { padding: 16px 0; }
  .track-downloads a, .lyrics-button, .minus-toggle, .minus-options a, .release-download-all a { min-width: 46px; min-height: 34px; padding: 0 7px; font-size: 9px; }
  .lyrics-dialog { width: 100%; height: 100%; max-width: none; max-height: none; border: 0; }
  .lyrics-dialog-header { min-height: 62px; }
}

@media (max-width: 480px) {
  .track-row--minus { grid-template-columns: 30px minmax(0, 1fr); row-gap: 12px; padding: 14px 0; }
  .track-row--minus .track-downloads { grid-column: 2; }
  .minus-options { justify-content: flex-start; }
}
