/* ==========================================================================
   LANGA · Kit presse
   Layout : une pochette d'album en ouverture, puis une suite de blocs plein
   cadre sur fond noir, chacun réchauffé par une lueur d'orange sombre. Les
   photos gardent les couleurs de leur tournage ; deux blocs « titre » portent
   la bande-son qui suit la visite.
   ========================================================================== */

/* Polices hébergées avec le site (27/10, avant la mise en ligne) : plus d'appel à Google Fonts. Archivo,
   Cormorant Garamond et Reenie Beanie, licence SIL Open Font License 1.1 ; alphabets latin et latin étendu. */
/* Archivo · latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 300 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Archivo · latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 300 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Cormorant Garamond italique · latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-italic-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Cormorant Garamond italique · latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-italic-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Cormorant Garamond · latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Cormorant Garamond · latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Reenie Beanie · latin */
@font-face {
  font-family: 'Reenie Beanie';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/reenie-beanie-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;

  --night: #0b0807;           /* le noir de fond */
  --night-2: #16100d;         /* surfaces */
  --ember: 150 58 20;         /* lueur orange sombre (rgb) */
  --orange: #d2622a;          /* l'orange : ce qui se touche */
  --orange-hi: #ec7d3c;
  --paper: #f4ece6;
  --paper-soft: rgb(244 236 230 / .66);
  --rule: rgb(244 236 230 / .14);
  --rule-strong: rgb(244 236 230 / .34);

  /* trois polices en tout (choix de l'équipe le 27/10) : Cormorant Garamond pour les titres et les phrases,
     Archivo pour le texte et les étiquettes, Reenie Beanie seulement pour l'écriture sur les cassettes */
  --f-serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --f-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --pad: clamp(18px, 4vw, 64px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--night);
  color: var(--paper);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
a { color: inherit; }
p, h1, h2, h3, figure { margin: 0; }

::selection { background: var(--orange); color: var(--night); }
:focus-visible { outline: 2px solid var(--orange-hi); outline-offset: 3px; }

.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip {
  position: fixed;
  left: 16px; top: calc(env(safe-area-inset-top, 0px) + 12px);
  z-index: 100;
  padding: .6em 1em;
  background: var(--orange);
  color: var(--night);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

/* ---------- Grain argentique ---------- */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 90;
  pointer-events: none;
  opacity: .08;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(5) infinite;
}
@keyframes grain {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-3%, 2%); }
  40%  { transform: translate(2%, -4%); }
  60%  { transform: translate(-4%, -1%); }
  80%  { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

/* ---------- Éléments communs ---------- */
.tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--paper-soft);
}

.body {
  max-width: 34em;
  font-size: clamp(.95rem, .9rem + .2vw, 1.06rem);
  line-height: 1.55;
}

.todo {
  color: var(--paper-soft);
  font-style: italic;
  text-decoration: underline dashed var(--rule-strong);
  text-underline-offset: .25em;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 38px;
  padding: 0 1.1em;
  border: 1px solid transparent;
  border-radius: 999px;
  background: none;
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .02em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
.pill--orange { background: var(--orange); color: var(--night); }
.pill--orange:hover { background: var(--orange-hi); }
.pill--line { border-color: var(--rule-strong); color: var(--paper); }
.pill--line:hover { border-color: var(--orange); background: var(--orange); color: var(--night); }

/* Photos : couleurs de leur tournage, et une pointe d'orange sombre en pied */
.ph {
  position: relative;
  overflow: hidden;
  background: var(--night-2);
}
.ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.04) saturate(.94);
}
.ph::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgb(var(--ember) / .38), transparent 42%);
  mix-blend-mode: multiply;
}

.hint__touch { display: none; }
@media (pointer: coarse) {
  .hint__fine { display: none; }
  .hint__touch { display: inline; }
}

/* ==========================================================================
   En-tête, menu central, son
   ========================================================================== */
.top {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: calc(env(safe-area-inset-top, 0px) + 14px) var(--gutter) 0;
  pointer-events: none;
}
.top > * { pointer-events: auto; }
.top__right { display: flex; align-items: center; gap: 8px; }

.top__mark {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 1.1em;
  border-radius: 999px;
  background: rgb(11 8 7 / .6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgb(244 236 230 / .14);
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: .16em;
  text-decoration: none;
  transition: opacity .4s, visibility .4s, transform .5s var(--ease);
}
.top[data-state="cover"] .top__mark { opacity: 0; visibility: hidden; transform: translateY(-8px); }
.top__contact { min-height: 42px; }

.sound-toggle {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  min-height: 42px;
  padding: 0 1em;
  border-radius: 999px;
  background: rgb(11 8 7 / .6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgb(244 236 230 / .16);
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .25s;
}
.sound-toggle:hover { border-color: var(--orange); }
.eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
}
.eq i {
  width: 3px;
  height: 30%;
  border-radius: 1px;
  background: var(--orange);
}
body[data-audio="on"] .eq i { animation: eq .8s ease-in-out infinite alternate; }
body[data-audio="on"] .eq i:nth-child(2) { animation-duration: .55s; }
body[data-audio="on"] .eq i:nth-child(3) { animation-duration: .95s; }
body[data-audio="on"] .eq i:nth-child(4) { animation-duration: .65s; }
@keyframes eq {
  from { height: 20%; }
  to   { height: 100%; }
}

.dock {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 14px);
  left: 50%;
  z-index: 61;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  background: rgb(11 8 7 / .66);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid rgb(244 236 230 / .14);
  transform: translateX(-50%);
  /* la barre apparaît et s'efface en fondu, d'un seul mouvement (sans glisser) */
  transition: opacity .7s ease, visibility 0s;
}
.dock[data-hidden="true"] {
  opacity: 0;
  visibility: hidden;
  transition: opacity .7s ease, visibility 0s linear .7s;
}
.dock a {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 .7em;
  border-radius: 999px;
  color: var(--paper-soft);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .3s, color .3s;
}
.dock__n { font-variant-numeric: tabular-nums; }
.dock__t {
  display: inline-block;
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 15px;
  font-weight: 500;
  transition: max-width .5s var(--ease), opacity .3s, margin .5s var(--ease);
}
.dock a:hover { color: var(--paper); background: rgb(244 236 230 / .08); }
.dock a:hover .dock__t,
.dock a:focus-visible .dock__t,
.dock a[aria-current="true"] .dock__t { max-width: 9em; opacity: 1; margin-left: .55em; }
.dock a[aria-current="true"] { background: var(--orange); color: var(--night); }
.dock__bar {
  position: absolute;
  left: 18px; right: 18px; bottom: -1px;
  height: 2px;
  overflow: hidden;
  border-radius: 2px;
}
.dock__bar span {
  display: block;
  height: 100%;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
}

/* Invitation à activer le son */
.sound-gate {
  position: fixed;
  left: var(--gutter);
  bottom: calc(env(safe-area-inset-bottom, 0px) + 20px);
  z-index: 70;
  display: grid;
  gap: 12px;
  max-width: 340px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgb(22 16 13 / .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgb(var(--ember) / .7);
  box-shadow: 0 24px 60px -20px rgb(0 0 0 / .7);
  font-size: .9rem;
  line-height: 1.4;
  animation: gateIn .7s var(--ease) both;
}
.sound-gate strong { color: var(--orange-hi); font-weight: 600; }
.sound-gate__actions { display: flex; flex-wrap: wrap; gap: 8px; }
@keyframes gateIn {
  from { opacity: 0; transform: translateY(16px); }
}

@media (max-width: 760px) {
  .sound-toggle { padding: 0 .9em; }
  .sound-toggle__label { display: none; }
  .dock {
    top: auto;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 14px);
  }
  .dock a { padding: 0 .5em; }
  .dock a:hover .dock__t { max-width: 0; opacity: 0; margin-left: 0; }
  .dock a[aria-current="true"] .dock__t { max-width: 7.5em; opacity: 1; margin-left: .4em; }
  .sound-gate {
    left: 12px;
    right: 12px;
    max-width: none;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 70px);
  }
}

/* ==========================================================================
   Ouverture : la pochette
   ========================================================================== */
.cover {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  grid-template-areas:
    "tracks ."
    ".      ."
    "title  title";
  min-height: max(660px, min(100svh, 1040px));
  padding: calc(env(safe-area-inset-top, 0px) + 20px) var(--gutter) clamp(28px, 4vw, 48px);
  background:
    radial-gradient(45% 20% at 16% 56%, rgb(var(--ember) / .4), transparent 75%),
    radial-gradient(40% 18% at 86% 58%, rgb(var(--ember) / .22), transparent 75%),
    var(--night);
}

