/* Ruff D · version A « Le Tunnel » */
:root {
  --bg: #14120c;
  --bg-deep: #0b0a06;
  --bg-soft: #2a2416;
  --line: #3a3322;
  --cream: #efe2a8;
  --muted: #b9ad80;
  --dim: #8a7f5a;
  --accent: #c8962e;
  --display: "Black Ops One", Impact, sans-serif;
  --mono: "Special Elite", "Courier New", monospace;
  --body: "Barlow Condensed", "Arial Narrow", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--cream); font-family: var(--body); font-size: 20px; line-height: 1.4; }
img { max-width: 100%; display: block; }
a { color: var(--cream); }
a:hover { color: var(--accent); }
button { font: inherit; color: inherit; }
h1, h2, p, figure, ol { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1280px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.kicker { font-family: var(--mono); font-size: 18px; color: var(--accent); letter-spacing: 2px; }
.lead { font-size: 24px; line-height: 1.4; }
h2 { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 6vw, 72px); line-height: 1; }

/* En-tête */
.site-header { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; padding-top: 24px; padding-bottom: 24px; }
.logo { display: flex; flex-direction: column; gap: 2px; text-decoration: none; line-height: 1; }
.logo span { font-family: var(--display); font-size: 32px; letter-spacing: 1px; }
.logo small { font-family: var(--mono); font-size: 13px; letter-spacing: 3px; color: var(--accent); }
.site-header nav { display: flex; flex-wrap: wrap; gap: 28px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; font-size: 18px; }
.site-header nav a { text-decoration: none; }

