/*
Theme Name: Merwizard Records
Theme URI: https://merwizard.com
Description: Custom theme for Merwizard Records independent label.
Version: 1.0.0
Author: Merwizard Records
Author URI: https://merwizard.com
License: Proprietary
Text Domain: merwizard
*/

/* ─── RESET & BASE ─── */
:root {
  --bg: #F2F0EB;
  --white: #FFFFFF;
  --warm: #E8E5DE;
  --black: #0D0D0D;
  --gray-200: #D5D0C8;
  --gray-500: #9E9E9E;
  --gray-700: #616161;
  --gray-900: #1A1A1A;
  --red: #C83232;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--gray-900);
  font-family: 'Instrument Sans', -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ─── NAV ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,13,13,0.95);
  backdrop-filter: blur(16px);
}

.site-nav {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
  height: 76px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo img {
  height: 52px;
  display: block;
  filter: invert(1);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-500);
  transition: color 0.15s;
}

.nav-links a:hover { color: white; }

/* ─── HERO (shared pattern) ─── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}

.hero-img {
  overflow: hidden;
}

.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-text {
  background: var(--black);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem;
}

.hero-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red);
  margin-bottom: 1rem;
}

.hero-title {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.hero-subtitle {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 400;
  font-style: italic;
  color: var(--gray-500);
  margin-bottom: 1.5rem;
}

.hero-desc {
  font-size: 0.95rem;
  color: #AAA;
  line-height: 1.8;
  max-width: 420px;
  margin-bottom: 2rem;
}

.hero-meta {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: 2rem;
}

.hero-meta span {
  margin-right: 1.5rem;
}

/* ─── BREADCRUMB ─── */
.breadcrumb {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-bottom: 2rem;
}

.breadcrumb a {
  color: var(--gray-500);
  transition: color 0.15s;
}

.breadcrumb a:hover { color: white; }
.breadcrumb span { margin: 0 0.4rem; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.7rem 1.6rem;
  border: 1px solid white;
  color: white;
  transition: all 0.15s;
  align-self: flex-start;
}

.btn:hover {
  background: var(--red);
  border-color: var(--red);
}

.btn--dark {
  border-color: var(--black);
  color: var(--black);
}

.btn--dark:hover {
  background: var(--red);
  border-color: var(--red);
  color: white;
}

.btn--buy {
  background: var(--red);
  border-color: var(--red);
  color: white;
}

.btn--buy:hover {
  background: #a82828;
  border-color: #a82828;
}

.btn--listen {
  border-color: rgba(255,255,255,0.25);
  color: white;
}

.btn--listen:hover {
  border-color: white;
  background: rgba(255,255,255,0.08);
}

/* ─── SECTION HEADERS ─── */
.section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 5rem 3rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 2.5rem;
  border-bottom: 2px solid var(--red);
  padding-bottom: 1rem;
}

.section-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
}

.section-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-500);
}

.section-link:hover { color: var(--black); }

/* ─── CATALOG GRID (staggered) ─── */
.catalog-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.5rem;
}

.catalog-card {
  display: block;
  transition: transform 0.2s;
}

.catalog-card:hover { transform: translateY(-4px); }

.catalog-card--featured {
  grid-row: 1 / 3;
}

.card-art {
  aspect-ratio: 1;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  margin-bottom: 0.8rem;
}

.card-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.catalog-card:hover .card-art img {
  transform: scale(1.03);
}

.card-artist {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--black);
}

.card-title {
  font-size: 0.82rem;
  font-style: italic;
  color: var(--gray-700);
}

.card-cat {
  font-size: 0.68rem;
  color: var(--gray-500);
  margin-top: 0.2rem;
}

.catalog-card--featured .card-artist { font-size: 1rem; }
.catalog-card--featured .card-title { font-size: 1rem; }

/* ─── RELEASE GRID (6 col, for archives) ─── */
.release-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
}

/* ─── ARTIST GRID ─── */
.artist-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.artist-card {
  display: block;
  transition: transform 0.2s;
}

.artist-card:hover { transform: translateY(-4px); }

.artist-photo {
  aspect-ratio: 1;
  background: var(--warm);
  overflow: hidden;
  margin-bottom: 0.75rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.artist-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.artist-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--black);
}

.artist-meta {
  font-size: 0.78rem;
  color: var(--gray-500);
}

/* ─── ARTIST PAGE ─── */
.artist-type {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red);
  margin-bottom: 1rem;
}

.artist-bio {
  font-size: 0.95rem;
  color: #AAA;
  line-height: 1.8;
  max-width: 420px;
}

.artist-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
}

.artist-links a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-500);
  transition: color 0.15s;
}

.artist-links a:hover { color: white; }

