/*
Theme Name: Blue Note Avant-Garde
Theme URI: https://example.com/bluenote
Author: K
Author URI: https://example.com
Description: A jazz-inspired WordPress theme drawing from Blue Note Records' visual legacy, De Stijl geometry, Bauhaus functionalism, and Constructivist dynamism. Experimental UX with meticulous typography, generous whitespace, and Bootstrap-based responsive grid. Built for independent music labels.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bluenote
Tags: music, jazz, masonry, e-commerce, custom-header, custom-menu, featured-images, full-width-template

Blue Note Avant-Garde -- where sound meets sight.
*/

/* ============================================================
   0. CSS CUSTOM PROPERTIES / DESIGN TOKENS
   Blue Note palette + Bauhaus primaries + De Stijl accents
   ============================================================ */
:root {
  /* -- Palette ------------------------------------------- */
  --bn-black:        #0A0A0A;
  --bn-off-black:    #141414;
  --bn-charcoal:     #1E1E1E;
  --bn-graphite:     #2A2A2A;
  --bn-slate:        #4A4A4A;
  --bn-mid-gray:     #7A7A7A;
  --bn-silver:       #B0B0B0;
  --bn-off-white:    #F0EDE8;
  --bn-cream:        #FAF8F5;
  --bn-white:        #FFFFFF;

  /* Blue Note signature */
  --bn-blue:         #1B3A5C;
  --bn-blue-light:   #2E5F8A;
  --bn-blue-deep:    #0D2137;

  /* De Stijl / Bauhaus primaries */
  --bn-red:          #D42B2B;
  --bn-yellow:       #F2C12E;
  --bn-primary-blue: #2654A0;

  /* Constructivist accent */
  --bn-orange:       #E8601C;

  /* -- Typography ---------------------------------------- */
  --font-display:    'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-body:       'IBM Plex Serif', Georgia, 'Times New Roman', serif;
  --font-mono:       'IBM Plex Mono', 'Courier New', monospace;
  --font-accent:     'Oswald', 'Impact', sans-serif;

  /* Modular scale (1.25 ratio) */
  --fs-xs:    0.64rem;   /* 10.24px */
  --fs-sm:    0.8rem;    /* 12.8px */
  --fs-base:  1rem;      /* 16px */
  --fs-md:    1.25rem;   /* 20px */
  --fs-lg:    1.563rem;  /* 25px */
  --fs-xl:    1.953rem;  /* 31.25px */
  --fs-2xl:   2.441rem;  /* 39.06px */
  --fs-3xl:   3.052rem;  /* 48.83px */
  --fs-4xl:   3.815rem;  /* 61.04px */
  --fs-5xl:   4.768rem;  /* 76.29px */
  --fs-hero:  6rem;      /* 96px */

  /* -- Spacing ------------------------------------------- */
  --space-unit:  8px;
  --space-xs:    4px;
  --space-sm:    8px;
  --space-md:    16px;
  --space-lg:    24px;
  --space-xl:    32px;
  --space-2xl:   48px;
  --space-3xl:   64px;
  --space-4xl:   96px;
  --space-5xl:   128px;
  --space-section: 160px;

  /* -- Layout -------------------------------------------- */
  --max-width:       1320px;
  --grid-gutter:     30px;
  --border-thick:    4px;
  --border-thin:     1px;

  /* -- Transitions --------------------------------------- */
  --ease-out:     cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out:  cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast:   200ms;
  --duration-base:   400ms;
  --duration-slow:   800ms;
}

