:root {
  --paper: #f3eee4;
  --paper-strong: #fffaf1;
  --ink: #171512;
  --charcoal: #252522;
  --rust: #994d28;
  --rust-dark: #70361e;
  --denim: #315f75;
  --denim-dark: #173645;
  --sage: #73836d;
  --line: rgba(23, 21, 18, 0.16);
  --line-light: rgba(255, 250, 241, 0.2);
  --shadow: 0 20px 50px rgba(23, 21, 18, 0.18);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 32px;
  color: var(--paper-strong);
  background: rgba(23, 21, 18, 0.9);
  border-bottom: 1px solid rgba(255, 250, 241, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--paper-strong);
  background: var(--rust);
  border-radius: 50%;
  font-size: 0.8rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.95rem;
}

.site-nav a {
  color: rgba(255, 250, 241, 0.82);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--paper-strong);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 82svh;
  overflow: hidden;
  color: var(--paper-strong);
  background: var(--charcoal);
}

.about-page-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 70svh;
  overflow: hidden;
  color: var(--paper-strong);
  background: var(--charcoal);
}

.hero-image,
.hero-overlay,
.about-page-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image,
.about-page-image {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(23, 21, 18, 0.78), rgba(23, 21, 18, 0.3) 55%, rgba(23, 21, 18, 0.05)),
    linear-gradient(0deg, rgba(23, 21, 18, 0.72), rgba(23, 21, 18, 0.06) 55%);
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
  padding: 110px 0 72px;
}

.about-page-copy {
  position: relative;
  width: min(900px, calc(100% - 48px));
  margin: 0 auto;
  padding: 110px 0 68px;
}

.about-page-copy p {
  max-width: 720px;
  color: rgba(255, 250, 241, 0.84);
  font-size: 1.12rem;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--rust);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section-ink .eyebrow,
.section-denim .eyebrow,
.hero .eyebrow {
  color: #f0b36f;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5.8rem;
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.7rem;
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  color: rgba(255, 250, 241, 0.88);
  font-size: 1.18rem;
}

.hero-actions,
.release-tools,
.card-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  color: var(--ink);
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--paper-strong);
  background: var(--rust);
  border-color: var(--rust);
}

.button.primary:hover {
  background: var(--rust-dark);
}

.button.ghost {
  color: var(--paper-strong);
  background: rgba(255, 250, 241, 0.08);
  border-color: rgba(255, 250, 241, 0.42);
}

.button.small {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.9rem;
}

.button.full {
  width: 100%;
}

.status-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  color: var(--paper-strong);
  background: var(--line-light);
}

.status-band div {
  padding: 24px 32px;
  background: var(--denim-dark);
}

.status-band strong,
.status-band span {
  display: block;
}

.status-band strong {
  margin-bottom: 3px;
  font-size: 1.45rem;
}

.status-band span {
  color: rgba(255, 250, 241, 0.72);
  font-size: 0.92rem;
}

.section {
  padding: 86px 32px;
}

.section-paper {
  background: var(--paper);
}

.section-ink {
  color: var(--paper-strong);
  background: var(--charcoal);
}

.section-denim {
  color: var(--paper-strong);
  background: var(--denim-dark);
}

.section-heading,
.intro-grid,
.spotify-layout,
.about-grid,
.page-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-heading {
  margin-bottom: 32px;
}

.section-heading p {
  max-width: 650px;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  color: rgba(23, 21, 18, 0.76);
  font-size: 1.05rem;
}

.album-list {
  display: grid;
  gap: 12px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.album-row {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 18px;
  padding: 14px;
  color: var(--paper-strong);
  background: rgba(255, 250, 241, 0.07);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
}

.album-row img {
  width: 74px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
}

.album-row p {
  margin: 0;
  color: rgba(255, 250, 241, 0.7);
}

.metric {
  min-width: 104px;
  color: rgba(255, 250, 241, 0.82);
  font-weight: 800;
  text-align: right;
}

.release-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.release-tools {
  width: min(1180px, 100%);
  margin: 0 auto 28px;
  justify-content: space-between;
}

.segmented {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: rgba(23, 21, 18, 0.08);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.filter-button {
  min-height: 36px;
  padding: 0 14px;
  color: rgba(23, 21, 18, 0.76);
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
}

.filter-button.active {
  color: var(--paper-strong);
  background: var(--denim);
}

.search-label {
  display: grid;
  gap: 6px;
  color: rgba(23, 21, 18, 0.72);
  font-size: 0.85rem;
  font-weight: 800;
}

.search-label input {
  width: min(280px, 78vw);
  min-height: 42px;
  padding: 0 12px;
  color: var(--ink);
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.spotify-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  gap: 28px;
  align-items: start;
}

.release-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.release-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  overflow: hidden;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(23, 21, 18, 0.08);
}

.release-card.active {
  border-color: var(--rust);
  box-shadow: 0 12px 28px rgba(153, 77, 40, 0.2);
}

.release-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.release-body {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.release-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: rgba(23, 21, 18, 0.62);
  font-size: 0.84rem;
  font-weight: 800;
}

.sample-list {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  color: rgba(23, 21, 18, 0.68);
  font-size: 0.92rem;
  list-style: none;
}

.sample-list li {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.release-select {
  min-height: 38px;
  padding: 0 12px;
  color: var(--paper-strong);
  background: var(--denim);
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
}

.card-actions a {
  min-height: 38px;
  padding: 0 12px;
  color: var(--rust-dark);
  border: 1px solid rgba(153, 77, 40, 0.34);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 800;
}

.player-panel {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 16px;
  padding: 16px;
  background: var(--charcoal);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.player-meta {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  color: var(--paper-strong);
}

.player-meta img {
  width: 72px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
}

.player-meta h3,
.player-meta p {
  margin-bottom: 3px;
}

#selected-detail,
.data-note {
  color: rgba(255, 250, 241, 0.68);
}

#spotify-frame {
  width: 100%;
  height: 352px;
  border: 0;
  border-radius: var(--radius);
  background: #121212;
}

.data-note {
  margin: 0;
  font-size: 0.78rem;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 42px;
  align-items: center;
}

.about-grid p {
  color: rgba(255, 250, 241, 0.78);
}

.about-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.about-notes article {
  padding: 18px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
}

.gallery {
  display: grid;
  gap: 12px;
}

#gallery-main {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.thumb {
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
}

.thumb.active {
  border-color: #f0b36f;
}

.thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.site-footer {
  padding: 22px 32px;
  color: rgba(255, 250, 241, 0.58);
  background: #11110f;
  font-size: 0.74rem;
  text-align: center;
}

.site-footer p {
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 1040px) {
  .release-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .spotify-layout {
    grid-template-columns: 1fr;
  }

  .player-panel {
    position: static;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 14px 18px;
  }

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

  .hero {
    min-height: 76svh;
  }

  .hero-content {
    width: min(100% - 36px, 680px);
    padding: 92px 0 50px;
  }

  h1 {
    font-size: 3.2rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .section {
    padding: 64px 18px;
  }

  .status-band,
  .intro-grid,
  .release-grid,
  .about-notes {
    grid-template-columns: 1fr;
  }

  .status-band div {
    padding: 18px;
  }

  .album-row {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .album-row .metric,
  .album-row .button {
    grid-column: 2;
    justify-self: start;
    text-align: left;
  }

  .release-heading,
  .release-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .segmented {
    overflow-x: auto;
  }

  .filter-button {
    white-space: nowrap;
  }

  .search-label input {
    width: 100%;
  }
}
