/* ─── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

:root {
  --bg:            #f9f7f4;
  --surface:       #f0ede8;
  --surface-2:     #e8e4de;
  --border:        rgba(0,0,0,0.1);
  --border-hover:  rgba(0,0,0,0.28);
  --text-primary:  #0d0d0d;
  --text-secondary:#3a3a3a;
  --text-muted:    #6b6b6b;
  --accent:        #0d0d0d;
  --accent-dim:    rgba(13,13,13,0.05);
  --header-h:      64px;
}

body {
  background-color: var(--bg);
  color: var(--text-primary);
  font-family: 'DM Sans', 'Inter', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; cursor: pointer; }

.skip-link {
  position: fixed; top: -100%; left: 1rem; z-index: 9999;
  background: var(--text-primary); color: var(--bg);
  padding: 0.5rem 1rem; font-size: 0.85rem; font-weight: 500;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 1px solid var(--text-primary); outline-offset: 3px; }

/* ─── Header (pages autres que home) ────────────────────────── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(254,250,235,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--border);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
}

.site-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  letter-spacing: 0.18em;
  font-weight: 800;
  color: var(--text-primary);
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.site-title:hover { opacity: 0.6; }

nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 2rem;
}

nav a {
  font-size: 15px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-primary);
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
  font-family: 'DM Sans', sans-serif;
}
nav a:hover { color: var(--text-primary); }
nav a.active { color: var(--text-primary); font-weight: 800; }

.social-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.social-links a {
  color: var(--text-secondary);
  transition: color 0.2s;
  display: flex;
  align-items: center;
}
.social-links a:hover { color: var(--text-primary); }

/* ─── Section Title ─────────────────────────────────────────── */
.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 3rem;
  line-height: 1;
}

/* ─── Bio ───────────────────────────────────────────────────── */
.bio-section {
  min-height: calc(100dvh - var(--header-h));
  padding: var(--header-h) 40px 0;
  display: flex;
  align-items: stretch;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.bio-content {
  flex: 0 0 44%;
  padding: 24px 3rem 5rem 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.bio-image {
  flex: 1;
  overflow: hidden;
  position: relative;
  background: var(--surface);
}
.bio-image::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(270deg, transparent 60%, var(--bg) 100%);
  pointer-events: none;
}
.bio-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(12%) brightness(0.95);
}

.bio-intro,
.bio-intro.bio-rich p,
.bio-body > p:first-child {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.75;
  margin-bottom: 2rem;
}
.bio-content p,
.bio-rich p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 1.2rem;
}
.bio-rich { margin-bottom: 1.2rem; }
.bio-content em, .bio-rich em {
  color: var(--text-primary);
  font-style: italic;
}
.bio-content strong, .bio-rich strong {
  font-weight: 700;
  color: var(--text-primary);
}
.bio-credits {
  margin-top: 2rem !important;
  font-size: 0.78rem !important;
  color: var(--text-muted) !important;
  letter-spacing: 0.06em;
}

/* ─── Music ─────────────────────────────────────────────────── */
.music-section {
  padding: calc(var(--header-h) + 24px) 40px 5rem;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}
.music-section .section-title { margin-bottom: 3.5rem; }

.albums-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.album-card {
  background: var(--surface);
  border: 0.5px solid var(--border);
  transition: border-color 0.3s, transform 0.3s;
  overflow: hidden;
}
.album-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.album-cover {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--surface-2);
}
.album-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.4s ease;
  display: block;
  filter: grayscale(10%);
}
.album-card:hover .album-cover img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.album-info {
  padding: 1.1rem 1.3rem 1.4rem;
  border-top: 0.5px solid var(--border);
}
.album-year {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--text-primary);
  display: block;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}
.album-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
  line-height: 1.3;
}
.album-label {
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--text-primary);
  text-transform: uppercase;
}
.album-desc {
  font-family: 'Libre Baskerville', serif;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 0.6rem;
  line-height: 1.65;
}

