/* Lucien Kimono — v1
   Plan : noir pur, blanc, un gris pour les métadonnées. Archivo partout :
   largeur normale pour le texte, étroite et lourde pour les titres.
   Un seul geste fort : les titres géants posés sur des plans pleine largeur. */

:root {
  --bg: #000;
  --fg: #fff;
  --mute: #8c8c8c;
  --pad: clamp(16px, 2.6vw, 40px);
  --head-h: 56px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--head-h); background: var(--bg); }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-stretch: 100%;
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 4px; }

/* ---------- Header ---------- */
.head {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  height: var(--head-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--pad);
  mix-blend-mode: difference; color: #fff;
  font-size: 14px; font-weight: 500;
}
.head nav { display: flex; gap: clamp(14px, 2.4vw, 32px); flex-wrap: wrap; justify-content: flex-end; }
.head a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Hero ---------- */
.hero {
  min-height: 78svh;
  padding: calc(var(--head-h) + var(--pad)) var(--pad) var(--pad);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 20px;
}
.hero h1 {
  font-stretch: 62%; font-weight: 850; text-transform: uppercase;
  font-size: clamp(4.2rem, 21vw, 24rem);
  line-height: .8; letter-spacing: -.015em;
  margin-left: -.04em;
}
.hero p { max-width: 34ch; font-size: clamp(1rem, 1.5vw, 1.25rem); }

