:root {
  color-scheme: dark;
  --bg: #171e1d;
  --ink: #ede9de;
  --muted: #b6bdb5;
  --line: #3d4945;
  --accent: #d9c394;
  --surface: #111a18;
  --track: #1c2925;
  --display-font: Georgia, serif;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--bg);
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--accent);
}
a:focus-visible,
audio:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 7px;
}
.skip {
  position: absolute;
  left: 24px;
  top: -100px;
  background: var(--ink);
  color: var(--bg);
  padding: 12px;
  z-index: 9;
}
.skip:focus {
  top: 15px;
}
header,
main,
footer {
  max-width: 1440px;
  margin: auto;
  padding-left: 6vw;
  padding-right: 6vw;
}
header {
  height: 86px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  font-size: 22px;
  letter-spacing: 0.21em;
  font-weight: 700;
}
.wordmark span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.2em;
  font-weight: 400;
  color: var(--muted);
  margin-top: 9px;
  text-transform: uppercase;
}
nav {
  display: flex;
  gap: 40px;
  font-size: 13px;
}
nav span {
  margin-left: 12px;
}
.intro {
  padding: 20px 0 18px;
  position: relative;
  overflow: hidden;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.18em;
  line-height: 1.7;
  color: var(--accent);
  font-weight: 600;
}
h1 {
  font-family: var(--display-font);
  font-size: clamp(40px, 4.3vw, 58px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.045em;
  margin: 0 0 12px;
}
h1 em {
  font-weight: 400;
  color: var(--accent);
}
.lede {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}
.explore {
  display: inline-flex;
  gap: 44px;
  border-bottom: 1px solid #7c877d;
  padding: 8px 0 8px;
  font-size: 12px;
}
.intro-mark {
  position: absolute;
  right: 4%;
  top: 26px;
  font:
    italic 320px Georgia,
    serif;
  color: #26312b;
  z-index: -1;
  transform: rotate(-10deg);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.section-heading h2 {
  font-size: 17px;
  font-weight: 400;
  margin: 0;
}
.section-heading span {
  font-size: 11px;
  color: var(--muted);
}
#music {
  scroll-margin-top: 20px;
}
#release {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 7%;
  align-items: center;
}
#release[hidden] {
  display: none;
}
.art {
  position: relative;
  background: #253b37;
  overflow: hidden;
}
.art img {
  width: 100%;
  height: auto;
  display: block;
}
.art-label {
  position: absolute;
  left: 20px;
  bottom: 16px;
  font-size: 9px;
  letter-spacing: 0.18em;
  color: #fff;
  background: #171e1de0;
  padding: 8px 10px;
}
.release-info h3 {
  font-family: var(--display-font);
  font-weight: 400;
  letter-spacing: -0.04em;
  font-size: clamp(35px, 4vw, 55px);
  margin: 20px 0 12px;
}
.byline {
  font-size: 13px;
  color: var(--muted);
}
.byline span {
  margin-left: 12px;
}
#description {
  font-size: 14px;
  line-height: 1.8;
  max-width: 380px;
  color: var(--muted);
  margin: 24px 0;
}
.player {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.player label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.03em;
  margin-bottom: 14px;
}
audio {
  width: 100%;
  height: 42px;
}
.release-note {
  font-size: 10px;
  color: var(--muted);
  margin-top: 18px;
}
#playback-status {
  font-size: 12px;
  line-height: 1.5;
  color: var(--accent);
}
.about {
  border-top: 1px solid var(--line);
  margin-top: 80px;
  padding: 46px 0 58px;
  display: grid;
  grid-template-columns: 1fr 2fr 1.4fr;
  gap: 35px;
  align-items: start;
}
.about h2 {
  font:
    400 32px/1.25 Georgia,
    serif;
  margin: 0;
}
.about > p:last-child {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
  margin-top: 0;
}
footer {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 25px;
  padding-bottom: 30px;
  font-size: 10px;
  color: var(--muted);
}
footer > span:first-child {
  letter-spacing: 0.14em;
  color: var(--ink);
}
@media (max-width: 700px) {
  header {
    height: 80px;
  }
  .wordmark {
    font-size: 17px;
  }
  .wordmark span {
    font-size: 8px;
  }
  nav {
    gap: 20px;
    font-size: 12px;
  }
  .intro {
    padding: 26px 0;
  }
  .intro-mark {
    font-size: 210px;
    right: -30px;
    top: 45px;
  }
  h1 {
    font-size: 42px;
  }
  .lede {
    max-width: 260px;
  }
  .section-heading {
    padding: 22px 0;
  }
  #release {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .release-info h3 {
    font-size: 43px;
    margin-top: 12px;
  }
  .release-info .eyebrow {
    margin-top: 0;
  }
  .about {
    margin-top: 50px;
    padding: 30px 0;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .about h2 {
    font-size: 30px;
  }
  .about .eyebrow {
    margin: 0;
  }
  footer {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
}

[hidden] {
  display: none !important;
}
.gallery-tools {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin: 0 0 18px;
}
.gallery-tools label {
  display: grid;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  width: min(440px, 100%);
}
.gallery-tools input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 16px;
  color: var(--ink);
  background: var(--surface);
  font: 14px Arial;
  letter-spacing: 0;
}
.gallery-tools input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
#gallery-status {
  color: var(--muted);
  font-size: 12px;
  max-width: 320px;
}
.collection-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 22px;
}
.collection-card {
  isolation: isolate;
  position: relative;
  display: flex;
  align-items: flex-end;
  min-width: 0;
  min-height: 340px;
  height: 340px;
  border: 1px solid #53615a;
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: #ede9de;
  background:
    radial-gradient(ellipse at 60% 10%, #768f80, transparent 65%),
    linear-gradient(135deg, #324943, #172426);
  transition:
    transform 0.18s,
    border-color 0.18s;
}
.collection-card.cover-tone-1 {
  background:
    radial-gradient(ellipse at 20% 10%, #ab856e, transparent 65%),
    linear-gradient(135deg, #503839, #232131);
}
.collection-card.cover-tone-2 {
  background:
    radial-gradient(ellipse at 70% 0, #678dab, transparent 65%),
    linear-gradient(135deg, #263854, #242936);
}
.collection-card.cover-tone-3 {
  background:
    radial-gradient(ellipse at 20% 0, #949f76, transparent 65%),
    linear-gradient(135deg, #475c45, #192824);
}
.collection-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.4s;
}
.collection-card:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #111a1833 5%, #10181670 30%, #101816f5 78%);
  z-index: -1;
}
.collection-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.collection-card:hover > img {
  transform: scale(1.035);
}
.collection-card[aria-expanded='true'] {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent);
}
.card-track-count {
  position: absolute;
  top: 18px;
  left: 20px;
  padding: 7px 10px;
  border: 1px solid #ffffff50;
  border-radius: 30px;
  font-size: 11px;
  letter-spacing: 0.06em;
  background: #15221acc;
}
.card-copy {
  display: grid;
  gap: 12px;
  width: 100%;
  padding: 24px;
}
.card-eyebrow {
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--accent);
}
.card-title {
  font-family: var(--display-font);
  font-size: 30px;
  line-height: 1.1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.card-description {
  font-size: 13px;
  line-height: 1.6;
  color: #d4dbd2;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
  min-height: 3.2em;
}
.card-action {
  padding-top: 8px;
  border-top: 1px solid #ffffff25;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--accent);
}
.gallery-more,
#close-collection {
  min-height: 44px;
  padding: 12px 18px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}
.gallery-more {
  display: block;
  margin: 24px auto;
}
.collection-panel {
  scroll-margin-top: 24px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--accent);
}
.collection-panel-heading {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
}
#collection-title {
  font:
    44px/1.12 Georgia,
    serif;
  margin: 12px 0 18px;
  overflow-wrap: anywhere;
}
#close-collection {
  flex-shrink: 0;
  font-size: 12px;
}
#close-collection span {
  font-size: 19px;
  margin-right: 6px;
}
#collection-description {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-width: 75ch;
  line-height: 1.7;
  color: var(--muted);
}
#tracks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 28px 0;
}
#tracks button {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  cursor: pointer;
  font: inherit;
  color: inherit;
  background: var(--track);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px 16px;
  text-align: left;
  min-width: 0;
}
#tracks button[aria-pressed='true'] {
  background: #d9d5c5;
  color: #171e1d;
  border-color: #d9d5c5;
}
.track-number,
.track-duration {
  font-size: 11px;
  opacity: 0.75;
  flex-shrink: 0;
}
.track-name {
  font-size: 13px;
  overflow-wrap: anywhere;
  flex: 1;
}
button:focus-visible {
  outline: 3px solid #c9a86c;
  outline-offset: 4px;
}
@media (max-width: 1000px) {
  .collection-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .collection-gallery {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .collection-card {
    min-height: 360px;
    height: 360px;
  }
  .gallery-tools {
    display: block;
  }
  #gallery-status {
    margin-top: 16px;
  }
  .collection-panel-heading {
    display: block;
  }
  #close-collection {
    margin-bottom: 14px;
  }
  #collection-title {
    font-size: 34px;
  }
  #tracks {
    grid-template-columns: 1fr;
  }
  .section-heading > span {
    font-size: 9px;
    max-width: 140px;
    text-align: right;
  }
}
@media (prefers-reduced-motion: reduce) {
  .collection-card,
  .collection-card > img {
    transition: none;
  }
  .collection-card:hover {
    transform: none;
  }
}

