@font-face {
  font-family: "Bodoni Moda";
  src: url("/assets/bodoni-moda-latin.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --page: #0e0a08;
  --ink: #f4e3c7;
  --sand: #d5a66e;
  --rust: #c64a26;
  --ochre: #ca6b23;
  --sage: #71855c;
  --rule: #594131;
  font-family: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--page);
}
*, ::before, ::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #f7c985; outline-offset: 4px; }
.shell { width: min(75rem, calc(100% - 3rem)); margin-inline: auto; }
.masthead {
  min-height: 6rem;
  padding-block: .5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--rule);
}
.band-logo {
  display: block;
  width: 6.2rem;
  height: auto;
}
@media (prefers-reduced-motion: no-preference) {
  html[data-intro] body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(ellipse at center, #25190f 0%, var(--page) 65%);
    animation: reveal-page var(--intro-duration) ease-out both;
  }
  html[data-intro] .band-logo {
    position: relative;
    z-index: 2;
    pointer-events: none;
    animation: settle-logo var(--intro-duration) cubic-bezier(.33,.03,.2,1) both;
  }
  @keyframes reveal-page {
    0%, 40% { opacity: 1; }
    100% { opacity: 0; }
  }
  @keyframes settle-logo {
    0%, 40% { transform: translate(var(--intro-x), var(--intro-y)) scale(2.6); }
    100% { transform: none; }
  }
}
.star-rule {
  display: grid;
  place-items: center;
  width: 3.6rem;
  height: 1rem;
  color: var(--ochre);
  background: linear-gradient(to right, var(--rust), var(--rust) 33%, transparent 33% 67%, var(--rust) 67%) center / 100% 1px no-repeat;
}
.star-rule::before {
  content: "";
  width: .8rem;
  height: 1rem;
  background: currentColor;
  clip-path: polygon(50% 0, 61% 37%, 100% 50%, 61% 63%, 50% 100%, 39% 63%, 0 50%, 39% 37%);
}
.single {
  display: grid;
  grid-template-columns: minmax(0, 1.07fr) minmax(0, .93fr);
  gap: clamp(2.8rem, 6vw, 6rem);
  align-items: center;
  padding-block: clamp(2.7rem, 5vw, 4.5rem);
}
.cover-frame {
  display: grid;
  place-items: center;
  min-width: 0;
  aspect-ratio: 1;
  background: var(--page);
  border: 1px solid var(--rule);
  box-shadow: 0 .6rem 1.7rem #0004;
}
.cover {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
}
.single-info { min-width: 0; container-type: inline-size; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 0 0 .7rem;
  font-size: .875rem;
  font-weight: 650;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--sand);
}
.eyebrow::before { content: ""; width: 2rem; height: .15rem; background: var(--rust); }
h1, h2 {
  font-family: "Bodoni Moda", Georgia, serif;
  font-weight: 500;
  font-optical-sizing: auto;
}
h1 {
  margin: 0;
  color: var(--sand);
  font-size: clamp(2.4rem, 7.1vw, 6.8rem);
  font-size: clamp(2.4rem, 19.2cqw, 6.8rem);
  letter-spacing: -.04em;
  line-height: 1.02;
  overflow-wrap: anywhere;
}
#release {
  margin: .5rem 0 0;
  color: var(--sand);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
}
.song-note {
  max-width: 45ch;
  margin: 1.15rem 0 0;
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  line-height: 1.52;
}
.preview, .artist {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
}
.player-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .4rem 1rem;
}
.play {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  min-height: 3rem;
  padding: 0 .4rem 0 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
}
.play-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  background: var(--sand);
  border-radius: 50%;
}
.play:hover .play-icon { background: #e7bf8b; }
.play-icon::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: .15rem;
  border-block: .44rem solid transparent;
  border-left: .69rem solid var(--page);
}
.play.is-playing .play-icon::before {
  width: .7rem;
  height: .88rem;
  margin-left: 0;
  border-block: none;
  border-inline: .23rem solid var(--page);
}
.clock { color: #c4bcaa; font-size: .875rem; font-variant-numeric: tabular-nums; }
#position {
  --progress: 0%;
  display: block;
  width: 100%;
  height: 2.75rem;
  margin: .25rem 0 0;
  padding: 0;
  appearance: none;
  background: transparent;
  accent-color: var(--sand);
  cursor: pointer;
}
#position::-webkit-slider-runnable-track {
  height: .22rem;
  border-radius: 1rem;
  background: linear-gradient(to right, var(--sand) var(--progress), var(--sage) var(--progress));
}
#position::-moz-range-track {
  height: .22rem;
  border-radius: 1rem;
  background: var(--sage);
}
#position::-moz-range-progress { height: .22rem; background: var(--sand); }
#position::-webkit-slider-thumb {
  appearance: none;
  width: 1rem;
  height: 1rem;
  margin-top: -.39rem;
  border-radius: 50%;
  background: var(--sand);
}
#position::-moz-range-thumb {
  width: 1rem;
  height: 1rem;
  border: 0;
  border-radius: 50%;
  background: var(--sand);
}
@media (forced-colors: active) {
  #position { appearance: auto; }
  #position::-webkit-slider-thumb { appearance: auto; }
}
#position:disabled { cursor: default; }
#player-error:empty { margin: 0; }
#player-error, noscript p { font-size: 1rem; line-height: 1.5; }
#presave, #platforms { margin-top: 1.25rem; }
#platforms h2, .artist h2 {
  margin: 0 0 .5rem;
  font-size: clamp(1.3rem, 2.1vw, 1.55rem);
  line-height: 1.3;
}
#platforms ul, #artist-links {
  display: flex;
  gap: .5rem .75rem;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
#presave a, #platforms a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: .6rem 1.1rem;
  background: var(--sand);
  color: var(--page);
  font-weight: 650;
  text-decoration: none;
  overflow-wrap: anywhere;
}
#presave a:hover, #platforms a:hover { background: #f7c985; }
.artist { margin-top: .4rem; }
#artist-links { gap: 0 1.25rem; }
#artist-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--sand);
  text-underline-offset: .27em;
  text-decoration-thickness: 1px;
}
#artist-links a:hover { color: var(--ink); }
footer { border-top: 1px solid var(--rule); padding-block: 1.25rem 2.3rem; }
@media (max-width: 45rem) {
  .shell { width: min(32rem, calc(100% - 2.5rem)); }
  .masthead { min-height: 4.3rem; }
  .band-logo { width: 4.4rem; }
  .single { grid-template-columns: minmax(0, 1fr); gap: 1.1rem; padding-block: .9rem 1.25rem; }
  .cover-frame { width: min(100%, clamp(12rem, 38svh, 26rem)); justify-self: center; }
  .eyebrow { margin-bottom: .35rem; }
  #release { margin-top: .25rem; }
  .song-note { margin-top: .7rem; }
  .preview, #presave, #platforms { margin-top: .8rem; }
  .preview { padding-top: .7rem; }
}
@media (max-width: 45rem) and (max-height: 42rem) {
  .masthead { min-height: 3.75rem; padding-block: .25rem; }
  .band-logo { width: 4rem; }
  .cover-frame { width: min(100%, 35svh); }
}
