/* Puffin Records — design system
   Épuré, typographie généreuse, beaucoup de blanc. */

:root {
  --bg: #ffffff;
  --bg-alt: #f6f3ee;
  --text: #17181a;
  --text-soft: #63625f;
  --line: #e9e5dd;
  --accent: #a97a63;
  --accent-soft: #cba594;
  --dark: #22302e;

  --font: "General Sans", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-heading: "General Sans", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --wrap: 1160px;
  --wrap-narrow: 700px;
  --radius: 18px;
  --space: clamp(3rem, 6vw, 6rem);
}

@font-face {
  font-family: "General Sans";
  src: url("/fonts/GeneralSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "General Sans";
  src: url("/fonts/GeneralSans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "General Sans";
  src: url("/fonts/GeneralSans-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

* { box-sizing: border-box; }
html { height: 100%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

/* Footer collé en bas même quand le contenu est plus court que l'écran
   (grands moniteurs) : body en colonne flex, <main> absorbe l'espace libre. */
body {
  margin: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body > main { flex: 1 0 auto; }
body > .site-footer { flex-shrink: 0; }

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

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.wrap--narrow { max-width: var(--wrap-narrow); }

h1, h2, h3 { font-family: var(--font-heading); font-weight: 500; letter-spacing: -0.01em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.eyebrow a { color: var(--text-soft); text-transform: none; letter-spacing: normal; font-weight: 500; }
.eyebrow a:hover { color: var(--accent); }

.lede { font-size: 1.25rem; color: var(--text-soft); max-width: 60ch; }
.lede--fit { white-space: nowrap; }
@media (max-width: 640px) { .lede--fit { white-space: normal; font-size: 1.1rem; } }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-weight: 600;
  color: var(--text);
  border-bottom: 2px solid var(--accent-soft);
  padding-bottom: 2px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.link-more:hover { border-color: var(--accent); color: var(--accent); }
.link-more--big { font-size: 1.3rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
/* Accueil seulement : header caché au repos (redite du logo du hero juste en dessous),
   révélé après un petit scroll (classe .is-revealed, voir main.js). */
.site-header--home { position: fixed; top: 0; left: 0; right: 0; transform: translateY(-100%); transition: transform 0.25s ease; }
.site-header--home.is-revealed { transform: translateY(0); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 0.55rem; }
.brand-icon { height: 32px; width: auto; }
.brand-word { height: 21px; width: auto; }

/* Clin d'œil : easter egg au survol/toucher sur l'oiseau, partout où il apparaît
   (header, hero, footer) — voir inline_svg() dans build.py : le SVG doit être
   injecté directement dans le HTML (pas en <img src>) pour pouvoir animer l'œil. */
.puffin-icon { display: block; }
.puffin-icon .pf-eye { transform-box: fill-box; transform-origin: center; }
@keyframes pf-wink {
  0%, 100% { transform: scaleY(1); }
  45%, 65% { transform: scaleY(0.12); }
}
.puffin-icon:hover .pf-eye,
.puffin-icon.pf-winking .pf-eye {
  animation: pf-wink 0.55s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
  .puffin-icon .pf-eye { animation: none !important; }
}
.nav-contact-trigger {
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5em 1.2em;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.nav-contact-trigger:hover { background: var(--accent-soft); border-color: var(--accent-soft); }

/* Hero */
.hero { padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(3rem, 7vw, 5.5rem); text-align: center; }
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.hero-row { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-bottom: 1.5rem; }
.hero-icon { height: clamp(70px, 14vw, 120px); width: auto; }
.hero-word { height: clamp(46px, 9vw, 79px); width: auto; }
.hero-tagline { font-size: 1.3rem; color: var(--text-soft); white-space: nowrap; }
@media (max-width: 640px) { .hero-tagline { white-space: normal; font-size: 1.1rem; } }
.hero-byline-link { display: block; width: min(140px, 28vw); margin: 1.5rem auto 0; }
.hero-byline { width: 100%; height: auto; }

/* Sections */
.section { padding: var(--space) 0; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding-top: 0; }
.section--compact { padding: 0 0 2.25rem; }
/* Bio d'une page artiste mono-sortie, juste après le hero (voir description_section()) :
   contrairement à section--compact, le hero au-dessus est en fond beige
   (.section--alt) — son padding-bottom se voit comme du beige, pas comme un espace
   blanc, donc le texte semblait collé à l'encart sans marge du tout (0px mesuré).
   Un vrai padding-top ici crée l'espace blanc visible qui manquait. */
.section--bio-after-hero { padding: 2.5rem 0 2.25rem; }
.section--about-tight { padding-top: 2.5rem; padding-bottom: 2.5rem; }
/* Haut réduit d'1/4 par rapport à --space, le quart retiré est ajouté en bas
   (demande explicite : moins d'espace au-dessus de "Sorties", le report en bas
   compense l'espace qui manque ensuite avant la section suivante). */
.section--releases {
  padding-top: clamp(1.6875rem, 3.75vw, 3.75rem);
  padding-bottom: calc(var(--space) + clamp(0.5625rem, 1.25vw, 1.25rem));
}
.release-hero { padding: 3.25rem 0; }
.release-description p { text-align: justify; }
.release-description--center p { text-align: center; }
/* Un lien inline dans une bio (ex. "ARRoYo" -> sa page artiste, voir Left Side of the
   Cat) passe maintenant par .release-description (description_section()), plus par
   .artist-bio — même traitement que .artist-bio a pour rester cohérent. */
/* Discret comme .credits-list a : pas de soulignement par défaut, jugé trop lourd
   (retour explicite sur le lien "ARRoYo") — la couleur accent suffit à signaler que
   c'est cliquable, le soulignement n'apparaît qu'au survol. */
.release-description a { color: var(--accent); text-decoration: none; }
.release-description a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.section--concerts { padding-top: 2rem; }
/* Espace réduit mais pas collé au blanc au-dessus/en dessous (section Musiciens/Crédits
   d'une sortie) : ~60% de --space, symétrique haut/bas. */
.section--credits { padding: clamp(1.8rem, 3.6vw, 3.6rem) 0; }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.section-head--end { justify-content: flex-end; }
.section-head h2 { margin: 0; }
.page-head { padding-bottom: 1rem; }
.page-head h1 { margin-bottom: 0.4em; }

/* Dernières sorties — bandeau compact (pas un hero) + défilement du reste du catalogue */
.section--latest { padding: 2.5rem 0; }
.rail-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.rail-head .eyebrow { margin-bottom: 0; }
.rail-controls { display: flex; gap: 0.6rem; flex-shrink: 0; }
.rail-arrow {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.rail-arrow:hover { background: var(--accent-soft); border-color: var(--accent-soft); }
.rail-arrow:disabled { opacity: 0.35; cursor: default; background: var(--bg); border-color: var(--line); }

/* chip-rail : rail scrollable générique (clips bonus d'une sortie, tous les épisodes
   Short Up) — flèches superposées sur les bords plutôt qu'à côté d'un titre (pas
   toujours de titre selon l'endroit, voir gallery/videos_section() dans build.py). */
.chip-rail { position: relative; }
.grid-scroll {
  display: flex;
  gap: 1.75rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 0.5rem 0.25rem;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-soft) transparent;
}
/* Posée en JS (updateRailButtons(), main.js) seulement quand le rail ne déborde pas :
   avec 2-3 cartes sur un écran large, flex par défaut les colle à gauche (flex-start
   implicite) — pas centrées, ça se voyait sur les clips bonus d'un album. Condition en
   JS plutôt que justify-content: safe center en CSS pur : support navigateur encore
   inégal (Chrome en particulier) pour cette valeur sur un conteneur qui peut déborder. */
.grid-scroll.is-centered { justify-content: center; }
/* Une seule carte visible à la fois (mobile) : espaceurs générés de chaque côté
   (--rail-side-pad, calculé en JS = (largeur du rail - largeur d'une carte) / 2) pour
   que la carte courante apparaisse au milieu de l'écran, avec un aperçu de la
   précédente ET de la suivante — pas seulement de la suivante (peek à droite
   uniquement, la largeur en vw ci-dessous suffisait à ça mais laissait la carte
   toujours collée au bord gauche, remarqué par l'utilisateur sur le rail vidéo de Short
   Up). scroll-snap-align: center (au lieu de start) fait s'arrêter le scroll sur le
   centre de chaque carte plutôt que sur son bord gauche. */
.grid-scroll.is-single { scroll-snap-type: x mandatory; }
.grid-scroll.is-single::before,
.grid-scroll.is-single::after {
  content: "";
  flex: 0 0 var(--rail-side-pad, 0px);
}
.grid-scroll.is-single > * { scroll-snap-align: center; }
.grid-scroll > * { flex: 0 0 auto; width: 220px; scroll-snap-align: start; }
.chip-rail-prev, .chip-rail-next {
  position: absolute;
  top: 88px;
  z-index: 2;
}
.chip-rail-prev { left: -17px; }
.chip-rail-next { right: -17px; }
@media (max-width: 640px) {
  /* Largeur en vw (pas un pixel fixe) pour qu'un bout de la carte suivante dépasse
     volontairement du viewport — signal visuel qu'on peut glisser à droite, plutôt
     qu'une carte qui tombe pile en bord d'écran. */
  .grid-scroll > * { width: 74vw; max-width: 260px; }
  .chip-rail-prev, .chip-rail-next { top: 68px; }
  .chip-rail-prev { left: -10px; }
  .chip-rail-next { right: -10px; }
}
/* Tout le catalogue (albums + Short Up, mélangés et triés par date),
   2 cartes visibles à la fois — flèches (JS) + scroll/swipe natif. */
.spotlight-grid {
  display: flex;
  gap: 2.5rem;
  overflow-x: auto;
  /* overflow-x: auto force overflow-y à auto aussi (calcul CSS standard dès qu'un axe
     n'est pas visible) : sans marge au-dessus, le survol d'une carte (.card:hover,
     translateY(-4px)) la fait dépasser du haut du rail et se fait tronquer en ligne
     droite à la place du coin arrondi. padding-top compense le décalage, et
     rail-head.margin-bottom a été réduit d'autant pour garder le même espace visuel
     global au repos. */
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-soft) transparent;
}
.spotlight-grid .spotlight-item {
  flex: 0 0 calc(50% - 1.25rem);
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  padding: 1.5rem 2rem;
}
.spotlight-item .card-media { flex: none; }
.spotlight-item .latest-info { flex: 0 1 320px; }
.spotlight-item .latest-cover { width: 110px; height: 110px; aspect-ratio: 1 / 1; border-radius: 12px; box-shadow: 0 16px 30px -14px rgba(20, 20, 15, 0.3); }
.latest-info h3 { margin-bottom: 0.15em; }
.latest-artist { color: var(--text-soft); font-size: 1rem; margin-bottom: 1rem; }
.latest-info .listen-buttons { margin: 1rem 0 0.75rem; }
.latest-info .listen-btn { margin: 0 0 0.85rem; }

/* Grids & cards */
.grid { display: grid; gap: 1.75rem; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  display: block;
  color: inherit;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(20, 20, 15, 0.3); }
.card img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; border-radius: var(--radius); }
.card-media { position: relative; }
.card-media img { aspect-ratio: 16 / 9; }
.play-badge {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(20, 18, 15, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.play-badge::after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 0 8px 13px;
  border-color: transparent transparent transparent #fff;
  margin-left: 3px;
}
.card-body { padding: 1rem 0.35rem 1.25rem; }
.card-body h3 { margin: 0.15em 0 0; }
.card-eyebrow { font-size: 0.8rem; color: var(--text-soft); text-transform: uppercase; letter-spacing: 0.05em; }

/* Sorties/roster : titre, artiste, date sur 3 lignes fixes (une ligne chacune,
   tronquée avec … si trop long) plutôt que de laisser le titre passer sur 2 lignes
   selon sa longueur — évite des cartes de hauteurs inégales dans une même grille
   (ex. "Left Side of the Cat" vs "Aurore"). */
.release-card-line {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.release-card-body h3.release-card-line { margin: 0 0 0.3em; }
.release-card-body span.release-card-line { margin: 0; }

/* Listen buttons */
.listen-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0; }
/* Boutons "texte" (Bandcamp / YouTube / smartlink "Toutes les plateformes") dans leur
   propre ligne, séparés des boutons à icône — voir listen_buttons() : deux <div>
   .listen-buttons distincts plutôt qu'un flex-basis:100% sur le bouton, qui l'aurait
   étiré sur toute la largeur au lieu de garder sa taille naturelle. Les marges
   verticales des deux blocs fusionnent normalement (collapse), pas de double espace. */
.listen-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.65em 1.2em;
  border-radius: 999px;
  background: var(--dark);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s ease, transform 0.2s ease;
}
.listen-btn:hover { background: var(--accent); transform: translateY(-2px); }
.listen-btn img { filter: brightness(0) invert(1); }
.listen-btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* Embeds */
.embed { margin: 1.5rem 0; border-radius: 12px; overflow: hidden; }
.embed--youtube { position: relative; padding-bottom: 56.25%; height: 0; }
.embed--youtube iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed--bandcamp iframe { display: block; }

/* Release / artist detail */
.release-hero-inner, .artist-head { }
.release-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 420px) 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.release-cover { width: 100%; border-radius: var(--radius); box-shadow: 0 30px 60px -20px rgba(20, 20, 15, 0.25); }
/* Pochette cliquable → lightbox (voir data-cover dans main.js) : <button> réinitialisé
   pour ne rien ajouter au-dessus de l'<img>, curseur en indice visuel du clic possible. */
.release-cover-trigger { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.release-hero-inner--video { grid-template-columns: 1fr; }
.release-hero-inner--video .embed { margin: 0; max-width: 720px; }
.release-hero-inner--video .embed--youtube { border-radius: var(--radius); box-shadow: 0 30px 60px -20px rgba(20, 20, 15, 0.25); }
/* Masthead artiste : tout centré */
.artist-head .wrap { text-align: center; }
.artist-head .lede--fit { margin: 0 auto; }
.artist-bio { margin-top: 1.75rem; color: var(--text-soft); max-width: 60ch; margin-left: auto; margin-right: auto; }
/* Bloc centré (max-width + margin auto ci-dessus) mais texte justifié plutôt que centré :
   .artist-head .wrap (2 classes) impose text-align:center à tout le masthead, donc il
   faut égaler sa spécificité ici (.artist-head .artist-bio, 2 classes aussi) — un simple
   .artist-bio (1 classe) perdrait silencieusement contre .artist-head .wrap. */
.artist-head .artist-bio { text-align: justify; }
/* Discret comme .release-description a / .credits-list a : pas de soulignement par
   défaut (jugé trop lourd, voir plus haut), soulignement seulement au survol. */
.artist-bio a { color: var(--accent); text-decoration: none; }
.artist-bio a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.artist-photo { margin-top: 2rem; border-radius: var(--radius); width: 100%; }

/* Logo d'artiste en image (remplace le H1 texte) */
.page-head .artist-logo { margin: 0 0 0.1rem; }
.artist-logo img { display: block; width: 100%; height: auto; margin: 0 auto; }
/* Logo empilé sur plusieurs lignes (aspect < 1.5, voir image_aspect() dans build.py) —
   ex. "Left Side of the Cat" en 4 lignes : en width:100% du masthead (~650px) il
   deviendrait un pavé énorme et démesurément haut. Gardé compact et centré à la place,
   comme un emblème plutôt qu'un wordmark plein cadre.
   Spécificité : .page-head .artist-logo (2 classes) doit être battu explicitement par
   .page-head .artist-logo--tall (même préfixe, 2 classes) pour le margin — un simple
   .artist-logo--tall (1 classe) perdrait silencieusement, piège déjà documenté plus bas. */
.artist-logo--tall { max-width: 220px; }
.artist-logo--tall img { width: 100%; height: auto; }
.page-head .artist-logo--tall { margin: 0 auto 1.5rem; }

/* Icônes sociales */
.social-link, .listen-btn.social-link { display: inline-flex; align-items: center; gap: 0.5em; font-weight: 600; color: var(--text-soft); }
.social-link svg { width: 20px; height: 20px; flex-shrink: 0; }
.artist-social { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; margin-top: 1.8rem; }
.artist-social .social-link { color: var(--text); }
.artist-social .social-link:hover { color: var(--accent); }

/* Crédits : bloc bien distinct, colonnes alignées proprement */
.credits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.credits-block h2 {
  font-family: var(--font); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text); margin-bottom: 1rem; padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--accent-soft);
}
.credits-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.credits-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.credits-list li:last-child { border-bottom: 0; }
.credits-list .role { color: var(--text-soft); }
.legal-content h2 { font-size: 1.15rem; margin-top: 2rem; }

/* Liens dans du texte courant (mentions légales, bio) : doivent se voir comme
   cliquables au premier coup d'œil, pas seulement au survol. */
.legal-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-content a:hover {
  color: var(--text);
}
/* Liens dans les crédits/musiciens : plus discrets, la couleur seule suffit à
   signaler que c'est cliquable, le soulignement n'apparaît qu'au survol. */
.credits-list a {
  color: var(--accent);
  text-decoration: none;
}
.credits-list a:hover {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Vidéos (chips cliquables → lightbox) */
.videos-block { margin-top: 0.5rem; }
.videos-block .grid, .grid--center { grid-template-columns: repeat(auto-fit, minmax(180px, 240px)); justify-content: center; }
.videos-block .grid .card-body, .grid--center .card-body { text-align: center; }
.section-title-center { text-align: center; }

/* Galerie photo (ex. photos d'enregistrement "Aurore") : slider une photo à la fois,
   glissable au doigt/à la souris (voir gallery_section() dans build.py + le bloc
   "Slider photo" dans main.js). .slider-viewport est la fenêtre visible (taille fixe,
   object-fit géré par max-width/height sur l'image plutôt que cover : les photos
   viennent en portrait ou paysage selon la prise de vue, cover aurait rogné une partie
   de chaque photo) ; .slider-track contient 3 slides (précédente/courante/suivante,
   montées/démontées par le JS au fil de la navigation) et se translate au geste. */
.gallery-block { margin-top: 0.5rem; }
.photo-slider { display: flex; align-items: center; gap: 0.75rem; }
.slider-viewport {
  flex: 1;
  height: clamp(280px, 45vw, 560px);
  background: var(--bg-alt);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.slider-track {
  display: flex;
  width: 300%;
  height: 100%;
  transform: translateX(-33.3333%);
  touch-action: pan-y;
  cursor: grab;
}
.slider-track.is-dragging { cursor: grabbing; }
.slider-track.is-animating { transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1); }
.slider-slide { width: 33.3333%; height: 100%; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; }
.slider-slide img {
  max-width: 100%; max-height: 100%; width: auto; height: auto; display: block;
  user-select: none; -webkit-user-drag: none; pointer-events: none;
}
.slider-nav {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--bg-alt);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}
.slider-nav:hover { background: var(--accent-soft); }
@media (max-width: 640px) {
  .slider-nav { width: 36px; height: 36px; font-size: 1.2rem; }
}
.slider-counter { margin: 0.75rem 0 0; text-align: center; color: var(--text-soft); font-size: 0.85rem; }
.gallery-credit { margin: 0.35rem 0 0; text-align: center; color: var(--text-soft); font-size: 0.9rem; }

.release-nav { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem 1.5rem; }
/* Les titres de clips viennent tels quels de YouTube (certains tout en majuscules,
   d'autres en casse normale, voir Left Side of the Cat) — uniformisé en CSS plutôt que
   retapé à la main dans content.json (qui redeviendrait faux au prochain clip ajouté
   sans y penser). Majuscules choisies pour rester cohérent avec .eyebrow, déjà utilisé
   partout ailleurs sur le site pour ce genre de petit texte capitalisé. */
.video-chip .card-body { text-align: center; }
.video-chip .card-body h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.03em; }
/* Sur mobile, dans un chip-rail, la vignette 16:9 devient assez petite (voir largeur en
   vw plus haut) pour qu'un titre de 2-3 mots en majuscules approche la hauteur de
   l'image elle-même — réduit et plafonné à 2 lignes (au-delà, coupé avec « … » plutôt
   que de pousser sur une 3e ligne). */
@media (max-width: 640px) {
  .chip-rail .video-chip .card-body h3 {
    font-size: 0.82rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
  .chip-rail .video-chip .card-body { padding: 0.7rem 0.35rem 0.9rem; }
}

/* Lightbox vidéo */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 9, 8, 0.9);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vh 1.5rem;
}
.lightbox[hidden] { display: none; }
.lightbox-inner { width: 100%; max-width: 960px; }
.lightbox-frame { position: relative; width: 100%; padding-bottom: 56.25%; height: 0; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.lightbox-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lightbox-close {
  display: block;
  margin: 0 0 0.75rem auto;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
}
.lightbox-close:hover { background: rgba(255,255,255,0.25); }
.lightbox-stage { position: relative; display: flex; align-items: center; }
.lightbox-nav {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.25); }
.lightbox-prev { left: -64px; }
.lightbox-next { right: -64px; }
@media (max-width: 1080px) {
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
}

/* Lightbox pochette : même overlay que la lightbox vidéo (.lightbox), mais cadre libre
   plutôt que le ratio 16:9 fixe d'un lecteur — la pochette garde son ratio naturel
   (carré) et se limite juste à une taille raisonnable à l'écran. */
.lightbox-inner--image { width: auto; max-width: min(90vw, 900px); }
.lightbox-image { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }

/* Pop-up Contact (déclenché depuis le bouton du header, voir data-contact-open
   dans main.js) — même mécanique d'overlay que la lightbox vidéo, mais carte
   claire puisqu'il n'y a pas de vidéo derrière. */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(23, 24, 26, 0.55);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vh 1.5rem;
}
.modal[hidden] { display: none; }
.modal-inner {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 2.75rem 2.5rem 2.5rem;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
  text-align: center;
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  cursor: pointer;
}
.modal-close:hover { background: var(--accent-soft); border-color: var(--accent-soft); }
.modal-mark { display: flex; justify-content: center; margin-bottom: 1.1rem; }
.modal-icon { height: 40px; width: auto; }
.modal-inner .eyebrow { margin-bottom: 0.6rem; }
.modal-inner h2 { margin: 0 auto 1.6rem; font-size: clamp(1.3rem, 3vw, 1.6rem); max-width: 28ch; }
.modal-email {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  background: var(--dark);
  color: #fff;
  font-weight: 600;
  padding: 0.75em 1.4em;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.modal-email:hover { background: var(--accent); transform: translateY(-2px); }
.modal-email svg { width: 18px; height: 18px; flex-shrink: 0; }
.modal-socials { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.6rem; margin: 1.85rem 0 0; }
.modal-socials .social-link {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.modal-socials .social-link:hover { background: var(--accent-soft); border-color: var(--accent-soft); color: var(--text); }
.modal-socials .social-link span { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.modal-extra-links {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 0.6rem;
  margin-top: 1.85rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}
.modal-extra-links a { color: var(--text-soft); transition: color 0.2s ease; }
.modal-extra-links a:hover { color: var(--accent); }
.modal-extra-sep { color: var(--line); }
@media (max-width: 480px) {
  .modal-inner { padding: 2.5rem 1.5rem 2rem; }
}

/* Concerts */
.concerts p { color: var(--text-soft); }
.concerts ul { list-style: none; margin: 0; padding: 0; }
.concerts li { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; align-items: baseline; padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.concert-date { font-weight: 600; color: var(--accent); min-width: 10ch; }
.concert-venue { flex: 1; }

.poem { font-size: 1.25rem; font-style: italic; color: var(--text-soft); line-height: 1.7; }
.poem-line { display: block; }
.poem-line:not(:last-child) { margin-bottom: 0.6em; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.about-text { font-size: 1.05rem; color: var(--text-soft); line-height: 1.7; margin-top: 2.3rem; }
@media (max-width: 800px) {
  .about-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .about-text { margin-top: 0; }
}

/* Page À propos : fond chaleureux + poème en vrai pull-quote (bordure accent, plus
   grand) plutôt qu'un simple paragraphe italique gris — voir retour utilisateur
   "bien froide". */
.about-page { background: var(--bg-alt); }
.about-page h1 { margin-bottom: 2.25rem; }
.about-page .about-text { margin-top: 0; }
.poem--big {
  margin: 0;
  font-size: clamp(1.4rem, 2.6vw, 1.75rem);
  color: var(--text);
  padding-left: 1.5rem;
  border-left: 3px solid var(--accent-soft);
}

/* Page Contact : même présentation chaleureuse que la pop-up (icône, bouton email en
   pilule, icônes rondes) — voir .modal-mark/.modal-email/.modal-socials plus haut. */
.contact-page { text-align: center; }
.contact-page h1 { max-width: 22ch; margin: 0 auto 1.6rem; }
.contact-page .eyebrow { margin-bottom: 0.6rem; }

/* Footer */
.site-footer { background: var(--dark); color: #fff; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  padding: 4rem 1.5rem 3rem;
}
.footer-brand .footer-mark {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border-radius: 10px;
  padding: 0.5rem 0.85rem;
  margin-bottom: 0.9rem;
  width: 180px;
  max-width: 100%;
  box-sizing: border-box;
}
.footer-icon { display: block; height: 28px; width: auto; }
.footer-word { display: block; height: 18px; width: auto; }
.footer-brand p { color: rgba(255,255,255,0.6); max-width: 24ch; }
.footer-col h3 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255,255,255,0.5); margin-bottom: 1rem; }
.footer-col { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { color: rgba(255,255,255,0.85); }
.footer-col a:hover { color: var(--accent-soft); }
.footer-legal {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}
.footer-legal a { color: rgba(255,255,255,0.75); }
.footer-legal a:hover { color: #fff; }

/* Responsive */
@media (max-width: 900px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .release-hero-inner { grid-template-columns: 1fr; }
  .release-cover { max-width: 420px; margin: 0 auto; }
  .credits-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .spotlight-grid .spotlight-item { flex-basis: 100%; }
}

@media (max-width: 480px) {
  .spotlight-grid .spotlight-item { gap: 1rem; padding: 1.25rem; justify-content: flex-start; }
  .spotlight-item .latest-cover { width: 92px; height: 92px; border-radius: 8px; }
  .latest-info h3 { font-size: 1.15rem; }
  .lightbox { padding: 0 0; }
  .lightbox-frame { border-radius: 0; }
  .lightbox-close { margin: 0.5rem; }
}

@media (max-width: 680px) {
  .nav-contact-trigger { padding: 0.4em 0.9em; font-size: 0.9rem; }
  .grid--4 { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .footer-inner { grid-template-columns: 1fr; }
}