/* ─── Pages personnalisées ──────────────────────────────────── */
.custom-page-section {
  padding: calc(var(--header-h) + 24px) 5.5rem 5rem;
  max-width: 860px;
  margin: 0 auto;
  width: 100%;
}
.custom-page-body {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.85;
}
.custom-page-body p { margin-bottom: 1.2rem; }
.custom-page-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text-primary);
  margin: 2rem 0 0.8rem;
}
.custom-page-body a {
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-hero {
  min-height: calc(100dvh - var(--header-h));
  padding-top: calc(var(--header-h) + 24px);
  display: flex;
  align-items: stretch;
  position: relative;
}
.page-hero-text {
  flex: 0 0 48%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 3.5rem 5rem 5.5rem;
  position: relative;
  z-index: 2;
  border-right: 0.5px solid var(--border);
}
.page-hero-text .section-title { margin-bottom: 2rem; }
.page-hero-text .custom-page-body { font-size: 1rem; color: var(--text-secondary); line-height: 1.9; }

.page-hero-image {
  position: absolute; inset: 0;
  z-index: 0; overflow: hidden;
  background: var(--surface);
}
.page-hero-image img {
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center right;
  filter: grayscale(10%);
}
.page-hero-image::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(249,247,244,0.95) 0%, rgba(249,247,244,0.5) 55%, rgba(249,247,244,0.1) 100%);
  z-index: 1;
  pointer-events: none;
}

/* ─── Shop ──────────────────────────────────────────────────── */
.shop-section {
  padding-top: var(--header-h);
  min-height: calc(100dvh - var(--header-h));
  display: flex;
  flex-direction: column;
}
.shop-section iframe {
  flex: 1; width: 100%; border: none; display: block;
}

