@font-face { font-family: "IM Fell English"; src: url("/fonts/im-fell-english-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
:root {
  /* layout idea: a release sheet in the top left corner, left-aligned with a ragged right edge */
  --paper: #7a1020;   /* red */
  --ink: #e3bba4;     /* peach text */
  --muted: #b17f78;   /* links not live yet */
  --font-body: "IM Fell English", Georgia, serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--paper); }
html, body { margin: 0; color: var(--ink); }
body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.32;
  letter-spacing: .005em;
  text-transform: lowercase;  /* no capitals anywhere */
  padding: 9vh 3.3vw 80px 5.5vw;
  -webkit-font-smoothing: antialiased;
}
main { display: grid; gap: 30px; justify-items: start; }
a { color: var(--ink); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: none; }
a:focus-visible { outline: 1px dotted var(--ink); outline-offset: 2px; }
h1, h2 { font-size: 16px; font-weight: 400; letter-spacing: .02em; margin: 0; }
section { display: grid; gap: 10px; justify-items: start; }
ol, ul { list-style: none; margin: 0; padding: 0; }
/* a tab stop, not a box: the value sits after the title, the right edge stays ragged */
.rows li { display: grid; grid-template-columns: 23em auto; column-gap: 1.5em; }
.rows .y { font-variant-numeric: tabular-nums; }
/* tracklist: times sit a fixed gap after the longest title */
.tracks { display: grid; grid-template-columns: max-content max-content; column-gap: 3em; }
.tracks li { display: contents; }
.muted { color: var(--muted); }
.lines { display: grid; gap: 0; }
.label { display: grid; gap: 0; justify-items: start; }
.label h2 { margin-bottom: 0; }
.label .yr { margin-bottom: 1em; }
.label .about { margin: 0 0 1em; max-width: 46ch; }
.text p { margin: 0 0 1em; max-width: 46ch; white-space: pre-line; }
.text p:last-child { margin-bottom: 0; }
.bio { margin-top: 40px; }
.part { margin-top: 40px; }
.imgs { display: grid; gap: 12px; }
.imgs { margin-bottom: 12px; }
.imgs img { margin-bottom: 0; }
.nav { display: flex; gap: 1.5em; margin-top: 16px; }
.home { position: fixed; bottom: 4vh; right: 3.3vw; display: block; line-height: 0; }
.home img { width: 60px; height: auto; display: block; }
.logo { display: block; width: 300px; max-width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; margin-bottom: 12px; }
@media (max-width: 420px) {
  body { font-size: 15px; padding: 40px 20px 64px 28px; }
  h1, h2 { font-size: 16px; }
  main { gap: 28px; }
  .rows li { grid-template-columns: minmax(0, 1fr) auto; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* the outer layer: mythomania collection, top of every page */
.mm { margin-bottom: 30px; }
.mm a { font-size: 21px; letter-spacing: .01em; display: inline-flex; align-items: center; gap: .42em; }
/* small mark before the name, about the height of the letters, in the text colour */
.mm-mark {
  display: inline-block; width: 1.08em; height: 1.04em; flex: none; position: relative; top: .02em;
  background: var(--ink);
  -webkit-mask: url("/images/mark-small.png") center / contain no-repeat;
          mask: url("/images/mark-small.png") center / contain no-repeat;
}

/* the mythomania mark, very large in the middle, in the text colour */
.mark {
  position: fixed; z-index: 0; pointer-events: none;
  /* huge: the screen sits inside the circle, centred on its middle */
  height: 165vmax; height: calc(1.22 * hypot(100vw, 100vh));
  aspect-ratio: 1054 / 1012; width: auto;
  left: 50%; top: 50%; transform: translate(-47.96%, -52.33%);
  background: var(--ink); opacity: .32;
  -webkit-mask: url("/images/mark.png") center / 100% 100% no-repeat;
          mask: url("/images/mark.png") center / 100% 100% no-repeat;
}
main, .mm, .home { position: relative; z-index: 1; }
.home { position: fixed; }
