/* Scoped evolution of the existing neon album page. */
#products { padding-top: clamp(80px, 8vw, 112px); padding-bottom: clamp(72px, 7vw, 104px); }
#products .section-heading { max-width: none; }
#products .section-heading h2 { font-size: clamp(36px, 4.2vw, 60px); line-height: 1.12; letter-spacing: -.045em; text-wrap: balance; }
#products .section-heading h2 em { display: inline-block; }
#products .kicker { margin-bottom: 16px; }
#products .section-index { top: 32px; }
#products .edition-tabs { justify-content: flex-start; margin-top: 32px; }
#products .edition-tabs button { min-height: 48px; padding: 16px 26px; color: #b4a3c7; }
#products .edition-tabs button.active { color: var(--cyan); }
#products .edition-stage { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(30px, 4vw, 64px); align-items: start; min-height: 0; padding: 32px 0 48px; }
#products .product-visual[data-product-edition="cd"] { height: auto; min-height: 0; }
#products .edition-info { padding: 32px 0 24px; border-left: 0; }
#products .edition-info h3 { margin: 15px 0 20px; font-size: clamp(28px, 2.8vw, 40px); line-height: 1.15; }
#products .edition-info > p:not(.edition-no) { margin-bottom: 0; font-size: 14px; line-height: 1.9; }
#products .edition-info .edition-no { line-height: 1.7; letter-spacing: .14em; }
#products .edition-info dl { margin-top: 28px; }
#products .edition-info dl div { padding: 16px 0; align-items: baseline; gap: 18px; }
#products .edition-info dt { flex: 0 0 30%; width: auto; font-size: 10px; line-height: 1.6; }
#products .edition-info dd { font-size: 13px; line-height: 1.6; }

