@font-face {
  font-family: "Baskervville";
  src: url("assets/fonts/baskervville-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #080808;
  --ink: #f3f0e9;
  --muted: #a9a7a1;
  --serif: "Baskervville", "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--ink); color: var(--background); }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 7px; }
.skip-link {
  position: absolute;
  z-index: 10;
  left: 1rem;
  top: -5rem;
  padding: .8rem 1rem;
  background: var(--ink);
  color: var(--background);
}
.skip-link:focus { top: 1rem; }
.masthead {
  padding: 2rem clamp(1.5rem, 3vw, 3rem) 0;
  text-align: left;
}
.wordmark {
  display: inline-block;
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: 0;
}
main { max-width: 36rem; margin: 0 auto; padding: 0 1.5rem; }
.current-release {
  min-height: calc(100svh - 3.25rem);
  padding-block: 5rem 7rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.cover-link { display: block; }
.cover-link img, .current-cover img, .record-cover img { width: 100%; }
.current-cover { width: min(68%, 17rem); margin: 0 auto; }
.current-cover img, .record-cover img { aspect-ratio: 1; object-fit: contain; }
.release-caption { margin-top: 1.75rem; }
.eyebrow {
  font-family: var(--serif);
  font-size: .8125rem;
  font-weight: 400;
  line-height: 1.5;
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
}
h1 {
  margin-top: .375rem;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.4;
  text-wrap: balance;
}
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: .5rem 0;
  font-size: .8125rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  transition: opacity .18s ease;
}
.text-link:hover, .text-link:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .25em;
}
.platform-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 1.25rem;
}
.current-release .platform-links { max-width: 27rem; margin: .625rem auto 0; }
.discography { padding-top: 4rem; }
.record-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4.5rem; }
.record-caption { text-align: center; padding-top: 1.5rem; }
.year { color: var(--muted); font-size: .8125rem; line-height: 1.5; letter-spacing: 0; }
.record h2 {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
  margin: .375rem 0 .5rem;
}
.book { padding-top: clamp(8rem, 18vw, 12rem); text-align: center; }
.book-cover { width: min(44%, 11rem); margin: 0 auto; }
.book-cover img { width: 100%; height: auto; }
.book-caption { margin-top: 1.75rem; }
.book h2 {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.4;
}
.book-description { margin-top: .625rem; font-size: .875rem; line-height: 1.6; }
.publisher { margin-top: .25rem; color: var(--muted); line-height: 1.5; font-size: .8125rem; }
.book .text-link { margin-top: .75rem; }
.footer {
  max-width: 36rem;
  margin: clamp(8rem, 18vw, 12rem) auto 0;
  padding: 0 1.5rem 2.5rem;
  text-align: center;
}
.management-email {
  display: inline-block;
  font-family: var(--serif);
  font-size: .875rem;
  line-height: 1.6;
  margin-top: 0;
  padding: .625rem 0;
  overflow-wrap: anywhere;
}
.management-email:hover { text-decoration: underline; text-underline-offset: .25em; }
.copyright { margin-top: 2rem; color: #a09e97; font-size: .75rem; line-height: 1.5; }

@media (max-width: 540px) {
  .masthead { padding-top: 1.75rem; }
  main { padding-inline: 1.5rem; }
  .current-release { min-height: calc(100svh - 3rem); padding-block: 4rem 6rem; }
  .current-cover { width: min(74%, 15rem); }
  .release-caption { margin-top: 1.5rem; }
  .current-release .platform-links { max-width: 17rem; }
  .record-grid { grid-template-columns: 1fr; gap: 5rem; }
  .record { width: min(74%, 15rem); margin-inline: auto; }
  .book-cover { width: min(52%, 10rem); }
}

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