.cover-one {
  background: #737e83 url('covers/the-pilot.jpeg') center / cover no-repeat;
}

.cover-two {
  background: #17150f url('covers/hitech-honeypaqq-hires.jpeg') center / cover no-repeat;
}

.cover-three {
  background: #cad8dc url('covers/stardust.jpg') center / cover no-repeat;
}

.cover-five {
  background: #1b1513 url('covers/killer-mike-songs-for-sinners-and-saints.jpeg') center / cover no-repeat;
}

.cover-four {
  background: #242322 url('covers/killer-mike-michael.jpeg') center / cover no-repeat;
}

.cover-eight {
  background: #080605 url('covers/danny-brown-quaranta.jpg') center / cover no-repeat;
}

.cover-six {
  background: #ddd9cf url('covers/scaring-the-hoes-square.webp') center / cover no-repeat;
}

.cover-seven {
  background: #1c1b1d url("covers/zelooperz-van-goghs-left-ear.avif") center / cover no-repeat;
}

/* Cursor-following light on album artwork */
.project::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    circle 360px at var(--spotlight-x, 50%) var(--spotlight-y, 50%),
    rgba(255, 255, 255, 0.34),
    rgba(255, 255, 255, 0.1) 30%,
    transparent 68%
  );
  transition: opacity 180ms ease;
}

.project:hover::after,
.project:focus-visible::after {
  opacity: 1;
}

.project > * {
  position: relative;
  z-index: 1;
}

/* Retains the former top-line spacing after the project numbers were removed. */
.project-spacer {
  display: block;
  height: 12px;
}

