:root {
  color-scheme: dark;
  --bg: #000;
  --ink: #f5f5f1;
  --muted: #a6a6a6;
  --line: #292929;
  --gutter: clamp(1.25rem, 4.5vw, 5rem);
  --max: 1500px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.65 Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

::selection {
  color: #000;
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1, h2, h3, p, figure {
  margin: 0;
}

a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 6px;
}

.wrap {
  width: min(100%, var(--max));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 10;
  padding: .75rem 1rem;
  color: #000;
  background: #fff;
  transform: translateY(-200%);
}

.skip:focus {
  transform: translateY(0);
}

/* Shared navigation */

.site-header {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
}

/* Crops the black margins without modifying the supplied JPG. */

.wordmark {
  position: relative;
  display: block;
  width: 150px;
  aspect-ratio: 4.75;
  min-height: 44px;
  overflow: hidden;
  flex-shrink: 0;
}

.wordmark img {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  max-width: none;
  transform: translateY(-50%);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1rem, 3vw, 3rem);
}

.site-nav a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: .875rem;
  color: var(--muted);
}

.site-nav a::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #fff;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

/* Typography and links */

.eyebrow {
  font-size: .875rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.display {
  font-size: clamp(3.4rem, 10.5vw, 9.5rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.065em;
  overflow-wrap: anywhere;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  padding: .85rem 1.3rem;
  min-height: 52px;
  border: 1px solid #777;
  font-size: .875rem;
  transition:
    color .2s ease,
    background .2s ease,
    border-color .2s ease;
}

.button:hover {
  color: #000;
  background: #fff;
  border-color: #fff;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 44px;
  border-bottom: 1px solid #777;
  font-size: .875rem;
}

.text-link:hover {
  border-color: #fff;
}

/* Landing page */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: max(640px, calc(100svh - 100px));
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    #000b,
    transparent 25%,
    transparent 64%,
    #000 100%
  );
  pointer-events: none;
}

.hero-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.8rem;
  font-size: .875rem;
  color: #ccc;
}

.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-top: auto;
  padding-top: 26rem;
  padding-bottom: 3rem;
}

.hero-bottom h1 {
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -.045em;
  font-weight: 500;
}

.intro {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  padding-block: clamp(4rem, 8vw, 8rem);
  border-top: 1px solid var(--line);
}

.intro-copy p {
  max-width: 29ch;
  font-size: clamp(1.5rem, 3vw, 2.65rem);
  line-height: 1.35;
  letter-spacing: -.035em;
}

.intro-copy .text-link {
  margin-top: 2rem;
}

/* Inner pages */

.page-heading {
  padding-top: clamp(3rem, 7vw, 7rem);
  padding-bottom: clamp(3rem, 5vw, 5rem);
}

.page-heading .eyebrow {
  margin-bottom: 1.6rem;
}

.page-heading > p:last-child {
  max-width: 39rem;
  margin-top: 1.8rem;
  color: var(--muted);
}

/* Releases */

.catalogue {
  padding-bottom: 6rem;
}

.release-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}

.release {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}

.release-number {
  color: var(--muted);
  font-size: .875rem;
  font-variant-numeric: tabular-nums;
}

.release h2 {
  font-size: clamp(1.5rem, 3vw, 2.7rem);
  line-height: 1.2;
  letter-spacing: -.04em;
  font-weight: 500;
}

.release h2 small {
  font-size: .5em;
  letter-spacing: 0;
  color: var(--muted);
}

.release p {
  margin-top: .4rem;
  color: var(--muted);
}

.release-status {
  color: var(--muted);
  font-size: .875rem;
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
  padding-bottom: 7rem;
}

.mark {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.mark img {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: none;
  width: 222%;
  height: 222%;
  transform: translate(-50%, -50%);
}

.about-mark {
  width: min(75%, 320px);
  margin-inline: auto;
}

.prose {
  color: var(--muted);
  max-width: 40rem;
}

.prose p + p {
  margin-top: 1.5rem;
}

.prose .lead {
  color: var(--ink);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.45;
  letter-spacing: -.025em;
}

.prose .text-link {
  margin-top: 2rem;
  color: var(--ink);
}

/* Artists */

.artist-list {
  padding-bottom: 6rem;
}

.artist {
  display: grid;
  grid-template-columns: 3rem 1.2fr 1fr;
  gap: 2rem;
  padding-block: 3.5rem;
  border-top: 1px solid var(--line);
  align-items: start;
}

.artist:last-child {
  border-bottom: 1px solid var(--line);
}

.artist-name {
  font-size: clamp(2.5rem, 5.5vw, 5.5rem);
  line-height: 1.04;
  letter-spacing: -.055em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.artist-role {
  margin-top: 1rem;
  color: var(--muted);
  font-size: .875rem;
}

.artist .prose {
  padding-top: .3rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 3rem 1.5rem;
}

.footer-top,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer-wordmark {
  width: clamp(160px, 24vw, 300px);
}

.footer-top p {
  color: var(--muted);
  font-size: .875rem;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .8125rem;
}

.footer-bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* Responsive layouts */

@media (min-width: 1800px) {
  .hero {
    max-height: 1000px;
    min-height: 850px;
  }
}

@media (max-width: 760px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: .75rem;
    padding-block: 1.3rem .6rem;
  }

  .site-nav {
    justify-content: space-between;
    gap: .75rem;
    width: 100%;
  }

  .wordmark {
    width: 125px;
  }

  .hero {
    min-height: max(560px, calc(100svh - 128px));
  }

  .hero-top {
    flex-wrap: wrap;
    font-size: .8125rem;
  }

  /* Keeps the complete banner wordmark visible on narrow screens. */
  .hero-art img {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    height: auto;
    object-fit: contain;
    -webkit-mask-image: linear-gradient(
      transparent,
      #000 16%,
      #000 84%,
      transparent
    );
    mask-image: linear-gradient(
      transparent,
      #000 16%,
      #000 84%,
      transparent
    );
  }

  .hero-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 22rem;
    padding-bottom: 2rem;
  }

  .intro {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .release {
    grid-template-columns: 1.5rem minmax(0, 1fr);
    gap: .75rem 1rem;
    padding-block: 1.5rem;
  }

  .release-status {
    grid-column: 2;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-bottom: 4rem;
  }

  .about-mark {
    width: 180px;
    margin-inline: 0;
  }

  .artist {
    grid-template-columns: 1.5rem minmax(0, 1fr);
    gap: 1.25rem;
    padding-block: 2.5rem;
  }

  .artist .prose {
    grid-column: 2;
  }

  .footer-top,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  .footer-wordmark {
    width: 200px;
  }

  .footer-bottom {
    margin-top: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}