:root {
  color-scheme: dark;
  --black: #101010;
  --white: #f5f5f5;
  --line: #333;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --display: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font: 1rem/1.5 var(--text);
}

h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

.shell {
  width: min(81rem, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 5;
  top: 1rem;
  left: var(--gutter);
  padding: .65rem 1rem;
  background: var(--white);
  color: var(--black);
  transform: translateY(-200%);
}

.skip-link:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); }

.masthead, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.65rem;
}

.brand { flex: 0 0 auto; }
.brand img { width: 4.9rem; height: auto; }

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.15rem, 4.2vw, 3.65rem);
  align-items: center;
  justify-content: flex-end;
}

.site-nav a, .footer-inner > a:last-child {
  text-decoration: none;
  text-underline-offset: .4em;
}

.site-nav a {
  padding-block: .6rem;
  font-size: .875rem;
  font-weight: 720;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.site-nav a:hover, .footer-inner > a:last-child:hover { text-decoration: underline; }

.music-section {
  overflow: clip;
  border-bottom: 1px solid var(--line);
}

.music-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1fr);
  min-height: min(44rem, 80svh);
}

.release-copy {
  align-self: center;
  min-width: 0;
  padding: clamp(3rem, 7vw, 7rem) 2rem clamp(3rem, 7vw, 7rem) 0;
}

.release-wordmark {
  width: clamp(7rem, 12.5vw, 10.75rem);
  height: auto;
  margin-bottom: clamp(1.8rem, 4.2vw, 3.75rem);
}

.release-copy h1 {
  font: 800 clamp(3.75rem, 8.65vw, 8.35rem)/.84 var(--display);
  letter-spacing: -.083em;
}

.listen-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  min-height: 3.4rem;
  padding: .8rem 1.25rem;
  margin-top: clamp(2rem, 4vw, 3.5rem);
  border: 1px solid var(--white);
  border-radius: 0;
  background: var(--white);
  color: var(--black);
  font: 700 .94rem var(--text);
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}

.listen-button:hover { background: var(--black); color: var(--white); }
.listen-button:focus-visible { outline-color: var(--white); }

.listen-icon {
  width: .75rem;
  height: .85rem;
  background: currentColor;
  clip-path: polygon(0 0, 0 100%, 100% 50%);
}

.listen-button[data-playback="true"] .listen-icon {
  clip-path: polygon(0 0, 35% 0, 35% 100%, 0 100%, 0 0, 65% 0, 100% 0, 100% 100%, 65% 100%, 65% 0);
}

.release-player {
  position: relative;
  isolation: isolate;
  display: grid;
  min-width: 0;
  place-items: center;
  padding: clamp(2rem, 4.25vw, 4rem) clamp(1.5rem, 4vw, 4rem);
  border-left: 1px solid #222;
  background: radial-gradient(ellipse at 56% 43%, #303030 0%, #171717 54%, #111 84%);
}

.release-player::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  border-bottom: 1px solid #ffffff08;
  background: repeating-linear-gradient(0deg, #fff 0 1px, transparent 1px 5px);
  content: "";
  opacity: .022;
  pointer-events: none;
}

.release-player .tape-player { width: min(100%, 29.5rem); }

.shop-section, .contact-section {
  color-scheme: light;
  background: #ededed;
  color: #141414;
}

.shop-section { padding-block: clamp(3.4rem, 7vw, 7rem); }

.section-title {
  font: 800 clamp(3rem, 6vw, 5.85rem)/.9 var(--display);
  letter-spacing: -.075em;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.1rem, 2.4vw, 2rem);
  margin-top: clamp(1.8rem, 3.8vw, 3.25rem);
}

.product { min-width: 0; }

.product-image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #1b1b1b;
  filter: grayscale(1);
}

.product-details {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  justify-content: space-between;
  gap: .65rem 1rem;
  padding: clamp(1rem, 2vw, 1.55rem) 0 1.2rem;
  border-bottom: 1px solid #a9a9a9;
}

.product-details h3 {
  font: 780 clamp(1.45rem, 2.45vw, 2.15rem)/1.04 var(--display);
  letter-spacing: -.04em;
}

.product-details h3 + p { margin-top: .32rem; color: #414141; }

.availability {
  margin-top: .1rem;
  padding: .35rem .65rem;
  border: 1px solid #777;
  font-size: .875rem;
  font-weight: 640;
}

.story-section { padding-block: clamp(3.5rem, 8vw, 8rem); }

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  align-items: start;
  gap: clamp(1.8rem, 5vw, 5rem);
}

.story-lead {
  max-width: 17ch;
  font: 750 clamp(2rem, 4vw, 4.2rem)/1 var(--display);
  letter-spacing: -.055em;
}

.story-copy > p + p {
  max-width: 47ch;
  margin-top: 1.1rem;
  color: #c8c8c8;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  line-height: 1.6;
}

.story-copy > .story-lead + p { margin-top: 1.65rem; }
.story-copy a { color: var(--white); text-underline-offset: .18em; }

.contact-section { padding-block: clamp(2.6rem, 6vw, 5.5rem); }

.contact-email {
  align-self: center;
  justify-self: start;
  font: 650 clamp(1.3rem, 3.6vw, 3rem)/1.15 var(--display);
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
  text-underline-offset: .18em;
}

.site-footer { border-top: 1px solid var(--line); }
.footer-inner .brand img { width: 3.85rem; }
.footer-inner > a:last-child { color: #c8c8c8; font-size: .9rem; }

@media (max-width: 54rem) {
  .music-grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1fr); min-height: 0; }
  .release-player { padding-inline: 1rem; }
  .release-copy { padding-right: 1rem; }
  .release-copy h1 { font-size: clamp(3.1rem, 8.3vw, 5rem); }
  .product-details { flex-direction: column; }
}

@media (max-width: 42rem) {
  .masthead, .footer-inner { min-height: 4rem; gap: .85rem; }
  .brand img { width: 3.9rem; }
  .site-nav { column-gap: clamp(.85rem, 4.2vw, 1.7rem); row-gap: 0; }
  .site-nav a { letter-spacing: .08em; }
  .music-grid, .section-grid { grid-template-columns: minmax(0, 1fr); }
  .release-copy { padding: clamp(2.6rem, 8vw, 4rem) 0 2.25rem; }
  .release-copy h1 { font-size: clamp(3.55rem, 13.5vw, 6.35rem); }
  .release-wordmark { width: 7rem; margin-bottom: 1.9rem; }
  .release-player {
    margin-inline: calc(-1 * var(--gutter));
    padding: 1.8rem var(--gutter) 2.25rem;
    border-top: 1px solid #262626;
    border-left: 0;
  }
  .shop-grid { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .product-details { flex-direction: row; }
  .section-grid { gap: 1.8rem; }
}

@media (max-width: 24rem) {
  .site-nav { display: grid; grid-template-columns: repeat(2, max-content); }
  .site-nav a { padding-block: .4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .listen-button { transition: none; }
}