/* Hero */
.hero {
  min-height: 620px; display: flex; align-items: center;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(20,18,12,.92) 38%, rgba(20,18,12,.25) 100%), url(../assets/img/pochette.jpg) center right / cover;
}
.hero .wrap { width: 100%; padding-top: 64px; padding-bottom: 64px; }
.hero-text { max-width: 620px; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { display: flex; flex-direction: column; gap: 8px; font-weight: 400; }
.hero h1 span { font-family: var(--display); font-size: clamp(72px, 12vw, 128px); line-height: .95; text-shadow: 3px 3px 0 #000; }
.hero h1 small { font-family: var(--display); font-size: clamp(22px, 3vw, 36px); letter-spacing: 6px; color: var(--accent); }
.actions { display: flex; flex-wrap: wrap; gap: 16px; }
.btn { font-family: var(--display); font-size: 20px; padding: 16px 32px; min-height: 56px; display: inline-flex; align-items: center; text-decoration: none; cursor: pointer; }
.btn-solid { background: var(--accent); color: var(--bg); border: 0; }
.btn-solid:hover { background: var(--cream); }
.btn-outline { border: 2px solid var(--cream); }

/* Lecteur */
.player { position: sticky; top: 0; z-index: 10; background: var(--bg-deep); border-top: 2px solid var(--accent); border-bottom: 1px solid var(--line); }
.player-inner { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; padding-top: 16px; padding-bottom: 16px; }
.round { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.round svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.round-main { width: 56px; height: 56px; border: 0; background: var(--accent); color: var(--bg); }
.round-main svg { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.ic-pause, .is-playing .ic-play { display: none; }
.is-playing .ic-pause { display: block; }
.now { flex: 1 1 320px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.now-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; align-items: baseline; }
.now-title { font-size: 22px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.now-meta { font-family: var(--mono); font-size: 16px; color: var(--accent); }
.status { color: #e0715a; }
input[type="range"] { width: 100%; accent-color: var(--accent); cursor: pointer; }

/* Mur de photos */
.wall { padding: 96px 32px 72px; background: radial-gradient(ellipse 60% 50% at 50% 45%, #3a2f17 0%, var(--bg) 75%); }
.wall-inner { max-width: 1360px; margin: 0 auto; display: flex; flex-direction: column; gap: 48px; }
.section-head.center { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.section-head.center .lead { max-width: 680px; }
.prints { columns: 200px; column-gap: 22px; }
.print { break-inside: avoid; margin: 0 0 22px; background: var(--cream); padding: 8px 8px 26px; box-shadow: 0 14px 28px rgba(0,0,0,.65); transition: transform .2s; }
.print img { width: 100%; height: auto; filter: sepia(.18) contrast(1.05); }
.r1 { transform: rotate(1deg); } .r2 { transform: rotate(2deg); } .r3 { transform: rotate(3deg); }
.r-1 { transform: rotate(-1deg); } .r-2 { transform: rotate(-2deg); } .r-3 { transform: rotate(-3deg); } .r-4 { transform: rotate(-4deg); }
.print:hover { transform: rotate(0) scale(1.04); position: relative; z-index: 2; }

/* Bandeau studio */
.pano { min-height: 520px; display: flex; align-items: flex-end; background: linear-gradient(0deg, rgba(20,18,12,.9) 0%, rgba(20,18,12,0) 55%), url(../assets/img/studio-panoramique.jpg) center / cover; }
.pano-inner { width: 100%; padding-top: 48px; padding-bottom: 48px; display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end; justify-content: space-between; }
.pano-inner > div { max-width: 640px; display: flex; flex-direction: column; gap: 12px; }
.pano-inner h2 { font-size: clamp(36px, 5vw, 56px); }
.pano-inner img { width: 360px; aspect-ratio: 16 / 9; object-fit: cover; border: 6px solid var(--cream); transform: rotate(2deg); }

/* Titres */
.tracks { padding-top: 96px; padding-bottom: 96px; }
.album-head { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; margin-bottom: 48px; }
.album-head img { width: 220px; height: 220px; object-fit: cover; box-shadow: 0 12px 30px rgba(0,0,0,.6); }
.album-head > div { display: flex; flex-direction: column; gap: 10px; }
.section-head.split { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin: 80px 0 32px; }
.section-head.split h2 { font-size: 48px; }
.tracklist { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 560px), 1fr)); column-gap: 48px; }
.row { display: grid; grid-template-columns: 48px 1fr auto 24px; gap: 16px; align-items: center; width: 100%; min-height: 64px; padding: 10px 12px; background: transparent; border: 0; border-bottom: 1px solid var(--line); text-align: left; cursor: pointer; }
.row:hover { background: #221e13; }
.row-num { font-family: var(--display); font-size: 22px; color: var(--dim); }
.row-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.row-title { font-size: 21px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.row-artist { font-size: 16px; color: var(--muted); }
.row-dur { font-family: var(--mono); font-size: 15px; color: var(--muted); }
.row svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.is-active .row { background: var(--bg-soft); }
.is-active .row-num { color: var(--accent); }
.is-playing .is-active .row svg { fill: var(--accent); stroke: var(--accent); }

/* Photos entre les deux listes */
.duo-photos { margin-top: 88px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 48px; }
.duo-photos .print { margin: 0; }
.duo-solo { flex: 0 1 320px; }
.duo-solo img { aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; }
.duo-wide { flex: 0 1 440px; }
.duo-wide img { aspect-ratio: 16 / 10; object-fit: cover; }
.duo-caption { flex: 0 1 260px; display: flex; flex-direction: column; gap: 10px; text-align: center; }
.duo-name { font-family: var(--display); font-size: 40px; line-height: 1; }
.duo-text { font-size: 20px; color: var(--muted); }

/* Pied de page */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { padding-top: 48px; padding-bottom: 48px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.site-footer span { font-family: var(--display); font-size: 22px; }
.site-footer a { font-weight: 600; text-transform: uppercase; letter-spacing: 2px; }

@media (max-width: 640px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .wall { padding-left: 16px; padding-right: 16px; }
  .hero { min-height: 520px; background-position: 70% center; }
  .prints { columns: 140px; column-gap: 14px; }
  .row { grid-template-columns: 36px 1fr auto; }
  .row svg { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .print { transition: none; }
}

/* Les ancres ne passent pas sous le lecteur collant */
section[id] { scroll-margin-top: 84px; }