/* ============================================================
   1. RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--bn-charcoal);
  background-color: var(--bn-cream);
  overflow-x: hidden;
}

::selection {
  background: var(--bn-blue);
  color: var(--bn-white);
}

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

a {
  color: var(--bn-blue);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

a:hover {
  color: var(--bn-red);
}

/* ============================================================
   2. TYPOGRAPHY
   Careful, editorial typography with Bauhaus clarity
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--bn-black);
  margin-bottom: var(--space-md);
}

h1 { font-size: var(--fs-4xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-2xl); }
h4 { font-size: var(--fs-xl); }
h5 { font-size: var(--fs-lg); }
h6 { font-size: var(--fs-md); }

.display-hero {
  font-family: var(--font-accent);
  font-size: var(--fs-hero);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  line-height: 0.92;
}

.display-large {
  font-family: var(--font-accent);
  font-size: var(--fs-5xl);
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.label-text {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--bn-mid-gray);
}

.lead-text {
  font-family: var(--font-body);
  font-size: var(--fs-md);
  line-height: 1.8;
  color: var(--bn-slate);
}

p {
  margin-bottom: var(--space-lg);
}

blockquote {
  font-family: var(--font-body);
  font-size: var(--fs-lg);
  font-style: italic;
  border-left: var(--border-thick) solid var(--bn-blue);
  padding-left: var(--space-xl);
  margin: var(--space-3xl) 0;
  color: var(--bn-slate);
}

/* ============================================================
   3. LAYOUT UTILITIES
   Bootstrap-compatible grid + custom composition classes
   ============================================================ */
.bn-container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: calc(var(--grid-gutter) / 2);
  padding-right: calc(var(--grid-gutter) / 2);
}

.bn-section {
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}

.bn-section--compact {
  padding-top: var(--space-4xl);
  padding-bottom: var(--space-4xl);
}

/* De Stijl inspired asymmetric grid */
.destijl-grid {
  display: grid;
  gap: var(--border-thick);
}

.destijl-grid--home {
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  grid-template-rows: auto auto auto;
}

/* Bauhaus geometric divider */
.bauhaus-divider {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin: var(--space-3xl) 0;
}

.bauhaus-divider::before {
  content: '';
  width: 12px;
  height: 12px;
  background: var(--bn-red);
  border-radius: 50%;
  flex-shrink: 0;
}

.bauhaus-divider::after {
  content: '';
  flex: 1;
  height: var(--border-thin);
  background: var(--bn-charcoal);
}

/* Constructivist diagonal accent */
.constructivist-stripe {
  position: relative;
  overflow: hidden;
}

.constructivist-stripe::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 120%;
  height: 200%;
  background: var(--bn-red);
  transform: rotate(-5deg);
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