:root[data-theme='light'] {
  color-scheme: light;
  --bg: #f4f1e8;
  --ink: #202c27;
  --muted: #526057;
  --line: #aab4a9;
  --accent: #775517;
  --surface: #fffdf6;
  --track: #e5eade;
}
:root[data-accent='sage'] {
  --accent: #b3d6bd;
}
:root[data-theme='light'][data-accent='sage'] {
  --accent: #345d43;
}
:root[data-typography='modern'] {
  --display-font: Arial, Helvetica, sans-serif;
}
.about h2,
#collection-title {
  font-family: var(--display-font);
}
.collection-card .card-eyebrow,
.collection-card .card-action {
  color: #d9c394;
}
:root[data-accent='sage'] .collection-card .card-eyebrow,
:root[data-accent='sage'] .collection-card .card-action {
  color: #b3d6bd;
}
:root[data-theme='light'] .intro-mark {
  color: #dce3d6;
}
#appearance-status {
  font-size: 12px;
  color: var(--muted);
  margin: 16px 0 0;
}
button:focus-visible {
  outline-color: var(--accent);
}
/* Short laptop screens keep the complete first listening row in view. */
@media (min-width: 1100px) and (max-height: 800px) {
  header {
    height: 72px;
  }
  .intro {
    padding: 18px 0 14px;
  }
  .intro h1 {
    font-size: 48px;
    line-height: 1.08;
    margin-bottom: 10px;
  }
  .intro h1 br {
    display: none;
  }
  .intro h1 em {
    margin-left: 0.2em;
  }
  .intro .lede {
    margin: 10px 0;
  }
  .intro-mark {
    font-size: 220px;
    top: -28px;
  }
  .section-heading {
    padding: 14px 0;
  }
  .gallery-tools {
    margin-bottom: 14px;
  }
  .gallery-tools label {
    gap: 7px;
  }
  .gallery-tools input {
    min-height: 44px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .collection-card {
    height: 320px;
    min-height: 320px;
  }
  .card-copy {
    padding: 20px;
    gap: 10px;
  }
}