.project-note-hint {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .project > * {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .project:hover > *,
  .project:focus-visible > * {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .project::after {
    display: none;
  }
}

/* Image-forward portfolio layout */
@media (min-width: 761px) {
  .portfolio {
    padding: 4vw 2vw 7vw;
  }

  .intro {
    margin: 0 2vw 5vw;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .project {
    padding: 20px;
  }
}

.bio {
  max-width: 720px;
  margin-top: 78px;
  color: #333431;
  font-size: 15px;
  line-height: 1.7;
  scroll-margin-top: 32px;
}

.bio-link {
  display: inline-block;
  margin-top: 10px;
  color: #151515;
  font: 700 10px 'DM Mono', monospace;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
}

.bio-link:hover {
  text-decoration: underline;
}

.intro > p.site-name:first-child {
  margin: 0;
  color: #a1a1a0;
  font-size: clamp(36px, 4.75vw, 72px);
  font-weight: 700;
  letter-spacing: -.07em;
  line-height: .9;
  text-transform: none;
}

@media (pointer: fine) {
  a,
  button,
  .project,
  .hero-word {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Ctext x='2' y='25' font-size='24'%3E%F0%9F%94%8A%3C/text%3E%3C/svg%3E") 16 16, pointer;
  }
}

.hero-word {
  position: relative;
  display: inline-block;
  outline: 0;
  transition: color 180ms ease;
}

.hero-word::after {
  position: absolute;
  top: 0;
  left: 0;
  color: #a1a1a0;
  content: attr(data-reveal);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
  white-space: nowrap;
}

.hero-word:hover,
.hero-word:focus-visible,
.hero-word:active {
  color: transparent;
}

.hero-word:hover::after,
.hero-word:focus-visible::after,
.hero-word:active::after {
  opacity: 1;
  transform: translateY(0);
}

.hero-punctuation {
  transition: opacity 180ms ease;
}

.hero-word:hover + .hero-punctuation,
.hero-word:focus-visible + .hero-punctuation,
.hero-word:active + .hero-punctuation {
  opacity: 0;
}

.source-bio,
.source-ideology {
  display: none;
}

.sidebar nav .bio-nav-link {
  margin: 0;
}

.sidebar nav .bio-preview {
  max-width: 185px;
  margin-top: 8px;
  color: #655748;
  font-size: 12px;
  line-height: 1.35;
}

.sidebar nav .full-work-link {
  margin-top: 18px;
}

.sidebar nav .full-works-nav {
  font-weight: 400;
  text-transform: none;
}

/* Keep every sidebar navigation label and link at one consistent scale. */
.sidebar nav .nav-label,
.sidebar nav a:not(.bio-preview) {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: none;
}

.sidebar {
  overflow-y: auto;
}

.about {
  margin-top: 30px;
}

.about p + p {
  margin-top: 12px;
}

.bio h2 {
  margin: 0 0 18px;
  color: #151515;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.bio p {
  margin: 0 0 20px;
}

.work-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 0 2vw 16px;
}

.work-heading h2,
.work-heading a,
.full-work-label,
.discography-header,
.discography-list time,
.discography-list em,
.discography-list b {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.work-heading h2 {
  margin: 0;
}

.discography-work-heading {
  margin: 0 0 16px;
}

.work-heading a,
.discography-header a {
  color: inherit;
  text-decoration: none;
}

.work-heading a:hover,
.discography-header a:hover,
.discography-list a:hover strong {
  text-decoration: underline;
}

.discography {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 4vw 80px;
}

.discography-header {
  display: flex;
  justify-content: space-between;
}

.discography-name {
  color: #a1a1a0 !important;
  font-size: clamp(36px, 4.75vw, 72px);
  font-weight: 700;
  letter-spacing: -.06em;
  line-height: .9;
  text-transform: none;
}

.discography-intro {
  max-width: 690px;
  margin: 16px 0 8vw;
}

.full-work-label {
  margin: 0 0 14px;
}

.discography-intro h1 {
  margin: 0 0 32px;
  font-size: clamp(45px, 6vw, 92px);
  letter-spacing: -.08em;
  line-height: .93;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.discography-description {
  max-width: 300px;
  margin: 0;
  color: #655748;
  font-size: 14px;
  line-height: 1.55;
  position: relative;
}

.playlist-link {
  display: inline-block;
  margin-top: 18px;
  color: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
}

.playlist-link:hover {
  text-decoration: underline;
}

.quote-modal {
  width: min(620px, calc(100vw - 36px));
  margin: auto;
  padding: clamp(32px, 6vw, 68px);
  color: #f3efe6;
  background: #12110f;
  border: 0;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .35);
}

.quote-modal::backdrop {
  background: rgba(18, 17, 15, .68);
  backdrop-filter: blur(4px);
}

.quote-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  font: 300 32px/1 "Helvetica Neue", Helvetica, Arial, sans-serif;
  cursor: pointer;
}

.quote-modal-label {
  margin: 0 0 26px;
  color: #e6e6e3;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.quote-modal-text {
  margin: 0;
  font-size: clamp(26px, 4vw, 46px);
  font-weight: 600;
  letter-spacing: -.06em;
  line-height: .98;
}

.quote-modal.bio-open .quote-modal-text {
  max-width: 510px;
  font-size: clamp(16px, 2vw, 21px);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.45;
}

.quote-modal.bio-open .quote-modal-text h2 {
  display: none;
}

.quote-modal.bio-open .quote-modal-text p {
  margin: 0 0 18px;
}

.quote-modal-link {
  display: inline-block;
  margin-top: 36px;
  padding-bottom: 4px;
  color: #e6e6e3;
  border-bottom: 1px solid currentColor;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-decoration: none;
  text-transform: uppercase;
}

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

.discography-list li > * {
  display: grid;
  grid-template-columns: 58px 68px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 17px 0;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.discography-art {
  display: block;
  width: 58px;
  aspect-ratio: 1;
  object-fit: cover;
  background: #d8cab6;
  box-shadow: 0 1px 4px rgba(18, 17, 15, .12);
}

.discography-list strong,
.discography-list em {
  display: block;
}

.discography-list strong {
  font-size: clamp(16px, 2.4vw, 25px);
  letter-spacing: -.04em;
}

.discography-list em {
  margin-top: 5px;
  color: #655748;
  font-style: normal;
  font-weight: 500;
}

.discography-list b {
  color: #655748;
  white-space: nowrap;
}

.discography-links {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.discography-links a {
  color: #655748;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.discography-links a:hover {
  text-decoration: underline;
}

@media (max-width: 620px) {
  .discography {
    padding: 22px 18px 56px;
  }

  .discography-header {
  }

  .discography-intro {
    margin: 18px 0 18vw;
  }

  .discography-work-heading {
    margin: 0 0 12px;
  }

  .discography-list li > * {
    grid-template-columns: 48px 42px minmax(0, 1fr);
    gap: 10px;
    padding: 12px 0;
  }

  .discography-art {
    width: 48px;
  }

  .discography-list b {
    display: none;
  }

  .discography-links {
    grid-column: 3;
    justify-content: flex-start;
  }
}

/* Typography */
/* Scandinavian-inspired palette: warm off-white, pale wood, and black */
:root {
  --ink: #12110f;
  --cream: #f3efe6;
  --line: #d8cab6;
}

body {
  background: var(--cream);
  color: var(--ink);
}

.sidebar {
  background: #e6e6e3;
}

.monogram {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.monogram::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/dart-parker-headshot.png") center / cover no-repeat;
  opacity: 0;
  transition: opacity 180ms ease;
}

.monogram-text {
  position: relative;
  z-index: 1;
  transition: opacity 180ms ease;
}

.monogram:hover::before,
.monogram:focus-visible::before {
  opacity: 1;
}

.monogram:hover .monogram-text,
.monogram:focus-visible .monogram-text {
  opacity: 0;
}

.intro-copy,
.about p:last-child,
.credit {
  color: #655748;
}

.bio {
  color: #302b25;
}

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

html {
  -webkit-text-size-adjust: 100%;
}

img {
  max-width: 100%;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.intro > p:first-child,
.nav-label,
.credit,
.project span,
.project small,
.mobile-header,
.bio-link {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

@media (min-width: 761px) and (max-width: 1024px) {
  .layout {
    grid-template-columns: minmax(0, 1fr) 238px;
  }

  .sidebar {
    padding: 24px 20px 20px;
  }

  .sidebar nav {
    margin-top: 48px;
  }

  .discography-list li > * {
    grid-template-columns: 52px 58px minmax(0, 1fr) auto;
    gap: 14px;
  }

  .discography-art {
    width: 52px;
  }
}

/* Phone layout */
@media (max-width: 760px) {
  body {
    overflow-x: hidden;
  }

  .portfolio {
    padding: 18px 12px 52px;
  }

  .mobile-header {
    padding: 2px 6px;
  }

  .intro {
    margin: 54px 6px 58px;
  }

  .intro > p.site-name:first-child {
    font-size: clamp(38px, 12vw, 52px);
  }

  .intro h1 {
    margin: 18px 0 22px;
    font-size: clamp(48px, 15vw, 68px);
    line-height: .88;
  }

  .hero-word::after {
    font-size: .78em;
  }

  .intro-copy {
    max-width: 34ch;
    font-size: 15px;
    line-height: 1.5;
  }

  .work-heading {
    margin: 0 6px 12px;
  }

  .grid {
    gap: 4px;
  }

  .project {
    padding: 10px;
  }

  .project strong {
    font-size: clamp(14px, 4.1vw, 18px);
  }

  .project-note-hint {
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 6px;
    border: 1px solid rgba(255, 255, 255, .78);
    background: rgba(18, 17, 15, .25);
    color: #fff;
    font-size: 8px;
    font-weight: 500;
    letter-spacing: .05em;
    line-height: 1;
    text-transform: uppercase;
  }

  .discography-name {
    font-size: clamp(36px, 12vw, 52px);
  }

  .discography-header {
    align-items: flex-start;
    gap: 14px;
  }

  .discography-header > a:last-child {
    padding-top: 5px;
    font-size: 11px;
    text-align: right;
  }

  .discography-intro h1 {
    font-size: clamp(48px, 15vw, 68px);
  }

  .discography-description {
    max-width: 34ch;
  }

  .full-work-label {
    margin: 0 0 14px;
  }

  .discography-list strong {
    font-size: 17px;
    line-height: 1.02;
  }

  .discography-list em {
    margin-top: 4px;
    line-height: 1.3;
  }

  .sidebar {
    padding: 28px 18px calc(32px + env(safe-area-inset-bottom));
  }

  .sidebar nav {
    gap: 20px 14px;
  }

  .sidebar nav a {
    min-height: 44px;
    padding: 6px 0;
    font-size: 24px;
    line-height: 1.1;
    overflow-wrap: anywhere;
  }

  .sidebar nav .nav-label {
    font-size: 20px;
    line-height: 1.1;
  }

  .sidebar nav .nav-label,
  .sidebar nav a:not(.bio-preview) {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: .06em;
    line-height: 1.1;
    text-transform: none;
  }

  .sidebar nav div:nth-child(n + 3) > a {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: .06em;
    line-height: 1.1;
    text-transform: none;
  }

  .sidebar nav .bio-preview {
    max-width: 13ch;
    margin-top: 8px;
    font-size: 16px;
    line-height: 1.2;
  }

  .sidebar .credit {
    font-size: 20px;
    line-height: 1.15;
  }

  .sidebar nav div:nth-child(3),
  .sidebar nav div:nth-child(5) {
    grid-column: 1 / -1;
  }

  .quote-modal {
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
    padding: 52px 24px 30px;
    overflow-y: auto;
  }

  .quote-modal-label {
    margin-bottom: 20px;
  }

  .quote-modal-text {
    font-size: clamp(26px, 8vw, 36px);
    line-height: 1;
  }

  .quote-modal.bio-open .quote-modal-text {
    font-size: 17px;
    line-height: 1.5;
  }

  .quote-modal-link {
    margin-top: 28px;
  }
}

@media (max-width: 380px) {
  .project {
    padding: 8px;
  }

  .project small {
    font-size: 7px;
  }

  .sidebar nav {
    gap: 16px 10px;
  }

  .sidebar nav a {
    font-size: 22px;
  }

  .sidebar nav .nav-label {
    font-size: 18px;
  }

  .sidebar nav .nav-label,
  .sidebar nav a:not(.bio-preview) {
    font-size: 16px;
  }
}