/* ============================================================
   4. HEADER / NAVIGATION
   Minimal, Swiss-style navigation
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: var(--border-thin) solid rgba(0, 0, 0, 0.06);
  transition: all var(--duration-base) var(--ease-out);
}

.site-header.scrolled {
  background: rgba(250, 248, 245, 0.98);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.site-logo {
  font-family: var(--font-accent);
  font-size: var(--fs-md);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--bn-black);
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.site-logo .logo-dot {
  width: 10px;
  height: 10px;
  background: var(--bn-blue);
  border-radius: 50%;
  display: inline-block;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: var(--space-xl);
  align-items: center;
}

.main-nav a {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--bn-slate);
  padding: var(--space-xs) 0;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--bn-red);
  transition: width var(--duration-base) var(--ease-out);
}

.main-nav a:hover {
  color: var(--bn-black);
}

.main-nav a:hover::after {
  width: 100%;
}

.main-nav .nav-cta {
  background: var(--bn-black);
  color: var(--bn-white);
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--fs-xs);
  letter-spacing: 0.15em;
  transition: all var(--duration-fast) var(--ease-out);
}

.main-nav .nav-cta::after {
  display: none;
}

.main-nav .nav-cta:hover {
  background: var(--bn-blue);
  color: var(--bn-white);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  position: relative;
  width: 32px;
  height: 24px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--bn-black);
  position: absolute;
  left: 0;
  transition: all var(--duration-fast) var(--ease-out);
}

.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.menu-toggle span:nth-child(3) { bottom: 0; }

.menu-toggle.active span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* ============================================================
   5. HERO SECTIONS
   High-impact, typographically driven heroes
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-top: 80px;
  padding-bottom: var(--space-4xl);
  overflow: hidden;
}

.hero--dark {
  background: var(--bn-off-black);
  color: var(--bn-off-white);
}

.hero--dark h1,
.hero--dark h2,
.hero--dark h3 {
  color: var(--bn-off-white);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(40%) contrast(1.1);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.2) 0%,
    rgba(10, 10, 10, 0.85) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero__eyebrow {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--bn-yellow);
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.hero__eyebrow::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--bn-yellow);
}

.hero__title {
  margin-bottom: var(--space-xl);
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: var(--fs-md);
  line-height: 1.7;
  color: var(--bn-silver);
  max-width: 600px;
  margin-bottom: var(--space-2xl);
}

/* Geometric accent elements */
.hero__geo {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.hero__geo--circle {
  width: 300px;
  height: 300px;
  border: var(--border-thick) solid var(--bn-blue-light);
  border-radius: 50%;
  opacity: 0.15;
  top: 15%;
  right: 5%;
}

.hero__geo--rect {
  width: 150px;
  height: 400px;
  background: var(--bn-red);
  opacity: 0.06;
  bottom: 10%;
  right: 15%;
  transform: rotate(-12deg);
}

.hero__geo--line {
  width: 1px;
  height: 200px;
  background: var(--bn-yellow);
  opacity: 0.3;
  top: 20%;
  right: 35%;
}

/* ============================================================
   6. BUTTONS
   Stark, geometric, Bauhaus-influenced
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: var(--space-md) var(--space-xl);
  border: none;
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--bn-blue);
  color: var(--bn-white);
}

.btn--primary:hover {
  background: var(--bn-blue-deep);
  color: var(--bn-white);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--bn-off-white);
  border: var(--border-thin) solid var(--bn-off-white);
}

.btn--outline:hover {
  background: var(--bn-off-white);
  color: var(--bn-black);
}

.btn--dark {
  background: var(--bn-black);
  color: var(--bn-white);
}

.btn--dark:hover {
  background: var(--bn-charcoal);
  color: var(--bn-white);
}

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

.btn--buy:hover {
  background: #B82222;
  color: var(--bn-white);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--bn-black);
  padding: var(--space-sm) 0;
  letter-spacing: 0.12em;
}

.btn--ghost::after {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: currentColor;
  margin-left: var(--space-sm);
  transition: width var(--duration-base) var(--ease-out);
}

.btn--ghost:hover {
  color: var(--bn-red);
}

.btn--ghost:hover::after {
  width: 40px;
}

/* ============================================================
   7. ALBUM CARDS
   Blue Note sleeve aesthetic with bold geometry
   ============================================================ */
.album-card {
  position: relative;
  background: var(--bn-white);
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
}

.album-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.album-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--bn-charcoal);
}

.album-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out),
              filter var(--duration-base) var(--ease-out);
}

.album-card:hover .album-card__image img {
  transform: scale(1.03);
}

.album-card__badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: var(--space-xs) var(--space-md);
  background: var(--bn-red);
  color: var(--bn-white);
  z-index: 2;
}

.album-card__badge--preorder {
  background: var(--bn-yellow);
  color: var(--bn-black);
}

.album-card__play {
  position: absolute;
  bottom: var(--space-md);
  right: var(--space-md);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--duration-base) var(--ease-out);
  cursor: pointer;
  border: none;
  z-index: 2;
}

.album-card:hover .album-card__play {
  opacity: 1;
  transform: translateY(0);
}

.album-card__play svg {
  width: 16px;
  height: 16px;
  fill: var(--bn-black);
  margin-left: 2px;
}

.album-card__body {
  padding: var(--space-lg);
}

.album-card__format {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--bn-mid-gray);
  margin-bottom: var(--space-xs);
}

.album-card__title {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--bn-black);
  margin-bottom: var(--space-xs);
  line-height: 1.25;
}

.album-card__artist {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  color: var(--bn-slate);
  margin-bottom: var(--space-md);
}

.album-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-md);
  border-top: var(--border-thin) solid rgba(0, 0, 0, 0.06);
}

.album-card__price {
  font-family: var(--font-display);
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--bn-black);
}