.cover__photo { position: absolute; inset: 0; z-index: -1; }
/* les ombres noires : sous le titre, sur les bords et en haut (lisibilité de la tracklist) */
.cover__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(52% 30% at 50% 74%, rgb(11 8 7 / .6), transparent 78%),
    linear-gradient(to right, rgb(11 8 7 / .55), transparent 20%, transparent 80%, rgb(11 8 7 / .55)),
    linear-gradient(to bottom, rgb(11 8 7 / .45), transparent 22%);
}
.cover__img {
  position: absolute;
  /* La photo élargie couvre toute la pochette, sans coupure sur les côtés ;
     un léger zoom garde la tête vers le haut, le titre passe sur la route */
  top: -20%;
  left: 0;
  width: 100%;
  height: 125%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 50%;
  filter: contrast(1.05) saturate(1.05);
  -webkit-mask-image: linear-gradient(to bottom, #000 66%, transparent 92%);
  mask-image: linear-gradient(to bottom, #000 66%, transparent 92%);
}
/* Le flou de mouvement qui suit la souris */
.cover__ghost {
  filter: url(#smear) saturate(1.1);
  opacity: .3;
  mix-blend-mode: screen;
  transform: translateX(var(--gx, 40px));
  transition: transform .9s var(--ease);
  -webkit-mask-image: radial-gradient(26% 40% at 50% 55%, #000 30%, transparent 100%);
  mask-image: radial-gradient(26% 40% at 50% 55%, #000 30%, transparent 100%);
}

/* la Tracklist (le menu) en haut à gauche de la pochette */
.tracklist {
  grid-area: tracks;
  justify-self: start;
  width: max-content;
  min-width: 220px;
  margin-top: 6px;
}
/* dès qu'on descend, la Tracklist s'efface pendant que la barre du haut apparaît (même durée, même courbe) */
.tracklist { transition: opacity .7s ease, visibility 0s; }
.tracklist.is-docked { opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s linear .7s; }
.tracklist__head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: 1.4rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.tracklist ol { list-style: none; margin: 0; padding: 0; }
.tracklist a {
  display: grid;
  grid-template-columns: 2.2rem auto;
  align-items: baseline;
  padding-block: 1px;
  text-decoration: none;
}
.tl__n { font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.tl__t {
  display: inline-flex;
  justify-content: flex-start;
  gap: .32em;
  font-family: var(--f-serif);
  font-size: 1.05rem;
  transition: color .25s, transform .35s var(--ease);
}
.tracklist a:hover .tl__t, .tracklist a:focus-visible .tl__t { transform: translateX(.25em); }
.tracklist a.is-song .tl__t { color: var(--orange-hi); font-style: italic; }
.tracklist a:hover .tl__t,
.tracklist a:focus-visible .tl__t { color: var(--orange-hi); font-style: italic; }

.cover__title {
  grid-area: title;
  justify-self: center;
  width: min(100%, 1000px);
  text-align: center;
}
.cover__name {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(5rem, 2rem + 14vw, 15.5rem);
  line-height: .84;
  letter-spacing: .01em;
  text-shadow: 0 6px 60px rgb(11 8 7 / .5);
}
/* les réseaux sous le nom : capitales espacées, comme l'ancien « Projet musical » ; au survol, seule la couleur change */
.cover__socials {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .4em 2.2em;
  margin: 22px 0 0;
  padding: 0;
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: clamp(.95rem, .8rem + .55vw, 1.3rem);
  letter-spacing: .32em;
  text-transform: uppercase;
}
.cover__socials a {
  margin-right: -.32em;   /* l'espacement après la dernière lettre ne décentre pas le mot */
  text-decoration: none;
  transition: color .25s;
}
.cover__socials a:hover { color: var(--orange-hi); }
.cover__socials a:focus-visible { outline: 2px solid var(--orange-hi); outline-offset: 4px; border-radius: 4px; }

@media (max-width: 760px) {
  .cover {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-template-areas: "photo" "title" "tracks";
    min-height: 0;
    padding-top: calc(env(safe-area-inset-top, 0px) + 24px);
  }
  .cover__photo {
    grid-area: photo;
    position: relative;
    z-index: 0;
    aspect-ratio: 4 / 5;
    margin: 12px calc(-1 * var(--gutter)) 0;
  }
  .cover__img {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 32%;
    transform: none;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 68%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 68%, transparent 100%);
  }
  .cover__ghost { transform: translateX(calc(var(--gx, 24px) * .6)); }
  .cover__title { position: relative; z-index: 1; margin-top: -30vw; }
  /* les trois réseaux tiennent sur une ligne */
  .cover__socials { gap: .4em 1.3em; font-size: .9rem; letter-spacing: .2em; }
  .cover__socials a { margin-right: -.2em; }
  .tracklist { justify-self: stretch; width: 100%; margin-top: 40px; }
}

/* Sur téléphone, le site ne se visite pas (demande de l'équipe le 27/10) : après l'entrée, la pochette reste seule,
   avec sous LANGA « Merci de regarder le site sur ordinateur », et il n'y a rien plus bas. Téléphone = écran tactile
   sans survol, étroit (ou bas, s'il est couché) : une fenêtre étroite sur ordinateur garde tout le site.
   La même condition est dans main.js (phoneOnly : pas de musique sur téléphone). */
.cover__desk,
.cover__legal { display: none; }
@media (hover: none) and (pointer: coarse) and (max-width: 760px), (hover: none) and (pointer: coarse) and (max-height: 500px) {
  main > :not(.cover),
  .top, .dock, .rail, .sound-gate, .skip, .tracklist { display: none !important; }
  .cover { padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 56px); }
  .cover__desk {
    display: block;
    max-width: 22em;
    margin: 18px auto 0;
    font-size: .95rem;
    line-height: 1.5;
    color: var(--paper-soft);
    text-wrap: balance;
  }
  .cover__legal {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 16px);
    margin: 0;
    text-align: center;
    font-size: .75rem;
    letter-spacing: .04em;
    color: var(--paper-soft);
  }
  .cover__legal a { text-decoration: none; }
  /* la phrase monte au moment du fondu de l'entrée, juste avant les réseaux */
  .is-revealing .cover__desk { animation: liftIn 1.1s cubic-bezier(.2, .7, .1, 1) .7s both; }
}
@media (hover: none) and (pointer: coarse) and (max-width: 760px) {
  /* la pochette occupe tout l'écran, son contenu reste en haut */
  .cover { min-height: 100svh; align-content: start; }
}

/* ==========================================================================
   Blocs : fond noir, lueur d'orange sombre qui se déplace d'un bloc à l'autre
   ========================================================================== */
.floor {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(55% 45% at var(--gx, 50%) var(--gy, 50%), rgb(var(--ember) / .24), transparent 72%),
    var(--night);
}
.floor__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: max(620px, min(100svh, 980px));
  max-width: 1680px;
  margin-inline: auto;
  padding: calc(env(safe-area-inset-top, 0px) + 76px) var(--gutter) clamp(40px, 6vw, 80px);
}
/* les titres de bloc reprennent le style de l'en-tête « Tracklist » (ce sont les mêmes intitulés que le menu) */
.floor__label {
  text-align: center;
  font-family: var(--f-serif);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--paper-soft);
}

.origine, .plume, .song, .liens, .reel, .contact {
  position: relative;
  flex: 1;
  padding-block: var(--pad);
}

/* Titres (demandes de l'équipe du 27/10) :
   - les musiques (Praeter, Lesté, le morceau dans le lecteur de cassettes, Distant) et LANGA : l'écriture du
     titre « Praeter » (Cormorant, graisse normale, capitales), le plus grand (.song__title, .cover__name) ;
   - les titres des blocs (Un parcours débuté à l'adolescence, Le texte au centre de tout, L'amour. La famille.,
     Le réel, Contact) : une linéale grasse et large, comme le premier « Un parcours débuté à l'adolescence »
     (Archivo élargie, très grasse, capitales), tous à la même taille (.h-title) ;
   - les phrases (« Les liens qui unissent… », les paroles…) : Cormorant, plus petit, parfois en italique. */
.h-title {
  font-family: var(--f-sans);
  font-stretch: 112%;
  font-weight: 800;
  font-size: clamp(1.9rem, .8rem + 3.6vw, 4.4rem);
  line-height: .95;
  letter-spacing: -.01em;
  text-transform: uppercase;
  text-wrap: balance;
}
[data-drift] {
  transform: translateX(calc(var(--drift, 0) * 1px));
  will-change: transform;
}

/* ---------- 01 · L'origine : trois cassettes, trois époques ---------- */
.origine {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  container-type: inline-size;   /* la taille des cassettes suit la largeur du bloc */
}
.origine__head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-areas:
    "tag   ."
    "title intro";
  column-gap: clamp(20px, 4vw, 64px);
}
.origine__tag { grid-area: tag; margin-bottom: 18px; }
.origine__title { grid-area: title; }
/* le texte de droite est centré verticalement sur le titre */
.origine__intro { grid-area: intro; align-self: center; display: grid; gap: 12px; }
.tapes__hint {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--orange-hi);
}

/* La frise : les cassettes dans l'ordre chronologique. Celle de l'époque choisie est au centre, en grand
   (data-pos="0") ; les autres de part et d'autre, plus petites, plus sombres et un peu tournées vers le centre.
   Rapprochées le 27/10 : chacune passe un peu derrière sa voisine et la plus lointaine (±2) reste entière dans
   la page, pour qu'on voie bien qu'il n'y en a que trois. main.js met à jour data-pos, le reste est en CSS. */
.tapes {
  --tw: min(440px, 37cqw);   /* largeur de la cassette du centre (cqw : largeur du bloc .origine) */
  --spread: 1;               /* resserre la frise sur téléphone */
  position: relative;
  height: calc(var(--tw) * .655 + 72px);
  margin-top: clamp(30px, 4vw, 56px);
}
/* une cassette = un bouton. Le corps est posé en légère perspective, comme sur une table ;
   la cassette du centre se soulève et se redresse. Le dessin (boîtier, bobines) est en SVG,
   l'étiquette en texte manuscrit par-dessus. */