/* ─── Footer ────────────────────────────────────────────────── */
footer {
  padding: 2rem 40px;
  border-top: 0.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: var(--bg);
}
.footer-copyright {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.footer-social { display: flex; gap: 1.2rem; align-items: center; }
.footer-social a {
  color: var(--text-muted);
  transition: color 0.2s;
  display: flex;
  align-items: center;
}
.footer-social a:hover { color: var(--text-primary); }

/* ─── Home page — thème éditorial ──────────────────────────── */
body.page-home > header { display: none; }

.home-wrap {
  background: var(--bg);
  max-width: 1400px;
  margin: 0 auto;
}

/* Home nav — sticky, identique au header global */
.home-nav {
  height: var(--header-h);
  background: rgba(254,250,235,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(40px, calc(50% - 660px));
  position: sticky;
  top: 0;
  z-index: 50;
}

/* Labels */
.home-label {
  font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary); font-weight: 700;
  margin-left: 0.1em;
}
.home-label-sm {
  font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block; margin-bottom: 4px;
}

/* Hero */
.home-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
.home-hero-text {
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 16px;
  border-right: 0.5px solid var(--border);
}
.home-hero-image {
  position: relative;
  overflow: hidden;
  background: var(--surface);
}
.home-hero-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  filter: grayscale(8%);
  transition: transform 0.6s ease;
}
.home-hero-image--cover img {
  object-fit: cover;
  object-position: center center;
  filter: none;
  padding: 0;
}
.home-hero-image:hover img { transform: scale(1.02); }
.home-photo-label {
  position: absolute; bottom: 16px; right: 16px;
  font-size: 10px; letter-spacing: 0.15em;
  text-transform: uppercase; color: rgba(0,0,0,0.35); z-index: 2;
}
.home-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(72px, 10vw, 120px);
  line-height: 0.95; font-weight: 900;
  margin: 8px 0 0; letter-spacing: 0;
  text-transform: uppercase;
  color: var(--text-primary);
}
.home-title em { font-style: italic; }
.home-subtitle {
  font-family: 'Libre Baskerville', serif;
  font-style: italic; font-size: 17px;
  color: var(--text-secondary); line-height: 1.8;
  max-width: 85%; margin: 24px 0 48px;
}
.home-cta {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  border: 0.5px solid rgba(0,0,0,0.35);
  padding: 14px 28px; cursor: pointer;
  background: #fff; color: #0d0d0d; text-decoration: none;
  transition: background 0.2s;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
}
.home-cta:hover { background: #e8e8e8; }
.home-cta--hero {
  background: #0d0d0d;
  border: none;
  color: #fff;
  font-weight: 900;
  font-size: 15px;
  padding: 20px 44px;
  letter-spacing: 0.14em;
}
.home-cta--hero:hover { background: #2a2a2a; }
.home-hero-meta {
  display: flex; gap: 32px; margin-top: 40px;
}
.home-hero-meta > div p {
  font-size: 13px; margin: 6px 0 0; color: var(--text-primary);
}

/* Ticker */
.home-ticker {
  background: #2d2b6b;
  border-top: none;
  border-bottom: none;
  padding: 0 40px;
  height: 40px;
  overflow: hidden;
  display: flex;
  align-items: center;
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.home-ticker-inner {
  display: flex; gap: 48px;
  align-items: center;
  white-space: nowrap;
  animation: home-ticker 40s linear infinite;
  will-change: transform;
}
.home-ticker-inner span {
  font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: #fff; font-weight: 700;
}
.home-ticker-inner strong { color: #ffd166; font-size: 13px; font-weight: 900; letter-spacing: 0.25em; }
.home-ticker-dot { opacity: 0.35; }
@keyframes home-ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Concerts */
.home-concerts {
  background: #1e1c4a;
  padding: 0 40px;
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.home-concerts-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  gap: 48px;
  align-items: flex-start;
  padding: 32px 0;
}
.home-concerts-label {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  flex-shrink: 0;
  padding-top: 14px;
  width: 120px;
}
.home-concerts-list {
  flex: 1;
}
.home-concert-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  gap: 24px;
  padding: 12px 0;
  border-bottom: 0.5px solid rgba(255,255,255,0.08);
}
.home-concert-row:first-child { border-top: 0.5px solid rgba(255,255,255,0.08); }
.home-concert-date {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #ffd166;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
}
.home-concert-info {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.home-concert-title {
  font-size: 14px;
  color: #ffd166;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.home-concert-venue {
  font-size: 14px;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
}
.home-concert-city {
  font-size: 14px;
  text-transform: uppercase;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
}
.home-concert-link {
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: 6px;
  padding: 6px 11px;
  background: #ffd166;
  color: #2e060f;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  transition: background 0.2s;
}
.home-concert-link:hover { background: #ffdc8a; color: #2e060f; }

@media (max-width: 768px) {
  .home-concerts { padding: 0 24px; }
  .home-concerts-inner { flex-direction: column; gap: 16px; padding: 24px 0; }
  .home-concerts-label { padding-top: 0; width: auto; }
  .home-concert-row { grid-template-columns: 110px 1fr; }
}
@media (max-width: 480px) {
  .home-concerts { padding: 0 16px; }
  .home-concert-row { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
  .home-concert-date { font-size: 10px; }
  .home-concert-city { display: block; }
}

/* ── Concerts moonbeam ── */
body.theme-moonbeam .home-concerts { background: #2e060f; }
body.theme-moonbeam .home-concert-date { color: #ffd166; }

/* Album grid */
.home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-top: 0.5px solid var(--border);
}
.home-grid-cell {
  padding: 36px 40px;
  border-right: 0.5px solid var(--border);
}
.home-grid-cell:last-child { border-right: none; }
.home-album-num {
  display: none;
}
.home-album-cover {
  aspect-ratio: 1 / 1; overflow: hidden;
  margin-bottom: 16px; background: var(--surface-2);
}
.home-album-cover img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.4s ease;
}
.home-grid-cell:hover .home-album-cover img { transform: scale(1.04); }
.home-album-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 400;
  margin: 0 0 6px; color: var(--text-primary);
}
.home-album-year {
  font-size: 11px; letter-spacing: 0.15em;
  color: var(--text-secondary); margin: 0 0 12px; text-transform: uppercase;
}
.home-album-desc {
  display: none;
}
.home-listen-link {
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-primary); margin-top: 20px;
  display: flex; align-items: center; gap: 8px;
  text-decoration: none; transition: gap 0.2s;
}
.home-listen-link:hover { gap: 14px; }

/* Bio strip */
.home-bio-strip {
  display: grid;
  grid-template-columns: 2fr 1fr;
  border-top: 0.5px solid var(--border);
}
.home-bio-text {
  padding: 48px 40px;
  border-right: 0.5px solid var(--border);
}
.home-bio-quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(24px, 3.2vw, 42px);
  line-height: 1.25; font-weight: 400;
  margin: 0 0 28px; color: var(--text-primary);
}
.home-bio-from {
  font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--text-secondary);
}
.home-bio-meta {
  padding: 48px 40px;
  display: flex; flex-direction: column; gap: 20px;
}
.home-meta-item label {
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-muted); display: block; margin-bottom: 4px;
  font-family: 'DM Sans', sans-serif;
}
.home-meta-item p {
  font-size: 13px; margin: 0; line-height: 1.6; color: var(--text-primary);
}

/* ─── Responsive home — Tablette (≤ 1024px) ────────────────── */
@media (max-width: 1024px) {
  .home-hero-text { padding: 48px 28px; }
  .home-grid-cell { padding: 28px; }
  .home-bio-text, .home-bio-meta { padding: 40px 28px; }
}

/* ─── Responsive home — Tablette portrait (≤ 768px) ────────── */
@media (max-width: 768px) {
  .home-nav {
    height: var(--header-h);
    flex-direction: column;
    justify-content: center;
    padding: 0.5rem 20px;
    gap: 6px;
  }
  .home-hero { grid-template-columns: 1fr; min-height: auto; }
  .home-hero-image {
    order: -1; height: 55vw;
    min-height: 280px; max-height: 420px;
  }
  .home-hero-text {
    border-right: none;
    border-top: 0.5px solid var(--border);
    padding: 40px 24px; gap: 28px;
  }
  .home-title { font-size: clamp(40px, 10vw, 64px); }
  .home-grid { grid-template-columns: 1fr 1fr; }
  .home-grid-cell { padding: 24px; }
  .home-album-num { font-size: 36px; margin-bottom: 10px; }
  .home-album-title { font-size: 18px; }
  .home-bio-strip { grid-template-columns: 1fr; }
  .home-bio-text {
    border-right: none;
    border-bottom: 0.5px solid var(--border);
    padding: 36px 24px;
  }
  .home-bio-meta { padding: 32px 24px; }
}

/* ─── Responsive home — Mobile (≤ 480px) ───────────────────── */
@media (max-width: 480px) {
  .home-hero-image { height: 65vw; min-height: 220px; }
  .home-hero-text { padding: 28px 16px; gap: 24px; }
  .home-title { font-size: clamp(36px, 12vw, 52px); }
  .home-subtitle { font-size: 13px; margin: 16px 0 24px; }
  .home-hero-meta { gap: 20px; flex-wrap: wrap; }
  .home-ticker { padding: 8px 16px; }
  .home-ticker-inner { gap: 28px; animation-duration: 10s; }
  .home-grid { grid-template-columns: 1fr; }
  .home-grid-cell {
    padding: 20px 16px; border-right: none;
    border-bottom: 0.5px solid var(--border);
  }
  .home-album-num { font-size: 32px; }
  .home-album-title { font-size: 17px; }
  .home-bio-text { padding: 28px 16px; }
  .home-bio-meta { padding: 24px 16px; gap: 16px; }
  .home-bio-quote { font-size: 18px; }
  .home-wrap footer { padding: 16px; flex-direction: column; gap: 10px; text-align: center; }
}

/* ─── Responsive — Tablette (≤ 1024px) ─────────────────────── */
@media (max-width: 1024px) {
  .header-inner { padding: 0 28px; }
  .music-section { padding: calc(var(--header-h) + 24px) 28px 4rem; }
  .bio-section { padding: var(--header-h) 28px 0; }
  .bio-content { padding: 0 2rem 4rem 0; }
}

/* ─── Responsive — Tablette portrait (≤ 768px) ─────────────── */
@media (max-width: 768px) {
  :root { --header-h: 96px; }

  /* Header : logo centré + nav centrée en dessous */
  .header-inner {
    padding: 0.5rem 20px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    height: 100%;
  }
  .site-title {
    font-size: 15px;
    letter-spacing: 0.1em;
    text-align: center;
  }
  nav {
    position: static !important;
    left: auto !important;
    transform: none !important;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem 1.4rem;
  }
  nav a { font-size: 12px; letter-spacing: 0.14em; }
  .social-links { display: none; }

  /* Bio */
  .bio-section { flex-direction: column; min-height: auto; }
  .bio-image { flex: none; height: 70vw; order: 1; }
  .bio-image::after { background: linear-gradient(180deg, transparent 40%, var(--bg) 100%); }
  .bio-section { padding: var(--header-h) 24px 0; }
  .bio-content { flex: none; padding: 3rem 0 3.5rem; order: 2; border-right: none; }

  /* Music */
  .music-section { padding: calc(var(--header-h) + 24px) 24px 3rem; }
  .albums-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

  /* Pages */
  .custom-page-section { padding: calc(var(--header-h) + 24px) 24px 3rem; }
  .page-hero { min-height: auto; }
  .page-hero-text { flex: none; width: 100%; padding: 3rem 24px 3.5rem; border-right: none; }
  .page-hero-image::before {
    background: linear-gradient(180deg, rgba(249,247,244,0.2) 0%, rgba(249,247,244,0.75) 60%, rgba(249,247,244,0.96) 100%);
  }

  footer { padding: 1.5rem 24px; flex-direction: column; align-items: center; gap: 1rem; text-align: center; }
}

/* ─── Responsive — Mobile (≤ 480px) ────────────────────────── */
@media (max-width: 480px) {
  :root { --header-h: 90px; }

  .header-inner { padding: 0.4rem 16px; gap: 5px; }
  .site-title { font-size: 14px; }
  nav { gap: 0.6rem 1rem; }
  nav a { font-size: 11px; letter-spacing: 0.12em; }

  .bio-image { height: 80vw; }
  .bio-section { padding: var(--header-h) 16px 0; }
  .bio-content { padding: 2.5rem 0 3rem; }
  .music-section { padding: calc(var(--header-h) + 24px) 16px 2.5rem; }
  .albums-grid { grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
  .album-info { padding: 0.8rem 0.9rem 1rem; }
  .album-name { font-size: 0.9rem; }
  .custom-page-section { padding: calc(var(--header-h) + 24px) 16px 2.5rem; }
  footer { padding: 1.2rem 16px; }
}

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

/* ─── Visual Art ────────────────────────────────────────────── */
.visualart-section {
  padding: calc(var(--header-h) + 24px) 40px 6rem;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.visualart-empty {
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.artwork-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.artwork-item {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  cursor: zoom-in;
  aspect-ratio: 1 / 1;
}

.artwork-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.artwork-item * { cursor: inherit; }
.artwork-item:hover img { transform: scale(1.03); }

.artwork-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0.8rem 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  font-family: 'DM Sans', sans-serif;
  opacity: 0;
  transition: opacity 0.3s;
}

.artwork-item:hover .artwork-caption { opacity: 1; }

/* Lightbox */
.artwork-lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 200;
  display: flex; align-items: center; justify-content: center;
  cursor: zoom-out;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s;
}
.artwork-lightbox.open { opacity: 1; pointer-events: all; }
.artwork-lightbox img {
  max-width: 90vw; max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 8px 60px rgba(0,0,0,0.6);
}
.artwork-lightbox-caption {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.7); font-size: 0.82rem; letter-spacing: 0.12em;
  text-transform: uppercase; font-family: 'DM Sans', sans-serif;
}

@media (max-width: 1024px) { .artwork-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) {
  .artwork-grid { grid-template-columns: 1fr; }
  .visualart-section { padding: calc(var(--header-h) + 24px) 16px 3rem; }
}

/* ─── Blog ──────────────────────────────────────────────────── */
body.page-blog,
body.page-blog.theme-moonbeam {
  background-color: #ff5200;
  background-image: none;
}
body.page-blog.theme-moonbeam::before { display: none; }
body.page-blog footer,
body.page-blog.theme-moonbeam footer {
  background: #e84700;
  border-top-color: rgba(0,0,0,0.18);
}
body.page-blog.theme-moonbeam header {
  background: rgba(232, 71, 0, 0.96);
}
body.page-blog footer .footer-copyright,
body.page-blog footer .footer-social a { color: rgba(0,0,0,0.55); }
body.page-blog footer .footer-social a:hover { color: #0d0d0d; }

.blog-section {
  padding: calc(var(--header-h) + 24px) 40px 6rem;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 5rem;
  align-items: start;
}

.blog-main { min-width: 0; }

.blog-section .section-title { color: #fff; margin-bottom: 1.5rem; }
.blog-post:first-of-type { padding-top: 1.5rem; }

/* Sidebar */
.blog-sidebar-inner {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
  background: rgba(0,0,0,0.25);
  padding: 2rem 2rem 2rem 2.5rem;
  border-left: 3px solid rgba(255,255,255,0.5);
}

.blog-sidebar-label {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.blog-sidebar-count {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 36px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 2rem;
}

.blog-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.blog-sidebar-nav a {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.blog-sidebar-nav a:hover { opacity: 0.65; }

.blog-sidebar-nav time {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  font-family: 'DM Sans', sans-serif;
}

.blog-sidebar-nav span {
  font-family: 'Space Mono', monospace;
  font-size: 0.78rem;
  color: #fff;
  line-height: 1.35;
}

.blog-empty {
  font-style: italic;
  color: rgba(0,0,0,0.5);
  font-size: 0.95rem;
}

.blog-post {
  padding: 3.5rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.2);
}

.blog-post-date {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #ff5200;
  background: #fff;
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  padding: 6px 14px;
  margin-bottom: 1.2rem;
}
.blog-post-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: 1;
  color: #fff;
  margin-bottom: 2rem;
}
.blog-post-body {
  background: rgba(0,0,0,0.35);
  padding: 2rem 2.5rem;
  font-size: 1.1rem;
  color: #fff;
  line-height: 2;
  border-left: 3px solid rgba(255,255,255,0.6);
  font-family: 'Space Mono', monospace;
}
.blog-post-body p { margin-bottom: 1rem; }
.blog-post-body p:last-child { margin-bottom: 0; }
.blog-post-body strong { font-weight: 700; }
.blog-post-body em { font-style: italic; }
.blog-post-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.8rem;
  margin-top: 1.4rem;
}
.blog-post-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 0.5px solid rgba(255,255,255,0.1);
}

@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: 1fr 260px; gap: 3rem; }
}
@media (max-width: 768px) {
  .blog-section { padding: calc(var(--header-h) + 24px) 24px 4rem; }
  .blog-grid { grid-template-columns: 1fr; gap: 0; }
  .blog-sidebar { order: -1; margin-bottom: 3rem; }
  .blog-sidebar-inner { position: static; }
  .blog-post-body { padding: 1.5rem; }
}
@media (max-width: 480px) {
  .blog-section { padding: calc(var(--header-h) + 24px) 16px 3rem; }
}

