/* La page Music (music.html, générée par _tools/music.py) : le 33 tours et ses morceaux, puis les vidéos choisies.
   Une vidéo est une vignette locale tant qu'on ne la lance pas; au clic, le lecteur YouTube prend sa place. */

.mpage { padding-top: 124px; padding-bottom: 96px; }
.mp-head { margin: 36px 0 34px; max-width: 820px; }
.mp-head h1 { margin: 0; font-size: clamp(56px, 7vw, 96px); line-height: .95; font-weight: 500; letter-spacing: -0.015em; }
.mp-lede { margin: 16px 0 0; font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2vw, 25px); line-height: 1.4; color: var(--ink2); }

/* ---------- Les vidéos ---------- */
.videos { margin-top: 110px; }
.videos h2 { margin: 0 0 32px; font-size: clamp(34px, 3.6vw, 48px); line-height: 1; font-weight: 500; }
.vids { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 52px 40px; }
.yt-frame {
  position: relative; aspect-ratio: 16 / 9; background: #0e0c0a;
  box-shadow: 0 1px 2px rgba(var(--sh), .3), 0 22px 34px -16px rgba(var(--sh), .5);
}
.yt { all: unset; position: absolute; inset: 0; display: block; cursor: pointer; }
.yt img { display: block; width: 100%; height: 100%; object-fit: cover; }
.yt::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 8, 6, .32), rgba(10, 8, 6, 0) 45%); transition: opacity .4s var(--ease); }
.yt:hover::after { opacity: .5; }
.yt:focus-visible { outline: 2px solid var(--fox-ink); outline-offset: 4px; }
.yt-play {
  position: absolute; z-index: 1; left: 50%; top: 50%; width: 70px; height: 70px; margin: -35px 0 0 -35px; border-radius: 50%;
  background: rgba(18, 14, 11, .55); box-shadow: inset 0 0 0 1.5px rgba(251, 246, 236, .8);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  transition: transform .4s var(--ease), background-color .4s var(--ease);
}
.yt-play::after { content: ''; position: absolute; left: 28px; top: 23px; border-left: 19px solid #fbf6ec; border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.yt:hover .yt-play, .yt:focus-visible .yt-play { transform: scale(1.07); background-color: rgba(168, 72, 26, .88); }
.yt-frame.loading .yt-play { animation: yt-wait .8s ease-in-out infinite alternate; }
@keyframes yt-wait { to { opacity: .45; } }
.yt-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.v-cap { margin: 16px 0 0; display: flex; flex-direction: column; gap: 4px; }
.v-title { font-family: var(--serif); font-size: 22px; line-height: 1.2; }
.v-sub { font-size: 13.5px; color: var(--ink2); }

.yt-more { margin: 60px 0 0; }
.yt-more a { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; color: var(--fox-ink); text-decoration: none; }
.yt-more a:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 900px) {
  .vids { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 720px) {
  .mpage { padding-top: 22px; padding-bottom: 64px; }
  .mp-head { margin: 22px 0 6px; }
  .videos { margin-top: 72px; }
  .v-title { font-size: 20px; }
  .yt-play { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
  .yt-play::after { left: 24px; top: 19px; border-left-width: 16px; border-top-width: 11px; border-bottom-width: 11px; }
}
