:root {
  --ink: #161612;
  --paper: #f0eadc;
  --paper-deep: #e2d7c4;
  --rust: #c54d27;
  --gold: #e8a52b;
  --sage: #78806a;
  --line: rgba(22, 22, 18, 0.22);
  --sans: "DM Sans", Arial, sans-serif;
  --display: "Libre Franklin", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
}
a { color: inherit; }
button, input { font: inherit; }
img { display: block; max-width: 100%; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  height: 76px;
  padding: 0 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 20;
  background: var(--paper);
}
.wordmark {
  font: 800 1.05rem/1 var(--display);
  letter-spacing: -0.04em;
  text-decoration: none;
}
.wordmark span { color: var(--rust); }
.site-header nav { display: flex; gap: 2rem; }
.site-header nav a {
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.site-header nav a:hover { color: var(--rust); }
.menu-button {
  display: none;
  border: 0;
  background: transparent;
  font-weight: 700;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  grid-template-rows: 1fr auto;
  position: relative;
  overflow: hidden;
}
.hero-copy {
  padding: clamp(5rem, 9vw, 9rem) 5vw 4rem;
  position: relative;
  z-index: 2;
}
.eyebrow {
  margin: 0 0 1.4rem;
  color: var(--rust);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
.eyebrow.light { color: #f1b542; }
h1, h2, h3 {
  font-family: var(--display);
  letter-spacing: -0.065em;
  margin: 0;
}
h1 {
  max-width: 900px;
  font-size: clamp(3.8rem, 8.6vw, 9.2rem);
  line-height: 0.84;
  text-transform: uppercase;
}
h1 em { color: var(--rust); font-style: italic; }
.hero-intro {
  max-width: 550px;
  margin: 2.4rem 0 2rem;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  line-height: 1.55;
}
.hero-actions { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.button {
  display: inline-block;
  padding: 1rem 1.35rem;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: transform 180ms ease, background 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-dark { color: var(--paper); background: var(--ink); }
.button-dark:hover { background: var(--rust); }
.button-light { color: var(--ink); background: var(--paper); }
.button-outline-light {
  color: var(--paper);
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(240,234,220,0.65);
}
.button-outline-light:hover { color: var(--ink); background: var(--paper); }
.text-link {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-underline-offset: 5px;
}
.text-link span { color: var(--rust); margin-left: 0.3rem; }

.hero-art {
  position: relative;
  background: var(--sage);
  overflow: hidden;
  border-left: 1px solid var(--line);
}
.sun {
  position: absolute;
  width: 42vw;
  height: 42vw;
  max-width: 620px;
  max-height: 620px;
  border-radius: 50%;
  background: var(--gold);
  right: -10%;
  top: 2%;
}
.record {
  position: absolute;
  width: min(38vw, 530px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, #171715 0 3px, #22221e 4px 8px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.32);
}
.record::before {
  content: "";
  position: absolute;
  width: 36%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--rust);
  inset: 32%;
  border: 3px solid var(--paper);
}
.record-back { right: -16%; top: 43%; opacity: 0.55; }
.record-front { left: 6%; top: 20%; transform: rotate(-8deg); }
.record-front span {
  position: absolute;
  inset: 41%;
  z-index: 2;
  color: var(--paper);
  font: 800 1.3rem/1 var(--display);
}
.hero-stamp {
  position: absolute;
  right: 7%;
  bottom: 9%;
  width: 120px;
  height: 120px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  font: 800 0.72rem/1.2 var(--display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transform: rotate(9deg);
}
.stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  background: var(--paper);
  position: relative;
  z-index: 3;
}
.stats div { padding: 1.3rem 5vw; border-right: 1px solid var(--line); }
.stats strong { display: block; font: 800 2rem/1 var(--display); }
.stats span { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; }

.marquee {
  overflow: hidden;
  padding: 1rem 0;
  color: var(--paper);
  background: var(--rust);
  font: 800 0.78rem/1 var(--display);
  letter-spacing: 0.16em;
  white-space: nowrap;
}
.marquee div { width: max-content; animation: crawl 26s linear infinite; }
@keyframes crawl { to { transform: translateX(-50%); } }

.section { padding: clamp(5rem, 9vw, 9rem) 5vw; }
.section-heading {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: end;
  gap: 4rem;
  margin-bottom: 4rem;
}
.section h2 { font-size: clamp(3.1rem, 7vw, 7.5rem); line-height: 0.89; text-transform: uppercase; }
.section-note { max-width: 470px; padding-bottom: 0.6rem; }
.section-note p, .music-heading > p, .merch-copy p, .about-copy p { line-height: 1.65; }

.book-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 3.3rem 1.4rem;
}
.book-card { min-width: 0; }
.book-cover-wrap {
  aspect-ratio: 0.69;
  background: var(--paper-deep);
  overflow: hidden;
  box-shadow: 0 18px 35px rgba(40, 30, 17, 0.16);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.book-card:hover .book-cover-wrap {
  transform: translateY(-6px) rotate(-1deg);
  box-shadow: 0 25px 45px rgba(40, 30, 17, 0.24);
}
.book-cover-wrap img { width: 100%; height: 100%; object-fit: cover; }
.book-card h3 {
  margin: 1.2rem 0 0.5rem;
  font-size: 1rem;
  line-height: 1.15;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}
.book-card a { text-decoration: none; }
.book-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 0.6rem;
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.book-meta span:last-child { color: var(--rust); }

.music-section {
  color: var(--paper);
  background: var(--ink);
}
.music-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 4rem;
  align-items: end;
}
.music-heading .eyebrow, .music-heading h2 { grid-column: 1; }
.music-heading > p, .music-heading .streaming-actions { grid-column: 2; }
.music-heading > p { max-width: 520px; margin: 0; }
.streaming-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-self: start;
  margin-top: 1rem;
}
.featured-music { margin-top: 5rem; }
.feature-label {
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(240,234,220,0.28);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}
.album-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 1.4rem;
}
.album-card a { text-decoration: none; }
.album-art {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #2a2a25;
}
.album-art img { width: 100%; height: 100%; object-fit: cover; transition: transform 260ms ease; }
.album-card:hover img { transform: scale(1.04); }
.play-mark {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--paper);
  font-weight: 800;
}
.album-card h3 { margin: 1rem 0 0.3rem; font-size: 1rem; letter-spacing: -0.03em; }
.album-card p { margin: 0; color: #aaa89e; font-size: 0.75rem; }

.catalog-panel {
  margin-top: 6rem;
  padding: 3rem;
  color: var(--ink);
  background: var(--paper);
}
.catalog-header {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 1.5rem;
}
.catalog-header h3 { font-size: clamp(2rem, 4vw, 4rem); text-transform: uppercase; }
.catalog-tools { display: flex; flex-direction: column; align-items: flex-end; gap: 1rem; }
#release-search {
  min-width: min(340px, 70vw);
  padding: 0.8rem 0;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  outline: 0;
  background: transparent;
}
.filters { display: flex; gap: 0.4rem; flex-wrap: wrap; justify-content: flex-end; }
.filter {
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  font-size: 0.67rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.filter.active { color: var(--paper); background: var(--ink); }
.release-row {
  display: grid;
  grid-template-columns: 55px minmax(0, 1fr) 100px 110px 30px;
  gap: 1.2rem;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.release-row:hover { color: var(--rust); }
.release-row img { width: 55px; height: 55px; object-fit: cover; }
.release-title { font-weight: 700; }
.release-type, .release-date {
  color: #656156;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.release-arrow { font-weight: 800; text-align: right; }
.empty-state { padding: 3rem 0; color: #656156; }
.load-more {
  width: 100%;
  margin-top: 1.5rem;
  padding: 1rem;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.load-more:hover { color: var(--paper); background: var(--ink); }

.about-section {
  display: grid;
  grid-template-columns: 0.4fr 1fr 0.8fr;
  gap: 4rem;
  align-items: start;
  border-bottom: 1px solid var(--line);
}
.about-mark {
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
  border: 2px solid var(--rust);
  border-radius: 50%;
  color: var(--rust);
  font: 800 3rem/1 var(--display);
  transform: rotate(-8deg);
}
.about-section h2 { font-size: clamp(2.7rem, 5.5vw, 6rem); }
.about-copy { padding-top: 2rem; }
.about-copy p:first-child { font-size: 1.12rem; font-weight: 600; }

.merch-section {
  min-height: 650px;
  display: grid;
  grid-template-columns: 0.85fr 1fr 0.65fr;
  gap: 3rem;
  align-items: center;
  padding: 6rem 5vw;
  background: var(--gold);
  overflow: hidden;
}
.merch-section h2 { font: 800 clamp(3.5rem, 7vw, 7.5rem)/0.88 var(--display); letter-spacing: -0.065em; text-transform: uppercase; }
.merch-preview { display: grid; place-items: center; }
.shirt {
  width: min(390px, 70vw);
  height: 430px;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: var(--ink);
  clip-path: polygon(21% 0, 36% 8%, 64% 8%, 79% 0, 100% 21%, 84% 38%, 77% 30%, 77% 100%, 23% 100%, 23% 30%, 16% 38%, 0 21%);
  transform: rotate(3deg);
  filter: drop-shadow(20px 25px 0 rgba(197,77,39,0.8));
}
.shirt span { font: 800 2rem/0.9 var(--display); text-align: center; letter-spacing: -0.05em; }
.merch-copy { max-width: 320px; }
.merch-disabled { cursor: default; }
.merch-disabled:hover { transform: none; background: var(--ink); }

footer {
  min-height: 280px;
  padding: 4rem 5vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: end;
  color: var(--paper);
  background: var(--ink);
}
.footer-mark { font-size: clamp(2rem, 5vw, 5rem); }
footer p { margin: 0; }
.footer-links { display: flex; gap: 1.5rem; justify-self: end; }
.footer-links a { text-transform: uppercase; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; }
.copyright { justify-self: end; color: #89877f; font-size: 0.75rem; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { min-height: 500px; border-left: 0; border-top: 1px solid var(--line); }
  .record { width: min(55vw, 460px); }
  .book-grid, .album-grid { grid-template-columns: repeat(3, 1fr); }
  .about-section { grid-template-columns: 0.35fr 1fr; }
  .about-copy { grid-column: 2; }
  .merch-section { grid-template-columns: 1fr 1fr; }
  .merch-copy { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .site-header nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    padding: 1.5rem 5vw;
    flex-direction: column;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .site-header nav.open { display: flex; }
  .menu-button { display: block; }
  .hero-copy { padding-top: 5rem; }
  h1 { font-size: clamp(3.5rem, 17vw, 6rem); }
  .stats div { padding: 1.1rem; }
  .stats strong { font-size: 1.5rem; }
  .stats span { font-size: 0.6rem; }
  .section-heading, .music-heading { grid-template-columns: 1fr; gap: 2rem; }
  .music-heading > p, .music-heading .streaming-actions { grid-column: 1; }
  .book-grid, .album-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-panel { padding: 1.5rem; }
  .catalog-header { flex-direction: column; }
  .catalog-tools { align-items: stretch; }
  .filters { justify-content: flex-start; }
  .release-row { grid-template-columns: 48px 1fr 24px; gap: 0.8rem; }
  .release-row img { width: 48px; height: 48px; }
  .release-type, .release-date { display: none; }
  .about-section { grid-template-columns: 1fr; }
  .about-copy { grid-column: 1; }
  .about-mark { width: 100px; height: 100px; font-size: 2rem; }
  .merch-section { grid-template-columns: 1fr; }
  .merch-copy { grid-column: 1; }
  footer { grid-template-columns: 1fr; }
  .footer-links, .copyright { justify-self: start; }
}

@media (max-width: 440px) {
  .book-grid { gap: 2.3rem 0.8rem; }
  .book-card h3 { font-size: 0.84rem; }
  .book-meta { font-size: 0.58rem; }
  .album-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee div { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
