/* mondiscs — white label.
   One typeface throughout: monospace. A fixed-width face is what a white
   label, a distributor's list and a shop's inventory sheet all use, and
   committing to it entirely is a stronger signal than mixing it with a sans.
   Sleeves sit on the paper with a soft shadow rather than a hard outline —
   an outline boxed them in and fought the artwork. Everything else is flat
   and squared. Hierarchy comes from size, case and space alone: not from ink
   density, and not from anything canted or distressed. */

:root {
  --paper: #f5f2ec;
  --ink: #1a1712;
  --faint: rgba(26, 23, 18, 0.55);
  --rule: rgba(26, 23, 18, 0.22);
  --rule-strong: rgba(26, 23, 18, 0.45);

  --mono: ui-monospace, "SF Mono", Menlo, "DejaVu Sans Mono", "Liberation Mono",
    Consolas, monospace;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.6;
}

.wrap { max-width: 860px; margin: 0 auto; padding: 32px 26px 80px; }

header.site {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 14px; border-bottom: 2px solid var(--ink); margin-bottom: 4px;
}
/* The wordmark is always lowercase — brand rule, no exceptions. Nothing that
   renders "mondiscs" may carry text-transform: uppercase or small-caps. */
header.site a.logo {
  font-size: 16px; font-weight: 500; letter-spacing: 0.16em;
  text-decoration: none; color: var(--ink); text-transform: lowercase;
}
header.site nav { display: flex; gap: 20px; }
header.site nav a {
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--faint); text-decoration: none;
}
header.site nav a:hover { color: var(--ink); }

/* catalogue index */
.empty-catalogue {
  font-size: 12px; letter-spacing: 0.05em; color: var(--faint); padding: 30px 0;
}
.release-row {
  display: grid; grid-template-columns: 68px 1fr 88px 104px;
  gap: 20px; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--rule);
  text-decoration: none; color: var(--ink);
}
.release-row:hover { background: rgba(26, 23, 18, 0.04); }
/* Shading rather than an outline: a hard border boxed the sleeve in and
   fought the artwork.
   Two layers, the way a real object shades. A key light high and to the left
   throws the cast shadow down and right, which carries the weight; under it,
   an unoffset ambient layer at half the alpha puts a whisper back on the top
   and left so the sleeve reads as sitting on the paper rather than sliding
   off it. Same recipe at both sizes, scaled. */
.release-row img {
  width: 68px; height: 68px; object-fit: cover;
  box-shadow:
    0 0 4px rgba(60, 45, 25, 0.06),
    2px 3px 6px rgba(60, 45, 25, 0.1);
  display: block;
}
.release-row .cat {
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--faint);
}
.release-row .artist {
  font-size: 14px; letter-spacing: 0.02em; margin-top: 5px;
}
.release-row .title { font-size: 12px; color: var(--faint); margin-top: 2px; }
.release-row .fmt {
  font-size: 11px; letter-spacing: 0.06em; color: var(--faint);
}
.release-row .price { text-align: right; font-size: 14px; }
.release-row .status {
  text-align: right; font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--faint); margin-top: 5px;
}
/* On-sale is the quiet baseline above. Pre-order asserts itself at full ink,
   per the approved reference. Sold-out keeps the baseline mute rather than
   receding further — compounding opacity on the muted ink took it to roughly
   1.8:1 against the paper, and "Sold out" is the one word a shopper most
   needs to read. Its own copy carries the distinction. */
.release-row .status.status--pre-order { color: var(--ink); opacity: 1; }

/* release page */
.release { display: grid; grid-template-columns: 300px 1fr; gap: 40px; margin-top: 34px; }
.release img.sleeve {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  box-shadow:
    0 0 10px rgba(60, 45, 25, 0.06),
    8px 10px 20px rgba(60, 45, 25, 0.11);
  display: block;
}
.release .cat {
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--faint);
}
.release h1 {
  font-size: 24px; letter-spacing: 0.01em; margin: 12px 0 0; font-weight: 500;
}
.release .title { font-size: 15px; color: var(--faint); margin-top: 5px; }
/* Monospace prose needs a shorter measure and more leading than a sans would. */
.release .description {
  font-size: 13px; line-height: 1.85; color: rgba(26, 23, 18, 0.82);
  margin-top: 20px; max-width: 52ch;
}

.tracklist { margin-top: 26px; border-top: 1px solid var(--rule-strong); }
.tracklist .track {
  display: grid; grid-template-columns: 36px 1fr 54px; gap: 12px;
  padding: 9px 0; border-bottom: 1px solid var(--rule); font-size: 13px;
}
.tracklist .track .side {
  font-size: 10px; letter-spacing: 0.12em; color: var(--faint);
}
.tracklist .track .dur { text-align: right; font-size: 12px; color: var(--faint); }

.buy-row { margin-top: 28px; display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; }
select.country {
  font-family: inherit; font-size: 12px; padding: 0 12px;
  background: transparent; border: 1px solid var(--ink); color: var(--ink);
  border-radius: 0;
}
button.buy {
  background: var(--ink); color: var(--paper); border: 1px solid var(--ink);
  font-family: inherit;
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 14px 28px; cursor: pointer; border-radius: 0;
}
button.buy:hover { background: transparent; color: var(--ink); }
button.buy[disabled] {
  background: transparent; color: var(--faint); border-color: var(--rule-strong);
  cursor: not-allowed;
}
.stockline {
  align-self: center;
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--faint);
}
.duties {
  font-size: 10px; letter-spacing: 0.05em; line-height: 1.8;
  color: var(--faint); margin-top: 12px; max-width: 56ch;
}
/* An error states what happened, in a box that reads like the rest of the
   page rather than an alert. */
.flash {
  border: 1px solid var(--ink); border-left-width: 4px;
  padding: 12px 14px; font-size: 12px; margin-top: 22px;
}

/* about page */
.about { margin-top: 34px; max-width: 52ch; }
/* Lowercase, not uppercase like the release-page h1 — this heading is the
   wordmark, and the wordmark is always lowercase. */
.about h1 {
  font-size: 24px; letter-spacing: 0.16em; text-transform: lowercase;
  margin: 0 0 20px; font-weight: 500;
}
.about .about-text { font-size: 13px; line-height: 1.85; color: rgba(26, 23, 18, 0.82); }
.about .about-contact {
  font-size: 11px; letter-spacing: 0.05em; color: var(--faint); margin-top: 24px;
}

a:focus-visible, button:focus-visible, select:focus-visible {
  outline: 2px solid var(--ink); outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

@media (max-width: 720px) {
  .release { grid-template-columns: 1fr; gap: 24px; }
  .release-row { grid-template-columns: 54px 1fr 84px; }
  .release-row img { width: 54px; height: 54px; }
  .release-row .fmt { display: none; }
}
