/* JDL Legacy Studio sales — matched to jdllegacyrecords.com / johndlllc.com family */
:root {
  --ink: #050810;
  --panel: #09121f;
  --panel2: #0c192a;
  --white: #f5f8fc;
  --muted: #9bacbf;
  --line: rgba(116, 194, 255, 0.16);
  --cyan: #59c9ff;
  --blue: #158ee8;
  --red: #ed174c;
  --max: 1360px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.sell {
  margin: 0;
  min-height: 100vh;
  color: var(--white);
  background: var(--ink);
  font-family: Manrope, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--red); color: #fff; padding: 0.6rem 1rem; z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.site-header {
  position: fixed; z-index: 50; left: 0; top: 0; width: 100%; height: 82px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(1.2rem, 4vw, 4.2rem);
  border-bottom: 1px solid rgba(89, 201, 255, 0.1);
  transition: 0.3s;
}
.site-header.scrolled {
  height: 70px;
  background: rgba(5, 8, 16, 0.91);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.35);
}
.brand {
  display: flex; align-items: center; gap: 0.8rem;
  font-family: "Space Grotesk", sans-serif; letter-spacing: 0.05em;
}
.brand img {
  width: 44px; height: 44px;
  border: 1px solid rgba(89, 201, 255, 0.3);
  border-radius: 3px;
  box-shadow: 0 0 25px rgba(21, 142, 232, 0.18);
}
.brand span { display: flex; align-items: baseline; gap: 0.42rem; }
.brand strong { font-size: 1rem; }
.brand small {
  font-size: 0.64rem; letter-spacing: 0.17em; color: var(--red); font-weight: 800;
}
.site-nav {
  display: flex; align-items: center; gap: 1.7rem;
  font-size: 0.76rem; font-weight: 800;
}
.site-nav > a { position: relative; color: #d1dbe8; }
.site-nav > a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px;
  background: var(--cyan); transition: 0.25s;
}
.site-nav > a:hover::after { right: 0; }
.nav-cta, .button {
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
}
.nav-cta {
  border: 1px solid rgba(89, 201, 255, 0.4);
  background: rgba(8, 28, 47, 0.48);
  padding: 0.7rem 1rem;
}
.nav-cta:hover { background: rgba(89, 201, 255, 0.12); }