.tape {
  position: absolute;
  left: 50%;
  top: 50px;
  width: var(--tw);
  margin-left: calc(var(--tw) / -2);
  aspect-ratio: 400 / 262;
  padding: 0;
  border: 0;
  border-radius: 4% / 6%;
  background: none;
  color: inherit;
  cursor: pointer;
  perspective: 1100px;
  transform: translateX(calc(var(--x, 0) * var(--spread) * var(--tw))) scale(var(--s, 1));
  filter: brightness(var(--b, 1));   /* assombries plutôt que transparentes : elles se recouvrent */
  z-index: var(--z, 1);
  transition: transform .9s cubic-bezier(.55, .05, .25, 1), filter .9s ease;
  --rx: 20deg;
  --lift: 0px;
}
/* --x : décalage en largeurs de la cassette du centre */
.tape[data-pos="-2"] { --x: -1.1;  --s: .46; --b: .5;  --z: 0; --turn: 18deg; }
.tape[data-pos="-1"] { --x: -.7;   --s: .62; --b: .68; --z: 1; --turn: 12deg; }
.tape[data-pos="0"]  { --x: 0;     --s: 1;   --b: 1;   --z: 2; --turn: 0deg; }
.tape[data-pos="1"]  { --x: .7;    --s: .62; --b: .68; --z: 1; --turn: -12deg; }
.tape[data-pos="2"]  { --x: 1.1;   --s: .46; --b: .5;  --z: 0; --turn: -18deg; }
.tape--pop { --tilt: -2.5deg; }
.tape--rap { --tilt: 1.5deg; }
.tape--rnb { --tilt: -1deg; }
.tape:not([aria-selected="true"]):hover { --b: .9; }
.tape[aria-selected="true"] { --rx: 8deg; --lift: 24px; --tilt: 0deg; }
.tape:focus-visible { outline: 2px solid var(--orange-hi); outline-offset: 8px; }
.tape__body {
  position: absolute;
  inset: 0;
  container-type: inline-size;
  transform-style: preserve-3d;
  transform:
    rotateX(calc(var(--rx) - var(--my, 0) * 8deg))
    rotateY(calc(var(--turn, 0deg) + var(--mx, 0) * 10deg))
    rotateZ(var(--tilt, 0deg))
    translateZ(var(--lift));
  transition: transform .8s var(--ease);
}
/* l'ombre sur la table : plus diffuse quand la cassette est soulevée */
.tape__shadow {
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: -5%;
  height: 30%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(0 0 0 / .75), transparent);
  filter: blur(7px);
  transition: transform .8s var(--ease), opacity .8s;
}
.tape[aria-selected="true"] .tape__shadow { transform: translateY(16px) scale(1.08, 1.3); opacity: .55; }
/* la frise : ← 2020 · 2022 · 2025 → (l'année en cours en orange, les époques passées en clair) */
.tapes__nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(10px, 2vw, 22px);
  margin-top: 6px;
}
.tapes__years {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: clamp(4px, 1.2vw, 14px);
}
.tapes__years button {
  min-width: 3.4em;
  padding: .3em .5em;
  border: 0;
  background: none;
  font-family: "Reenie Beanie", "Segoe Print", cursive;
  font-size: clamp(1.4rem, 1.1rem + .8vw, 1.9rem);
  line-height: 1;
  color: var(--paper-soft);
  opacity: .72;   /* toujours grisées, mais lisibles (contraste ≥ 3:1 pour ce corps de texte) */
  cursor: pointer;
  transition: color .3s, opacity .3s;
}
.tapes__years button.is-past { opacity: .85; }
.tapes__years button[aria-current="true"] { color: var(--orange-hi); opacity: 1; }
.tapes__years button:hover { opacity: 1; }
.tapes__years button:focus-visible { outline: 2px solid var(--orange-hi); outline-offset: 2px; border-radius: 6px; }
.tapes__arrow:disabled { opacity: .3; cursor: default; }
.tapes__arrow {
  width: 48px;
  height: 48px;
  border: 1px solid var(--rule-strong);
  border-radius: 50%;
  background: rgb(11 8 7 / .6);
  font-size: 1.1rem;
  cursor: pointer;
  transition: border-color .25s, color .25s;
}
.tapes__arrow:hover { border-color: var(--orange); color: var(--orange-hi); }
.tapes__arrow:focus-visible { outline: 2px solid var(--orange-hi); outline-offset: 3px; }
/* lecture / pause de la cassette de devant : la place est toujours réservée, il n'apparaît que si elle a du son */
.tapes__play {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--orange);
  color: var(--night);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s, visibility 0s linear .35s, background-color .25s;
}
.tapes__play svg { grid-area: 1 / 1; width: 20px; height: 20px; fill: currentColor; }
.tapes__play .i-pause, .tapes__play[aria-pressed="true"] .i-play { display: none; }
.tapes__play[aria-pressed="true"] .i-pause { display: block; }
.tapes__play:hover { background: var(--orange-hi); }
.tapes__play:focus-visible { outline: 2px solid var(--orange-hi); outline-offset: 3px; }
.tapes.has-audio ~ .tapes__deck .tapes__play { opacity: 1; visibility: visible; transition: opacity .35s, background-color .25s; }
/* le lecteur sous la frise : lecture / pause, puis ce qui joue et où on en est */
.tapes__deck {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  margin-top: 14px;
}
.tapes__now {
  margin: 0;
  min-width: 15em;
  font-size: .8rem;
  line-height: 1.5;
  letter-spacing: .05em;
  font-variant-numeric: tabular-nums;
  color: var(--paper-soft);
}
/* le titre du morceau : l'écriture des musiques (celle de « Praeter ») */
.tapes__now strong {
  display: block;
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: 1.75em;
  line-height: 1;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--paper);
}

/* les bobines ne tournent que pendant la lecture ; la bande passe d'une bobine à l'autre au fil du morceau */
.tape__pack { transform-box: fill-box; transform-origin: center; transition: transform .45s linear; }
.tape__art { position: absolute; inset: 0; }
.tape__art svg { display: block; width: 100%; height: 100%; }
.tape__reel { transform-box: fill-box; transform-origin: center; }
.tape.is-playing .tape__reel { animation: reelSpin 2.8s linear infinite; }
@keyframes reelSpin { to { transform: rotate(-360deg); } }
/* le reflet sur le plastique, qui glisse avec l'inclinaison */
.tape__gloss {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 95.4%;
  border-radius: 3.5% / 5.6%;
  background: linear-gradient(112deg, rgb(255 255 255 / 0) 34%, rgb(255 255 255 / .1) 47%, rgb(255 255 255 / 0) 60%);
  background-size: 240% 100%;
  background-position: calc(50% - var(--mx, 0) * 60%) 0;
  mix-blend-mode: screen;
  pointer-events: none;
  transition: background-position .7s var(--ease);
}
/* l'écriture sur l'étiquette (repères dans le viewBox 400 × 262 du dessin) */
.tape__label {
  position: absolute;
  left: 15%;
  right: 9%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 4%;
  padding-bottom: .6%;
  font-family: "Reenie Beanie", "Segoe Print", cursive;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}
/* chaque époque son stylo : bille bleue, feutre noir, encre bleu nuit */
.tape--pop .tape__label { top: 4.6%; height: 15.3%; font-size: 6.8cqw; color: #2a3f86; transform: rotate(-1.2deg); }
.tape--rap .tape__label { top: 6.1%; height: 14.5%; font-size: 7.4cqw; color: #141211; transform: rotate(.6deg); }
.tape--rnb .tape__label { top: 15.3%; height: 13%; font-size: 6.4cqw; color: #1d2347; transform: rotate(-.6deg); }
.tape__year { font-size: 1.05em; }

/* les récits : empilés au même endroit, un seul visible, fondu sans saut de mise en page */
.tape-stories {
  display: grid;
  margin-top: clamp(26px, 3.5vw, 48px);
}
.tape-story {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(18px, 4vw, 64px);
  align-items: start;
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s ease, visibility 0s linear .45s;
}
.tape-story.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity .6s ease .12s, visibility 0s;
}
.tape-story__word {
  margin-top: 10px;
  font-family: var(--f-sans);   /* comme les titres de bloc : linéale large et grasse (27/10) */
  font-stretch: 112%;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.01em;
  font-size: clamp(1.5rem, .9rem + 2vw, 2.7rem);   /* un cran sous les titres de bloc */
  line-height: .95;
}
.tape-story__text { display: grid; gap: 14px; }
.tape-story__walkman {
  font-family: var(--f-serif);
  font-size: clamp(1.15rem, 1rem + .5vw, 1.5rem);
  line-height: 1.25;
}
.tape-story__walkman .tag { display: block; margin-bottom: 6px; }

@media (max-width: 760px) {
  .origine__head {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "tag" "title" "intro";
  }
  .origine__intro { margin-top: 22px; }
  /* sur téléphone : la cassette de devant plus large, les autres resserrées derrière elle */
  .tapes { --tw: 52cqw; --spread: .62; }
  .tape-story { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .tape.is-playing .tape__reel { animation: none; }
  .tape { transition: none; }
}
/* ---------- 02 · La plume ---------- */
/* La photo du studio en plein écran (comme « Le réel ») ; tout se pose dessus.
   Alexis est au centre de l'image (≈ 33 → 50 % de la largeur) : la colonne du milieu reste vide.
   À gauche, sur le mur et la table : le titre et l'encart des notes. À droite, sur le caisson sombre : les paroles. */
.plume__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 84%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 84%, transparent 100%);
}
.plume__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% 42%;
}
/* juste assez d'ombre à gauche pour lire le titre, la photo garde sa lumière ailleurs */
.plume__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgb(11 8 7 / .5) 0%, rgb(11 8 7 / .15) 30%, rgb(11 8 7 / 0) 45%);
}
.plume {
  display: grid;
  padding-block: clamp(10px, 2vw, 28px); /* moins de marge que les autres blocs : paroles et notes sont longues */
  grid-template-columns: minmax(0, 31fr) minmax(0, 20fr) minmax(0, 49fr);
  grid-template-rows: auto minmax(24px, 1fr) auto;
  grid-template-areas:
    "title . lyrics"
    ".     . lyrics"
    "notes . lyrics";
}
.plume__text {
  grid-area: title;
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: start;
  gap: 18px;
  text-shadow: 0 4px 40px rgb(11 8 7 / .6);
}
/* la verse se « dissout » dans la grille du bloc : paroles et notes sont placées séparément */
.verse { display: contents; }
.caps-aside {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--orange-hi);
  padding-bottom: .8em;
}
/* le texte annoté. Les paroles et les notes sont sur un fond sombre translucide et flouté :
   lisibles, mais la photo reste visible derrière. Les notes sont toutes empilées au même endroit,
   une seule visible : on passe de l'une à l'autre en fondu, rien ne bouge. */
