:root {
  color-scheme: dark;
  --paper: #181219;
  --plum: #241a24;
  --coal: #1c181c;
  --cream: #f3e7d8;
  --muted: #ccbab8;
  --quiet: #bba8a7;
  --gold: #e6c6a0;
  --pale-gold: #f4dcc0;
  --hairline: rgba(233, 204, 181, .14);
  --edge: rgba(233, 204, 181, .24);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --gutter: clamp(1.15rem, 5vw, 4.5rem);
  background: var(--paper);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 100%;
  line-height: 1.6;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  min-width: 0;
  background:
    radial-gradient(ellipse at 2% 1%, #3b2637 0%, transparent 42rem),
    radial-gradient(ellipse at 96% 28rem, #332329 0%, transparent 42rem),
    linear-gradient(168deg, var(--paper) 10%, #1c151d 60%, #161317 100%);
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
img { display: block; width: 100%; }
h1, h2, h3, p { margin: 0; }
h2 {
  font: 400 clamp(2.4rem, 5vw, 4.2rem)/1.03 var(--serif);
  letter-spacing: -.05em;
  text-wrap: balance;
}
:focus-visible { outline: 2px solid var(--pale-gold); outline-offset: 4px; }
.frame { width: min(82rem, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.skip {
  position: fixed;
  z-index: 3;
  left: 1rem;
  top: -10rem;
  padding: .6rem 1rem;
  background: var(--gold);
  color: var(--paper);
}
.skip:focus { top: 1rem; }

.masthead { background: linear-gradient(180deg, #19131af5, #19131a54); }
.masthead-inner {
  min-height: 5.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  width: fit-content;
  font: 500 1.25rem/1.1 var(--serif);
}
.brand-music {
  display: block;
  margin-top: .23rem;
  font: 650 .76rem/1.2 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}
.record-mark {
  display: inline-grid;
  place-items: center;
  position: relative;
  flex: 0 0 2.6rem;
  height: 2.6rem;
  border: 1px solid #e6c6a05c;
  border-radius: 50%;
  color: var(--gold);
  background: radial-gradient(circle at 30% 20%, #5d4247, #2e222a 69%);
}
.record-mark::before {
  content: "";
  width: 1.62rem;
  height: 1.62rem;
  border: 1px solid #e6c6a077;
  border-radius: 50%;
}
.record-mark::after {
  content: "";
  position: absolute;
  width: .3rem;
  height: .3rem;
  border-radius: 50%;
  background: currentColor;
}
.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(.85rem, 3.2vw, 2.65rem);
  color: var(--muted);
  font-size: .96rem;
  font-weight: 550;
}
.primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  text-underline-offset: .4em;
  transition: color .2s ease;
}
.primary-nav a:is(:hover, [aria-current="location"]) {
  color: var(--pale-gold);
  text-decoration: underline;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  align-items: center;
  gap: clamp(1.75rem, 4vw, 4.25rem);
  padding-block: clamp(2.75rem, 5vw, 4.5rem) clamp(3.5rem, 6vw, 5.2rem);
}
.hero-photo {
  height: auto;
  border-radius: 1.35rem;
  box-shadow: 0 1.5rem 3.75rem #100b1470;
}
.hero-copy { animation: arrive .65s ease both; }
.hero h1 {
  width: min(100%, 29rem);
  font: 400 clamp(2.8rem, 5.35vw, 5.25rem)/.93 var(--serif);
  letter-spacing: -.063em;
  color: #fff1df;
  text-shadow: 0 .1em .45em #100c10b8;
}
.hero-wordmark { height: auto; }
.hero h1 em {
  display: block;
  color: var(--gold);
  font-size: .88em;
  font-weight: 400;
  text-align: center;
}
.hero p {
  max-width: 29rem;
  margin-top: 1.5rem;
  font-size: clamp(1rem, 2vw, 1.14rem);
  color: var(--cream);
  text-wrap: pretty;
}
.hero .hero-intro-lead { color: var(--gold); }
.hero p + p { margin-top: .4rem; }
.hero-actions, .detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .62rem;
}
.hero-actions { margin-top: 1.75rem; }
.detail-actions { margin-top: .75rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  max-width: 100%;
  padding: .62rem 1.12rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 680;
  line-height: 1.35;
  text-align: center;
  transition: background-color .22s ease, color .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.button-main {
  color: #2b1d1b;
  background: linear-gradient(125deg, #f4ddc1, #dcb28a);
  box-shadow: 0 .42rem 1.8rem #c5834b2b;
}
.button-main:hover {
  background: linear-gradient(125deg, #f9e6d1, #eac5a5);
  box-shadow: 0 .5rem 1.85rem #c5834b46;
}
.button-outline {
  color: var(--pale-gold);
  border-color: var(--edge);
  background: #e6c6a00b;
}
.button-outline:hover { background-color: #e6c6a01e; border-color: #e6c6a084; }

.section {
  margin-top: clamp(3.4rem, 7vw, 6.85rem);
  scroll-margin-top: 1.65rem;
}
.artist-section { margin-top: clamp(2rem, 4.2vw, 4.6rem); }
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .48rem 1.15rem;
  margin-bottom: clamp(1.25rem, 3vw, 2.75rem);
}
.quiet-link {
  color: var(--gold);
  font-size: .95rem;
  font-weight: 600;
  text-underline-offset: .28em;
}
.quiet-link:hover { color: var(--pale-gold); text-decoration: underline; }

.artists {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(1.1rem, 3.5vw, 3.2rem);
  row-gap: clamp(2.25rem, 4.9vw, 4.5rem);
}
.artist-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: .95rem;
}
.artist-card img, .artist-card .art-fallback {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: .8rem;
  box-shadow: 0 .9rem 2.15rem #100d1555;
  transition: filter .3s ease, box-shadow .3s ease;
}
.artist-card:hover img, .artist-card:focus-visible img {
  filter: brightness(1.06);
  box-shadow: 0 .6rem 2.4rem #aa76574c;
}
.artist-name {
  margin-top: .85rem;
  color: var(--cream);
  font: 400 clamp(1.55rem, 3vw, 2.55rem)/1 var(--serif);
  letter-spacing: -.04em;
  overflow-wrap: anywhere;
}
.artist-card:is(:hover, [aria-current="true"]) .artist-name { color: var(--pale-gold); }
.artist-genre { margin-top: .38rem; color: var(--gold); font-size: .88rem; font-weight: 620; }
.artist-bio { max-width: 44ch; margin-top: .6rem; color: var(--muted); line-height: 1.68; text-wrap: pretty; }
.art-fallback {
  display: grid;
  place-items: center;
  color: var(--gold);
  background: radial-gradient(ellipse at 30% 20%, #664754, #352630 70%);
  font: 1.25rem var(--serif);
}
@media (min-width: 49.01rem) {
  .artists > .artist-card:last-child:nth-child(3n+1):not(:first-child) {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: 1fr 2fr;
    grid-template-areas: "portrait name" "portrait genre" "portrait bio" "portrait .";
    grid-template-rows: 1fr auto auto 1fr;
    column-gap: clamp(1.6rem, 5vw, 5rem);
  }
  .artists > .artist-card:last-child:nth-child(3n+1):not(:first-child) :is(img, .art-fallback) { grid-area: portrait; }
  .artists > .artist-card:last-child:nth-child(3n+1):not(:first-child) .artist-name { grid-area: name; align-self: end; }
  .artists > .artist-card:last-child:nth-child(3n+1):not(:first-child) .artist-genre { grid-area: genre; }
  .artists > .artist-card:last-child:nth-child(3n+1):not(:first-child) .artist-bio { grid-area: bio; }
}

.current-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.1rem, 3vw, 2.8rem);
}
.current-card {
  display: grid;
  grid-template-columns: minmax(4.65rem, 31%) minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  min-width: 0;
  padding: .9rem 0;
  border: 0;
  border-block-start: 1px solid var(--hairline);
  background: transparent;
  text-align: left;
}
.current-card img, .current-card .art-fallback,
.film-project-art, .about-photo {
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: .65rem;
  box-shadow: 0 .75rem 1.75rem #110d1260;
}
.current-text { display: grid; justify-items: start; gap: .3rem; min-width: 0; }
.current-artist { color: var(--gold); font-size: .88rem; font-weight: 650; }
.current-title { color: var(--cream); font: 400 clamp(1.22rem, 2.1vw, 1.75rem)/1.13 var(--serif); }
.current-card:hover .current-title, .film-project:hover strong { color: var(--pale-gold); }
.current-note { color: var(--quiet); font-size: .88rem; }
.film-project {
  display: grid;
  grid-template-columns: clamp(4.65rem, 11vw, 9.5rem) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(.9rem, 3vw, 2rem);
  margin-top: 1.65rem;
  padding: clamp(.8rem, 2.2vw, 1.7rem);
  border-radius: .85rem;
  background: linear-gradient(115deg, #4a2d37a0, #3b293465 62%, #2a1e2863);
  transition: background-color .25s ease;
}
.film-project:hover { background-color: #3e2833; }
.film-project strong { display: block; font: 400 clamp(1.45rem, 3.3vw, 2.55rem)/1.1 var(--serif); }
.film-project strong + span { display: block; margin-top: .36rem; color: var(--muted); }

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center;
  gap: clamp(1.6rem, 6.4vw, 6.25rem);
}
.about-photo { border-radius: .95rem; }
.about-copy p { margin-top: .9rem; max-width: 52ch; color: var(--muted); text-wrap: pretty; }
.about-copy p:first-of-type { margin-top: 1.15rem; color: var(--pale-gold); }
.about-copy strong { color: var(--cream); font-weight: 680; }

.catalog-section {
  padding-top: clamp(2.2rem, 5vw, 4.7rem);
  border-top: 1px solid var(--hairline);
  margin-bottom: clamp(3rem, 6vw, 6rem);
}
.filters {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(.65rem, 2vw, 1.2rem);
  margin-bottom: 1.1rem;
}
.field { min-width: 0; }
.field label { display: block; margin-bottom: .35rem; color: var(--muted); font-size: .91rem; font-weight: 650; }
.field input, .field select, .share-link {
  width: 100%;
  min-width: 0;
  min-height: 2.95rem;
  border: 1px solid var(--edge);
  border-radius: .65rem;
  background-color: #523a483a;
  color: var(--cream);
}
.field input { padding: .5rem .85rem .5rem 2.55rem; }
.field input::placeholder { color: var(--quiet); }
.field select {
  appearance: none;
  padding: .48rem 2.3rem .48rem .85rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 1.23rem) 50%, calc(100% - .86rem) 50%;
  background-size: .38rem .38rem;
  background-repeat: no-repeat;
  cursor: pointer;
}
.field option { background: var(--plum); color: var(--cream); }
.search-wrap { position: relative; }
.search-icon {
  position: absolute;
  top: 1rem;
  left: .95rem;
  width: .82rem;
  height: .82rem;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  pointer-events: none;
}
.search-icon::after {
  content: "";
  position: absolute;
  right: -.32rem;
  bottom: -.14rem;
  width: .44rem;
  height: 1.5px;
  background: var(--gold);
  transform: rotate(45deg);
}
.artist-context {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-block: 1.15rem;
  padding: 1.2rem clamp(1rem, 3vw, 1.8rem);
  border-radius: .8rem;
  background: linear-gradient(105deg, #593c4966, #36273053);
}
.artist-context strong { color: var(--cream); font: 400 1.6rem/1.14 var(--serif); }
.artist-context p { margin-top: .35rem; color: var(--muted); }
.artist-links { display: flex; flex-wrap: wrap; flex: 0 1 36%; gap: .5rem; }
.catalog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .55rem;
  min-height: 2.7rem;
  border-bottom: 1px solid var(--hairline);
}
.result-count { color: var(--muted); font-size: .94rem; }
.reset { min-height: 2.75rem; padding: 0; border: 0; background: transparent; }
.release-list { display: grid; }
.release-row {
  width: 100%;
  display: grid;
  grid-template-columns: 3.45rem minmax(0, 1fr) minmax(6.7rem, auto) minmax(7.5rem, auto) .6rem;
  align-items: center;
  gap: clamp(.65rem, 2vw, 1.4rem);
  min-height: 4.9rem;
  padding: .65rem .5rem;
  border: 0;
  border-bottom: 1px solid var(--hairline);
  background: transparent;
  text-align: left;
  transition: background-color .2s ease;
}
.release-row:hover { background-color: #d7a47f12; }
.release-row img, .release-row .art-fallback { width: 3.45rem; height: 3.45rem; object-fit: cover; border-radius: .38rem; }
.release-name { display: block; color: var(--cream); font-weight: 680; line-height: 1.27; overflow-wrap: anywhere; }
.release-artist { display: block; margin-top: .15rem; font-size: .88rem; color: var(--muted); }
.release-date { color: var(--muted); font-size: .88rem; }
.status {
  justify-self: start;
  padding: .24rem .62rem;
  border-radius: 999px;
  color: #f2d5b5;
  background: #a76e3938;
  font-size: .875rem;
  font-weight: 650;
  line-height: 1.32;
}
.status.released { color: #d3e2cf; background: #6a8a5939; }
.row-mark {
  justify-self: end;
  width: .4rem;
  height: .4rem;
  border: solid var(--gold);
  border-width: 1px 1px 0 0;
  transform: rotate(45deg);
  opacity: .8;
}
.empty { padding: 1.15rem 0; color: var(--muted); }
.footer { border-top: 1px solid var(--hairline); background: #18131a77; }
.footer-inner { display: flex; align-items: center; padding-block: 1.65rem; }
.footer .record-mark { flex-basis: 2.1rem; height: 2.1rem; }
.footer .record-mark::before { width: 1.26rem; height: 1.26rem; }

dialog {
  width: min(calc(100% - 2rem), 43rem);
  max-height: calc(100% - 2rem);
  max-height: calc(100dvh - 2rem);
  padding: 0;
  border: 1px solid var(--edge);
  border-radius: 1.22rem;
  background: radial-gradient(ellipse at 19% 0%, #4a3041, transparent 68%), linear-gradient(155deg, var(--plum), var(--coal));
  color: var(--cream);
  box-shadow: 0 1.1rem 5.5rem #100a13da;
}
dialog[open] { animation: arrive .24s ease both; }
dialog::backdrop { background: #120e16bd; backdrop-filter: blur(7px); }
.dialog-body { position: relative; padding: clamp(1.2rem, 5vw, 2.35rem); }
.close {
  position: absolute;
  right: .95rem;
  top: .95rem;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--edge);
  border-radius: 50%;
  background: #e6c6a015;
  color: var(--pale-gold);
  font-size: 1.58rem;
  line-height: 1;
}
.close:hover { background: #e6c6a030; }
.detail-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 1.1rem;
  padding-right: 2.8rem;
}
.detail-top :is(img, .art-fallback) {
  width: clamp(4rem, 16vw, 8rem);
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: .6rem;
  box-shadow: 0 .45rem 1.4rem #140e1680;
}
.detail-top h2 { margin: .25rem 0 .65rem; font-size: clamp(1.65rem, 5vw, 3.1rem); overflow-wrap: anywhere; text-wrap: pretty; }
.detail-artist { color: var(--gold); font-size: .94rem; font-weight: 660; }
.detail-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .38rem .68rem; }
.detail-description { margin-top: 1.05rem; color: var(--muted); }
.detail-media, .detail-links, .detail-tracks {
  margin-top: 1.32rem;
  padding-top: 1.12rem;
  border-top: 1px solid var(--hairline);
}
.detail-media h3, .detail-links h3, .detail-tracks h3 {
  margin-bottom: .6rem;
  color: var(--cream);
  font: 400 1.3rem/1.25 var(--serif);
}
.detail-media audio { display: block; width: 100%; }
.detail-media video { display: block; width: 100%; height: min(44vh, 23rem); object-fit: contain; background: #19131b; border-radius: .68rem; }
.detail-links p { color: var(--muted); font-size: .93rem; }
.detail-links .detail-actions + p { margin-top: .6rem; }
.detail-tracks ol { margin: 0; padding-inline-start: 1.55rem; color: var(--muted); }
.detail-tracks li + li { margin-top: .48rem; }
.track-with-cover { display: inline-flex; align-items: center; gap: .65rem; vertical-align: middle; }
.track-cover { width: 3rem; height: 3rem; flex: none; border-radius: .28rem; object-fit: cover; }
.track-link { color: var(--pale-gold); text-decoration: underline; text-underline-offset: .2em; }
.track-link:hover { color: var(--cream); }
.track-actions { display: inline-flex; flex-wrap: wrap; gap: .16rem .75rem; margin-inline-start: .6rem; font-size: .91rem; }
.track-preview-button { border: 0; background: transparent; padding: 0; }
.share-dialog { max-width: 34rem; }
.share-dialog h2 { padding-right: 2.8rem; font-size: clamp(1.7rem, 4vw, 2.6rem); }
.share-dialog .detail-actions { margin-top: 1.2rem; }
.share-status, .itunes-credit { color: var(--muted); font-size: .875rem; }
.share-status:not(:empty) { margin-top: .65rem; }
.share-link { margin-top: .45rem; padding: .45rem .7rem; }
.link-fallback { display: grid; gap: .4rem; margin-block: .6rem; }
.link-fallback .detail-actions { margin-top: 0; }
.itunes-caption { display: grid; }
.itunes-caption > * { grid-area: 1 / 1; align-self: start; }
.itunes-caption > .itunes-credit, .itunes-promo { margin-top: .55rem; }
.itunes-promo { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; }
.itunes-promo[aria-hidden="true"] { visibility: hidden; }
.itunes-badge { display: inline-flex; align-items: center; padding: 4px; }
.itunes-badge img { display: block; width: 109px; height: 32px; }
.itunes-credit:empty { display: none; }

@media (max-width: 49rem) {
  .hero { grid-template-columns: none; align-items: start; gap: normal; padding: 0 0 1rem; }
  .hero-photo {
    position: relative;
    z-index: -1;
    grid-row: 1;
    width: calc(100% + var(--gutter));
    height: auto;
    margin-inline: calc(var(--gutter) / -2);
    border-radius: .85rem;
    box-shadow: none;
    object-fit: contain;
    mask-image: linear-gradient(0deg, transparent, #000 29%);
  }
  .hero-copy { grid-row: 2; max-width: 36rem; margin-top: clamp(-4.2rem, -7vw, -1.6rem); }
  .hero h1 { font-size: clamp(2.82rem, 8.9vw, 4.75rem); }
  .hero p { margin-top: 1.05rem; }
  .hero-actions { margin-top: 1.2rem; }
  .artists { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem clamp(.8rem, 4vw, 1.8rem); }
  .current-grid { grid-template-columns: 1fr; gap: 0; }
  .current-card { grid-template-columns: 5.5rem minmax(0, 1fr); gap: .85rem; }
  .artist-bio { font-size: .94rem; line-height: 1.54; }
  .about-section { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 1.5rem; }
  .artist-context { align-items: start; flex-direction: column; }
}
@media (max-width: 38rem) {
  .masthead-inner { flex-direction: column; align-items: flex-start; min-height: auto; gap: .4rem; padding-top: .9rem; }
  .primary-nav { flex-wrap: wrap; gap: 0 clamp(.9rem, 5vw, 1.65rem); }
  .primary-nav a { font-size: .91rem; }
  .brand { font-size: 1.16rem; }
  .record-mark { flex-basis: 2.3rem; height: 2.3rem; }
  .artist-name { font-size: clamp(1.46rem, 5vw, 1.9rem); }
  .artist-genre { font-size: .88rem; }
  .about-section { grid-template-columns: 1fr; }
  .about-photo { width: min(100%, 30rem); }
  .film-project { grid-template-columns: 5.15rem minmax(0, 1fr); gap: .4rem .8rem; }
  .film-project-art { grid-row: span 2; }
  .film-project .quiet-link { grid-column: 2; }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search-field { grid-column: 1 / -1; }
  .release-row {
    grid-template-columns: 2.85rem minmax(0, 1fr) auto;
    gap: .18rem .62rem;
    min-height: 5rem;
    padding: .6rem .24rem;
  }
  .release-row img, .release-row .art-fallback { grid-row: 1 / 3; width: 2.85rem; height: 2.85rem; }
  .release-info { grid-column: 2 / 4; grid-row: 1; padding-right: .9rem; }
  .release-row .status { grid-column: 2; grid-row: 2; }
  .release-row .release-date { grid-column: 3; grid-row: 2; text-align: right; }
  .row-mark { grid-column: 3; grid-row: 1; margin-right: .15rem; }
  dialog { width: calc(100% - 1.1rem); max-height: calc(100dvh - 1.1rem); border-radius: 1rem; }
  dialog::backdrop { backdrop-filter: blur(4px); }
  .detail-top { gap: .65rem; padding-right: 2.2rem; }
  .close { right: .65rem; top: .65rem; }
}
@media (max-width: 22rem) {
  .artists { grid-template-columns: 1fr; }
}

@keyframes arrive {
  from { opacity: .88; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