/* ---------- Work stack ---------- */
.work { padding: 0 0 clamp(40px, 6vw, 96px); }
.frame {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 16 / 9; background: #161616;
}
.frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.62);
  transition: filter .5s ease, transform 1.2s ease;
}
.frame:hover img, .frame:focus-visible img { filter: brightness(.85); transform: scale(1.015); }
.frame h2 {
  position: absolute; left: var(--pad); right: var(--pad); bottom: calc(var(--pad) * .7);
  font-stretch: 62%; font-weight: 850; text-transform: uppercase;
  font-size: clamp(3rem, 12.5vw, 15rem);
  line-height: .82; letter-spacing: -.012em;
  text-wrap: balance;
}
.facts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px var(--pad);
  padding: 16px var(--pad) 0;
  font-size: 15px;
}
.facts .kind { font-weight: 600; }
.facts .who, .facts .note { color: var(--mute); }
.facts .where { text-align: right; }
.links { display: flex; gap: 22px; padding: 14px var(--pad) 0; font-size: 15px; font-weight: 600; }
.links a { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.links a:hover { text-decoration-thickness: 2px; }

/* ---------- Section heading ---------- */
.sec {
  padding: clamp(48px, 8vw, 120px) var(--pad) 0;
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.sec h2 {
  font-stretch: 62%; font-weight: 850; text-transform: uppercase;
  font-size: clamp(2.6rem, 9vw, 9rem); line-height: .85; letter-spacing: -.01em;
}
.sec a { font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }

/* ---------- Discography ---------- */
.disco { list-style: none; margin-top: clamp(24px, 4vw, 56px); border-top: 1px solid #fff; }
.disco li { border-bottom: 1px solid #333; }
.disco a {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 18rem) 4.5rem; gap: var(--pad);
  align-items: baseline;
  padding: 14px var(--pad);
  transition: background .15s, color .15s;
}
.disco a:hover, .disco a:focus-visible { background: #fff; color: #000; outline-offset: -2px; }
.disco .t {
  font-stretch: 62%; font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.7rem, 4.6vw, 4.4rem); line-height: .95;
}
.disco .f { font-size: 15px; }
.disco .y { font-size: 15px; text-align: right; font-variant-numeric: tabular-nums; }
.disco li.next .t::after { content: "  8 January 2027"; font-stretch: 100%; font-weight: 500; text-transform: none; font-size: 15px; letter-spacing: 0; margin-left: .6em; }

/* ---------- Two big doors ---------- */
.doors { margin-top: clamp(48px, 8vw, 120px); border-top: 1px solid #fff; }
.door {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 22rem); gap: var(--pad); align-items: end;
  padding: clamp(20px, 3vw, 44px) var(--pad);
  border-bottom: 1px solid #333;
  transition: background .15s, color .15s;
}
.door:hover, .door:focus-visible { background: #fff; color: #000; outline-offset: -2px; }
.door strong {
  font-stretch: 62%; font-weight: 850; text-transform: uppercase;
  font-size: clamp(3rem, 12.5vw, 15rem); line-height: .82; letter-spacing: -.012em;
}
.door span { font-size: 15px; max-width: 30ch; }

/* ---------- Footer ---------- */
.foot { padding: clamp(48px, 8vw, 120px) var(--pad) var(--pad); display: grid; gap: 40px; }
.foot .mail {
  font-stretch: 62%; font-weight: 850; text-transform: uppercase;
  font-size: clamp(2.2rem, 8.5vw, 9rem); line-height: .85; overflow-wrap: anywhere;
}
.foot .mail:hover { text-decoration: underline; text-decoration-thickness: .06em; text-underline-offset: .08em; }
.foot ul { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; font-size: 15px; font-weight: 600; }
.foot small { color: var(--mute); font-size: 12px; max-width: 70ch; display: block; }

/* ---------- Rescores page ---------- */
.page-title { padding: calc(var(--head-h) + var(--pad)) var(--pad) 0; }
.page-title h1 {
  font-stretch: 62%; font-weight: 850; text-transform: uppercase;
  font-size: clamp(4rem, 19vw, 22rem); line-height: .8; letter-spacing: -.015em; margin-left: -.04em;
}
.page-title p { margin-top: 20px; max-width: 46ch; }
/* ---------- Small screens ---------- */
@media (max-width: 720px) {
  .head { font-size: 13px; align-items: flex-start; padding-top: 14px; height: auto; min-height: var(--head-h); }
  .head nav { gap: 4px 14px; max-width: 62%; }
  .facts { grid-template-columns: 1fr; }
  .facts .where { text-align: left; }
  .frame { aspect-ratio: 4 / 5; }
  .frame h2 { font-size: clamp(3rem, 19vw, 7rem); }
  .disco a { grid-template-columns: 1fr auto; row-gap: 2px; }
  .disco .f { grid-column: 1; }
  .disco .y { grid-column: 2; grid-row: 1; }
  .door { grid-template-columns: 1fr; gap: 12px; }
}

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

/* ---------- Ajouts v1.1 ---------- */
.sec-links { display: flex; gap: 24px; flex-wrap: wrap; }
.frame.playing { aspect-ratio: 16 / 9; background: #000; }
.frame.playing iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 720px) { .frame.playing { aspect-ratio: 16 / 9; } }

/* ---------- v1.2 : crédits, mention légale, rescores ---------- */
.facts .where { color: var(--mute); }
.facts .where .prod { color: var(--fg); }
.facts .where .note { color: var(--mute); }

.legal { font-size: 12px; max-width: 70ch; }
.legal summary { cursor: pointer; color: var(--mute); width: max-content; list-style: none; }
.legal summary::-webkit-details-marker { display: none; }
.legal summary:hover, .legal[open] summary { color: var(--fg); text-decoration: underline; text-underline-offset: 4px; }
.legal p { margin-top: 10px; color: var(--mute); }

/* Rescores : cartes à taille fixe, jamais étirées. Ratio unique pour toutes les covers. */
:root { --cover-ratio: 3 / 4; --cover-w: 220px; }
.reels {
  display: grid; grid-template-columns: repeat(auto-fill, var(--cover-w));
  gap: clamp(20px, 2.4vw, 36px) var(--pad); justify-content: start;
  padding: clamp(32px, 5vw, 72px) var(--pad) 0;
}
.reel { display: grid; gap: 8px; align-content: start; width: var(--cover-w); }
.reel .box { aspect-ratio: var(--cover-ratio); background: #161616; overflow: hidden; }
.reel .box button { padding: 0; display: block; }
.reel .box img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.9); transition: filter .3s; }
.reel .box button:hover img, .reel .box button:focus-visible img { filter: brightness(1.1); }
.reel .name { font-weight: 600; font-size: 15px; line-height: 1.2; }
.reel .cap { font-size: 14px; color: var(--mute); }
@media (max-width: 720px) { :root { --cover-w: calc((100vw - var(--pad) * 3) / 2); } .reels { gap: 20px var(--pad); } }

dialog.player { border: 0; padding: 0; background: #000; color: #fff; max-width: 100vw; max-height: 100vh; margin: auto; overflow: hidden; }
dialog.player::backdrop { background: rgba(0,0,0,.92); }
dialog.player video { display: block; height: min(86vh, 900px); max-width: 96vw; width: auto; background: #000; }
dialog.player form { position: absolute; top: 8px; right: 8px; }
dialog.player button { background: #000; color: #fff; border: 1px solid #fff; font: inherit; font-size: 14px; padding: 4px 12px; cursor: pointer; }
dialog.player button:hover { background: #fff; color: #000; }
.reel .box button { width: 100%; height: 100%; border: 0; background: none; cursor: pointer; color: inherit; font: inherit; }