.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: center;
  padding: 8.5rem clamp(1.2rem, 4vw, 4.2rem) 4rem;
  overflow: hidden;
}
.hero-grid, .hero-signal {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
}
.hero-grid {
  background-image:
    linear-gradient(rgba(89, 201, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(89, 201, 255, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%);
  animation: gridDrift 18s linear infinite;
}
.hero-signal {
  background:
    radial-gradient(600px 420px at 75% 20%, rgba(237, 23, 76, 0.18), transparent 60%),
    radial-gradient(500px 380px at 15% 80%, rgba(89, 201, 255, 0.12), transparent 55%);
  animation: signalPulse 8s ease-in-out infinite;
}
@keyframes gridDrift {
  from { background-position: 0 0; }
  to { background-position: 72px 72px; }
}
@keyframes signalPulse {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.03); }
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.hero-copy, .now-playing { position: relative; z-index: 3; }
.hero-copy { animation: riseIn 0.9s ease both; }
.eyebrow {
  display: flex; align-items: center; gap: 0.7rem;
  margin: 0 0 1.5rem; font-size: 0.67rem; letter-spacing: 0.18em;
  font-weight: 800; color: #bfd2e6; text-transform: uppercase;
}
.eyebrow span { width: 32px; height: 2px; background: var(--red); }
.hero h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(3.4rem, 7.2vw, 6.8rem);
  line-height: 0.91; letter-spacing: -0.06em; margin: 0; font-weight: 700;
}
.hero h1 em {
  font-style: normal; color: transparent; -webkit-text-stroke: 1px #ff7093;
}
.hero h1 strong { color: var(--red); }
.hero-copy > p:not(.eyebrow) {
  max-width: 620px; color: #b7c4d3; font-size: 1.07rem; margin: 1.8rem 0;
}
.actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.button {
  display: inline-flex; align-items: center; gap: 0.8rem;
  padding: 0.95rem 1.3rem; font-size: 0.75rem; font-weight: 800;
  transition: 0.25s; border: 0; color: var(--white);
}
.button:hover { transform: translateY(-3px); }
.primary {
  background: linear-gradient(110deg, #df1045, #ff3a63);
  box-shadow: 0 14px 38px rgba(237, 23, 76, 0.25);
}
.secondary {
  border: 1px solid rgba(89, 201, 255, 0.38);
  background: rgba(8, 28, 47, 0.5);
}

.now-playing {
  border: 1px solid rgba(89, 201, 255, 0.3);
  padding: 1.25rem;
  background: linear-gradient(145deg, rgba(6, 27, 47, 0.9), rgba(3, 11, 21, 0.94));
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  animation: riseIn 1s 0.12s ease both;
}
.panel-head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.68rem; letter-spacing: 0.14em; font-weight: 800; margin-bottom: 1rem;
}
.panel-head b { color: var(--green, #55e6a5); color: #55e6a5; }
.equalizer {
  display: flex; align-items: flex-end; gap: 4px; height: 42px; margin-bottom: 1rem;
}
.equalizer i {
  display: block; width: 5px; background: linear-gradient(180deg, var(--cyan), var(--red));
  animation: eq 1.1s ease-in-out infinite;
}
.equalizer i:nth-child(1) { height: 28%; animation-delay: 0s; }
.equalizer i:nth-child(2) { height: 55%; animation-delay: 0.1s; }
.equalizer i:nth-child(3) { height: 80%; animation-delay: 0.2s; }
.equalizer i:nth-child(4) { height: 40%; animation-delay: 0.05s; }
.equalizer i:nth-child(5) { height: 70%; animation-delay: 0.15s; }
.equalizer i:nth-child(6) { height: 95%; animation-delay: 0.25s; }
.equalizer i:nth-child(7) { height: 50%; animation-delay: 0.08s; }
.equalizer i:nth-child(8) { height: 65%; animation-delay: 0.18s; }
.equalizer i:nth-child(9) { height: 35%; animation-delay: 0.12s; }
.equalizer i:nth-child(10) { height: 75%; animation-delay: 0.22s; }
.equalizer i:nth-child(11) { height: 45%; animation-delay: 0.04s; }
.equalizer i:nth-child(12) { height: 60%; animation-delay: 0.16s; }
@keyframes eq {
  0%, 100% { transform: scaleY(0.55); }
  50% { transform: scaleY(1); }
}
.now-playing small {
  display: block; font-size: 0.65rem; letter-spacing: 0.16em; color: var(--muted); font-weight: 800;
}
.now-playing strong {
  display: block; font-family: "Space Grotesk", sans-serif;
  font-size: 1.6rem; margin: 0.35rem 0 0.5rem;
}
.now-playing p { margin: 0; color: #b7c4d3; font-size: 0.92rem; }

.section {
  padding: 5.5rem clamp(1.2rem, 4vw, 4.2rem);
  border-top: 1px solid rgba(89, 201, 255, 0.1);
  position: relative;
}
.section-head {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2rem;
  align-items: end; margin-bottom: 2.8rem; max-width: var(--max);
}
.section-no {
  margin: 0 0 0.7rem; font-size: 0.68rem; letter-spacing: 0.18em;
  font-weight: 800; color: #bfd2e6;
}
.section-head h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  line-height: 0.95; letter-spacing: -0.05em; margin: 0;
}
.section-head h2 em {
  font-style: normal; color: transparent; -webkit-text-stroke: 1px #ff7093;
}
.section-head > p { margin: 0; color: #b7c4d3; max-width: 34rem; }

.bill-toggle {
  display: inline-flex; gap: 0.35rem; padding: 0.3rem;
  border: 1px solid rgba(89, 201, 255, 0.28);
  background: rgba(8, 28, 47, 0.45);
  margin-bottom: 1.6rem;
}
.bill-toggle button {
  appearance: none; border: 0; background: transparent; color: var(--muted);
  padding: 0.65rem 1rem; font: inherit; font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 7px 100%, 0 calc(100% - 7px));
}
.bill-toggle button.is-active {
  background: rgba(237, 23, 76, 0.2); color: var(--white);
}
.bill-toggle span { color: var(--cyan); margin-left: 0.25rem; }

.tiers {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem; max-width: var(--max);
}
.tier {
  position: relative;
  border: 1px solid rgba(89, 201, 255, 0.22);
  background: linear-gradient(160deg, rgba(9, 18, 31, 0.95), rgba(5, 8, 16, 0.98));
  padding: 1.4rem 1.25rem 1.45rem;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  display: grid; gap: 0.7rem; align-content: start;
}
.tier.is-hot {
  border-color: rgba(237, 23, 76, 0.45);
  box-shadow: 0 0 0 1px rgba(237, 23, 76, 0.12), 0 18px 50px rgba(237, 23, 76, 0.12);
}
.tier-badge {
  position: absolute; top: 1rem; right: 1rem; margin: 0;
  font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 800; color: #fff; background: var(--red); padding: 0.3rem 0.55rem;
}
.tier h3 {
  margin: 0; font-family: "Space Grotesk", sans-serif; font-size: 1.55rem; letter-spacing: -0.02em;
}
.price { margin: 0; display: flex; align-items: baseline; gap: 0.3rem; }
.price-big {
  font-family: "Space Grotesk", sans-serif; font-size: 2.5rem; font-weight: 700; line-height: 1;
}
.price-unit { color: var(--muted); font-size: 0.85rem; font-weight: 700; }
.price-year { margin: 0; color: var(--muted); font-size: 0.88rem; }
.tier-blurb { margin: 0; color: #b7c4d3; }
.tier ul {
  margin: 0.2rem 0 0.5rem; padding-left: 1.1rem; color: var(--muted); line-height: 1.5;
}
.fine {
  margin: 1.5rem 0 0; max-width: 52rem; color: var(--muted); font-size: 0.9rem;
}

.site-footer {
  padding: 2rem clamp(1.2rem, 4vw, 4.2rem) 2.8rem;
  border-top: 1px solid rgba(89, 201, 255, 0.1);
  color: var(--muted); font-size: 0.85rem;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
}
.site-footer a { color: #ff7898; }
.site-footer a:hover { color: var(--white); }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 2.5rem; padding-top: 7.5rem; min-height: auto; }
  .section-head { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .brand span { display: none; }
  .site-nav { gap: 0.9rem; font-size: 0.7rem; }
  .hero h1 { font-size: clamp(3rem, 14vw, 4.4rem); }
  .actions { display: grid; grid-template-columns: 1fr; width: 100%; }
  .actions .button { width: 100%; justify-content: center; }
}