.album-card__price .price-format {
  font-size: var(--fs-xs);
  font-weight: 400;
  color: var(--bn-mid-gray);
  margin-left: var(--space-xs);
}

.album-card__cart-btn {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: var(--bn-black);
  color: var(--bn-white);
  border: none;
  padding: var(--space-sm) var(--space-md);
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease-out);
}

.album-card__cart-btn:hover {
  background: var(--bn-blue);
}

/* ============================================================
   8. MASONRY GRID
   Responsive, Pinterest-style with CSS columns + JS enhancement
   ============================================================ */
.masonry-grid {
  column-count: 4;
  column-gap: var(--space-lg);
  padding: 0;
}

.masonry-grid .album-card {
  break-inside: avoid;
  margin-bottom: var(--space-lg);
  display: inline-block;
  width: 100%;
}

/* Varied card heights for visual rhythm */
.masonry-grid .album-card:nth-child(3n+1) .album-card__image {
  aspect-ratio: 1;
}

.masonry-grid .album-card:nth-child(3n+2) .album-card__image {
  aspect-ratio: 3/4;
}

.masonry-grid .album-card:nth-child(3n) .album-card__image {
  aspect-ratio: 4/5;
}

/* De Stijl color accents on select cards */
.masonry-grid .album-card:nth-child(5n+1) {
  border-top: var(--border-thick) solid var(--bn-red);
}

.masonry-grid .album-card:nth-child(5n+3) {
  border-top: var(--border-thick) solid var(--bn-blue);
}

.masonry-grid .album-card:nth-child(5n+5) {
  border-top: var(--border-thick) solid var(--bn-yellow);
}

/* Filter bar */
.masonry-filter {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-3xl);
  flex-wrap: wrap;
}

.masonry-filter__label {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--bn-mid-gray);
  flex-shrink: 0;
}

.masonry-filter__btn {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: none;
  border: none;
  color: var(--bn-mid-gray);
  cursor: pointer;
  padding: var(--space-xs) var(--space-sm);
  position: relative;
  transition: color var(--duration-fast) var(--ease-out);
}

.masonry-filter__btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--bn-black);
  transition: width var(--duration-base) var(--ease-out);
}

.masonry-filter__btn:hover,
.masonry-filter__btn.active {
  color: var(--bn-black);
}

.masonry-filter__btn.active::after {
  width: 100%;
}

/* Sort dropdown */
.masonry-sort {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.masonry-sort select {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  border: var(--border-thin) solid var(--bn-silver);
  padding: var(--space-xs) var(--space-md);
  background: var(--bn-white);
  color: var(--bn-black);
  cursor: pointer;
  appearance: none;
  padding-right: var(--space-xl);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234A4A4A' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

/* ============================================================
   9. FEATURED SECTIONS
   Constructivist-influenced layout blocks
   ============================================================ */
.featured-release {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 80vh;
  align-items: stretch;
}

.featured-release__image {
  position: relative;
  overflow: hidden;
  background: var(--bn-charcoal);
}

.featured-release__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
}

.featured-release__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-4xl);
  background: var(--bn-off-black);
  color: var(--bn-off-white);
  position: relative;
}

.featured-release__info::before {
  content: '';
  position: absolute;
  top: var(--space-xl);
  left: var(--space-xl);
  width: 60px;
  height: 60px;
  border: var(--border-thick) solid var(--bn-red);
  opacity: 0.3;
}

.featured-release__number {
  font-family: var(--font-accent);
  font-size: var(--fs-hero);
  color: rgba(255, 255, 255, 0.05);
  position: absolute;
  top: var(--space-xl);
  right: var(--space-xl);
  line-height: 1;
}

.featured-release__label {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--bn-yellow);
  margin-bottom: var(--space-lg);
}

.featured-release__title {
  font-family: var(--font-accent);
  font-size: var(--fs-3xl);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--bn-off-white);
  margin-bottom: var(--space-sm);
}

.featured-release__artist {
  font-family: var(--font-body);
  font-size: var(--fs-lg);
  font-style: italic;
  color: var(--bn-silver);
  margin-bottom: var(--space-xl);
}