/* ═══════════════════════════════════════════════════════════
   THÈME MOONBEAM — fond dark blue, étoilé, bleu-mauve-doré
   ═══════════════════════════════════════════════════════════ */
body.theme-moonbeam {
  --bg:           #07091c;
  --surface:      #0e1130;
  --surface-2:    #161a3a;
  --border:       rgba(140, 120, 220, 0.18);
  --border-hover: rgba(200, 170, 255, 0.45);
  --text-primary:   #ede8fa;
  --text-secondary: #a8a0c8;
  --text-muted:     #6058a0;
  --accent:         #c4a0f0;
  --accent-dim:     rgba(196, 160, 240, 0.09);

  background-color: #07091c;
  background-image:
    radial-gradient(ellipse 65% 45% at 12% 18%, rgba(90, 50, 200, 0.28) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 90% 82%, rgba(35, 55, 195, 0.22) 0%, transparent 60%),
    radial-gradient(ellipse 38% 30% at 55% 48%, rgba(70, 25, 155, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 80% 70% at 50% 50%, rgba(10, 8, 32, 0.6) 0%, transparent 100%);
}

body.theme-moonbeam main,
body.theme-moonbeam footer { position: relative; z-index: 1; }

/* ── Nav ── */
body.theme-moonbeam header,
body.theme-moonbeam .home-nav {
  background: rgba(7, 9, 28, 0.96);
}

/* ── Footer ── */
body.theme-moonbeam footer { background: #07091c; }

/* ── Home wrap ── */
body.theme-moonbeam .home-wrap { background: transparent; }

/* ── Hero ── */
body.theme-moonbeam .home-hero-text {
  border-right-color: var(--border);
}

/* ── CTA bouton hero ── */
body.theme-moonbeam .home-cta--hero {
  background: #fff;
  color: #0d0d0d;
}
body.theme-moonbeam .home-cta--hero:hover { background: #e8e8e8; }

/* ── CTA générique ── */
body.theme-moonbeam .home-cta {
  background: #fff; color: #0d0d0d;
  border-color: rgba(0,0,0,0.35);
}
body.theme-moonbeam .home-cta:hover { background: #e8e8e8; }

/* ── Ticker ── */
body.theme-moonbeam .home-ticker { background: #3d0612; }

/* ── Grille albums (home) ── */
body.theme-moonbeam .home-grid { border-top-color: var(--border); }
body.theme-moonbeam .home-grid-cell { border-right-color: var(--border); }

/* ── Bio strip (home) ── */
body.theme-moonbeam .home-bio-strip { border-top-color: var(--border); }
body.theme-moonbeam .home-bio-text  { border-right-color: var(--border); }

/* ── Albums (page music) ── */
body.theme-moonbeam .album-card {
  background: var(--surface);
  border-color: var(--border);
}
body.theme-moonbeam .album-card:hover { border-color: var(--border-hover); }
body.theme-moonbeam .album-cover  { background: var(--surface-2); }
body.theme-moonbeam .album-info   { border-top-color: var(--border); background: var(--surface); }

/* ── Page hero (pages custom) ── */
body.theme-moonbeam .page-hero-image::before {
  background: linear-gradient(90deg, rgba(7,9,28,0.95) 0%, rgba(7,9,28,0.5) 55%, rgba(7,9,28,0.08) 100%);
}
body.theme-moonbeam .page-hero-text { border-right-color: var(--border); }

/* ── Photo label home ── */
body.theme-moonbeam .home-photo-label { color: rgba(220, 200, 255, 0.4); }

/* ─── B-Cave ─────────────────────────────────────────────────── */
.bcave {
  background: #0d1a3a;
  padding: 80px 40px;
}
.bcave-inner {
  max-width: 960px;
  margin: 0 auto;
}
.bcave-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(72px, 10vw, 120px);
  line-height: 0.95;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  color: #fff;
  margin-bottom: 40px;
  text-align: center;
}
.bcave-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.bcave-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

@media (max-width: 768px) {
  .bcave { padding: 56px 24px; }
  .bcave-title { font-size: clamp(40px, 10vw, 64px); }
}
@media (max-width: 480px) {
  .bcave { padding: 40px 16px; }
  .bcave-title { font-size: clamp(36px, 12vw, 52px); }
}

/* ── B-Cave moonbeam ── */
body.theme-moonbeam .bcave {
  background: #ffe600;
}
body.theme-moonbeam .bcave-title {
  color: #0d0d0d;
}
