@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700;9..144,800&family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap');
:root {
  --bg-parchment: #FAF7F2;
  --bg-sheet: #FFFFFF;
  --vinyl-ink: #181124;
  --plum-muted: #574B6B;
  --master-gold: #B8860B;
  --gold-bright: #D4AF37;
  --sync-berry: #BE185D;
  --groove-border: #E2D9EE;
  --font-display: 'Fraunces', serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'Space Mono', monospace;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-family: var(--font-sans); background: var(--bg-parchment); color: var(--vinyl-ink); line-height: 1.62; }
body { overflow-x: hidden; }
h1, h2, h3, .hero-title, .section-title { font-family: var(--font-display); text-wrap: balance; line-height: 1.09; }
p, li { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 2px solid var(--sync-berry); outline-offset: 3px; }

/* UNIQUE HEADER: ISRC / ISWC TIMECODE CUE-SHEET & ECAD CLEARANCE MASTHEAD */
.isrc-master-cue-header {
  background: rgba(250,247,242,0.96); backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--vinyl-ink); position: sticky; top: 0; z-index: 1000;
}
.timecode-strip {
  background: var(--vinyl-ink); color: #F5EFE6; padding: 6px 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--font-mono); font-size: 0.67rem;
}
.cue-pills { display: flex; align-items: center; gap: 8px; }
.cue-tag {
  padding: 2px 8px; border-radius: 999px; font-weight: 700; font-size: 0.63rem;
}
.cue-isrc { background: var(--gold-bright); color: #181124; }
.cue-ecad { background: #BE185D; color: #FFF; }
.cue-lda { background: #2E2244; color: #E9D5FF; border: 1px solid #A855F7; }

.cue-header-main {
  max-width: 1400px; margin: 0 auto; padding: 12px 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.vinyl-brand {
  display: flex; align-items: center; gap: 12px; padding: 6px 14px;
  background: #FFF; border: 2px solid var(--vinyl-ink); border-radius: 999px;
}
.vinyl-disc-icon {
  width: 38px; height: 38px; border-radius: 50%; background: var(--vinyl-ink); color: var(--gold-bright);
  border: 2px solid var(--gold-bright); font-family: var(--font-mono); font-weight: 700; font-size: 0.72rem;
  display: flex; align-items: center; justify-content: center;
}
.cue-nav { display: flex; align-items: center; gap: 6px; }
.cue-link, .cue-drop-btn {
  min-height: 44px; padding: 8px 13px; border-radius: 999px;
  background: transparent; border: 1.5px solid transparent;
  font-family: var(--font-sans); font-size: 0.83rem; font-weight: 600; color: var(--vinyl-ink);
  cursor: pointer; display: inline-flex; align-items: center; gap: 5px;
}
.cue-link:hover, .cue-drop-btn:hover {
  background: #FFF; border-color: var(--vinyl-ink);
}
.cue-drop { position: relative; }
.cue-drop-menu {
  position: absolute; top: 100%; left: 0; min-width: 290px; background: #FFF;
  border: 2px solid var(--vinyl-ink); border-radius: 16px; padding: 8px;
  display: none; flex-direction: column; gap: 4px; box-shadow: 0 18px 40px rgba(24,17,36,0.18);
}
.cue-drop:hover .cue-drop-menu, .cue-drop:focus-within .cue-drop-menu { display: flex; }
.cue-drop-menu a {
  padding: 9px 12px; font-size: 0.81rem; font-weight: 500; border-radius: 10px;
}
.cue-drop-menu a:hover { background: var(--vinyl-ink); color: var(--gold-bright); }

.cue-cta {
  background: var(--vinyl-ink); color: var(--gold-bright); font-family: var(--font-mono); font-weight: 700;
  font-size: 0.74rem; min-height: 44px; padding: 10px 18px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 6px;
}
#mobileMenuToggle {
  display: none; min-height: 44px; padding: 8px 14px; background: var(--vinyl-ink); color: var(--gold-bright);
  font-family: var(--font-mono); font-weight: 700; border: none; border-radius: 8px; cursor: pointer;
}
#mobileDrawer {
  display: none; position: fixed; inset: 0; background: #FFF; color: var(--vinyl-ink); z-index: 1050;
  padding: 28px; flex-direction: column; gap: 10px; overflow-y: auto;
}
#mobileDrawer.open { display: flex; }
#mobileDrawer a { padding: 12px; border-bottom: 1px solid var(--groove-border); font-weight: 600; }

/* UNIQUE FIRST SCREEN: 4-RIGHTS & SYNC CLEARANCE CUE-SHEET DESK */
.sync-licensing-royalty-desk {
  max-width: 1380px; margin: 26px auto 46px; padding: 0 24px;
}
.cue-sheet-vault {
  background: var(--bg-sheet); border: 2.5px solid var(--vinyl-ink); border-radius: 26px;
  overflow: hidden; box-shadow: 0 22px 52px rgba(24,17,36,0.11);
}
.rights-selector-ribbon {
  display: grid; grid-template-columns: repeat(4, 1fr); background: #F1EBF8;
  border-bottom: 2.5px solid var(--vinyl-ink);
}
.right-tab-btn {
  min-height: 70px; padding: 12px 16px; border: none; border-right: 1.5px solid var(--vinyl-ink);
  background: transparent; color: var(--vinyl-ink); text-align: left; cursor: pointer; transition: all 0.2s;
}
.right-tab-btn:last-child { border-right: none; }
.right-tab-btn.active { background: var(--vinyl-ink); color: var(--gold-bright); }
.right-tab-btn small {
  display: block; font-family: var(--font-mono); font-size: 0.65rem; font-weight: 700; opacity: 0.88;
}
.right-tab-btn strong {
  font-family: var(--font-display); font-size: 0.98rem;
}

.cue-desk-body {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 30px; padding: 34px; align-items: center;
}
.kicker-vinyl {
  display: inline-block; font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700;
  background: #FEF9C3; color: var(--vinyl-ink); border: 1.5px solid var(--vinyl-ink);
  padding: 4px 12px; border-radius: 999px; margin-bottom: 12px;
}
.hero-title { font-size: clamp(1.9rem, 3vw, 2.75rem); margin-bottom: 14px; }
.split-sheet-matrix {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 20px 0;
}
.split-card {
  background: var(--bg-parchment); border: 1.5px solid var(--vinyl-ink); border-radius: 14px; padding: 12px 14px;
}
.split-card span {
  display: block; font-family: var(--font-mono); font-size: 0.64rem; color: var(--plum-muted); margin-bottom: 3px;
}
.split-card strong { font-size: 0.88rem; color: var(--vinyl-ink); }

.cue-visual-stage {
  position: relative; border-radius: 20px; overflow: hidden; border: 2.5px solid var(--vinyl-ink);
}
.cue-visual-stage img { width: 100%; height: 420px; object-fit: cover; }
.cue-rate-badge {
  position: absolute; bottom: 16px; right: 16px; background: var(--vinyl-ink); color: var(--gold-bright);
  border: 2px solid var(--gold-bright); padding: 10px 16px; border-radius: 999px;
  font-family: var(--font-mono); font-weight: 700; font-size: 0.83rem;
}

.section-block, .section-alt { max-width: 1340px; margin: 0 auto; padding: 58px 24px; }
.section-alt {
  content-visibility: auto; contain-intrinsic-size: auto 520px;
  background: #FFF; border: 2px solid var(--vinyl-ink); border-radius: 24px; margin-bottom: 38px;
}
.section-title { font-size: clamp(1.7rem, 2.5vw, 2.35rem); margin-bottom: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; margin-top: 24px; }
.card-music {
  background: var(--bg-parchment); border: 2px solid var(--vinyl-ink); border-radius: 18px;
  overflow: hidden; display: flex; flex-direction: column;
}
.card-music img { width: 100%; height: 220px; object-fit: cover; border-bottom: 2px solid var(--vinyl-ink); }
.card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 10px; }

.btn-primary, .btn-outline, .header-cta {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px;
  padding: 10px 20px; border-radius: 999px; font-family: var(--font-mono); font-size: 0.76rem; font-weight: 700; cursor: pointer;
}
.btn-primary { background: var(--vinyl-ink); color: var(--gold-bright); border: 2px solid var(--vinyl-ink); }
.btn-outline { background: #FFF; color: var(--vinyl-ink); border: 2px solid var(--vinyl-ink); }

.calc-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 24px; margin-top: 22px; }
.calc-box { background: var(--bg-parchment); border: 2px solid var(--vinyl-ink); border-radius: 18px; padding: 24px; }
.control-group { margin-bottom: 14px; }
.control-group label { display: block; font-family: var(--font-mono); font-size: 0.73rem; font-weight: 700; margin-bottom: 6px; }
.form-input, select {
  width: 100%; min-height: 46px; padding: 10px 12px; border-radius: 10px;
  border: 1.5px solid var(--vinyl-ink); background: #FFF; font-family: var(--font-sans); color: var(--vinyl-ink);
}
.form-input:user-valid { border-color: #059669; }
.form-input:user-invalid { border-color: #DC2626; }
.price-big { font-family: var(--font-display); font-size: 2.3rem; font-weight: 800; color: var(--sync-berry); margin: 8px 0; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: 0.86rem; }
.spec-table th, .spec-table td { padding: 12px; border: 1.5px solid var(--vinyl-ink); text-align: left; }
.spec-table th { background: var(--vinyl-ink); color: var(--gold-bright); font-family: var(--font-mono); font-size: 0.74rem; }

.accordion-item { border: 1.5px solid var(--vinyl-ink); border-radius: 14px; margin-bottom: 10px; background: #FFF; }
.accordion-header {
  width: 100%; min-height: 48px; padding: 14px 18px; background: none; border: none;
  color: var(--vinyl-ink); font-weight: 700; text-align: left; display: flex; justify-content: space-between; align-items: center; cursor: pointer;
}
.accordion-body { padding: 0 18px 16px; display: none; color: var(--plum-muted); font-size: 0.9rem; }
.accordion-item.open .accordion-body { display: block; }

.site-footer {
  content-visibility: auto; contain-intrinsic-size: auto 420px;
  background: var(--vinyl-ink); color: #E2D9EE; padding: 54px 24px; margin-top: 44px;
}
.footer-inner { max-width: 1340px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 26px; }
.cookie-banner {
  position: fixed; bottom: 18px; right: 20px; max-width: 430px; background: #FFF; color: var(--vinyl-ink);
  border: 2.5px solid var(--vinyl-ink); border-radius: 16px; padding: 16px; z-index: 995; font-size: 0.8rem;
  box-shadow: 0 16px 36px rgba(24,17,36,0.24);
}
@media (max-width: 1040px) {
  .cue-nav, .timecode-strip { display: none; }
  #mobileMenuToggle { display: inline-flex; align-items: center; }
  .rights-selector-ribbon { grid-template-columns: repeat(2, 1fr); }
  .cue-desk-body, .calc-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* RADICAL REDESIGN 7: VINYL GATEFOLD ALBUM SLEEVE & INTERACTIVE 4-TRACK SYNC PLAYLIST */
.vinyl-master-console-header {
  background: #140D1E; color: #FAF7F2; border-bottom: 2px solid #D4AF37; position: sticky; top: 0; z-index: 1000;
}
.vinyl-header-row {
  max-width: 1400px; margin: 0 auto; padding: 12px 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
}
.gatefold-playlist-hero {
  max-width: 1380px; margin: 28px auto 52px; padding: 0 24px;
  display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 34px; align-items: stretch;
}
.vinyl-gatefold-sleeve {
  background: #181124; color: #FAF7F2; border: 2.5px solid #D4AF37; border-radius: 20px;
  padding: 26px; display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 24px 50px rgba(24,17,36,0.22); position: relative;
}
.vinyl-sleeve-art-wrap {
  position: relative; border-radius: 12px; overflow: hidden; border: 2px solid #D4AF37; margin: 16px 0;
}
.vinyl-sleeve-art-wrap img { width: 100%; height: 265px; object-fit: cover; }
.sync-playlist-console {
  background: #FFF; border: 2.5px solid #181124; border-radius: 20px; padding: 26px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.playlist-track-row {
  width: 100%; display: grid; grid-template-columns: 42px 1fr auto; gap: 14px; align-items: center;
  padding: 13px 16px; border: 1.5px solid #E2D9EE; border-radius: 12px; background: #FAF7F2;
  margin-bottom: 10px; text-align: left; cursor: pointer; transition: all 0.18s;
}
.playlist-track-row.active {
  background: #181124; color: #FAF7F2; border-color: #D4AF37;
}
.play-circle-icon {
  width: 36px; height: 36px; border-radius: 50%; background: #D4AF37; color: #181124;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem;
}
.cue-inspector-drawer {
  background: #F4EFFA; border: 1.5px solid #181124; border-radius: 14px; padding: 16px; margin-top: 8px;
}
@media (max-width: 1040px) {
  .gatefold-playlist-hero { grid-template-columns: 1fr; }
}

/* COOKIE_DIFF_APPLIED */
.cookie-banner { left: 50% !important; right: auto !important; transform: translateX(-50%); bottom: 14px !important; max-width: 900px !important; width: 92%; border-radius: 999px !important; background: #181124 !important; color: #FAF7F2 !important; border: 2px solid #D4AF37 !important; padding: 10px 22px !important; display: flex; align-items: center; justify-content: space-between; gap: 16px; } .cookie-banner p { margin: 0 !important; font-size: 0.75rem; } .cookie-banner button { width: auto !important; flex-shrink: 0; background: #D4AF37 !important; color: #181124 !important; }