.verse__text,
.verse__notes {
  position: relative;
  z-index: 2;
  border: 1px solid rgb(244 236 230 / .13);
  border-radius: 16px;
  background: rgb(11 8 7 / .46);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  backdrop-filter: blur(12px) saturate(1.1);
  box-shadow: 0 24px 60px -30px rgb(0 0 0 / .8);
}
.verse__text {
  grid-area: lyrics;
  align-self: center;
  padding: clamp(22px, 2.8vw, 38px);
}
.verse__source { margin-bottom: 18px; }
.verse__lines {
  margin: 0;
  display: grid;
  gap: .85em; /* entre les strophes */
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(1.05rem, .78rem + .65vw, 1.32rem);
  line-height: 1.3;
}
.verse__stanza { display: grid; gap: .1em; }
/* une ligne trop longue se replie avec un retrait, comme dans un livret */
.verse__lines p { margin: 0; padding-left: 1.1em; text-indent: -1.1em; }
/* un mot annoté : en orange, en italique, avec son numéro ; le mot ouvert est surligné (pas de trait) */
.verse__mark {
  display: inline;
  padding: 0 .08em;
  margin: 0 -.08em;
  border: 0;
  border-radius: .18em;
  background: transparent;
  font: inherit;
  font-style: italic;
  text-indent: 0; /* sinon le retrait des lignes repliées décale le mot dans son bouton */
  color: var(--orange-hi);
  cursor: pointer;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: color .25s, background-color .3s;
}
.verse__mark sup {
  margin-left: .12em;
  font-family: var(--f-sans);
  font-size: .4em;
  font-style: normal;
  font-weight: 700;
  line-height: 0;
  vertical-align: super;
}
.verse__mark:hover { color: #ffa66b; }
.verse__mark.is-active { color: #ffd0ad; background: rgb(var(--ember) / .38); }
.verse__mark:focus-visible { outline: 2px solid var(--orange-hi); outline-offset: 3px; }
.verse__notes {
  grid-area: notes;
  align-self: end;
  display: grid;
  padding: clamp(20px, 2.4vw, 30px);
  background: rgb(11 8 7 / .58);
}
.verse__body { display: grid; gap: .6em; }
.verse__body p {
  margin: 0;
  font-size: clamp(.8rem, .76rem + .15vw, .87rem);
  line-height: 1.5;
  color: rgb(244 236 230 / .9);
}
.verse__note {
  grid-area: 1 / 1;
  display: grid;
  align-content: start;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility 0s linear .35s;
}
.verse__note.is-active { opacity: 1; visibility: visible; transition: opacity .5s ease .08s, visibility 0s; }
.verse__word {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(1.35rem, 1.1rem + .8vw, 1.85rem);
  line-height: 1.1;
  color: #ffd0ad;
}
/* sous les paroles : la consigne, discrète */
.verse__hint {
  margin: 18px 0 0;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.3;
  color: var(--paper-soft);
}

/* ---------- 03 / 06 · Les titres ---------- */
.song {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 96px);
  align-items: center;
}
.song--flip .song__cover { order: 2; }
.song__cover {
  aspect-ratio: 1;
  width: 100%;
  max-width: 560px;
  justify-self: center;
}
.song__cover img { object-position: 50% 45%; }
/* Pochette officielle : affichée telle quelle, sans étalonnage */
.song__cover--art {
  position: relative;
  overflow: hidden;
  background: var(--night-2);
  box-shadow: 0 30px 80px -30px rgb(0 0 0 / .85);
}
.song__cover--art img { width: 100%; height: 100%; object-fit: cover; }
.song__mark {
  position: absolute;
  left: 16px;
  bottom: 12px;
  z-index: 1;
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: .18em;
  text-shadow: 0 2px 16px rgb(0 0 0 / .6);
}
.song__body { display: grid; gap: 10px; min-width: 0; container-type: inline-size; }
#leste .song__title { --fit: 3; }
.song__title {
  font-family: var(--f-serif);
  font-weight: 400;
  /* jamais plus large que sa colonne (« PRAETER » débordait de l'écran sur les fenêtres moyennes) :
     --fit = la largeur du mot, en hauteurs de lettre (PRAETER ≈ 4,6 ; LESTÉ ≈ 3) */
  font-size: min(clamp(4rem, 1.6rem + 10vw, 11.5rem), calc(100cqw / var(--fit, 4.6)));
  line-height: .85;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.player {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  max-width: 640px;
  margin-top: 26px;
}
.player__btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--orange);
  color: var(--night);
  cursor: pointer;
  transition: background-color .25s, transform .3s var(--ease);
}
.player__btn:hover { background: var(--orange-hi); transform: scale(1.05); }
.player__btn svg { width: 28px; height: 28px; fill: currentColor; }
.player__btn .i-pause { display: none; }
.player__btn[aria-pressed="true"] .i-play { display: none; }
.player__btn[aria-pressed="true"] .i-pause { display: block; }
/* tant qu'il ne joue pas, le bouton appelle le clic */
.player__btn[aria-pressed="false"]::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--orange);
  animation: ring 1.8s var(--ease) infinite;
}
@keyframes ring {
  from { transform: scale(1); opacity: .9; }
  to   { transform: scale(1.6); opacity: 0; }
}
.player__track { display: grid; gap: 4px; min-width: 0; }
.player__seek {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 24px;
  margin: 0;
  background: transparent;
  cursor: pointer;
}
.player__seek::-webkit-slider-runnable-track {
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(to right, var(--orange) var(--p, 0%), var(--rule-strong) var(--p, 0%));
}
.player__seek::-moz-range-track { height: 3px; border-radius: 3px; background: var(--rule-strong); }
.player__seek::-moz-range-progress { height: 3px; border-radius: 3px; background: var(--orange); }
.player__seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px; height: 14px;
  margin-top: -5.5px;
  border-radius: 50%;
  background: var(--paper);
}
.player__seek::-moz-range-thumb {
  width: 14px; height: 14px;
  border: 0;
  border-radius: 50%;
  background: var(--paper);
}
.player__time {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--paper-soft);
}
.viz {
  display: block;
  width: 100%;
  max-width: 640px;
  height: 80px;
  margin-top: 14px;
}
.song__note { max-width: 34em; margin-top: 6px; font-size: 13px; color: var(--paper-soft); }

/* ---------- 04 · Les liens ---------- */
.liens {
  display: grid;
  grid-template-columns: minmax(0, 11fr) minmax(0, 13fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}
.liens__photo { aspect-ratio: 3 / 2; width: 100%; }
/* Hiérarchie : le titre (typo du titre de « La plume »), puis la phrase dans la même famille, plus petite,
   puis le texte courant. Tout se lit dans l'ordre, aligné à gauche. */
.liens__words { display: grid; min-width: 0; }
.liens__title {
  margin: 0;
  display: grid;
  white-space: nowrap;
}
.liens__sentence {
  margin: clamp(18px, 2vw, 28px) 0 0;
  display: grid;
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: clamp(1.4rem, .9rem + 1.5vw, 2.6rem);
  line-height: 1.12;
}
.liens__unite { font-style: italic; color: var(--paper); }
.liens__fragile { font-style: italic; color: var(--orange-hi); }
.liens__body { margin-top: clamp(20px, 2.4vw, 32px); }
.liens__line { display: block; }
.liens__ch { display: inline-block; }
/* « fragilisent » : ses lettres sont très légèrement déboîtées (lisible, mais fragile) */
.liens__fragile .liens__ch:nth-child(odd) { transform: translateY(.03em) rotate(-2deg); }
.liens__fragile .liens__ch:nth-child(even) { transform: translateY(-.025em) rotate(1.6deg); }
.liens__fragile .liens__ch:nth-child(3n) { transform: translateY(.05em) rotate(3deg); }

/* L'animation (seulement si main.js l'a préparée) : les lignes montent une à une en sortant du flou,
   puis « unissent » se resserre et « fragilisent » se fissure. */
.liens__words.is-ready .liens__line {
  opacity: 0;
  transform: translateY(.45em);
  filter: blur(8px);
  transition: opacity .9s var(--ease), transform 1s var(--ease), filter .9s var(--ease);
  transition-delay: calc(var(--d, 0) * 160ms);
}
.liens__words.is-ready.is-in .liens__line { opacity: 1; transform: none; filter: none; }
.liens__words.is-ready .liens__unite .liens__ch {
  transform: translateX(calc((var(--i) - (var(--n) - 1) / 2) * .28em));
  transition: transform 1.2s var(--ease) .75s;
}
.liens__words.is-ready.is-in .liens__unite .liens__ch { transform: none; }
.liens__words.is-ready .liens__fragile .liens__ch { transition: transform .9s cubic-bezier(.3, 1.6, .5, 1) 1.15s; }
.liens__words.is-ready:not(.is-in) .liens__fragile .liens__ch { transform: none; }

/* ---------- 05 · Le réel ----------
   La mécanique d'origine (remise le 27/10) : --v va de 0 (vécu : net et terne) à 1 (imaginaire : flou de
   mouvement, couleurs chaudes), au curseur, à la souris sur l'image, ou par la petite démonstration d'arrivée. */
.floor--reel { --v: .6; }
.reel__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 78%, transparent 100%);
}
.reel__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  /* Vécu : net et terne. Imaginaire : flou de mouvement, couleurs chaudes */
  filter: url(#smear-live) saturate(calc(.3 + var(--v) * .95)) contrast(calc(1.1 - var(--v) * .1)) brightness(calc(.86 + var(--v) * .12));
  transform: scale(calc(1.04 + var(--v) * .08));
}
.reel__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgb(11 8 7 / .86) 0%, rgb(11 8 7 / .5) 42%, rgb(11 8 7 / .08) 78%),
    linear-gradient(to top, rgb(var(--ember) / .35), transparent 50%);
}
.reel {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: clamp(16px, 2.6vw, 28px);
}
.reel__intro { max-width: 26em; font-size: clamp(1rem, .9rem + .4vw, 1.2rem); }
/* le titre a la typo commune des titres de bloc (.h-title) ; ses lettres s'écartent un peu vers l'imaginaire */
.reel__title {
  position: relative;
  letter-spacing: calc(-.01em + var(--v) * .05em);
}
.reel__thin { display: block; }
/* « romancé » : en Cormorant italique (plus de police manuscrite à part) */
.reel__script {
  position: absolute;
  left: 30%;
  top: 62%;
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-size: .62em;
  letter-spacing: 0;
  text-transform: none;
  color: var(--orange-hi);
  white-space: nowrap;
  opacity: var(--v);
  transform: translateY(calc((1 - var(--v)) * 24px)) rotate(calc((1 - var(--v)) * -4deg));
  text-shadow: 0 2px 24px rgb(11 8 7 / .7);
}