.featured-release__meta {
  display: flex;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.featured-release__meta-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.featured-release__meta-label {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--bn-mid-gray);
}

.featured-release__meta-value {
  font-family: var(--font-display);
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--bn-off-white);
}

.featured-release__actions {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

/* Alternate row: image right, info left */
.featured-release--reverse {
  direction: rtl;
}

.featured-release--reverse > * {
  direction: ltr;
}

/* ============================================================
   10. ARTIST SECTION
   ============================================================ */
.artist-card {
  position: relative;
  overflow: hidden;
}

.artist-card__image {
  aspect-ratio: 3/4;
  overflow: hidden;
  filter: grayscale(100%);
  transition: filter var(--duration-slow) var(--ease-out);
}

.artist-card:hover .artist-card__image {
  filter: grayscale(30%);
}

.artist-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.artist-card:hover .artist-card__image img {
  transform: scale(1.04);
}

.artist-card__info {
  padding: var(--space-lg) 0;
}

.artist-card__name {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--bn-black);
  margin-bottom: var(--space-xs);
}

.artist-card__role {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  color: var(--bn-mid-gray);
  font-style: italic;
}

/* ============================================================
   11. NEWSLETTER / CTA SECTIONS
   ============================================================ */
.cta-band {
  background: var(--bn-blue-deep);
  color: var(--bn-off-white);
  position: relative;
  overflow: hidden;
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3xl);
}

.cta-band__text h3 {
  font-family: var(--font-accent);
  font-size: var(--fs-2xl);
  text-transform: uppercase;
  color: var(--bn-off-white);
  margin-bottom: var(--space-sm);
}

.cta-band__text p {
  color: var(--bn-silver);
  margin-bottom: 0;
  max-width: 500px;
}

.newsletter-form {
  display: flex;
  gap: 0;
  min-width: 400px;
}

.newsletter-form input[type="email"] {
  flex: 1;
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  padding: var(--space-md) var(--space-lg);
  border: var(--border-thin) solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: var(--bn-white);
  outline: none;
  transition: border-color var(--duration-fast) var(--ease-out);
}

.newsletter-form input[type="email"]::placeholder {
  color: var(--bn-mid-gray);
}

.newsletter-form input[type="email"]:focus {
  border-color: var(--bn-yellow);
}

.newsletter-form button {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: var(--space-md) var(--space-xl);
  background: var(--bn-yellow);
  color: var(--bn-black);
  border: none;
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease-out);
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: #DDB029;
}

/* ============================================================
   12. FOOTER
   ============================================================ */
.site-footer {
  background: var(--bn-black);
  color: var(--bn-silver);
  padding: var(--space-4xl) 0 var(--space-2xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-4xl);
}

.footer-brand {
  max-width: 320px;
}

.footer-brand .site-logo {
  color: var(--bn-off-white);
  margin-bottom: var(--space-lg);
}

.footer-brand p {
  font-size: var(--fs-sm);
  line-height: 1.8;
  color: var(--bn-mid-gray);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--bn-off-white);
  margin-bottom: var(--space-lg);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: var(--space-sm);
}

.footer-col a {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  color: var(--bn-mid-gray);
  transition: color var(--duration-fast) var(--ease-out);
}

.footer-col a:hover {
  color: var(--bn-off-white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-xl);
  border-top: var(--border-thin) solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
  font-size: var(--fs-xs);
  color: var(--bn-mid-gray);
  margin-bottom: 0;
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: var(--border-thin) solid rgba(255, 255, 255, 0.1);
  color: var(--bn-mid-gray);
  transition: all var(--duration-fast) var(--ease-out);
}

.footer-social a:hover {
  border-color: var(--bn-yellow);
  color: var(--bn-yellow);
}

/* ============================================================
   13. PAGE TEMPLATES
   ============================================================ */