#products .cd-mockup.cd-gallery { position: relative; width: 100%; max-width: 560px; left: auto; top: auto; margin: 0 auto; transform: none; pointer-events: auto; }
.cd-gallery-stage { position: relative; aspect-ratio: 1; background: radial-gradient(ellipse at 50% 55%, rgba(156, 46, 255, .16), transparent 68%); }
.cd-view { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; border: 0; padding: 0; background: none; cursor: zoom-in; color: #f5eafa; }
.cd-view[hidden] { display: none; }
#products .cd-gallery .cd-view img { display: block; width: 100%; height: 100%; object-fit: contain; mask: none; -webkit-mask: none; }
#products .cd-gallery [data-cd-view="package"] img { clip-path: polygon(10.3% 10.95%,10.65% 10.2%,11.6% 9.9%,13.95% 9.73%,90.2% 12.35%,90.99% 12.72%,91.15% 13.65%,90.78% 82.8%,90.5% 83.49%,14.83% 90.08%,12.45% 89.97%,10.21% 89%,10.12% 87.65%,10.25% 12.2%); }
.cd-view-zoom { position: absolute; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 28px; padding: 12px 16px; border: 1px solid rgba(72,245,255,.25); background: #140823; color: var(--cyan); font-size: 12px; letter-spacing: .05em; }
.cd-view-zoom b { font-size: 18px; font-weight: 400; }
.cd-gallery-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.cd-thumb { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 76px; padding: 10px 14px; border: 1px solid var(--line); background: rgba(10,3,23,.24); color: #c8b8df; text-align: left; cursor: pointer; }
.cd-thumb.is-active { border-color: rgba(72,245,255,.65); background: rgba(72,245,255,.045); color: var(--cyan); }
#products .cd-gallery .cd-thumb img { flex: 0 0 52px; width: 52px; height: 52px; object-fit: contain; }
.cd-thumb small { display: block; margin-bottom: 5px; font-size: 9px; letter-spacing: .14em; color: #a99abf; }
#products .cd-gallery .cd-preview-label { margin: 0; color: inherit; font-size: 13px; letter-spacing: .025em; line-height: 1.5; }
#products .cd-gallery figcaption { margin: 18px 0 0; padding: 0; max-width: none; text-align: left; color: #b9a8cc; font-size: 12px; line-height: 1.7; letter-spacing: 0; }
.cd-gallery-status, .credit-name-separator { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Staff is an editorial list; individual credits retain their original data. */
.production-credits { margin-top: clamp(64px, 7vw, 96px); padding-top: 36px; border-top: 1px solid var(--line); scroll-margin-top: 88px; }
.credits-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 16px 26px; margin-bottom: 38px; }
.credits-heading > p { margin: 0; color: var(--cyan); font-size: 12px; font-weight: 700; letter-spacing: .16em; }
#artists .credits-heading h2 { margin: 0; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.2; letter-spacing: -.035em; }
.credits.production-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 72px); row-gap: 42px; margin: 0; border: 0; }
.production-summary .credit-summary-cell { padding: 0; border: 0; }
.production-summary .credit-summary-cell h3 { margin: 0 0 20px; padding-bottom: 13px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--cyan); line-height: 1.5; letter-spacing: .035em; }
.production-summary .credit-summary-cell dl { gap: 20px; }
.production-summary .credit-summary-cell dl > div { display: grid; grid-template-columns: minmax(100px, .7fr) minmax(0, 1.3fr); gap: 16px; align-items: baseline; }
.production-summary .credit-summary-cell dt { margin: 0; color: #c3b4d5; font-size: 12px; line-height: 1.7; }
.production-summary .credit-summary-cell dd { font-size: 17px; font-weight: 500; line-height: 1.65; letter-spacing: 0; overflow-wrap: break-word; }
.credit-name-line { display: block; }
.credit-name-line + .credit-name-line { margin-top: 12px; }
.credit-affiliation { display: block; color: #b8a7ca; font-size: 12px; line-height: 1.7; font-weight: 400; margin-top: 3px; }
.production-summary [data-credit-group="thanks"] dl > div { grid-template-columns: 1fr; gap: 0; }
.production-summary [data-credit-group="thanks"] dd { font-size: 15px; }
#artists .artist-link { color: var(--cyan); font-size: 12px; text-decoration: none; }
#artists .artist-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Native dialog lives in the top layer, above the existing site/player. */
html:has(.cd-lightbox[open]) { overflow: hidden; scrollbar-gutter: stable; }
.cd-lightbox { box-sizing: border-box; width: min(1100px, calc(100vw - 48px)); max-width: none; height: min(940px, calc(100dvh - 48px)); max-height: none; margin: auto; padding: 0; border: 1px solid rgba(72,245,255,.35); background: #120822; color: #f7efff; overflow: hidden; box-shadow: 0 24px 100px rgba(0,0,0,.6); }
.cd-lightbox::backdrop { background: rgba(5,2,12,.88); }
.cd-lightbox-shell { display: grid; grid-template-rows: auto minmax(0,1fr) auto; height: 100%; }
.cd-lightbox-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.cd-lightbox-header p { margin: 0 0 6px; color: var(--cyan); font-size: 9px; letter-spacing: .14em; }
.cd-lightbox-header h2 { margin: 0; font-size: 20px; font-weight: 500; line-height: 1.35; }
.cd-lightbox-close { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid var(--line); background: none; color: #f7efff; font: 300 28px/1 Arial,sans-serif; cursor: pointer; }
.cd-lightbox-scroll { overflow: auto; padding: 20px; min-width: 0; min-height: 0; display: flex; align-items: center; justify-content: center; }
.cd-lightbox-image { display: block; width: 100%; height: 100%; object-fit: contain; }
.cd-lightbox.is-actual-size .cd-lightbox-scroll { display: block; }
.cd-lightbox.is-actual-size .cd-lightbox-image { width: auto; height: auto; max-width: none; max-height: none; }
.cd-lightbox-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; min-height: 0; padding: 14px 24px; margin: 0; border-top: 1px solid var(--line); background: #120822; }
.cd-lightbox-switch { display: flex; flex-wrap: wrap; gap: 8px; }
.cd-lightbox-footer button { min-height: 44px; padding: 10px 14px; color: #c7b6dc; font-size: 12px; line-height: 1.4; border: 1px solid var(--line); background: transparent; cursor: pointer; }
.cd-lightbox-footer button[aria-pressed="true"] { color: var(--cyan); border-color: rgba(72,245,255,.6); background: rgba(72,245,255,.04); }
.cd-lightbox-footer .cd-zoom-toggle { color: #f7efff; }
#products button:focus-visible, .cd-lightbox button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
@media (prefers-reduced-motion: no-preference) {
  .cd-view.is-active img { animation: cd-artwork-arrive .25s ease-out; }
  @keyframes cd-artwork-arrive { from { opacity: .35; transform: translateY(5px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 900px) {
  #products .edition-stage { grid-template-columns: 1fr; gap: 28px; }
  #products .product-visual[data-product-edition="cd"] { width: 100%; max-width: 560px; justify-self: center; }
  #products .edition-info { padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .production-summary .credit-summary-cell dl > div { grid-template-columns: 1fr; gap: 5px; }
}
@media (max-width: 600px) {
  #products { padding-top: 72px; padding-bottom: 72px; }
  #products .section-heading h2 { font-size: clamp(32px, 8.8vw, 42px); line-height: 1.2; }
  #products .section-heading h2 em { display: block; margin-top: 5px; }
  #products .edition-tabs { margin-top: 24px; }
  #products .edition-tabs button { flex: 1 0 auto; padding: 14px 7px; font-size: 10px; letter-spacing: .07em; }
  #products .edition-stage { padding: 20px 0 32px; gap: 24px; }
  #products .edition-info h3 { font-size: 28px; }
  .cd-view-zoom { right: 4px; bottom: 4px; padding: 10px 12px; gap: 14px; font-size: 11px; }
  .cd-gallery-controls { margin-top: 12px; gap: 8px; }
  .cd-thumb { padding: 9px 10px; gap: 8px; min-height: 68px; }
  #products .cd-gallery .cd-thumb img { flex-basis: 38px; width: 38px; height: 38px; }
  #products .cd-gallery .cd-preview-label { font-size: 12px; }
  .production-credits { padding-top: 28px; margin-top: 56px; }
  .credits-heading { margin-bottom: 30px; gap: 12px 20px; }
  .credits.production-summary { grid-template-columns: 1fr; row-gap: 34px; }
  .production-summary .credit-summary-cell dd { font-size: 16px; }
  .cd-lightbox { width: calc(100vw - 20px); height: calc(100dvh - 20px); }
  .cd-lightbox-header { padding: 16px; }
  .cd-lightbox-header h2 { font-size: 18px; }
  .cd-lightbox-scroll { padding: 12px; }
  .cd-lightbox-footer { padding: 12px; gap: 10px; }
  .cd-lightbox-footer button { padding: 10px 12px; }
}
