/* mayhemrai: minimal, one accent, a tracklist */

/* One light-grey theme for everyone (no automatic dark mode). */
:root {
  --bg: #e7e6e2;
  --fg: #0e0d0c;
  --muted: #55524c;
  --line: #cfccc5;
  --accent: #d7140f;
  color-scheme: light;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.6 ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", sans-serif;
}

main {
  max-width: 40rem;
  margin: 0 auto;
  padding: 6rem 1rem 4rem;
}

.logo {
  font: 4.5rem/1 "Anton", Impact, "Arial Narrow", sans-serif;
  text-transform: uppercase;
  letter-spacing: .01em;
  margin: 0;
}
.dot { color: var(--accent); }

.intro {
  color: var(--muted);
  max-width: 30rem;
  margin: 1rem 0 0;
}

.label {
  margin: 5rem 0 .75rem;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--muted);
}

.tracks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.tracks li { border-bottom: 1px solid var(--line); }

.tracks a {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  padding: 1.25rem 0;
  color: inherit;
  text-decoration: none;
}
.num {
  font: 1rem/1 "Anton", Impact, sans-serif;
  color: var(--muted);
  min-width: 1.6rem;
}
.body { flex: 1; display: flex; flex-direction: column; gap: .2rem; }
.title { font-weight: 600; font-size: 1.1rem; }
.desc { color: var(--muted); font-size: .95rem; }
.feat {
  margin-left: .35rem;
  font-size: .85rem;
  font-weight: 400;
  font-style: italic;
  color: var(--muted);
}
.tag {
  margin-left: .4rem;
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent);
  vertical-align: .15em;
}
.date {
  font-size: .85rem;
  color: var(--muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.arrow {
  color: var(--muted);
  transition: transform .2s, color .2s;
}
.tracks a:hover .title,
.tracks a:hover .num,
.tracks a:hover .arrow,
.tracks a:focus-visible .title { color: var(--accent); }
.tracks a:hover .arrow { transform: translateX(4px); }
.tracks a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

footer {
  margin-top: 5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: .5rem 1.5rem;
}
.copy { margin: 0; font-size: .9rem; color: var(--muted); }
.quip {
  font: inherit;
  font-size: .9rem;
  color: var(--muted);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: left;
}
.quip:hover { color: var(--fg); }

::selection { background: var(--accent); color: #fff; }

@media (max-width: 480px) {
  main { padding-top: 4rem; }
  .logo { font-size: 3.4rem; }
}

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