/* Mysteries of the Deep — static release page.
   Self-contained: brand tokens mirrored from proto-styles.css so these
   prerendered pages match the app without loading the full app CSS. */
:root {
  --bg:        #0A0A0A;
  --bg-soft:   #111111;
  --fg:        #e7e7e6;
  --fg-soft:   rgba(231,231,230,.62);
  --fg-faint:  rgba(231,231,230,.42);
  --rule:      rgba(255,255,255,.10);
  --head: 'Manrope', 'Helvetica Neue', sans-serif;
  --body: 'Jost', 'Helvetica Neue', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --track: .02em;
  --margin: 7vw;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
a { color: inherit; }

/* Header */
.site {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  padding: 28px var(--margin);
  border-bottom: 1px solid var(--rule);
}
.brand {
  font-family: var(--head); font-weight: 400; font-size: 16px;
  letter-spacing: .06em; text-decoration: none;
}
.nav {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: .08em; color: var(--fg-soft);
}
.nav a { text-decoration: none; }
.nav a:hover { color: var(--fg); }
.nav span { color: var(--fg-faint); }

/* Layout */
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 var(--margin); }
.crumb {
  display: inline-block; margin: 40px 0 8px; white-space: nowrap;
  font-family: var(--mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: .08em; color: var(--fg-soft); text-decoration: none;
}
.crumb:hover { color: var(--fg); }

/* Release hero */
.rel {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px;
  align-items: start; padding: 28px 0 64px;
}
.cover img {
  width: 100%; height: auto; display: block; aspect-ratio: 1/1;
  object-fit: cover; background: #06080a;
}
.cat {
  font-family: var(--mono); font-size: 12px; text-transform: uppercase;
  letter-spacing: .1em; color: var(--fg-soft);
}
h1 {
  font-family: var(--head); font-weight: 300;
  font-size: clamp(40px, 5vw, 84px); line-height: 1.04;
  letter-spacing: var(--track); margin: 16px 0 0;
}
.artist {
  font-family: var(--head); font-style: italic; font-weight: 300;
  font-size: clamp(20px, 2vw, 26px); color: var(--fg-soft); margin-top: 16px;
}
.meta {
  display: grid; grid-template-columns: repeat(2, auto); column-gap: 60px; row-gap: 8px;
  margin: 40px 0 0;
}
.meta div { display: contents; }
.meta dt {
  grid-row: 1; font-family: var(--mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: .1em; color: var(--fg-soft);
}
.meta dd {
  grid-row: 2; margin: 0; font-family: var(--mono); font-size: 13px; color: var(--fg);
}

/* Buttons */
.btnrow { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; padding-top: 36px; border-top: 1px solid var(--rule); }
.btn {
  font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em;
  padding: 13px 22px; border: 1px solid var(--fg); color: var(--fg);
  text-decoration: none; min-width: 150px; text-align: center;
  transition: background .18s ease, color .18s ease;
}
.btn:hover { background: var(--fg); color: var(--bg); }
.btn-fill { background: var(--fg); color: var(--bg); }
.btn-fill:hover { background: transparent; color: var(--fg); }

/* Sections */
.block { padding: 56px 0; border-top: 1px solid var(--rule); }
.sec {
  font-family: var(--mono); font-size: 12px; text-transform: uppercase;
  letter-spacing: .1em; color: var(--fg-soft); font-weight: 400; margin: 0 0 36px;
}
.sub {
  font-family: var(--mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: .1em; color: var(--fg-soft); font-weight: 400; margin: 0 0 18px;
}
.notes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.notes { max-width: 640px; }
.note { font-style: italic; font-size: 17px; line-height: 1.7; color: var(--fg); margin: 0 0 22px; }
.note:last-child { margin-bottom: 0; }

/* Credits */
.credits { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; row-gap: 16px; margin: 0; }
.credits div { display: block; }
.credits dt {
  font-family: var(--mono); font-size: 10px; text-transform: uppercase;
  letter-spacing: .08em; color: var(--fg-soft);
}
.credits dd { margin: 4px 0 0; font-size: 14px; color: var(--fg); }

/* Tracklist */
.tracklist { list-style: none; margin: 0; padding: 0; max-width: 720px; }
.tracklist li {
  display: grid; grid-template-columns: 48px 1fr auto; gap: 18px; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid var(--rule);
}
.tk-n { font-family: var(--mono); font-size: 12px; color: var(--fg-soft); }
.tk-t { font-size: 17px; }
.tk-d { font-family: var(--mono); font-size: 12px; color: var(--fg-faint); }

/* Footer */
.site-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-top: 40px; padding: 36px var(--margin);
  border-top: 1px solid var(--rule);
  font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em;
  color: var(--fg-soft);
}
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: var(--fg); }

/* Responsive */
@media (max-width: 820px) {
  :root { --margin: 5vw; }
  .rel { grid-template-columns: 1fr; gap: 36px; }
  .notes-grid { grid-template-columns: 1fr; gap: 40px; }
  .credits { grid-template-columns: 1fr 1fr; }
}

/* ── Catalog index (/releases/) ── */
.cat-h1 {
  font-family: var(--head); font-weight: 200;
  font-size: clamp(48px, 7vw, 104px); line-height: 1; letter-spacing: var(--track);
  margin: 56px 0 0;
}
.cat-lede {
  max-width: 560px; margin: 24px 0 0; font-size: 17px; line-height: 1.6; color: var(--fg-soft);
}
.rgrid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px;
  margin: 56px 0 24px;
}
.rcard { text-decoration: none; color: inherit; display: block; }
.rcard-cover {
  aspect-ratio: 1/1; overflow: hidden; background: #06080a; margin-bottom: 14px;
}
.rcard-cover img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s ease, opacity .2s ease;
}
.rcard:hover .rcard-cover img { transform: scale(1.03); }
.rcard-cat {
  font-family: var(--mono); font-size: 10px; text-transform: uppercase;
  letter-spacing: .1em; color: var(--fg-faint);
}
.rcard-title {
  font-family: var(--head); font-weight: 300; font-size: 18px; letter-spacing: var(--track);
  margin-top: 6px; line-height: 1.3;
}
.rcard:hover .rcard-title { color: #fff; }
.rcard-artist { font-size: 14px; color: var(--fg-soft); margin-top: 3px; }
@media (max-width: 820px) {
  .rgrid { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
}
@media (max-width: 480px) {
  .rgrid { grid-template-columns: 1fr 1fr; }
}