.scrub {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  width: min(100%, 780px);
  margin-top: clamp(24px, 4vw, 48px);
  padding: 8px;
  border-radius: 999px;
  background: rgb(11 8 7 / .55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--rule-strong);
}
.scrub__end {
  min-height: 44px;
  padding: 0 1.3em;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  background: none;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .3s, color .3s, border-color .3s;
}
.scrub__end:hover { border-color: var(--orange); }
.scrub__end.is-near { background: var(--orange); border-color: var(--orange); color: var(--night); }
.scrub__track { position: relative; }
.scrub__hint {
  position: absolute;
  left: 50%;
  top: calc(100% + 12px);
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  transition: opacity .5s;
}
.scrub.is-used .scrub__hint { opacity: 0; }

.scrub input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 44px;
  margin: 0;
  background: transparent;
  cursor: grab;
}
.scrub input[type="range"]:active { cursor: grabbing; }
.scrub input[type="range"]::-webkit-slider-runnable-track {
  height: 2px;
  background: linear-gradient(to right, var(--rule-strong), var(--orange));
}
.scrub input[type="range"]::-moz-range-track {
  height: 2px;
  background: linear-gradient(to right, var(--rule-strong), var(--orange));
}
.scrub input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 40px; height: 40px;
  margin-top: -19px;
  border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b0807' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M9 7l-5 5 5 5M15 7l5 5-5 5'/></svg>") center / 60% no-repeat;
  box-shadow: 0 0 0 6px rgb(210 98 42 / .25);
}
.scrub input[type="range"]::-moz-range-thumb {
  width: 40px; height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b0807' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M9 7l-5 5 5 5M15 7l5 5-5 5'/></svg>") center / 60% no-repeat;
  box-shadow: 0 0 0 6px rgb(210 98 42 / .25);
}
.scrub:not(.is-used) input[type="range"]::-webkit-slider-thumb { animation: thumbPulse 1.6s var(--ease) infinite; }
.scrub:not(.is-used) input[type="range"]::-moz-range-thumb { animation: thumbPulse 1.6s var(--ease) infinite; }
@keyframes thumbPulse {
  0%   { box-shadow: 0 0 0 0 rgb(210 98 42 / .6); }
  100% { box-shadow: 0 0 0 18px rgb(210 98 42 / 0); }
}
@media (max-width: 520px) {
  .scrub { border-radius: 28px; grid-template-columns: 1fr 1fr; }
  .scrub__track { grid-column: 1 / -1; grid-row: 1; }
  .scrub__hint { top: auto; bottom: calc(100% + 2px); }
}

/* ---------- 07 · Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 3vw, 48px) clamp(28px, 6vw, 96px);
  align-content: center;
}
.contact__head { grid-row: 1 / 3; align-self: start; display: grid; gap: 14px; }

.contacts { list-style: none; margin: 0; padding: 0; }
.contacts li {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 18px;
  min-height: 62px;
  padding-block: 10px;
  border-top: 1px solid var(--rule-strong);
}
.contacts li:last-child { border-bottom: 1px solid var(--rule-strong); }
.contacts__role {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange-hi);
}
.contacts__value {
  font-family: var(--f-serif);
  font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem);
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color .25s;
}
a.contacts__value:hover { color: var(--orange-hi); }
.copy {
  min-height: 34px;
  padding: 0 1em;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  background: none;
  font-size: .75rem;
  font-weight: 600;
  cursor: pointer;
}
.copy:hover { border-color: var(--orange); background: var(--orange); color: var(--night); }

.chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 1.1em;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 500;
  text-decoration: none;
}
.chip:hover { border-color: var(--orange); color: var(--orange-hi); }
.chip.is-todo { border-style: dashed; color: var(--paper-soft); cursor: default; }
.chip.is-todo:hover { border-color: var(--rule-strong); color: var(--paper-soft); }

.press {
  grid-column: 1 / -1;
  display: grid;
  gap: 16px;
  margin-top: clamp(16px, 3vw, 40px);
  padding-top: 22px;
  border-top: 1px solid var(--rule-strong);
}
.press__bios { display: flex; flex-wrap: wrap; gap: 10px; }
.press__count { font-weight: 400; opacity: .7; font-variant-numeric: tabular-nums; }

.strip {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 10px;
}
/* 8 photos dans la bande ; les 21 autres se voient dans la visionneuse (bouton « 29 photos à voir ») */
.strip__more-item { display: none; }
.shot.strip__all {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 6px;
  border: 1px solid var(--rule-strong);
  background: rgb(244 236 230 / .03);
  font-size: .72rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
  color: var(--paper-soft);
  cursor: pointer;
  transition: border-color .25s, color .25s;
}
.strip__all-n {
  font-family: var(--f-serif);
  font-size: 2.6rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  color: var(--paper);
}
.strip__all:hover,
.strip__all:focus-visible { border-color: var(--orange); color: var(--orange-hi); }
/* le pack HD : un bouton par séance, et le crédit */
.pack { display: grid; gap: 12px; }
.pack__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; }
.pack__credit { font-size: .85rem; color: var(--paper-soft); }
.pack__credit strong { font-weight: 600; color: var(--paper); }
.pack__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pack__size { font-weight: 400; opacity: .7; font-variant-numeric: tabular-nums; }
.pack__list .pill:disabled { cursor: progress; border-color: var(--orange); }   /* pendant la préparation du .zip */
.shot {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  padding: 0;
  border: 0;
  cursor: zoom-in;
}
.shot img { transition: transform .8s var(--ease); }
.shot:hover img,
.shot:focus-visible img { transform: scale(1.05); }


/* ---------- 08 · L'ADN du projet : le contenu du panneau de gauche, posé en bas de page ----------
   Grand écran : les trois sorties côte à côte, pochette en haut. Plus étroit : les cases du panneau, empilées. */
.adn {
  position: relative;
  flex: 1;
  display: grid;
  align-content: center;
  gap: clamp(28px, 4vw, 56px);
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  padding-top: clamp(28px, 4vw, 56px);
}
.adn__body { display: grid; gap: clamp(24px, 3vw, 40px); }
.adn .releases { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.adn .releases__sep { display: none; }   /* « Premier EP », « Titre », « Single » suffisent ici */
.adn .rel { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; align-items: stretch; row-gap: 16px; padding: 14px 14px 18px; }
.adn .rel__cover { order: -1; width: 100%; height: auto; aspect-ratio: 1; }
/* les trois boutons « Écouter » sur la même ligne, même quand un titre passe sur deux lignes */
.adn .rel__main { display: flex; flex-direction: column; align-items: flex-start; }
.adn .rel__open { margin-top: auto; }
.adn .listen__socials { justify-items: center; gap: 10px; }
.adn .platforms { justify-content: center; }
.adn .listen__tree { justify-self: center; }
@media (max-width: 900px) {
  .adn .releases { grid-template-columns: minmax(0, 1fr); width: 100%; max-width: 560px; margin-inline: auto; }
  .adn .rel { grid-template-columns: minmax(0, 1fr) 96px; grid-template-rows: auto; align-items: center; padding: 16px; }
  .adn .rel__cover { order: 0; width: 96px; height: 96px; aspect-ratio: auto; }
  .adn .rel__open { margin-top: 6px; }
}
/* sur téléphone, le dock est en bas de l'écran : le dernier bloc lui laisse la place (« Revenir au début » reste visible) */
@media (max-width: 760px) {
  #adn .floor__inner { padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 96px); }
}

.foot {
  margin-top: 40px;
  text-align: center;
  font-size: .85rem;
}
.foot a { color: var(--paper-soft); text-underline-offset: .25em; }
.foot a:hover { color: var(--orange-hi); }

/* ---------- Visionneuse ---------- */
.lightbox {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgb(11 8 7 / .97);
  color: var(--paper);
}
.lightbox::backdrop { background: transparent; }
.lightbox__inner {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: 100%;
  padding: calc(env(safe-area-inset-top, 0px) + 12px) var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 16px);
}
.lightbox__top { display: flex; align-items: center; justify-content: space-between; min-height: 48px; }
.lightbox__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  padding-block: 8px;
}
.lightbox__stage img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  min-height: 0;
  object-fit: contain;
}
.lightbox__nav {
  position: absolute;
  top: 50%;
  width: 52px; height: 52px;
  margin-top: -26px;
  border: 1px solid var(--rule-strong);
  border-radius: 50%;
  background: rgb(11 8 7 / .6);
  font-size: 1.2rem;
  cursor: pointer;
}
.lightbox__nav:hover { border-color: var(--orange); color: var(--orange-hi); }
.lightbox__nav--prev { left: 0; }
.lightbox__nav--next { right: 0; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 74px);
  z-index: 95;
  max-width: calc(100vw - 32px);
  padding: .8em 1.3em;
  border-radius: 999px;
  background: var(--orange);
  color: var(--night);
  font-size: .8rem;
  font-weight: 600;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .strip {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(130px, 28%);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
  }
  .strip li { scroll-snap-align: start; }
}

