/* Page styles: music. Scoped under <main class="page">. */
.page {
  --m: #B794FF;
  background: var(--bg);
  color: var(--body);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}
.page a { color: inherit; text-decoration: none; }
.page a:focus-visible, .page button:focus-visible { outline: 2px solid var(--m); outline-offset: 3px; }
.music-wrap { max-width: 1180px; margin: 0 auto; padding: 18px 20px 24px; }
.music-top { display: flex; align-items: baseline; gap: 18px; margin-bottom: 22px; }
.music-top h1 { color: var(--text); font-size: clamp(24px, 4vw, 36px); }
.music-top .wm { font-size: clamp(36px, 5vw, 56px); }
.music-section { margin-bottom: 24px; }
.music-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.music-head h2 { color: var(--text); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.music-rule { flex: 1; height: 1px; background: var(--edge); }
.featured { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, 1fr); gap: 20px; padding: 14px; background: var(--panel); border: 1px solid color-mix(in srgb, var(--m) 35%, var(--edge)); border-radius: 12px; }
.video-preview { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #080b12; border-radius: 8px; }
.video-preview img, .video-preview iframe { display: block; width: 100%; height: 100%; border: 0; object-fit: cover; }
.play-button { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 58px; height: 58px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; background: color-mix(in srgb, var(--m) 85%, #fff); color: #1E1033; font-size: 21px; cursor: pointer; }
.featured-copy, .detail-copy { display: flex; flex-direction: column; justify-content: center; }
.eyebrow { color: var(--m); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.featured h3 { color: var(--text); font-size: 28px; margin: 4px 0 8px; }
.featured-copy > p:not(.eyebrow) { max-width: 48ch; }
.music-buttons, .artist-links, .collection-links { display: flex; flex-wrap: wrap; gap: 7px; }
.music-buttons { margin-top: 16px; }
.music-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 30px; padding: 5px 10px; border: 1px solid var(--edge); border-radius: 7px; color: var(--text) !important; font-size: 11px; font-weight: 600; white-space: nowrap; }
.music-btn:hover { border-color: var(--m); color: var(--m) !important; }
.music-btn.primary { background: var(--m); border-color: var(--m); color: #1E1033 !important; }
.song-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; align-items: stretch; }
.song-card { position: relative; min-width: 0; overflow: hidden; display: grid; grid-template-rows: auto 1fr; background: var(--panel); border: 1px solid var(--edge); border-radius: 10px; }
.song-art { width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: #080b12; }
.song-card img, .song-art .cover-fallback { display: block; width: 100%; height: 100%; object-fit: cover; }
.cover-fallback { display: grid !important; place-items: center; padding: 12px; background: var(--m); color: #1E1033; font-weight: 800; text-align: center; }
.song-copy { display: grid; grid-template-rows: 2.7em 2.5em 6.75em; align-content: start; padding: 9px 10px 12px; }
.song-copy h3 { color: var(--text); font-size: 14px; line-height: 1.25; margin: 2px 0 4px; overflow: hidden; }
.song-copy p:last-child { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 5; font-size: 12px; line-height: 1.35; }
.song-play { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--m); color: #1E1033 !important; font-size: 13px; }
.catalog-btn { gap: 7px; }
.platform-icon { display: inline-grid; place-items: center; width: 17px; height: 17px; border-radius: 4px; background: var(--m); color: #1E1033; font-size: 10px; font-weight: 900; line-height: 1; }
.spotify-icon { border-radius: 50%; }
.apple-icon { font-size: 14px; }
.youtube-music-icon { font-size: 12px; }
.amazon-icon { font-size: 13px; text-transform: lowercase; }
.collection-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.collection-tile { overflow: hidden; background: var(--panel); border: 1px solid var(--edge); border-radius: 10px; }
.collection-main { display: flex; gap: 12px; padding: 10px; }
.collection-main img, .collection-main .cover-fallback { flex: 0 0 76px; width: 76px; height: 76px; border-radius: 6px; object-fit: cover; }
.collection-copy { display: flex; min-width: 0; flex-direction: column; justify-content: center; gap: 2px; }
.collection-copy b { color: var(--m); font-size: 10px; text-transform: uppercase; letter-spacing: .05em; }
.collection-copy strong { color: var(--text); font-size: 15px; }
.collection-copy span { font-size: 12px; line-height: 1.3; }
.collection-links { padding: 0 10px 10px; }
.collection-links .music-btn { min-height: 24px; padding: 3px 7px; font-size: 10px; }
.catalog { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; padding-top: 14px; border-top: 1px solid var(--edge); }
.catalog .music-head { flex: 1 0 100%; }
.catalog > p { color: var(--muted); font-size: 12px; }
.crumb { color: var(--m) !important; font-size: 13px; text-decoration: underline !important; text-underline-offset: 3px; }
.song-detail { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, 1fr); gap: 22px; }
.story { color: var(--text); font-size: 17px; margin: 8px 0 14px; }
.moods { display: flex; gap: 6px; flex-wrap: wrap; }
.moods span { padding: 3px 8px; border: 1px solid var(--edge); border-radius: 999px; font-size: 11px; }
.credits { color: var(--muted); font-size: 12px; margin-top: 14px; }
.more-focus { color: var(--m) !important; font-size: 12px; font-weight: 600; margin-top: 16px; }
.highlight { display: grid; grid-template-columns: 168px minmax(0, max-content); gap: 16px 18px; align-items: center; width: fit-content; max-width: 100%; padding: 14px; background: var(--panel); border: 1px solid color-mix(in srgb, var(--m) 55%, var(--edge)); border-radius: 12px; }
.highlight img { width: 168px; height: 168px; object-fit: cover; border-radius: 8px; }
.highlight h3 { color: var(--text); font-size: clamp(22px, 3vw, 28px); margin: 0 0 6px; }
.highlight-copy > p:not(.eyebrow) { max-width: 36ch; font-size: 14px; }
.highlight .music-buttons { margin-top: 12px; }
.music-wrap.release-page { max-width: 720px; }
.release { display: grid; gap: 18px; }
.release-head { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 16px 20px; align-items: start; }
.release-cover { width: 168px; height: 168px; object-fit: cover; border-radius: 8px; }
.release h1 { color: var(--text); font-size: clamp(28px, 4vw, 40px); line-height: 1.05; margin: 2px 0 6px; }
.kind { color: var(--m); font-size: 13px; font-weight: 600; }
.release-line { color: var(--muted); font-size: 14px; max-width: 42ch; }
.release-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.release-actions .music-buttons { margin-top: 0; }
.release-play { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%; background: var(--m); color: #1E1033; font-size: 16px; cursor: pointer; }
.release-play:hover { transform: scale(1.04); }
.release-stage { width: min(100%, 480px); aspect-ratio: 16 / 9; overflow: hidden; border-radius: 8px; background: #080b12; }
.release-stage iframe { display: block; width: 100%; height: 100%; border: 0; }
.release .story { font-size: 15px; line-height: 1.55; margin: 0; max-width: 62ch; }
.release .story + .story { margin-top: 10px; }
.story-block + .story-block { margin-top: 26px; }
.story-head { color: var(--m); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 8px; }
.story-note { color: var(--muted); font-size: 13px; }
.poem { color: var(--text); font-size: 15px; line-height: 1.6; margin: 0 0 14px; }
.story-link { display: inline-block; margin-top: 8px; color: var(--m) !important; font-weight: 600; text-decoration: underline !important; text-underline-offset: 3px; }
.inspiration { color: var(--muted); font-size: 13px; max-width: 62ch; margin-top: 8px; }
.tracklist { margin: 18px 0 0; padding: 0; list-style: none; }
.tracklist li { display: flex; gap: 10px; padding: 8px 0; border-top: 1px solid var(--edge); color: var(--text); }
.tracklist span { color: var(--m); font-variant-numeric: tabular-nums; min-width: 1.6em; }
@media (max-width: 520px) {
  .release-head { grid-template-columns: 120px minmax(0, 1fr); }
  .release-cover { width: 120px; height: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  .release-play:hover { transform: none; }
}
@media (max-width: 900px) { .song-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) {
  .music-wrap { padding: 14px 14px 20px; }
  .featured, .song-detail { grid-template-columns: 1fr; }
  .highlight { grid-template-columns: 120px minmax(0, 1fr); width: 100%; }
  .highlight img { width: 120px; height: 120px; }
  .featured-copy { padding: 2px 4px 4px; }
  .song-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 5px; }
  .song-card { flex: 0 0 150px; scroll-snap-align: start; }
  .collection-grid { grid-template-columns: 1fr; }
}