.page-header {
  padding-top: calc(80px + var(--space-4xl));
  padding-bottom: var(--space-3xl);
  border-bottom: var(--border-thin) solid rgba(0, 0, 0, 0.06);
  margin-bottom: var(--space-3xl);
}

.page-header__eyebrow {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--bn-mid-gray);
  margin-bottom: var(--space-md);
}

.page-header__title {
  font-family: var(--font-accent);
  font-size: var(--fs-4xl);
  text-transform: uppercase;
  color: var(--bn-black);
}

.page-header__desc {
  font-family: var(--font-body);
  font-size: var(--fs-md);
  color: var(--bn-slate);
  max-width: 600px;
  margin-top: var(--space-md);
}

/* ============================================================
   14. ABOUT / LABEL STORY
   ============================================================ */
.story-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.story-section__text {
  max-width: 540px;
}

.story-section__image {
  position: relative;
}

.story-section__image img {
  filter: grayscale(60%);
}

.story-section__image::after {
  content: '';
  position: absolute;
  bottom: -var(--space-lg);
  right: -var(--space-lg);
  width: 100px;
  height: 100px;
  border: var(--border-thick) solid var(--bn-yellow);
  z-index: -1;
}

/* Stats bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  padding: var(--space-3xl) 0;
  border-top: var(--border-thin) solid rgba(0, 0, 0, 0.06);
  border-bottom: var(--border-thin) solid rgba(0, 0, 0, 0.06);
}

.stat-item {
  text-align: center;
}

.stat-item__number {
  font-family: var(--font-accent);
  font-size: var(--fs-3xl);
  color: var(--bn-blue);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.stat-item__label {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--bn-mid-gray);
}

/* ============================================================
   15. ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--duration-base) var(--ease-out),
              transform var(--duration-base) var(--ease-out);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0ms; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(2) { transition-delay: 80ms; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(3) { transition-delay: 160ms; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(4) { transition-delay: 240ms; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(5) { transition-delay: 320ms; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(6) { transition-delay: 400ms; opacity: 1; transform: translateY(0); }

/* ============================================================
   16. RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Large tablets / small desktops */
@media (max-width: 1199.98px) {
  :root {
    --fs-hero: 4.5rem;
    --space-section: 120px;
  }

  .masonry-grid {
    column-count: 3;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* Tablets */
@media (max-width: 991.98px) {
  :root {
    --fs-hero: 3.5rem;
    --fs-5xl: 3.5rem;
    --fs-4xl: 2.8rem;
    --space-section: 96px;
  }

  .masonry-grid {
    column-count: 2;
  }

  .featured-release {
    grid-template-columns: 1fr;
  }

  .featured-release--reverse {
    direction: ltr;
  }

  .featured-release__info {
    padding: var(--space-3xl);
  }

  .story-section {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .cta-band__inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .newsletter-form {
    min-width: 100%;
    max-width: 500px;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--bn-cream);
    padding: var(--space-xl);
    border-bottom: var(--border-thin) solid rgba(0, 0, 0, 0.06);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--duration-base) var(--ease-out);
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav ul {
    flex-direction: column;
    gap: var(--space-md);
  }
}

/* Mobile */
@media (max-width: 767.98px) {
  :root {
    --fs-hero: 2.5rem;
    --fs-5xl: 2.5rem;
    --fs-4xl: 2rem;
    --fs-3xl: 1.75rem;
    --space-section: 72px;
    --grid-gutter: 20px;
  }

  .masonry-grid {
    column-count: 1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .masonry-filter {
    flex-direction: column;
    align-items: flex-start;
  }

  .masonry-sort {
    margin-left: 0;
  }

  .featured-release__meta {
    flex-direction: column;
    gap: var(--space-md);
  }

  .newsletter-form {
    flex-direction: column;
  }
}

/* Small mobile */
@media (max-width: 575.98px) {
  :root {
    --fs-hero: 2rem;
  }

  .header-inner {
    height: 64px;
  }

  .hero {
    padding-top: 64px;
    min-height: 90vh;
  }

  .album-card__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }

  .album-card__cart-btn {
    width: 100%;
    text-align: center;
  }
}
