@font-face {
  font-family: "Liner Mono";
  src: url("assets/latin-modern-mono.otf") format("opentype");
  font-display: swap;
}

:root {
  color-scheme: dark;
  --forest: #1e2922;
  --stock: #eee6d2;
  --ink: #24251e;
  --muted: #524f3f;
  --rust: #784231;
  --crease: #6c5a3c;
  --light: #f4ead2;
  --type: "Liner Mono", "Courier New", monospace;
  --grain: url("assets/paper-grain.png");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--grain), radial-gradient(ellipse at 50% 30%, #374136, var(--forest) 72%); color: var(--light); font: 1.125rem/1.48 var(--type); }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
p, h1, h2, h3, figure, blockquote { margin: 0; }
h1, h2, h3 { line-height: 1.06; }
.shell { width: min(100% - 3.5rem, 75rem); margin-inline: auto; }

.skip { position: fixed; z-index: 3; left: 1rem; top: 1rem; transform: translateY(-180%); padding: .6rem 1rem; color: var(--ink); background: var(--stock); }
.skip:focus { transform: none; }
.masthead { border-bottom: 1px solid #f4ead238; }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 4.25rem; }
.wordmark { font-size: clamp(1.05rem, 2.2vw, 1.4rem); font-weight: bold; text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: .25rem clamp(.8rem, 2.5vw, 2rem); }
nav a, .back a { display: inline-flex; align-items: center; min-height: 2.75rem; }
nav a { font-size: 1rem; text-decoration: none; }
nav a:hover, .wordmark:hover { text-decoration: underline; }

.booklet { margin-block: clamp(1.75rem, 4vw, 3.75rem); border: 1px solid #a69370; box-shadow: 0 20px 52px #1019128c, 4px 4px #9e8d6d, 7px 7px #615745; }
.spread { display: grid; }
.paper { color-scheme: light; color: var(--ink); }
.track-index { display: flex; align-items: baseline; gap: .65rem 1.65rem; padding: .85rem clamp(1.2rem, 4vw, 3.5rem); background: var(--grain), #dfd3b6; border-bottom: 1px solid #a69370; }
.track-index h1 { font-size: 1.05rem; letter-spacing: inherit; }
.tracklist { display: flex; flex-wrap: wrap; gap: .15rem 2.15rem; margin: 0; padding-left: 1.35rem; }
.tracklist a { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: 1rem; text-decoration: underline; }
.tracklist li::marker { font-size: .9rem; color: var(--muted); }

.release { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); background: var(--grain), var(--stock); scroll-margin-top: 1rem; grid-template-areas: "copy art" "note art"; }
.release + .release { border-top: 1px solid #a69370; }
.release:focus-visible { outline: 2px solid var(--rust); outline-offset: -5px; }
.release-copy { grid-area: copy; min-width: 0; padding: clamp(1.25rem, 4.1vw, 3.5rem) clamp(1.25rem, 4.1vw, 3.5rem) 0; }
.print-label { margin-bottom: 1.05rem; font-size: .9rem; color: var(--muted); }
h1, .release-title { font-size: clamp(2.4rem, 5.65vw, 5.1rem); font-weight: bold; letter-spacing: -.065em; }
.video-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-top: 1.1rem;
  padding: .45rem .85rem;
  border: 1px solid #253a2b;
  background: #283b2d;
  color: var(--light);
  box-shadow: 2px 2px #97846a;
  font-weight: bold;
}
.video-link:hover { background: #384c3c; }
.video-link + .links { margin-top: .6rem; }
.video-link + .links a {
  border-color: #9b8e71;
  background: transparent;
  color: var(--ink);
  box-shadow: none;
  font-weight: normal;
}
.video-link + .links a:hover { background: #dfd3b6; }
.links { gap: .45rem .65rem; margin: 1.15rem 0 1.55rem; }
.links a { padding: .35rem .7rem; border: 1px solid #253a2b; background: #283b2d; color: var(--light); box-shadow: 2px 2px #97846a; font-weight: bold; }
.links a:hover { background: #384c3c; }
.liner-note { grid-area: note; border-top: 1px solid #9b8e71; margin: 0 clamp(1.25rem, 4.1vw, 3.5rem); padding: 1rem 0 clamp(1.25rem, 4.1vw, 3.5rem); }
.liner-note h2, .liner-note h3 { font-size: 1.35rem; letter-spacing: -.035em; }
.liner-note > p { margin: .65rem 0 0; max-width: 54ch; }
blockquote { margin-top: 1rem; padding: .3rem 0 .3rem .85rem; color: var(--rust); border-left: 2px solid var(--rust); }
.release-art { grid-area: art; display: grid; align-content: center; padding: clamp(1.25rem, 4vw, 3.5rem); border-left: 1px solid #b9a987; box-shadow: inset 12px 0 12px -15px var(--crease); }
.release-art img { width: 100%; height: auto; aspect-ratio: 1; border: 1px solid #8e836c; box-shadow: 3px 4px #74674c55; }
.release-art .mountain-still { object-fit: cover; object-position: center 64%; }
.back { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem clamp(1.4rem, 4.1vw, 3.75rem); border-top: 1px solid #887758; background: var(--grain), #2a3a2d; }
.back h2 { font-size: 1.35rem; }
.back p { margin-top: .25rem; font-size: 1rem; color: #e0d7bd; }
.back-links { display: flex; flex-wrap: wrap; column-gap: 1.25rem; overflow-wrap: anywhere; }
.download-link { display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: .65rem; }
.press-panel { padding: clamp(1.25rem, 4.1vw, 3.5rem); background: var(--grain), var(--stock); }
.press-panel > section { margin-top: 1.9rem; padding-top: 1.25rem; border-top: 1px solid #9b8e71; }
.press-panel h2 { margin-bottom: .6rem; font-size: 1.55rem; }
.press-panel p { max-width: 65ch; }
.press-panel .links { margin-bottom: 0; }
.press-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: clamp(1.25rem, 4vw, 3rem); align-items: start; }
.press-portrait img { width: 100%; height: auto; border: 1px solid #8e836c; }
.press-releases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.3rem, 4vw, 3rem); }
.press-releases article { min-width: 0; }
.press-releases img { width: 100%; max-width: 17rem; height: auto; margin-bottom: .85rem; border: 1px solid #8e836c; }
.press-releases ul { margin: .5rem 0 0; padding-left: 1.3rem; }
.press-releases li a { display: inline-flex; align-items: center; min-height: 2.75rem; overflow-wrap: anywhere; }

@media (max-width: 850px) {
  .shell { width: calc(100% - 2rem); }
}
@media (max-width: 670px) {
  .shell { width: calc(100% - 1.75rem); }
  .header-inner { align-items: flex-start; flex-direction: column; justify-content: center; gap: 0; padding-top: .65rem; }
  .track-index { flex-direction: column; gap: 0; }
  .tracklist { display: block; }
  .release { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "art" "note"; }
  h1, .release-title { font-size: clamp(2.35rem, 10.4vw, 4.45rem); }
  .release-art { border-left: 0; padding-top: 0; box-shadow: none; }
  .back { flex-wrap: wrap; }
  .press-intro, .press-releases { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.song-video, .song-audio { display: block; width: 100%; margin-top: 1rem; }
.song-video { aspect-ratio: 16 / 9; border: 0; }
.song-play {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-top: 1rem;
  padding: 0;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: var(--rust);
  font: 1rem/1 sans-serif;
  cursor: pointer;
}
.song-play:hover { background: #78423112; }
.song-play:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }

.loop-label { margin-left: .6rem; color: var(--muted); font-size: .95rem; }
.lyrics-text summary { cursor: pointer; padding-block: .7rem; }
@media (max-width: 670px) { .track-index { flex-direction: row; align-items: baseline; } .tracklist { display: flex; gap: 0 1.85rem; } }

.single-page .song-video { height: auto; max-width: 52rem; background: #1e2922; }
.single-page .single-cover { display: block; width: min(100%, 20rem); height: auto; margin-top: 1rem; }
.single-page .single-byline, .single-page section p + p { margin-top: 1rem; }
#about p { max-width: 56ch; }

.track-index > .tracklist { display: grid; flex: 1; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 2rem; }
.track-index .track-title { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: bold; }
.track-index .track-platforms { margin: 0; }
.track-platforms a { text-decoration: none; }
.track-platforms a:hover { text-decoration: underline; }
@media (max-width: 670px) {
  .track-index { display: block; }
  .track-index > .tracklist { grid-template-columns: minmax(0, 1fr); }
}