@media (max-width: 860px) {
  .floor__inner { min-height: 0; }
  .song, .liens, .contact { grid-template-columns: minmax(0, 1fr); }
  .song--flip .song__cover { order: 0; }
  .song__cover { max-width: 420px; justify-self: start; }
  .liens__photo { order: 2; }
  /* sur téléphone : la photo en haut, le titre qui la chevauche, puis les paroles et les notes */
  .plume {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-template-areas: "title" "lyrics" "notes";
    row-gap: 18px;
    padding-top: 46vw;
  }
  .plume__bg {
    bottom: auto;
    height: 82vw;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 62%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 62%, transparent 100%);
  }
  .verse__notes { align-self: stretch; }
  .reel__script { left: 18%; }
  .contact__head { grid-row: auto; }
}

@media (max-width: 520px) {
  .contacts li { grid-template-columns: minmax(0, 1fr) auto; }
  .contacts__role { grid-column: 1 / -1; }
  .player__btn { width: 60px; height: 60px; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .grain { animation: none; }
  [data-drift] { transform: none; }
}

/* ==========================================================================
   Bande de gauche + panneau « Écouter Langa »
   ========================================================================== */
:root { --rail-w: 56px; }

@media (min-width: 761px) {
  main { margin-left: var(--rail-w); }
  .top { padding-left: calc(var(--rail-w) + var(--gutter)); }
  .dock { margin-left: calc(var(--rail-w) / 2); }
  .sound-gate { left: calc(var(--rail-w) + var(--gutter)); }
}

.rail {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 65;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: var(--rail-w);
  padding: calc(env(safe-area-inset-top, 0px) + 22px) 0 calc(env(safe-area-inset-bottom, 0px) + 18px);
  border: 0;
  border-right: 1px solid var(--rule);
  background:
    linear-gradient(to bottom, transparent, rgb(var(--ember) / .16) 50%, transparent),
    var(--night);
  color: var(--paper);
  cursor: pointer;
  transition: width .45s var(--ease), border-color .3s, transform .7s var(--ease);
}
/* arrivé au bloc 08 « L'ADN du projet » (son contenu est alors sous les yeux), la bande glisse hors de l'écran */
body.rail-away .rail { transform: translateX(-100%); }
.rail:hover,
.rail:focus-visible { width: calc(var(--rail-w) + 14px); border-right-color: rgb(var(--ember) / .9); }
/* « sideways » : les lettres sont simplement couchées ; sans ça, le navigateur prend la forme verticale
   de l'apostrophe (un petit tiret) dans « l'ADN » */
.rail__label {
  writing-mode: vertical-rl;
  text-orientation: sideways;
  transform: rotate(180deg);
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .3s;
}
.rail:hover .rail__label,
.rail:focus-visible .rail__label { color: var(--orange-hi); }
.rail__plus {
  margin-top: auto;   /* le libellé en haut, le bouton en bas */
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--night);
  font-size: .9rem;
  font-weight: 700;
  transition: transform .4s var(--ease), background-color .3s;
}
.rail:hover .rail__plus { transform: rotate(45deg) scale(1.08); background: var(--orange-hi); }
.rail__hint {
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  display: inline-flex;
  gap: .4em;
  padding: .55em 1em;
  border-radius: 999px;
  background: var(--orange);
  color: var(--night);
  font-size: .78rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(-8px, -50%);
  transition: opacity .3s, transform .4s var(--ease);
}
.rail:hover .rail__hint,
.rail:focus-visible .rail__hint { opacity: 1; transform: translate(0, -50%); }

