/* Editorial album panels. Native sticky positioning owns the scroll. */
.music { overflow: visible; }
.music::before { content: none; }
.music .section-intro { margin-bottom: 64px; }
.album-viewport-probe { position: absolute; width: 0; height: 100vh; height: 100svh; visibility: hidden; pointer-events: none; }
.music .album-stack {
  --album-pin-top: 24px;
  --album-step: 40px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  position: relative;
  isolation: isolate;
}
.album-anchor {
  display: block;
  flex: 0 0 0;
  height: 0;
  scroll-margin-top: calc(var(--album-pin-top) + var(--album-position, var(--album-order)) * var(--album-step));
}
.music .music-card:nth-child(n) {
  --panel-bg: #152a40;
  --panel-ink: #f6eadc;
  --panel-muted: #d0c7bd;
  --panel-accent: #efb28d;
  display: block;
  position: relative;
  flex: 0 0 auto;
  margin: 0 0 32px;
  border: 1px solid rgb(19 36 55 / 12%);
  border-radius: 20px;
  background: var(--panel-bg);
  color: var(--panel-ink);
  box-shadow: 0 18px 40px -26px rgb(12 25 40 / 48%);
  transform: none;
  transition: none;
  overflow: hidden;
  z-index: calc(1 + var(--album-order));
}
.music .music-card.card-atlas { --panel-bg: #e4d5be; --panel-ink: #172c40; --panel-muted: #4d565c; --panel-accent: #7c422b; }
.music .music-card.card-flow {
  --panel-bg: #071a35;
  --panel-ink: #edf6ff;
  --panel-muted: #c1d2eb;
  --panel-accent: #8bd9ff;
  border-color: rgb(91 165 255 / 35%);
  background: radial-gradient(ellipse at 88% 15%, rgb(26 96 227 / 18%), transparent 62%), radial-gradient(ellipse at 4% 100%, rgb(100 61 194 / 16%), transparent 56%), var(--panel-bg);
}
.card-flow .album-ribbon { color: var(--panel-accent); }
.music .album-stack.is-stacking::after { content: ""; display: block; flex: 0 0 clamp(160px, 25vh, 260px); }
.music .album-stack.is-stacking .music-card { position: sticky; top: calc(var(--album-pin-top) + var(--album-position, var(--album-order)) * var(--album-step)); }
.album-ribbon {
  position: relative;
  z-index: 1;
  min-height: 40px;
  padding: 10px 36px;
  border-bottom: 1px solid color-mix(in srgb, var(--panel-ink) 18%, transparent);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 11px;
  line-height: 20px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.music .card-meta { font-size: 10px; color: var(--panel-muted); letter-spacing: .1em; }
.album-watermark {
  position: absolute;
  top: 40px;
  left: 30px;
  white-space: nowrap;
  pointer-events: none;
  font-family: Syne, sans-serif;
  font-size: clamp(90px, 11vw, 164px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.07em;
  opacity: .045;
}
.album-main {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 43%);
  gap: 7%;
  align-items: center;
  padding: 40px;
  min-height: clamp(460px, 62svh, 580px);
}
.music .music-card .card-body { display: flex; flex-direction: column; align-items: flex-start; min-height: 0; padding: 0; background: none; }
.music .card-body h3 { color: var(--panel-ink); font-size: clamp(40px, 4.9vw, 68px); line-height: .99; letter-spacing: -.065em; margin: 0 0 24px; max-width: 470px; }
.music .card-body p { color: var(--panel-muted); font-size: 16px; line-height: 1.7; max-width: 340px; margin: 0 0 26px; }
.music .card-body a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  min-height: 46px;
  margin: 0;
  padding: 12px 19px;
  border: 1px solid color-mix(in srgb, var(--panel-ink) 45%, transparent);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--panel-ink);
  transition: background-color .2s, color .2s;
}
.music .card-body a:hover { background: var(--panel-ink); color: var(--panel-bg); }
.music .card-body a:focus-visible { outline: 3px solid var(--panel-accent); outline-offset: 5px; }
.music .card-status { margin: -8px 0 22px; padding: 0; border: 0; color: var(--panel-muted); font-size: 12px; line-height: 1.5; }
.album-index { display: block; font-family: Syne, sans-serif; font-size: clamp(64px, 7vw, 104px); line-height: 1; letter-spacing: -.08em; font-weight: 600; color: var(--panel-ink); opacity: .2; margin-top: 32px; }
.music .music-card .card-art {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 10px;
  box-shadow: 0 14px 30px -15px rgb(0 0 0 / 40%);
  overflow: hidden;
  position: relative;
  container-type: inline-size;
}
.music .music-card .card-art img { display: block; width: 100%; height: 100%; object-fit: contain; filter: none; }
@media (min-width: 681px) {
  .music .music-card .card-art { max-width: var(--album-art-size, 100%); justify-self: end; }
}
.music .art-flow { background: #03091c; }
.music .card-flow .card-art { box-shadow: 0 16px 36px -16px rgb(0 0 0 / 65%), 0 0 26px rgb(34 119 255 / 10%); }
@media (max-width: 900px) and (min-width: 681px) {
  .album-main { padding: 30px; gap: 5%; min-height: 460px; }
  .music .card-body h3 { font-size: 44px; }
  .music .card-body p { font-size: 14px; }
}
@media (max-width: 680px) {
  .music .section-intro { margin-bottom: 38px; }
  .music .music-card:nth-child(n) { border-radius: 16px; margin-bottom: 24px; }
  .album-ribbon { min-height: 32px; padding: 6px 20px; font-size: 9px; line-height: 20px; letter-spacing: .04em; gap: 8px; }
  .music .card-meta { font-size: 8px; letter-spacing: .035em; }
  .album-watermark { top: 44px; left: 14px; font-size: 72px; }
  .album-main { display: flex; flex-direction: column; gap: 22px; padding: 24px; min-height: 0; align-items: stretch; }
  .music .music-card .card-body { min-height: 0; }
  .music .card-body h3 { font-size: clamp(32px, 9vw, 46px); margin-bottom: 14px; max-width: 100%; }
  .music .card-body p { font-size: 14px; line-height: 1.6; margin-bottom: 20px; }
  .music .card-body a { font-size: 11px; min-height: 44px; padding: 10px 16px; gap: 28px; }
  .music .card-status { font-size: 11px; margin: -5px 0 16px; }
  .album-index { display: none; }
  .music .music-card .card-art { max-width: var(--album-art-size, 280px); align-self: center; }
}
@media (prefers-reduced-motion: reduce) { .music .card-body a { transition: none; } }
@media print {
  .music .album-stack.is-stacking::after { display: none; }
  .music .album-stack.is-stacking .music-card { position: relative; top: auto; break-inside: avoid; box-shadow: none; }
}

/* Preserve every ribbon as the stack leaves its containing block. */
.music .album-stack.is-stacking .music-card { margin-bottom: calc(32px + var(--album-tail-space, 0px)); }
@media (max-width: 680px) {
  .music .album-stack.is-stacking .music-card { margin-bottom: calc(24px + var(--album-tail-space, 0px)); }
}

/* Album destinations: official artwork, equally centered cells, no text labels. */
.music .music-card .album-listen-actions { display:flex; align-items:center; flex-wrap:wrap; gap:12px; max-width:100%; }
.music .music-card .album-streaming { display:grid; grid-template-columns:repeat(7,40px); align-items:center; justify-content:center; gap:0; padding:4px; min-height:50px; border:1px solid color-mix(in srgb,var(--panel-ink) 45%,transparent); border-radius:999px; }
.music .music-card .album-streaming a { box-sizing:border-box; display:grid; place-items:center; width:40px; min-width:40px; height:40px; min-height:40px; padding:6px; margin:0; gap:0; border:0; border-radius:9px; line-height:1; transform:none; }
.music .music-card .album-streaming a:hover { background:rgb(255 255 255 / 9%); color:var(--panel-ink); transform:none; }
.music .music-card .album-streaming .album-service-logo { display:block; width:28px; min-width:28px; max-width:none; height:28px; object-fit:contain; object-position:center; margin:0; padding:0; flex:none; filter:none; transform:none; border:0; border-radius:5px; }
@media(max-width:360px) { .music .music-card .album-streaming { grid-template-columns:repeat(3,40px); border-radius:14px; } }

/* Share control follows the streaming capsule without changing its six slots. */
.album-share-control { position:relative; display:inline-flex; flex:0 0 auto; }
.album-platform-actions { display:flex; align-items:center; gap:8px; max-width:100%; }
.music .music-card .album-share {
 display:grid; place-items:center; width:46px; height:46px; padding:0;
 border:1px solid color-mix(in srgb,var(--panel-ink) 45%,transparent);
 border-radius:50%; background:transparent; color:var(--panel-ink); cursor:pointer;
 transition:background-color .2s,color .2s;
}
.music .music-card .album-share:hover { background:var(--panel-ink); color:var(--panel-bg); }
.music .music-card .album-share:focus-visible { outline:3px solid var(--panel-accent); outline-offset:5px; }
.album-share-tip {
 position:absolute; z-index:3; bottom:calc(100% + 10px); right:0;
 width:max-content; max-width:240px; padding:8px 12px; border-radius:8px;
 background:var(--panel-ink); color:var(--panel-bg); font-size:12px;
 font-weight:600; line-height:1.4; pointer-events:none; visibility:hidden;
}
.album-share-control:not([data-dismissed]):hover .album-share-tip,
.album-share-control:not([data-dismissed]) .album-share:focus-visible + .album-share-tip,
.album-share-control[data-feedback] .album-share-tip { visibility:visible; }
@media(max-width:680px) {
 .music .music-card .album-platform-actions .album-streaming { grid-template-columns:repeat(7,34px); }
 .music .music-card .album-platform-actions .album-streaming a { width:34px; min-width:34px; padding:3px; }
 .album-platform-actions .album-share { width:40px; height:44px; }
}
@media(max-width:360px) {
 .music .music-card .album-platform-actions .album-streaming { grid-template-columns:repeat(3,34px); }
}
@media(prefers-reduced-motion:reduce) { .music .music-card .album-share { transition:none; } }
@media print { .album-share-control { display:none; } }

/* Still Brothers retains the shared panel and stacking geometry. */
.music .music-card.card-still { --panel-bg:#102f3b; --panel-ink:#f6eadc; --panel-muted:#d0c7bd; --panel-accent:#efb28d; }

/* Flow fallback has no preceding sticky ribbons to reserve. */
.music .album-stack:not(.is-stacking) .album-anchor { scroll-margin-top:calc(var(--site-header-height, 94px) + 16px); }


/* Satin title light remains visible with reduced motion; no underline fallback. */
.music .music-card { --title-light:#a9dfff; --title-glint:#ffffff; }
.music .music-card.card-atlas { --title-light:#79501f; --title-glint:#946528; }
.music .music-card.card-still { --title-light:#ffd39b; --title-glint:#fff4d8; }
.music .card-body h3 .album-title-link {color:var(--panel-ink);background:transparent;text-decoration:none;-webkit-box-decoration-break:clone;box-decoration-break:clone;}
.music .card-body h3 .album-title-link:focus-visible {text-shadow:0 0 14px color-mix(in srgb,var(--title-light) 30%,transparent);}
@media(hover:hover) and (pointer:fine){.music .card-body h3 .album-title-link:hover {background-color:transparent;text-decoration:none;text-shadow:0 0 14px color-mix(in srgb,var(--title-light) 30%,transparent);}}
@supports ((background-clip:text) or (-webkit-background-clip:text)) {
 .music .card-body h3 .album-title-link {background-image:linear-gradient(110deg,var(--panel-ink) 30%,var(--title-light) 45%,var(--title-glint) 50%,var(--title-light) 55%,var(--panel-ink) 70%);background-size:220% 100%;background-position:50% 0;-webkit-background-clip:text;background-clip:text;}
 .music .card-body h3 .album-title-link:focus-visible {color:transparent;}
 @media(hover:hover) and (pointer:fine){.music .card-body h3 .album-title-link:hover {color:transparent;}}
 @media(prefers-reduced-motion:no-preference){
  .music .card-body h3 .album-title-link:focus-visible {animation:album-title-reflection 1.15s ease-out 1;}
  @media(hover:hover) and (pointer:fine){.music .card-body h3 .album-title-link:hover {animation:album-title-reflection 1.15s ease-out 1;}}
 }
}
@keyframes album-title-reflection {from{background-position:100% 0}to{background-position:50% 0}}
@media(prefers-reduced-motion:reduce){.music .card-body h3 .album-title-link {animation:none!important;}}

.music .card-body h3 .album-title-link:focus-visible { outline:2px solid var(--panel-accent); outline-offset:5px; }

.album-platform-actions { flex-wrap:wrap; }
@media(max-width:420px){.music .music-card .album-platform-actions .album-streaming{grid-template-columns:repeat(4,34px);border-radius:18px;}}
.music .music-card .album-platform-actions .album-streaming-single {grid-template-columns:40px;}

/* Compact service strip: YouTube remains the primary metric destination,
   but its visible control is the brand icon in the platform sequence. */
.music .music-card .album-listen-actions {display:block;width:100%;max-width:100%;}
.music .music-card .album-platform-actions {display:flex;align-items:center;gap:8px;flex-wrap:nowrap;max-width:100%;}
.music .music-card .album-platform-actions .album-streaming {display:grid;grid-template-columns:repeat(8,minmax(0,40px));flex:0 1 auto;gap:0;padding:4px;min-height:50px;border-radius:999px;min-width:0;}
.music .music-card .album-platform-actions .album-streaming a {box-sizing:border-box;width:100%;min-width:0;height:40px;min-height:40px;padding:6px;gap:0;}
.music .music-card .album-platform-actions .album-streaming .album-service-logo {width:28px;min-width:0;max-width:100%;height:28px;object-fit:contain;}
.music .music-card .album-platform-actions .album-streaming-short {grid-template-columns:repeat(2,40px);}
@media(max-width:680px){
 .music .music-card .album-platform-actions {width:100%;gap:6px;}
 .music .music-card .album-platform-actions .album-streaming {flex:1 1 auto;width:0;grid-template-columns:repeat(8,minmax(24px,1fr));padding:2px;min-height:46px;}
 .music .music-card .album-platform-actions .album-streaming a {width:100%;height:40px;min-height:40px;padding:2px;}
 .music .music-card .album-platform-actions .album-streaming .album-service-logo {width:26px;max-width:100%;height:26px;}
 .music .music-card .album-platform-actions .album-share {width:32px;min-width:32px;height:44px;}
 .music .music-card .album-platform-actions .album-streaming-short {flex:0 0 auto;width:auto;grid-template-columns:repeat(2,36px);}
}
@media(max-width:350px){
 .music .music-card .album-platform-actions {flex-wrap:wrap;}
 .music .music-card .album-platform-actions .album-streaming:not(.album-streaming-short) {flex-basis:100%;width:100%;}
}

/* Notebook layout: retain all content and complete square artwork in a
   shorter panel. Decorative numbers may yield space; body text stays intact. */
@media(min-width:681px){
 .music .album-stack.is-compact-desktop .album-main {min-height:0;padding:20px 28px;gap:5%;}
 .music .album-stack.is-compact-desktop .album-ribbon {min-height:32px;padding:6px 28px;font-size:10px;line-height:20px;}
 .music .album-stack.is-compact-desktop .card-body h3 {font-size:clamp(40px,3.8vw,54px);margin-bottom:16px;}
 .music .album-stack.is-compact-desktop .card-body p {margin-bottom:16px;}
 .music .album-stack.is-compact-desktop .card-status {margin:0 0 12px;}
 .music .album-stack.is-compact-desktop .album-index {display:none;}
 .music .album-stack.is-short-desktop .album-main {padding:12px 24px;}
 .music .album-stack.is-short-desktop .album-ribbon {min-height:28px;padding:4px 24px;font-size:9px;}
 .music .album-stack.is-short-desktop .card-body h3 {font-size:40px;margin-bottom:12px;}
 .music .album-stack.is-short-desktop .card-body p {margin-bottom:12px;}
}

/* Chilling on Mars uses the existing responsive stack geometry. */
.music .music-card.card-chilling { --panel-bg:#24313a; --panel-ink:#f6eadc; --panel-muted:#d0c7bd; --panel-accent:#f3ad70; --title-light:#ffd39b; --title-glint:#fff4d8; }

/* The Last Frequency prelaunch: scoped to the new card. */
.music .music-card.card-frequency{--panel-bg:#102630;--panel-ink:#f8e7c9;--panel-muted:#d0d8d8;--panel-accent:#edb969;--title-light:#ffd899;--title-glint:#fff4db}
.card-frequency .album-ribbon{color:var(--panel-accent)}
.frequency-teaser-link{display:inline-flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid currentColor;border-radius:28px;padding:12px 17px;font-size:12px;font-weight:700;line-height:1.4;min-height:44px}
.frequency-teaser-link:hover{background:#ffffff12}.frequency-teaser-link:focus-visible{outline:2px solid var(--panel-accent);outline-offset:4px}

/* Keep a complete cover and readable copy on narrow, short phones. */
@media(max-width:350px){
 .music .album-main{padding:20px;gap:18px}
 .music .card-status{margin-bottom:12px}
}
