:root {
  color-scheme: light;
  --paper: #f4f0e9; --ink: #242821; --muted: #53594d; --line: #cec9bf;
  --accent: #384d3c; --panel: #252f27; --bright: #f7f3e9;
  --serif: Georgia, 'Times New Roman', serif;
  font: 16px/1.55 system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; text-underline-offset: .22em; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid #846542; outline-offset: 4px; }
.shell { width: min(1120px, calc(100% - 72px)); margin-inline: auto; }
.masthead, footer { display: flex; justify-content: space-between; align-items: center; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.masthead nav { display: flex; gap: clamp(1rem, 4vw, 3rem); }
.masthead a, footer a { text-decoration: none; }
.masthead a:hover, footer a:hover { text-decoration: underline; }
.wordmark { font: 1.45rem var(--serif); }
.hero { position: relative; isolation: isolate; display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; min-height: clamp(460px, 52vw, 625px); margin-top: 1.6rem; overflow: hidden; background: #130f0d; color: var(--bright); }
.hero-copy { position: relative; z-index: 1; padding: clamp(2rem, 5vw, 4.6rem); align-self: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .875rem; font-weight: 600; margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.02; margin: 0; }
h1 { font-size: clamp(3.7rem, 7vw, 7rem); letter-spacing: -.075em; margin: .65rem 0 1.25rem; }
h1 em { color: #e2c6a0; }
.hero-copy > p:not(.eyebrow) { color: #e5dfd7; max-width: 23rem; margin: 0 0 1.5rem; }
.button { display: inline-block; text-decoration: none; padding: .7rem 1rem; background: var(--accent); color: var(--bright); border: 1px solid transparent; border-radius: 3px; }
.button:hover { background: #465e4a; }
.hero .button { border-color: #c8ad8b; background: #15100d; }
.hero .button:hover { background: #423225; }
.hero-art { position: absolute; inset: 0 0 0 43%; z-index: -1; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 75%; display: block; }
.hero-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,#130f0d,transparent 31%); pointer-events: none; }
.listening { padding: 3rem 0 4rem; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.5rem; }
h2 { font-size: clamp(2.6rem,5vw,4.4rem); letter-spacing: -.055em; }
.section-heading p, .licensing p { margin: 0; color: var(--muted); }
.mood-section { margin-bottom: 1.65rem; }
.mood-section h3, .queue h3 { font-size: 1.55rem; letter-spacing: -.026em; margin-bottom: .65rem; }
.moods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .65rem; }
.mood { min-height: 6.4rem; padding: .9rem; text-align: left; border: 1px solid transparent; border-radius: 3px; color: var(--bright); background: var(--mood-color); }
.mood:hover, .mood[aria-pressed=true] { box-shadow: inset 0 0 0 2px #f7f3e9; }
.mood[aria-pressed=true] { text-decoration: underline; text-underline-offset: .22em; }
.mood-title { display: block; font: 1.35rem/1.1 var(--serif); }
.mood-detail { display: block; margin-top: .42rem; font-size: .875rem; }
.mood:nth-child(1) { --mood-color: #304235; }
.mood:nth-child(2) { --mood-color: #3b3c53; }
.mood:nth-child(3) { --mood-color: #633d35; }
.mood:nth-child(4) { --mood-color: #5b4b2e; }
.queue { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .85rem 0; margin-bottom: .7rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.queue[hidden] { display: none; }
.queue h3, .queue p { margin: 0; }
.queue p { font-size: .875rem; color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.4rem; }
.filters button, .choices button { border: 1px solid var(--line); border-radius: 3px; background: transparent; padding: .48rem .75rem; font-size: .9rem; }
.filters button[aria-pressed=true] { background: var(--ink); color: var(--bright); border-color: var(--ink); }
.library { display: grid; grid-template-columns: 1fr .85fr; gap: clamp(1.25rem,4vw,3.5rem); align-items: start; }
.tracks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); max-height: 30rem; overflow: auto; }
.tracks button { text-align: left; background: transparent; width: 100%; border: 0; border-bottom: 1px solid var(--line); padding: .73rem .8rem; display: flex; justify-content: space-between; align-items: center; gap: .9rem; }
.tracks button:focus-visible { outline-offset: -3px; }
.tracks button:hover, .tracks button[aria-pressed=true] { background: #e8e3d8; }
.track-name { font: 1.23rem/1.2 var(--serif); }
.track-meta { display: block; color: var(--muted); font-size: .875rem; }
.track-count { flex-shrink: 0; color: var(--muted); font-size: .875rem; }
.player { background: var(--panel); color: var(--bright); padding: clamp(1.35rem,4vw,2.75rem); min-width: 0; border-radius: 3px; }
.player .eyebrow { color: #e6d6b8; }
.player h3 { font-size: clamp(2rem,4vw,3.6rem); margin: .6rem 0; letter-spacing: -.045em; }
#version:empty, #status:empty { display: none; }
#version { margin: 0; color: #e6d6b8; }
.choices { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.25rem 0 1rem; }
.choices button { border-color: #9caa9d; }
.choices button[aria-pressed=true] { background: var(--bright); color: var(--panel); border-color: var(--bright); }
.choices button:disabled { opacity: .66; cursor: default; }
audio { display: block; width: 100%; }
.status { margin: .75rem 0 0; }
.licensing {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(1.25rem, 5vw, 4.5rem);
  padding: clamp(1.65rem, 4.5vw, 3rem) 0;
}
.licensing p { margin: 0 0 1rem; max-width: 58ch; }
.licensing { border-bottom: 1px solid var(--line); }
.licensing .button { margin-top: .2rem; }
footer { font-size: .9rem; color: var(--muted); border: 0; }
@media (max-width: 720px) {
  .shell { width: calc(100% - 36px); }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 2rem 0; }
  .hero { min-height: auto; }
  .hero-copy { padding: 1.65rem 1.35rem .8rem; }
  .hero-art { position: relative; inset: auto; height: clamp(245px, 85vw, 430px); }
  .hero-art img { object-position: center 80%; }
  .hero-art::after { background: linear-gradient(180deg, #130f0d, transparent 22%); }
  .moods { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .section-heading { display: block; }
  .licensing { grid-template-columns: 1fr; }
  .section-heading p { margin-top: .7rem; }
  .library { grid-template-columns: 1fr; }
  .tracks { max-height: 17rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.player-album { display: flex; align-items: center; gap: .8rem; margin-bottom: .9rem; }
.player-album img { display: block; border-radius: 2px; object-fit: cover; }
.collections { margin-top: 3.2rem; }
.collections h3 { font-size: 2rem; margin-bottom: 1rem; }
.collection-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: clamp(.65rem, 2vw, 1.3rem); }
.collection { display: grid; align-content: start; gap: .45rem; padding: 0; border: 0; background: transparent; text-align: left; min-width: 0; }
.collection img { width: 100%; height: auto; aspect-ratio: 1; display: block; object-fit: cover; background: #e8e3d8; }
.collection span { font-family: var(--serif); font-size: 1.1rem; line-height: 1.26; }
.collection:hover span, .collection[aria-pressed=true] span { text-decoration: underline; text-underline-offset: .23em; }
@media (max-width: 720px) {
  .collection-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

#scene-note { margin: .85rem 0 0; max-width: 40ch; }
#scene-note:empty { display: none; }
#solo-play { margin-left: .45rem; padding: 0; border: 0; background: transparent; text-decoration: underline; text-underline-offset: .18em; }

@media (max-width: 390px) { .masthead nav { gap: .65rem; } }

.audio-request:not([hidden]) { display: inline-block; margin-top: .8rem; font-size: .875rem; color: #e6d6b8; }

.about-footer { border-top: 1px solid var(--line); }
.masthead [aria-current="page"] { text-decoration: underline; text-underline-offset: .25em; }

.about-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  align-items: center;
  gap: clamp(1.5rem, 4.8vw, 4rem);
  padding-block: clamp(2rem, 7vw, 5.1rem) clamp(1.5rem, 4.5vw, 3.5rem);
}
.about-story .eyebrow { color: var(--muted); }
.about-story h1 {
  font-size: clamp(2.5rem, 4.8vw, 4.55rem);
  line-height: 1.02;
  letter-spacing: -.062em;
  max-width: 16ch;
  text-wrap: balance;
  margin: .9rem 0 1.3rem;
}
.about-story h1 em { color: var(--accent); }
.about-reflection {
  max-width: 43ch;
  margin: 0;
  border-top: 1px solid var(--line);
  padding-top: 1.05rem;
  line-height: 1.65;
}
.about-profile { margin: 0; background: #18130f; }
.about-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: 42% center;
}
.about-credits {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 1rem;
  row-gap: .35rem;
  align-items: center;
  background: var(--panel);
  color: var(--bright);
  padding: clamp(1.2rem, 3.5vw, 2.35rem);
}
.about-credits h2 { grid-column: 1; font: 600 .875rem/1.4 system-ui, sans-serif; letter-spacing: 0; }
.about-credits p { grid-column: 1; margin: 0; font: clamp(1.1rem, 2.4vw, 1.62rem)/1.45 var(--serif); }
.about-credits p span { margin-inline: .2em; color: #e6d6b8; }
.about-credits .button { grid-column: 2; grid-row: 1 / span 2; border-color: #9caa9d; }
@media (max-width: 720px) {
  .about-page { grid-template-columns: 1fr; }
  .about-story h1 { max-width: 16ch; }
  .about-photo { aspect-ratio: 4 / 3; }
  .about-credits { grid-template-columns: 1fr; }
  .about-credits .button { grid-column: 1; grid-row: auto; justify-self: start; margin-top: .5rem; }
}