@media (max-width: 760px) {
  /* Sur mobile : une petite poignée au bord gauche (juste le bouton) */
  .rail {
    top: 50%;
    bottom: auto;
    width: 34px;
    height: auto;
    padding: 10px 0;
    gap: 8px;
    border: 1px solid rgb(var(--ember) / .7);
    border-left: 0;
    border-radius: 0 16px 16px 0;
    background: rgb(11 8 7 / .82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transform: translateY(-50%);
  }
  .rail:hover, .rail:focus-visible { width: 34px; }
  body.rail-away .rail { transform: translate(-100%, -50%); }
  .rail__label, .rail__hint { display: none; }
  .rail__plus { margin-top: 0; width: 24px; height: 24px; font-size: .75rem; }
}

/* Le panneau */
.listen {
  position: fixed;
  inset: 0 auto 0 0;
  width: min(480px, calc(100vw - 20px));
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-right: 1px solid rgb(var(--ember) / .7);
  background:
    radial-gradient(80% 40% at 0% 0%, rgb(var(--ember) / .3), transparent 70%),
    #100b09;
  color: var(--paper);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.listen[open] { animation: listenIn .55s var(--ease) both; }
.listen.is-closing { animation: listenOut .3s ease-in both; }
.listen::backdrop {
  background: rgb(5 3 2 / .6);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
@keyframes listenIn { from { transform: translateX(-100%); } }
@keyframes listenOut { to { transform: translateX(-100%); } }

.listen__inner {
  display: grid;
  gap: 22px;
  padding: calc(env(safe-area-inset-top, 0px) + 22px) clamp(18px, 4vw, 32px) calc(env(safe-area-inset-bottom, 0px) + 28px);
}
.listen__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.listen__title {
  margin-top: 6px;
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 2rem + 2vw, 3.4rem);
  line-height: .95;
  text-transform: uppercase;
}

.releases { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.rel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  align-items: center;
  column-gap: 16px;
  padding: 16px;
  border-radius: 14px;
  background: rgb(244 236 230 / .04);
  border: 1px solid var(--rule);
  scroll-margin-top: 20px;
  transition: border-color .4s, background-color .4s;
}
.rel__main { display: grid; gap: 8px; min-width: 0; }
.rel:hover, .rel:focus-within { border-color: rgb(var(--ember) / .9); background: rgb(var(--ember) / .1); }
/* La pochette est toujours visible, à emplacement fixe : rien ne bouge autour */
.rel__cover {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--rule);
  background: rgb(244 236 230 / .04);
}
.rel__cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rel__cover--negative img { filter: invert(1); }
.releases__sep { margin-top: 8px; }
.rel.is-target { border-color: var(--orange); background: rgb(var(--ember) / .18); }
/* un seul bouton par sortie : il ouvre la fenêtre des plateformes */
.rel__open {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: .45em;
  min-height: 36px;
  margin-top: 6px;
  padding: 0 1.1em;
  border: 1px solid rgb(var(--ember) / .9);
  border-radius: 999px;
  background: none;
  color: var(--orange-hi);
  font: inherit;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
.rel__open span { transition: transform .35s var(--ease); }
.rel__open:hover, .rel__open:focus-visible { border-color: var(--orange); background: var(--orange); color: var(--night); }
.rel__open:hover span { transform: translate(2px, -2px); }
.rel__open:focus-visible { outline: 2px solid var(--orange-hi); outline-offset: 3px; }
.rel__kind {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange-hi);
}
.rel__title {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: 1.7rem;
  line-height: 1.05;
}
.rel__title em { font-weight: 400; color: var(--paper-soft); }

:is(.listen, .adn) .platforms {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
:is(.listen, .adn) .platforms a {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  min-height: 34px;
  padding: 0 .95em;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .25s, color .25s, border-color .25s;
}
:is(.listen, .adn) .platforms a span { font-weight: 400; color: var(--paper-soft); }
:is(.listen, .adn) .platforms a:hover { border-color: var(--orange); background: var(--orange); color: var(--night); }
:is(.listen, .adn) .platforms a:hover span { color: var(--night); }

/* La fenêtre des plateformes d'une sortie, au centre de l'écran */
.plat {
  width: min(400px, calc(100vw - 32px));
  max-height: calc(100svh - 32px);
  margin: auto;
  padding: 0;
  border: 1px solid rgb(var(--ember) / .8);
  border-radius: 22px;
  background:
    radial-gradient(90% 60% at 0% 0%, rgb(var(--ember) / .32), transparent 70%),
    #120c0a;
  color: var(--paper);
  box-shadow: 0 30px 80px rgb(0 0 0 / .6);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.plat::backdrop {
  background: rgb(5 3 2 / .55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
/* elle part du bouton cliqué, grandit jusqu'au centre avec un léger rebond, puis les plateformes arrivent une à une */
.plat[open] { animation: platIn .6s cubic-bezier(.2, 1.25, .35, 1) both; }
.plat[open]::backdrop { animation: platFade .4s ease both; }
.plat.is-closing { animation: platOut .3s cubic-bezier(.5, 0, .75, 0) both; }
.plat.is-closing::backdrop { animation: platFade .3s ease reverse both; }
@keyframes platIn {
  from { opacity: 0; transform: translate(var(--fx, 0), var(--fy, 0)) scale(.15); }
  30%  { opacity: 1; }
}
@keyframes platOut {
  to { opacity: 0; transform: translate(var(--fx, 0), var(--fy, 0)) scale(.15); }
}
@keyframes platFade { from { opacity: 0; } }

.plat__inner { display: grid; gap: 18px; padding: 18px; }
.plat__head {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}
.plat__cover {
  width: 64px;
  height: 64px;
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--rule);
}
.plat__cover[hidden] { display: none; }
.plat__cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.plat__name { display: grid; gap: 4px; min-width: 0; }
.plat__title {
  margin: 0;
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.05;
}
.plat__title em { font-weight: 400; color: var(--paper-soft); }
.plat__close {
  align-self: start;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--rule-strong);
  border-radius: 50%;
  background: none;
  color: var(--paper);
  font: inherit;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color .25s, color .25s;
}
.plat__close:hover, .plat__close:focus-visible { border-color: var(--orange); color: var(--orange-hi); }

.plat__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.plat__list li { animation: platRow .45s var(--ease) both; animation-delay: calc(.18s + var(--i, 0) * .055s); }
@keyframes platRow { from { opacity: 0; transform: translateY(10px); } }
.plat__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: rgb(244 236 230 / .04);
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .25s, color .25s, border-color .25s;
}
.plat__list a::after { content: "↗"; transition: transform .35s var(--ease); }
.plat__list a:hover, .plat__list a:focus-visible { border-color: var(--orange); background: var(--orange); color: var(--night); }
.plat__list a:hover::after { transform: translate(2px, -2px); }

@media (prefers-reduced-motion: reduce) {
  .plat[open], .plat.is-closing, .plat[open]::backdrop, .plat.is-closing::backdrop, .plat__list li { animation: none; }
}

.listen__socials { display: grid; gap: 6px; }
.listen__tree {
  justify-self: start;
  font-size: .85rem;
  color: var(--paper-soft);
  text-underline-offset: .25em;
}
.listen__tree:hover { color: var(--orange-hi); }

/* Dans les blocs titres (l'encart « Prêt à découvrir l'autre son ? » a été retiré à la demande de l'équipe le 27/10) */
.song__listen { justify-self: start; margin-top: 8px; white-space: normal; text-align: left; }
.chip--btn { background: none; font: inherit; font-size: .85rem; font-weight: 500; color: var(--paper); cursor: pointer; }
.chip--btn:hover { border-color: var(--orange); color: var(--orange-hi); }

@media (prefers-reduced-motion: reduce) {
  .listen[open], .listen.is-closing { animation: none; }
}

/* ==========================================================================
   Entrée : « LANGA » en grand sur le noir, puis un fondu sur la pochette
   (la lampe et sa chaînette ont été retirées à la demande de l'équipe le 13/10).
   Même police et même taille que le titre de la pochette ; les lettres se resserrent et deviennent nettes.
   ========================================================================== */
.intro {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  place-items: center;
  background-color: var(--night);
  color: var(--paper);
  cursor: pointer;
  transition: background-color 1.3s cubic-bezier(.4, 0, .2, 1), opacity 1.2s cubic-bezier(.4, 0, .2, 1);
}
.show-intro .intro { display: grid; }
/* sortie : le noir s'efface pendant que LANGA glisse jusqu'au titre de la pochette (caché d'ici là) */
.intro.is-out { background-color: rgb(11 8 7 / 0); pointer-events: none; }
.intro.is-out.is-fade { opacity: 0; }
.show-intro .cover__name { opacity: 0; }
.intro__name {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(5rem, 2rem + 14vw, 15.5rem);   /* comme le titre de la pochette */
  line-height: .84;
  letter-spacing: .01em;
  margin-right: -.01em;   /* l'espacement après le A ne décentre pas le mot */
  text-shadow: 0 6px 60px rgb(11 8 7 / .5);
  opacity: 0;             /* on attend la police avant de l'afficher */
  transition: transform 1.3s cubic-bezier(.65, 0, .25, 1);
}
.intro.is-ready .intro__name { animation: introName 1.6s cubic-bezier(.2, .7, .1, 1) both; }
@keyframes introName {
  from { opacity: 0; letter-spacing: .28em; margin-right: -.28em; filter: blur(14px); }
  to   { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .intro.is-ready .intro__name { animation: none; opacity: 1; }
}

/* ==========================================================================
   Volume
   ========================================================================== */
.volume {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  min-height: 42px;
  padding: 0 .95em;
  border-radius: 999px;
  background: rgb(11 8 7 / .6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgb(244 236 230 / .16);
  color: var(--paper-soft);
}
.volume__icon { flex: none; width: 16px; height: 16px; fill: currentColor; }
.volume__range {
  -webkit-appearance: none;
  appearance: none;
  width: 84px;
  height: 22px;
  margin: 0;
  background: transparent;
  cursor: pointer;
}
.volume__range::-webkit-slider-runnable-track {
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(to right, var(--orange) var(--vol, 55%), var(--rule-strong) var(--vol, 55%));
}
.volume__range::-moz-range-track { height: 3px; border-radius: 3px; background: var(--rule-strong); }
.volume__range::-moz-range-progress { height: 3px; border-radius: 3px; background: var(--orange); }
.volume__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 13px;
  height: 13px;
  margin-top: -5px;
  border-radius: 50%;
  background: var(--paper);
}
.volume__range::-moz-range-thumb { width: 13px; height: 13px; border: 0; border-radius: 50%; background: var(--paper); }
.player__vol {
  display: flex;
  align-items: center;
  gap: .6em;
  margin-top: 6px;
  font-size: 12px;
  color: var(--paper-soft);
}
.player__vol .volume__range { width: 130px; }
@media (max-width: 760px) {
  .top .volume { display: none; }
}

/* ==========================================================================
   Curseur : un petit point blanc en « différence »
   (blanc sur le sombre, noir sur le clair)
   ========================================================================== */
.wcursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 200;
  display: none;
  pointer-events: none;
  mix-blend-mode: difference;
}
.has-wcursor .wcursor { display: block; }
.has-wcursor, .has-wcursor * { cursor: none !important; }
.wcursor.is-hidden { opacity: 0; }
.wcursor__dot {
  position: absolute;
  left: -6px;
  top: -6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  will-change: transform;
}

/* ==========================================================================
   Transitions plus douces
   ========================================================================== */
/* la barre de défilement garde sa place : rien ne saute quand la page se débloque */
html { scrollbar-gutter: stable; }

/* bas de la pochette : la photo et ses lueurs se fondent dans le noir du bloc suivant */
.cover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  height: 42%;
  pointer-events: none;
  background: linear-gradient(to bottom, rgb(11 8 7 / 0) 0%, rgb(11 8 7 / .55) 45%, var(--night) 92%);
}
/* haut et bas de chaque bloc : les lueurs s'éteignent avant la jointure */
.floor::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, var(--night) 0, rgb(11 8 7 / 0) 180px, rgb(11 8 7 / 0) calc(100% - 180px), var(--night) 100%);
}

/* sortie de l'entrée : pendant que le noir s'efface et que LANGA se pose, la Tracklist puis les réseaux montent doucement */
.is-revealing .tracklist { animation: liftIn 1.4s cubic-bezier(.2, .7, .1, 1) .35s both; }
.is-revealing .cover__socials { animation: liftIn 1.1s cubic-bezier(.2, .7, .1, 1) 1s both; }
@keyframes liftIn {
  from { opacity: 0; transform: translateY(16px); }
}

/* ==========================================================================
   Bande de gauche : l'ADN du projet
   ========================================================================== */
/* Plus visible (demande de l'équipe le 22/10) : « Explorer l'ADN du projet » en grand, un reflet orange le
   parcourt de temps en temps dans le sens de la lecture, et le bouton ↗ bat doucement : on comprend que la bande
   se clique. Une fois le panneau ouvert, le reflet et le battement s'arrêtent.
   Le 27/10 : le libellé n'est plus étiré sur toute la hauteur (« ça fait trop lettres espacées ») ; il est posé
   au milieu de la bande, lettres serrées. */
.rail {
  border-right-color: rgb(var(--ember) / .65);
  background:
    linear-gradient(to bottom, rgb(var(--ember) / .12), rgb(var(--ember) / .3) 50%, rgb(var(--ember) / .12)),
    var(--night);
}
.rail__label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(180deg);
  font-size: clamp(14px, 1.1vh + 7px, 21px);
  letter-spacing: .02em;
  color: var(--paper);
  background: linear-gradient(to bottom, var(--paper) 0 44%, var(--orange-hi) 50%, var(--paper) 56% 100%) 0 100% / 100% 300% no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: railGlint 7s cubic-bezier(.45, 0, .25, 1) 2s infinite;
}
.rail:hover .rail__label,
.rail:focus-visible .rail__label { -webkit-text-fill-color: var(--orange-hi); }
/* le reflet monte le long du mot (le libellé est retourné : 100 % → 0 % le fait aller de bas en haut) */
@keyframes railGlint {
  0%, 62% { background-position: 0 100%; }
  100% { background-position: 0 0; }
}
.rail__plus { position: relative; }
.rail__plus::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  animation: railRing 2.8s var(--ease) infinite;
}
@keyframes railRing {
  0% { box-shadow: 0 0 0 0 rgb(236 125 60 / .6); }
  70%, 100% { box-shadow: 0 0 0 11px rgb(236 125 60 / 0); }
}
/* la première fois qu'on commence à descendre, la bulle « L'ADN du projet · toutes les plateformes » se montre un instant */
.rail.is-peek .rail__hint { opacity: 1; transform: translate(0, -50%); }
body.rail-seen .rail__label,
body.rail-seen .rail__plus::after { animation: none; }
@media (max-width: 760px) {
  .rail__label { display: none; }   /* sur téléphone, la poignée ne garde que le bouton (qui bat) */
}


/* ==========================================================================
   Pop-up bios presse
   ========================================================================== */