/* ─── DISCOGRAPHY ─── */
.album {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: start;
  padding-bottom: 3rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--gray-200);
}

.album:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.album-art {
  width: 300px;
  aspect-ratio: 1;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.album-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.album-info { padding-top: 0.25rem; }

.album-cat {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 0.5rem;
}

.album-title {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.15;
  margin-bottom: 0.3rem;
}

.album-meta {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 1.2rem;
}

.album-desc {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.8;
  max-width: 520px;
}

/* ─── RELEASE PAGE ─── */
.release-hero-text {
  border-left: 1px solid rgba(255,255,255,0.06);
}

.release-artist {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-500);
  margin-bottom: 0.3rem;
}

.release-artist a {
  border-bottom: 1px solid var(--gray-700);
  transition: color 0.15s, border-color 0.15s;
}

.release-artist a:hover {
  color: white;
  border-color: white;
}

.release-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* ─── TRACK LISTING ─── */
.tracks-credits {
  max-width: 1400px;
  margin: 0 auto;
  padding: 5rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}

.track {
  display: flex;
  align-items: baseline;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.track:last-child { border-bottom: none; }

.track-num {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-500);
  width: 2.5rem;
  flex-shrink: 0;
}

.track-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--black);
  flex: 1;
}

.track-dur {
  font-size: 0.82rem;
  color: var(--gray-500);
  margin-left: 1rem;
}

/* ─── CREDITS ─── */
.credits-text {
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.9;
}

.credits-text p + p { margin-top: 1.5rem; }

/* ─── LINER NOTES ─── */
.liner-notes {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem 5rem;
}

.liner-text {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.05rem;
  color: var(--gray-700);
  line-height: 1.9;
  max-width: 680px;
  font-style: italic;
}

.liner-text p + p { margin-top: 1rem; }

/* ─── STATEMENT ─── */
.statement {
  background: var(--black);
  padding: 6rem 3rem;
  text-align: center;
}

.statement-text {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 300;
  color: white;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.4;
  font-style: italic;
}

.statement-text em {
  font-style: normal;
  color: var(--red);
  font-weight: 600;
}

/* ─── CONTACT ─── */
.contact {
  background: var(--black);
  padding: 0 3rem 5rem;
}

.contact-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 3rem;
}

.contact-email {
  font-size: 1.1rem;
  font-weight: 500;
  color: white;
  border-bottom: 1px solid var(--gray-700);
  transition: border-color 0.15s;
}

.contact-email:hover { border-color: var(--red); }

.contact-sub {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 0.6rem;
}

.contact-row {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 2.5rem;
}

.contact-row a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-500);
  transition: color 0.15s;
}

.contact-row a:hover { color: white; }

/* ─── FOOTER ─── */
.site-footer {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: var(--gray-700);
}

.footer-logo img {
  height: 36px;
  display: block;
  filter: invert(1);
}

/* ─── PLACEHOLDER (no image) ─── */
.placeholder-img {
  width: 100%;
  height: 100%;
  background: var(--warm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-img span {
  font-size: 0.75rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-img { max-height: 60vh; }
  .hero-text { padding: 3rem 2rem; }
  .release-hero-text { border-left: none; border-top: 1px solid rgba(255,255,255,0.06); }
  .catalog-grid { grid-template-columns: 1fr 1fr; }
  .catalog-card--featured { grid-row: auto; }
  .artist-grid { grid-template-columns: repeat(2, 1fr); }
  .release-grid { grid-template-columns: repeat(3, 1fr); }
  .album { grid-template-columns: 220px 1fr; gap: 2rem; }
  .album-art { width: 220px; }
  .tracks-credits { grid-template-columns: 1fr; gap: 3rem; padding: 3rem 2rem; }
  .liner-notes { padding: 0 2rem 4rem; }
  .section { padding: 3rem 2rem; }
}

@media (max-width: 560px) {
  .site-nav { padding: 0 1.5rem; }
  .nav-links { gap: 1.2rem; }
  .nav-links a { font-size: 0.78rem; }
  .hero-text { padding: 2.5rem 1.5rem; }
  .section { padding: 3rem 1.5rem; }
  .catalog-grid { grid-template-columns: 1fr; }
  .artist-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .release-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .album { grid-template-columns: 1fr; gap: 1.5rem; }
  .album-art { width: 100%; max-width: 300px; }
  .release-actions { flex-direction: column; }
  .release-actions .btn { width: 100%; justify-content: center; }
  .tracks-credits { padding: 2.5rem 1.5rem; }
  .liner-notes { padding: 0 1.5rem 3rem; }
  .statement { padding: 4rem 1.5rem; }
  .contact { padding: 0 1.5rem 4rem; }
  .site-footer { flex-direction: column; gap: 0.4rem; text-align: center; padding: 1.5rem; }
}