.bio-dialog {
  width: min(680px, calc(100vw - 24px));
  max-height: min(86vh, 760px);
  margin: auto;
  padding: 0;
  border: 1px solid rgb(var(--ember) / .7);
  border-radius: 20px;
  background:
    radial-gradient(70% 40% at 0% 0%, rgb(var(--ember) / .25), transparent 70%),
    #100b09;
  color: var(--paper);
  box-shadow: 0 40px 120px -30px rgb(0 0 0 / .9);
  overflow: hidden;
}
.bio-dialog[open] { animation: bioIn .45s cubic-bezier(.2, .7, .1, 1) both; }
.bio-dialog::backdrop {
  background: rgb(5 3 2 / .65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
@keyframes bioIn {
  from { opacity: 0; transform: translateY(14px) scale(.98); }
}
.bio-dialog__inner {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 16px;
  max-height: inherit;
  padding: clamp(18px, 3vw, 28px);
}
.bio-dialog__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.bio-dialog__title {
  margin-top: 6px;
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(2rem, 1.6rem + 1.6vw, 2.8rem);
  line-height: 1;
  text-transform: uppercase;
}
.bio-dialog__tabs { display: flex; gap: 6px; }
.bio-dialog__tabs button {
  min-height: 36px;
  padding: 0 1em;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  background: none;
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
.bio-dialog__tabs button[aria-selected="true"] { background: var(--paper); border-color: var(--paper); color: var(--night); }
.bio-dialog__text {
  display: grid;
  gap: 1em;
  min-height: 0;
  overflow-y: auto;
  padding: 18px 20px;
  border-radius: 12px;
  background: rgb(244 236 230 / .05);
  border: 1px solid var(--rule);
  font-size: 1rem;
  line-height: 1.65;
}
.bio-dialog__text p { margin: 0; max-width: 60ch; }
/* Mentions légales : même habillage que les bios ; sommaire en pastilles, texte en sections */
.legal__nav { display: flex; flex-wrap: wrap; gap: 6px; }
.legal__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 1em;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .25s, color .25s, border-color .25s;
}
.legal__nav a:hover, .legal__nav a:focus-visible { border-color: var(--orange); background: var(--orange); color: var(--night); }
.legal__text { position: relative; gap: 1.6em; }
.legal__text:focus-visible { outline: 2px solid var(--orange-hi); outline-offset: 2px; }
.legal__text section { display: grid; gap: .8em; }
.legal__text h3 {
  margin: 0;
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.1;
}
.legal__text ul { margin: 0; padding-left: 1.2em; display: grid; gap: .3em; max-width: 60ch; }
.legal__text a { color: var(--orange-hi); text-underline-offset: .2em; }
.legal__facts { display: grid; gap: 6px; margin: 0; }
.legal__facts div { display: grid; grid-template-columns: minmax(8.5rem, 13rem) minmax(0, 1fr); gap: 4px 16px; }
.legal__facts dt { color: var(--paper-soft); }
.legal__facts dd { margin: 0; }
@media (max-width: 520px) { .legal__facts div { grid-template-columns: minmax(0, 1fr); } }
.legal__date { font-size: .8rem; color: var(--paper-soft); }
.bio-dialog__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; }
.bio-dialog__count { font-size: .8rem; color: var(--paper-soft); font-variant-numeric: tabular-nums; }

/* ==========================================================================
   Carte à partager (même habillage que les bios presse)
   ========================================================================== */
.card-dialog {
  width: min(1060px, calc(100vw - 24px));
  max-height: min(92vh, 900px);
}
.card-dialog__inner {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 18px;
  max-height: inherit;
  padding: clamp(18px, 3vw, 28px);
}
.card-dialog__body {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(18px, 3vw, 36px);
  min-height: 0;
  overflow-y: auto;
}
.card-preview { margin: 0; display: grid; place-items: start center; }
.card-preview canvas,
.card-preview img {
  display: block;
  width: auto;
  height: min(calc(92vh - 170px), 640px);
  max-width: 100%;
  border-radius: 10px;
  background: var(--night-2);
  box-shadow: 0 30px 80px -30px rgb(0 0 0 / .9);
  transition: opacity .3s;
}
/* dès que l'image est prête, c'est elle qu'on montre (enregistrable au clic droit / appui long) */
.card-preview.has-img canvas,
.card-preview img[hidden] { display: none; }
.card-dialog.is-busy .card-preview > * { opacity: .55; }
.card-controls { display: grid; align-content: start; gap: 18px; min-width: 0; }
.card-field { min-width: 0; margin: 0; padding: 0; border: 0; }
.card-field legend { padding: 0; margin-bottom: 8px; }
.card-field input { position: absolute; opacity: 0; pointer-events: none; }
.card-seg, .card-quotes { display: flex; flex-wrap: wrap; gap: 6px; }
.card-seg span,
.card-quotes span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: .35em .95em;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
.card-quotes span {
  border-radius: 12px;
  font-family: var(--f-serif);
  font-size: .98rem;
  font-style: italic;
  font-weight: 500;
}
.card-seg label:hover span, .card-quotes label:hover span { border-color: var(--orange); }
.card-seg label:has(input:checked) span,
.card-quotes label:has(input:checked) span { background: var(--paper); border-color: var(--paper); color: var(--night); }
.card-seg label:has(input:focus-visible) span,
.card-quotes label:has(input:focus-visible) span { outline: 2px solid var(--orange-hi); outline-offset: 2px; }
.card-photos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.card-photos label {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
}
.card-photos img { width: 100%; height: 100%; object-fit: cover; opacity: .5; transition: opacity .25s; }
.card-photos label::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-radius: inherit;
  transition: border-color .25s;
}
.card-photos label:hover img { opacity: .85; }
.card-photos label:has(input:checked) img { opacity: 1; }
.card-photos label:has(input:checked)::after { border-color: var(--orange); }
.card-photos label:has(input:focus-visible)::after { border-color: var(--orange-hi); }
.card-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}
#cardSave { min-width: 14em; }
.card-status {
  flex: 1 1 16em;
  align-self: center;
  margin: 0;
  font-size: .78rem;
  line-height: 1.4;
  color: var(--paper-soft);
}
.card-status:empty { display: none; }
.lightbox__actions { display: flex; gap: 8px; }
@media (max-width: 760px) {
  .card-dialog__body { grid-template-columns: minmax(0, 1fr); }
  .card-preview canvas, .card-preview img { height: min(48vh, 440px); }
  .card-status { flex-basis: 100%; }
  .card-actions { justify-content: stretch; }
  .card-actions .pill { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .bio-dialog[open], .is-revealing .cover__socials,
  .is-revealing .tracklist, .is-revealing .cover__desk { animation: none; }
}

/* ==========================================================================
   04 · Les liens : photo à gauche du curseur, live session « Distant » à droite
   ========================================================================== */
.compare {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--night-2);
  user-select: none;
  -webkit-user-select: none;
  box-shadow: 0 30px 80px -40px rgb(0 0 0 / .9);
}
.compare__video,
.compare__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.compare__photo {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.compare__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: var(--paper);
  box-shadow: 0 0 14px rgb(0 0 0 / .55);
  pointer-events: none;
}
.compare__knob {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--night);
  box-shadow: 0 0 0 6px rgb(210 98 42 / .25), 0 8px 24px rgb(0 0 0 / .45);
  transition: transform .25s var(--ease);
}
.compare__knob svg { width: 22px; height: 22px; }
.compare:hover .compare__knob { transform: scale(1.08); }
.compare__tag {
  position: absolute;
  top: 12px;
  padding: .4em .85em;
  border-radius: 999px;
  background: rgb(11 8 7 / .66);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  pointer-events: none;
  transition: opacity .3s;
}
.compare__tag--photo { left: 12px; }
.compare__tag--video { right: 12px; color: var(--orange-hi); text-align: right; }
/* le crédit de la live session (demande de l'équipe le 22/10), sur l'étiquette de la vidéo plutôt que sous elle */
.compare__tag small {
  display: block;
  margin-top: .2em;
  font-size: 9.5px;
  letter-spacing: .1em;
  color: var(--paper-soft);
}
.compare__tag:has(small) { border-radius: 12px; }
/* toute l'image sert de poignée : on attrape n'importe où et on glisse */
.compare__range {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
  touch-action: pan-y;
}
.compare__range::-webkit-slider-thumb { -webkit-appearance: none; width: 48px; height: 400px; }
.compare__range::-moz-range-thumb { width: 48px; height: 400px; border: 0; }
.compare:has(.compare__range:focus-visible) .compare__knob { outline: 2px solid var(--paper); outline-offset: 3px; }
.compare__sound,
.compare__zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: .5em;
  min-height: 38px;
  padding: 0 1em;
  border: 1px solid rgb(244 236 230 / .3);
  border-radius: 999px;
  background: rgb(11 8 7 / .7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
.compare__sound svg,
.compare__zoom svg { width: 16px; height: 16px; }
.compare__sound:hover,
.compare__zoom:hover { border-color: var(--orange); }
.compare__sound[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: var(--night); }
/* « Voir en grand » : en bas à gauche, en face de « Écouter la session » */
.compare__zoom { right: auto; left: 12px; }

/* ==========================================================================
   La live session « Distant » en grand (fenêtre ouverte par « Voir en grand »)
   ========================================================================== */
.video-dialog {
  width: min(1240px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--rule-strong);
  border-radius: 18px;
  background: var(--night-2);
  color: var(--paper);
  box-shadow: 0 40px 120px -30px rgb(0 0 0 / .9);
}
.video-dialog::backdrop { background: rgb(11 8 7 / .84); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.video-dialog[open] { animation: videoIn .45s var(--ease) both; }
@keyframes videoIn { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.video-dialog__inner { display: grid; gap: 14px; padding: clamp(14px, 2vw, 22px); }
.video-dialog__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.video-dialog__title {
  margin: 4px 0 0;
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 1rem + 2vw, 2.8rem);
  line-height: .95;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.video-dialog__video {
  display: block;
  width: 100%;
  max-height: calc(100vh - 160px);
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  background: #000;
}
@media (prefers-reduced-motion: reduce) {
  .video-dialog[open] { animation: none; }
}
@media (max-width: 520px) {
  /* sur petit écran : les icônes seules (le texte reste lu par les lecteurs d'écran) */
  .compare__sound span, .compare__zoom span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .compare__sound, .compare__zoom { padding: 0 .8em; }
}
